repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
maxkimambo/feature_tracker
config/application.rb
1121
require File.expand_path('../boot', __FILE__) require 'rails/all' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module FeatureTracker class Application < Rails::Application # Settings in config/environments/* tak...
mit
mulderp/plutoasm
src/panels/EditPanel.java
496
package panels; import javax.swing.JPanel; import javax.swing.JTextArea; public class EditPanel extends JPanel { JTextArea srcEdit; public EditPanel() { srcEdit = new JTextArea(20, 30); String src = ".data\n" + "a: .word 1, 2, 3\n"; srcEdit.setText(src); add(srcEdit); } public JTextArea get...
mit
johnnyclem/blog
config.js
2865
// # Ghost Configuration // Setup your Ghost install for various environments var path = require('path'), config; config = { // ### Development **(default)** development: { // The url to use when providing links to the site, E.g. in RSS and email. url: 'http://objectiveclem.local', ...
mit
rescuedcode/StaffPlan
app/controllers/projects/users_controller.rb
709
class Projects::UsersController < ApplicationController include StaffPlan::SharedFinderMethods before_filter :find_target_user before_filter :find_project, :only => [:update, :destroy] def update if @project.users << @target_user render(json: { users: @project.users.map { |u| UserDecorat...
mit
cuckata23/wurfl-data
data/orange_spv_c500_ver1_subopver4125_subua.php
195
<?php return array ( 'id' => 'orange_spv_c500_ver1_subopver4125_subua', 'fallback' => 'orange_spv_c500_ver1_subopver4125', 'capabilities' => array ( 'max_data_rate' => '40', ), );
mit
TodoMove/intercessor
src/TodoMove/Intercessor/Folder.php
1483
<?php namespace TodoMove\Intercessor; use TodoMove\Intercessor\Traits\Metable; class Folder { use \TodoMove\Intercessor\Traits\Identifiable, Metable; protected $name; /** @var Folder */ protected $parent = null; /** @var Folder[] */ protected $children = []; /** @var Project[] */ ...
mit
Appliary/Poetry
readme.md
3149
# Poetry Out-of-the-box framework for NodeJS Microservices ## Edito > _Todo_ ## CLI > _Todo_ ## API ### Web routing (hapi) #### Poetry.route(_object_ `routeOptions`, _function_ `handler`) Register a new route handled by the MicroService. The `routeOptions` are used by the web server ([HAPI](http://hapijs.com/)) t...
mit
agoldst/dfrtopics
src/JS_divergence.cpp
1214
#include <Rcpp.h> using namespace Rcpp; // underflow prevention: if the argument to log is so small // we get -Inf, we just give back 0. inline double xlogy(double x, double y) { double lg = log(y); return (lg == R_NegInf) ? 0 : x * lg; } // [[Rcpp::export]] double jsdiv_v(NumericVector P, NumericVector Q) { ...
mit
flyinghail/Hail-Framework
src/Debugger/ChromeLogger.php
12162
<?php namespace Hail\Debugger; use Psr\Http\Message\ResponseInterface; use Psr\Log\LoggerInterface; use Psr\Log\LoggerTrait; use Psr\Log\LogLevel; /** * ChromeLogger console logger. * * @see https://craig.is/writing/chrome-logger * @see https://developer.mozilla.org/en-US/docs/Tools/Web_Console/Console_messages#...
mit
HaikuArchives/BeMines
src/CustomWindow.h
340
#ifndef CUSTOMWINDOW_H #define CUSTOMWINDOW_H #include "DWindow.h" #include <TextControl.h> class CustomWindow : public DWindow { public: CustomWindow(void); void MessageReceived(BMessage *msg); private: void MakeNumberBox(BTextControl *box); void CheckValues(void); BTextControl *fWidth, *fHeight, ...
mit
dataewan/dataewan-hugo-blog
content/data-verb/merge.md
451
+++ date = "2016-03-13T13:12:12Z" title = "Pandas merge function" tags = ['pandas', 'data-verbs'] +++ [merge](http://pandas.pydata.org/pandas-docs/version/0.17.1/generated/pandas.DataFrame.merge.html) is a lot like joining in SQL. It lets you combine together different datasets. The [full documentation](http://pandas...
mit
NIDAG/ACE
lib/Exporter.rb
101
module NIDAG # Exports a set of Articles in different formats class Exporter end end
mit
neetsdkasu/Paiza-POH-MyAnswers
POH6plus/test8b.rb
116
gets;w=ARGF.read.split.sort;c=s="";w.map{|x|w.index(y=x.reverse)&&x<y&&s+=x;x==y&&c=x};$><<s+c*w.count(c)+s.reverse
mit
thoralt/KCVGA
PIC32/firmware/src/third_party/rtos/FreeRTOS/Source/portable/MPLAB/PIC32MX/ISR_Support.h
4905
/* * FreeRTOS Kernel V10.2.0 * Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, includ...
mit
miguelfreelancer56577/WineRestServicesPHP
application/beans/HeaderRequest.php
117
<?php class HeaderRequest{ public $id_user = null; public $token = null; public $businessRequest = null; } ?>
mit
redhotvengeance/deep_thought
lib/deep_thought/notifier.rb
302
require 'httparty' module DeepThought module Notifier def self.notify(user, message) begin HTTParty.post("#{user.notification_url}", :body => {:message => message}.to_json, :headers => {'Content-Type' => 'application/json'}) rescue 'poop' end end end end
mit
indigophp/money
spec/Money/Provider/BatchSpec.php
2484
<?php namespace spec\Money\Provider; use Money\Provider; use Money\Currency; use Money\Exception\UnsupportedCurrency; use PhpSpec\ObjectBehavior; class BatchSpec extends ObjectBehavior { function it_is_initializable() { $this->shouldHaveType('Money\Provider\Batch'); $this->shouldHaveType('Mon...
mit
anas-ambri/androidcompat
docs/org/w3c/dom/DOMImplementationSource.html
68788
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable...
mit
myxini/block-program
block-program/Detection/Image/CellDescriptor.cs
3701
using Myxini.Recognition.Raw; using System; using System.Collections.Generic; namespace Myxini.Recognition.Image { public class CellDescriptor { const int CELL_SIZE = 8; private class Gradient { public static readonly int BIN = 9; public static readonly double ORIENTATION = Math.PI / BIN; public Gr...
mit
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.04.2-2.0.5/released/8.8.2/cours-de-coq/8.9.0.html
6922
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>cours-de-coq: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.mi...
mit
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.09.1-2.0.6/released/8.11.1/multiplier/8.6.0.html
6619
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>multiplier: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min....
mit
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.10.2-2.0.6/extra-dev/dev/minic/8.10.0.html
7167
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>minic: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
mit
saunierpurjus/agence-360
README.md
89
# agence-360 On utilise panolens.js https://github.com/pchen66/panolens.js/tree/master
mit
chasingbob/embark
Embark/Storage/DocumentKeySource.cs
574
using System; namespace Embark.Storage { internal sealed class DocumentKeySource { internal DocumentKeySource(long lastKey) { this.lastKey = lastKey; } long lastKey = 0; object syncRoot = new object(); public long GetNewKey() { ...
mit
VanceKingSaxbeA/FTSE-Engine
App/BVIC.php
8633
/*Owner & Copyrights: Vance King Saxbe. A.*//*Copyright (c) <2014> Author Vance King Saxbe. A, and contributors Power Dominion Enterprise, Precieux Consulting and other contributors. Modelled, Architected and designed by Vance King Saxbe. A. with the geeks from GoldSax Consulting and GoldSax Technologies email @vsaxbe@...
mit
DJBuro/Telerik
C#1/ConsoleInputOutput/NumberComparer/Properties/AssemblyInfo.cs
1404
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Nu...
mit
ghadeeras/ghadeeras.github.io
src/webgl-lab/toy.ts
708
import { Controller } from "./controller.js"; import { loadShaders, samples } from "./samples.js"; import { View } from "./view.js"; export function init() { window.onload = () => doInit(); } function doInit() { const controller = new Controller(); const view = new View("canvas-gl", samples, { lev...
mit
sunbrice/WTRequestCenter
UIKit+WTRequestCenter/UIDevice+WTRequestCenter.h
699
// // UIDevice+WTRequestCenter.h // WTRequestCenter // // Created by songwt on 14-8-12. // Copyright (c) Mike song(mailto:275712575@qq.com). All rights reserved. // site:https://github.com/swtlovewtt/WTRequestCenter // install // git clone https://github.com/swtlovewtt/WTRequestCenter @import UIKit; @interface ...
mit
tsurupin/portfolio
frontend/src/shared/reducers/authors.js
626
import { FETCH_AUTHOR, UPDATE_AUTHOR } from 'shared/constants/actions'; const INITIAL_STATE = { author: {}, errorMessage: '' }; export default function (state = INITIAL_STATE, action) { switch (action.type) { case FETCH_AUTHOR.SUCCESS: // author -> { id, email, name, image, description, introductio...
mit
jHoldroyd/trollmoji
app/libs/users/index.js
2250
'use strict' // Load requirements const slack = require('slack') const path = require('path') // Load utilities const i18n = require('../locale') const logger = require('../log') // Data directory const dataDir = path.join(__dirname, '../../../data/') // User tracking and handling module.exports = { // User flag...
mit
GlobalBoost/GlobalBoostY
src/qt/bitcoinstrings.cpp
14532
#include <QtGlobal> // Automatically generated by extract_strings.py #ifdef __GNUC__ #define UNUSED __attribute__((unused)) #else #define UNUSED #endif static const char UNUSED *bitcoin_strings[] = { QT_TRANSLATE_NOOP("globalboost-y-core", "" "%s, you must set a rpcpassword in the configuration file:\n" "%s\n" "It is r...
mit
pvs043/cMDTBuildLab
src/Public/Get-ConfigurationData.ps1
321
Function Get-ConfigurationData { [CmdletBinding()] [OutputType([hashtable])] Param ( [Parameter(Mandatory)] [Microsoft.PowerShell.DesiredStateConfiguration.ArgumentToConfigurationDataTransformation()] [hashtable] $ConfigurationData ) return $ConfigurationData } ...
mit
RobsonROX/Util
Util/Extensions/IEnumerableExtensions.cs
3431
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using RobsonROX.Util.Collections; namespace RobsonROX.Util.Extensions { // ReSharper disable once InconsistentNaming // ReSharper disable PossibleMultipleEnumeration /// <summary> /// Métodos de extensão para...
mit
CLEAResult/chef-teamcity
recipes/authentication.rb
796
# This recipe configures the authentication type for the TeamCity server # Prepare to restart the service if changes are instituted service "TeamCity" do action :nothing supports :status => true, :start => true, :stop => true, :restart => true end # Set authentication configuration and restart the service auth_ty...
mit
ansible/ansible-lint
src/ansiblelint/rules/MercurialHasRevisionRule.py
1951
# Copyright (c) 2013-2014 Will Thames <will@thames.id.au> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify...
mit
gluggs/untitledgame
src/main.c
118
#include <stdio.h> #include "engine/game.c" int main(int argc, char** argv) { printf("hello world\n"); return 0; }
mit
alvaro893/WordPracticeJavaEE
src/java/javaee.sql
5500
-- phpMyAdmin SQL Dump -- version 4.2.11 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Oct 24, 2015 at 04:41 AM -- Server version: 5.6.21 -- PHP Version: 5.6.3 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; ...
mit
englekk/CoronaEnterpriseTemplate
src/android/src/com/wonhada/EnterpriseExample/CoronaApplication.java
3873
// // CoronaApplication.java // TemplateApp // // Copyright (c) 2012 __MyCompanyName__. All rights reserved. // package com.wonhada.EnterpriseExample; /** * Extends the Application class to receive Corona runtime events and to extend the Lua API. * <p> * Only one instance of this class will be created by the An...
mit
reiver/go-iter
nada/errors.go
95
package iternada import ( "errors" ) var ( errNilReceiver = errors.New("Nil Receiver") )
mit
seeingidog/asn_translate
spec/spec_helper.rb
363
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'rspec' require 'asn_translate' # Requires supporting files with custom matchers and macros, etc, # in ./support/ and its subdirectories. Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| requ...
mit
OpenTechStrategies/openhmis-intake
public/js/search.js
10538
/* * Adjust display of page based on search results */ function findSearchResults(data, dataLength) { $("#duplicate_box").remove(); var userString = $("#searchForm #searchField").val(); var minSearchLength = 1; if (userString.length >= minSearchLength) { //this calls search() inside itself ...
mit
phobon/packages.julialang.org
detail/LinearMaps.html
9763
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Julia Package Listing - Testing Information</title> <style> /* -- Mix of julialang.org, Bootstrap ...
mit
CoasterPoll/CoasterPoll
resources/views/ads/ads/edit.blade.php
7337
@extends('layouts.app') @section('title') Edit Ad @endsection @section('content') <div class="row"> @include('ads._nav', ['_active' => null]) <div class="col-9"> <h2>Edit @null($ad) "{{ $ad->name }}" @else New @endnull</h2> <div class="row mt-4"> <div cl...
mit
coq-bench/coq-bench.github.io-old
clean/Linux-x86_64-4.02.1-1.2.0/unstable/8.4.5/contrib:qarith-stern-brocot/8.4.dev/2015-01-30_17-53-28.html
23955
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Coq bench</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet...
mit
KlishGroup/prose-pogs
pogs/C/CASNCHX/STD/index.md
2297
--- layout: page title: Sphere Technologies Dinner date: 2016-05-24 author: Rebecca Jimenez tags: weekly links, java status: published summary: Duis purus elit, volutpat non augue aliquet, placerat. banner: images/banner/leisure-02.jpg booking: startDate: 06/22/2016 endDate: 06/23/2016 ctyhocn: CASNCHX groupCod...
mit
sokolby/skl-yii2-admin
views/points/_form.php
757
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /** * @var yii\web\View $this * @var amnah\yii2\user\Module $module * @var amnah\yii2\user\models\User $user * @var amnah\yii2\user\models\Profile $profile * @var amnah\yii2\user\models\Role $role * @var yii\widgets\ActiveForm $form */ ?> <div class="us...
mit
liveandie/angular-playground
src/client/app/videoPlayer/controls-w-service/video-controls-ws.component.ts
664
import { Component } from '@angular/core'; import { VideoPlayerService, VideoPlayerSignals } from '../video-player.service'; @Component({ moduleId: module.id, selector: 'fo-video-controls-ws', templateUrl: 'video-controls-ws.component.html', styleUrls: ['video-controls-ws.component.css'] }) export class VideoC...
mit
tomymolina/typescript-rean-example
config/express.ts
5368
'use strict'; /** * Module dependencies. */ import * as fs from 'fs'; import * as http from 'http'; import * as https from 'https'; import * as express from 'express'; import * as morgan from 'morgan'; import * as bodyParser from 'body-parser'; import * as session from 'express-session'; import * as compress from '...
mit
Cubelrti/kontent
README.md
1437
# kontent > A lightweight CMS based on Vue.js ## Features * Live Markdown Editor * Built-in User Authentication * File-based Article CRUD * Simple but fast article listing ## Demo Visit a live demo [here](http://kontent.za-pt.org). ## Quick Start You need NodeJS 6+, npm or yarn. ### 1 Clone repo ```bash git cl...
mit
downeyd27/Computer_Concepts_2_Portfolio_Website
README.md
433
# Computer_Concepts_2_Portfolio_Website ## Author Dillon Downey ## Description Portland Community College Computer Concepts II course portfolio website. - Mobile First: Progressive Enhancement vs. Graceful Degredation - LESS with parametric mixins ## Known Bug Text editor Brackets.io has a bug where it creates a ...
mit
battila7/cd2t-100
cd2t-100-core/src/test/java/hu/progtech/cd2t100/asm/LocationInstanceCreator.java
262
package hu.progtech.cd2t100.asm; import java.lang.reflect.Type; import com.google.gson.InstanceCreator; class LocationInstanceCreator implements InstanceCreator<Location> { public Location createInstance(Type type) { return new Location(0, 0); } }
mit
jaz303/node-sdl2-bindings
src/functions/surface_drawing.cc
11676
#include "deps.h" // Not implemented: // SDL_ConvertSurface - need PixelFormat implementation // SDL_CreateRGBSurfaceFrom - need to think about memory management? clone? keep reference? // SDL_CreateRGBSurfaceWithFormatFrom - ditto // SDL_LoadBMP_RW // SDL_SaveBMP_RW // SDL_SetSurfacePalette - need palette implementat...
mit
lastgown/lastgown.github.io
_posts/2015-10-10-Halter-Alfred-Sung-by-Dessy-Bridesmaids-Dress-D607.md
973
--- layout: post date: '2015-10-10' title: "Halter Alfred Sung by Dessy Bridesmaids Dress D607" category: Halter tags: [Halter] --- ### Halter Alfred Sung by Dessy Bridesmaids Dress D607 Just **$196.99** ### &nbsp; <a href="https://www.eudances.com/en/halter/1780-alfred-sung-by-dessy-bridesmaids-dress-d607.html"><img...
mit
mosra/m.css
documentation/test_python/inspect_string/classes.html
4229
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>My Python Project</title> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" /> <link rel="stylesheet" href="m-dark+documentation.compiled.css" /> <meta n...
mit
Julien35/dev-courses
CoursGrafikart/Blog/app/App.php
869
<?php namespace App; class App { public $title = 'Mon super site'; private $db_instance; private static $_instance; public static function getInstance() { if (is_null(self::$_instance)) { self::$_instance = new App(); } return self::$_instance; } pu...
mit
remomueller/slice
test/models/expected_randomization_test.rb
166
# frozen_string_literal: true require 'test_helper' class ExpectedRandomizationTest < ActiveSupport::TestCase # test "the truth" do # assert true # end end
mit
teestudio/anthony
tags/statique/1/index.html
4734
<!DOCTYPE html> <html> <head> <title>Энтони Тистудио</title> <meta charset="utf-8" /> <link rel="stylesheet" media="all" href="/styles/style.css" type="text/css" /> </head> <body> <a name="top"></a> <div class="at-wrap0"> <div class="at-left"> ...
mit
komitoff/Softuni-Programming-Fundamentals
FilesAndExceptions_Lab/E1.OddLines/OddLInes.cs
488
using System; using System.Collections.Generic; using System.Linq; using System.IO; public class OddLInes { static void Main() { string[] textLines = File.ReadAllLines("input.txt"); List<string> oddLines = new List<string>(); for (int i = 0; i < textLines.Length; i++) { ...
mit
bthoes/Initial-Commit
index.html
3548
<!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>Random Design Co</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="apple-touch-icon" href="apple...
mit
akabekobeko/electron-release-notes-ja-private-edition
v0.x/v0.5/v0.5.3.ja.md
282
# v0.5.3 * Original: [Release atom-shell v0.5.3 - electron/electron](https://github.com/electron/electron/releases/tag/v0.5.3) Changelog: * Fix crash when sending http request. * HTTP リクエスト送信時にクラッシュする問題を修正しました * 特になし
mit
butterflyhug/rickshaw
src/js/Rickshaw.Graph.Axis.Y.Scaled.js
1679
Rickshaw.namespace('Rickshaw.Graph.Axis.Y.Scaled'); Rickshaw.Graph.Axis.Y.Scaled = Rickshaw.Class.create( Rickshaw.Graph.Axis.Y, { initialize: function($super, args) { if (typeof(args.scale) === 'undefined') { throw new Error('Scaled requires scale'); } this.scale = args.scale; if (typeof(a...
mit
brinxmat/rdf-data-entry
NTNU-example/app/templates/recipient-pane-data.html
1018
<div ng-controller="PaneController"> <div class="modal-header"> <h3 class="modal-title">Add person</h3> </div> <div class="modal-body" ng-controller="PersonController as personCtrl"> <div> <div> <form ng-model="poc"> <label>Person:<input type="text" ng-model="search...
mit
ThaDafinser/UserAgentParserComparison
v5/user-agent-detail/7d/e3/7de3554a-c85e-427a-a3d4-cf656e01fb1c.html
55789
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.1) Opera 7.0 [en]</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.c...
mit
KlishGroup/prose-pogs
pogs/H/HARNOHX/VAAD/index.md
2563
--- layout: page title: Villanueva Alpha Air Dinner date: 2016-05-24 author: Martha Bishop tags: weekly links, java status: published summary: Cras laoreet tempor risus nec. banner: images/banner/leisure-03.jpg booking: startDate: 06/09/2018 endDate: 06/13/2018 ctyhocn: HARNOHX groupCode: VAAD published: true -...
mit
levan92/uLabel
annotationTools/js/object_list.js
8435
//Here is all the code that builds the list of objects on the right-hand //side of the Labelme tool. //The styles for this tools are defined inside: //annotationTools/css/object_list.css var IsHidingAllPolygons = false; var ProgressChecking = false; //var IsHidingAllFilled = true; var ListOffSet = 0; //This functi...
mit
Jecma/JecmaBlog
vendor/janmarek/webloader/WebLoader/Nette/LoaderFactory.php
1559
<?php namespace WebLoader\Nette; use Nette\DI\Container; use Nette\Http\IRequest; use WebLoader\Compiler; class LoaderFactory { /** @;var IRequest */ private $httpRequest; /** @var Container */ private $serviceLocator; /** @var array */ private $tempPaths; /** * @param array $tempPaths * @param IReque...
mit
haripo/CoreTweet
CoreTweet.Shared/Attribute.cs
2476
// The MIT License (MIT) // // CoreTweet - A .NET Twitter Library supporting Twitter API 1.1 // Copyright (c) 2013-2015 CoreTweet Development Team // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the...
mit
JSchermers/neighborhoodmap
scripts/modules/api-call-wikipedia.js
2610
define([ "knockout", // mappoint needs to be here first for addEventListener "../modules/mappoint", ], function (ko) { // create result object var result = { cityname : ko.observable(''), citydata : ko.observableArray([]) }; // subscribe to custom event window.addEventListener("getTitle", getWikipedia, fa...
mit
Dillon-Benson/todo-reminder
spec/todo_reminder/scraper_spec.rb
262
require 'spec_helper' describe Scraper do describe "#todos" do it "should return an array of Todo objects given a file" do path = File.dirname(__FILE__) + '/example' todos = Scraper.todos(path) todos.length.should == 2 end end end
mit
Strangemother/python-state-machine
docs/book/condition/usage.md
3731
# Using a Condition A condition is simple enough, it has some values of which are met from the parent call. the `Condition()` has three base values. + Item to watch first arg is the item to monitor on the network. This is a name or a node; something to monitor. ```python c = Condition('TestNode') c.watch 'TestNo...
mit
konstantinzolotarev/generator-hapi-micro
test/unit/logger.test.js
1746
import path from 'path'; import os from 'os'; import { assert, test } from 'yeoman-generator'; describe('sails-rest-api:logger', () => { describe('Should properly scaffold default configuration', () => { before(done => test.run(path.join(__dirname, '../../src/logger')).on('end', done)); it('Should properly ...
mit
zfang399/LeetCode-Problems
453.cpp
247
class Solution { public: int minMoves(vector<int>& nums) { sort(nums.begin(), nums.end()); int ans = 0; for(int i = 1; i < nums.size(); i++){ ans += nums[i] - nums[0]; } return ans; } };
mit
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/f332d8c341f21d167412913e57c3f720c8e14bdfdce343581e33c242c397052d.html
550
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>18 --> 19</title> <link href="./../../assets/style.css" rel="stylesheet"> </head> <body> <h2>You have to be fast</h2> <a href="./2ac1f38f6642fd3e1d4749b4b5c2eb811fc47273838e819f064d3c14a70d0bea.html">Teleport</a> <hr> ...
mit
room77/77up
public/util/memory/new_handler.cc
514
// Copyright 2012 Room77, Inc. // Author: Uygar Oztekin #include "base/common.h" // intercept memory allocation failures and force a stack trace struct InitNewHandler { static void NewHandler () { cout << "\n*** Memory allocation Failed! About to segfault ***" << endl; // Cause a segfault. void* ptr = n...
mit
ekonor/hokeyapp
net47/HockeyApp/HockeyApp.DataExchange/Contracts/IArenaImportService.cs
120
namespace HockeyApp.DataExchange.Contracts { public interface IArenaImportService : IImportService { } }
mit
jamesanewman/remote-control
src/app/shared/xbmc.js
1448
angular.module( 'remote.xbmc-service' , [] ) .service( 'XBMCService', function( $log,$http,Storage ){ //http://kodi.wiki/view/JSON-RPC_API/v6 var XBMC = this, settings = (new Storage("settings")).get(); url = 'http://' + settings.ip + '/', command = {id: 1, jsonrpc: "2.0" }; //url = 'http://localhost:8200/...
mit
TmCrafz/ArenaSFML
src/Calc.cpp
2165
#include "Calc.hpp" #include <cmath> #define PI 3.14159265 float Calc::radToDeg(float rad) { return rad * ( 180.f / PI); } float Calc::degToRad(float deg) { return deg * (PI / 180.f); } /* * Rotation around origin: * rotation matrix P * ( x' ) = ( cos a -sin a ) * ( x ) = cos a * x - sin...
mit
Pwootage/oc-scripts
README.md
266
oc-scripts ========== OpenComputers Scripts! Mostly has stuff in it useful on my server. Probably useful elsewhere, though. MIT licenced! Do what you want, but if my code blows up your server it's not my fault! (although I do my best to avoid server-blowy-uppy)
mit
gemvein/date_book
db/migrate/20170807133847_create_schedules.rb
514
# frozen_string_literal: true # Migration to create the `schedules` table used by Schedulable class CreateSchedules < ActiveRecord::Migration[5.1] def self.up create_table :schedules do |t| t.references :schedulable, polymorphic: true t.date :date t.time :time t.string :rule t.str...
mit
eablack/code-corps-ember
tests/acceptance/logout-test.js
892
import Ember from "ember"; import { module, test } from 'qunit'; import startApp from '../helpers/start-app'; import { authenticateSession } from 'code-corps-ember/tests/helpers/ember-simple-auth'; import indexPage from '../pages/index'; let application; module('Acceptance: Logout', { beforeEach: function() { a...
mit
javasuki/RJava
NXDO.Mixed.V2015/NXDO.RJava/Attributes/JInterfaceAttribute.cs
1248
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NXDO.RJava.Attributes { /// <summary> /// 标识 java 接口的类型名称。 /// </summary> [AttributeUsage(AttributeTargets.Interface, AllowMultiple = false, Inherited = true)] public class JInterfaceAttribute : JClassA...
mit
fsegouin/vesta-ios-client
vesta/Models/SJCheckButton.h
263
// // SJCheckButton.h // vesta // // Created by Florent Segouin on 15/12/14. // Copyright (c) 2014 utt. All rights reserved. // #import <UIKit/UIKit.h> @interface SJCheckButton : UIButton @property (nonatomic, getter = isEmphasized) BOOL emphasized; @end
mit
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.11.2-2.0.7/released/8.11.2/gappa/1.4.2.html
6848
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>gappa: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
mit
th-koeln/mi-wpf-digitale-kommunikation
_site/lehrveranstaltungen/feedback-5/index.html
4892
<!DOCTYPE html> <html lang="de"> <head> <title>Feedback 5 – WPF Digitale Kommunikation – Medieninformatik am Campus Gummersbach</title> <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <meta name="viewport" content="width=device-width, initi...
mit
olegfox/landing
src/Site/MainBundle/Entity/ModuleMap.php
2549
<?php namespace Site\MainBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Gedmo\Mapping\Annotation as Gedmo; use Symfony\Component\Validator\Constraints as Assert; /** * Site\MainBundle\Entity\ModuleMap * * @ORM\Table(name="module_map") * @ORM\Entity(repositoryClass="Site\MainBundle\Entity\Repository\ModuleMa...
mit
lucashmorais/x-Bench
mozmill-env/msys/firefox/tests/remote/testLayout/testNavigateFTP.js
894
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; Cu.import("resource://gre/modules/Services.jsm"); const TEST_DATA = "ftp://ftp.mozqa.com/"; var s...
mit
ulabspro/ilq
markup/components/videos-content/data/data.js
31
var data = {videos-content: {}}
mit
Tatsh/libipa
setup.py
555
#!/usr/bin/env python # -*- coding:utf-8 -*- from setuptools import setup setup( name='libipa', version='0.0.6', author='Andrew Udvare', author_email='audvare@gmail.com', packages=['ipa'], scripts=['bin/ipa-unzip-bin', 'bin/ipa-dump-info'], url='https://github.com/Tatsh/libipa', licens...
mit
danurwenda/mariteam
dist/js/public/custom.js
1422
(function ($) { // Navigation scrolls $('.navbar-nav li a').bind('click', function (event) { $('.navbar-nav li').removeClass('active'); $(this).closest('li').addClass('active'); var $anchor = $(this); var nav = $($anchor.attr('href')); if (nav.length) { $('...
mit
agencja-acclaim/gulp-bower-webapp
wp-content/plugins/wordpress-seo/js/dist/wp-seo-filter-explanation-960.min.js
316
(window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[23],{947:function(t,i,o){"use strict";jQuery("#posts-filter .tablenav.top").after('<div class="notice notice-info inline wpseo-filter-explanation"><p class="dashicons-before dashicons-lightbulb">'+yoastFilterExplanation.text+"</p></div>")}},[[947,0]]]);
mit
ALeggeUp/confagrid
application/confagrid-webapp/src/main/java/com/aleggeup/confagrid/content/PhraseService.java
514
/* * PhraseService.java * * Copyright (C) 2018 [ A Legge Up ] * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ package com.aleggeup.confagrid.content; import java.util.List; import java.util.UUID; import com.aleggeup.confagrid.model....
mit
ameier38/mindhypertrophy-api
src/server/db.js
893
import util from 'util' import mongoose from 'mongoose' import seedData from '../seedData' const debug = require('debug')('api:server:db') mongoose.Promise = require('bluebird') const host = process.env.MONGO_HOST || 'localhost' const database = process.env.MONGO_DATABASE || 'admin' const port = process.env.MONGO_POR...
mit
xianjunzhengbackup/code
data science/machine_learning_for_the_web/chapter_4/movie/24990.html
5539
<HTML><HEAD> <TITLE>Review for Mission: Impossible II (2000)</TITLE> <LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css"> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0120755">Mission: Impossible II (2000)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/Rev...
mit
JanJoris/blog
_posts/2016-03-19-shell-shock.md
3894
--- title: Shell shock description: After playing with ZSH and Tmux on Linux I felt left out on Windows. But, even if it goes against popular belief, it is possible to have an awesome shell! permalink: /shell-shock category: code tags: [.NET, agnoster, chocolatey, cli, command line, conemu, git, github, posh-git, power...
mit
tiansiyuan/storage
basics/5.4-满足变化中存储需求的高效架构.md
5823
## 满足变化中存储需求的高效架构 原创 *2016-05-18* *EMC中文技术社区* [EMC易安信中国技术社区](https://mp.weixin.qq.com/s?__biz=MjM5NjY0NzAwMg==&mid=2651770905&idx=2&sn=718767e6d3da273d347dac6a066b6b49&scene=21##) ​ 软件定义的存储的主要目标是将应用程序和数据与最适当的存储单元保持一致。而满足利用软件定义存储构建高效存储架构的关键是,从战略上制定政策来规划软件定义的存储解决方案需要整个存储基础架构的全面可见性。本文描述了一些实现软件定义存储高效架构的一些考虑。 ​ ...
mit
drucko/sched.do
spec/javascripts/templates/unvote.html
839
<table> <tbody> <tr class="votable"> <td> <div data-id="1"> <form action="/votes/1" class="formtastic vote" id="edit_vote_1"> <input name="_method" type="hidden" value="delete" /> <input class="unvote" name="commit" type="submit" value="Unvote" /> </form> ...
mit
burnflare/cs2020
Ps7/src/cs2020/IMazeSolverWithPower.java
569
package cs2020; public interface IMazeSolverWithPower extends IMazeSolver { /** * Finds the shortest path from a given starting coordinate to an * ending coordinate with a fixed number of Powers given * * @param startRow * @param startCol * @param endRow * @param endCol * @param superp...
mit
deepshah22/spring-mvc
src/main/java/com/lms/dao/DAOPerson.java
410
package com.lms.dao; import java.util.List; import com.lms.jpa.Person; public interface DAOPerson { public boolean personExist(long personId); public void insertPerson(Person person); public void updatePerson(Person person); public void deletePerson(long personId); public Pers...
mit
tclindner/npm-package-json-lint
test/unit/validators/type.test.ts
6774
import * as type from '../../../src/validators/type'; describe('type Unit Tests', () => { describe('isArray method', () => { describe('when the node does not exist in the package.json file', () => { test('true should be returned', () => { const packageJson = { name: ['awesome-module'], ...
mit
derekhu0002/myresources
resources/fileupdate_common_files/commons-beanutils-1.7.0/commons-beanutils-1.7.0/docs/api/org/apache/commons/beanutils/RowSetDynaClass.html
37165
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc on Sun Aug 01 21:54:59 BST 2004 --> <TITLE> RowSetDynaClass (Bean Introspection Utilities (Version 1.7)) </TITLE> <META NAME="keywords" CONTENT="org.apache.com...
mit