repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
JackKnifed/moxxi
design.md
5062
Design and Layout ================= Design ------ This system consists of a few things: * `nginx` runs on 443 and 80, and has a lot of server blocks to listen as * `moxxi` - a custom written binary - listens on 8080 and generates configs with given input from each request - putting all those configs in one directory...
mit
samdevx1029/angular-ts-webpack-ngc-rollup
config/webpack.dev.js
2491
// bundles everything except TS files which will be built by rollup. // webpack stuff var webpack = require('webpack'); var HtmlWebpackPlugin = require('html-webpack-plugin'); var ExtractTextPlugin = require('extract-text-webpack-plugin'); var failPlugin = require('webpack-fail-plugin'); var helpers = require('./helpe...
mit
Filsh/yii2-platform
console/migrations/m130524_200441_locations.php
1146
<?php use yii\db\Schema; use yii\platform\geo\models\Locations; class m130524_200441_locations extends \yii\db\Migration { public function up() { $tableOptions = null; if ($this->db->driverName === 'mysql') { $tableOptions = 'CHARACTER SET utf8 COLLATE utf8_general_ci ENGINE=InnoDB...
mit
bkiers/sqlite-parser
src/test/resources/randexpr1.test_2094.sql
1522
-- randexpr1.test -- -- db eval {SELECT coalesce((select c from t1 where t1.b between t1.b and -17),coalesce((select -t1.e from t1 where (select count(distinct coalesce((select case t1.b-t1.a*(b)*13 when 11 then (a) else 11 end from t1 where a not in ((t1.e),c,11) and e>b),13)) from t1) in (t1.d,b,13) and not t1.b<1...
mit
alinlupu/visualize-git
docs/git-doc/gitweb.conf.html
80506
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]--> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="generator" content="Asciidoctor 1.5.4"> <title>gitweb.conf(5)</title> <link rel="stylesheet" hre...
mit
gabrielnotong/noonka
src/Acme/TwigBundle/DependencyInjection/Configuration.php
873
<?php namespace Acme\TwigBundle\DependencyInjection; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; /** * This is the class that validates and merges configuration from your app/config files * * To learn more see {@link http://symfony.c...
mit
momokowan/momokowan.github.io
niuniu/say-nn2564.html
6916
<!DOCTYPE html> <html> <head> <title>牛妞和痲痲的宫斗... | MoMoKo.in | 丸子家.在内</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="http://MOMOKO.in/theme/css/bootstrap.min.css" type="text/css" /> ...
mit
gaearon/redux-devtools
packages/devui/src/Tabs/styles/material.ts
1407
import { css, ThemedStyledProps } from 'styled-components'; import { ripple } from '../../utils/animations'; import { Theme } from '../../themes/default'; import { StyleProps } from './default'; export const style = ({ theme, main, }: ThemedStyledProps<StyleProps, Theme>) => css` display: flex; flex: 0 0 1; ...
mit
AndriyBilyak/video-feed
src/app/app.component.html
333
<div class="wrapper-container"> <div class="navbar-container zoom-in"> <a class="title" href="/">Video feed</a> </div> <main class="content-container"> <video-section ng-repeat="videoItem in $ctrl.videoList track by $index" video-item="videoItem"> </video-section> </...
mit
mtils/permit
tests/unit/Support/Laravel/CurrentUser/GuardContainerTest.php
2897
<?php use Mockery as m; use Permit\Support\Laravel\CurrentUser\GuardContainer; use Permit\User\GenericUser; use PHPUnit\Framework\TestCase; class GuardContainerTest extends TestCase { public function testImplementsInterfaces() { $container = $this->newContainer(); $this->assertInstanceOf( ...
mit
ubidots/ubidots-ruby
lib/ubidots/constants.rb
96
module Ubidots module Constants API_URL = "http://things.ubidots.com/api/v1.6/" end end
mit
agamemnus/cordova-plugin-admob
src/android/AdMob.java
20788
package com.agamemnus.cordova.plugin; import com.google.android.gms.ads.AdListener; import com.google.android.gms.ads.AdRequest; import com.google.android.gms.ads.AdSize; import com.google.android.gms.ads.AdView; import com.google.android.gms.ads.InterstitialAd; import com.google.android.gms.ads.mediation.admob.AdMobE...
mit
ztolley/conference-digital-web
src/db/migrations/20161212145712_location_conference.js
978
exports.up = function (knex, Promise) { return Promise.all([ knex.schema.createTable('locations', function (table) { table.uuid('id').notNullable().primary() table.string('title').notNullable().unique() table.text('description') table.string('address_1') table.string('address_2') ...
mit
michaltakac/rs-hiscore-checker
README.md
655
#RuneScape Hiscore Checker Built with [Meteor.js](https://www.meteor.com) ###Running aplication Make sure you got Meteor.js installed, if not, install it: <code>$ curl https://install.meteor.com/ | sh</code> Clone this repository and access it: <pre> <code> $ git clone https://github.com/michaltakac/rs-hiscore-check...
mit
CNBlackJ/NodeBook
base-knowledge/promise.md
11
# Promise
mit
diogo149/Lasagne
lasagne/tests/layers/test_input.py
1255
import numpy import pytest import theano class TestInputLayer: @pytest.fixture def layer(self): from lasagne.layers.input import InputLayer return InputLayer((3, 2)) def test_input_var(self, layer): assert layer.input_var.ndim == 2 def test_get_output_shape(self, layer): ...
mit
dbarobin/dbarobin.github.io
_posts/程序员/2012-07-29-the-importance-of-communication.md
3084
--- published: true author: Robin Wen layout: post title: "程序员的奋斗史(七)沟通交流、表达能力的重要性" category: 程序员 summary: "你明白和你能把别人讲明白是两码事。很多时候自己也有这种感觉,自己对这个问题是很清楚的,但是不注重表达的方式,反而把别人讲晕了,越扯越复杂。同一个问题,换不同的人,换不同的表达方式,或许得到的效果就不一样。这充分体现了沟通交流、表达能力的独到之处。" tags: - 程序员 - 想法 --- `文/Robin` 一个优秀的IT综合型人才不仅表现在技术方面,其他的素质也很重要。本文就从沟通交流、表达能力说起。 你明白和...
mit
smellyriver/tank-inspector-pro
src/Smellyriver.TankInspector.Pro.CustomizationConfigurator/CustomizationConfigVM.cs
3537
using System.ComponentModel; using System.Linq; using System.Windows.Data; using Smellyriver.TankInspector.Common; using Smellyriver.TankInspector.Pro.Data.Entities; using Smellyriver.TankInspector.Pro.Data.Tank; using Smellyriver.TankInspector.Pro.Repository; namespace Smellyriver.TankInspector.Pro.CustomizationConf...
mit
Zeeml/Dataset
src/Exception/UnknownDataSetTypeException.php
100
<?php namespace Zeeml\DataSet\Exception; class UnknownDataSetTypeException extends \Exception { }
mit
llwwns/leetcode_solutions
384#shuffle-an-array/solution.cpp
672
class Solution { public: vector<int> ori, cur; random_device rd; mt19937 g; Solution(vector<int> nums) : ori(nums), cur(nums), g(rd()) { } /** Resets the array to its original configuration and return it. */ vector<int> reset() { return cur = ori; } /**...
mit
jips/mls-laravel
resources/views/defect/vkam/tables/ceh_edit.blade.php
1499
@extends('layouts.app_defect_vk') @section('content') <div class='col-sm-4 col-sm-offset-4'> <h2></i> Изменить <div class="pull-right"> {!! Form::open(['url' => '/defect/vkam/tables/ceh/' . $ceh->id, 'method' => 'DELETE']) !!} {!! Form::submit('Удалить', ['class' => 'btn btn-dange...
mit
osmoossi/tapsudraft
src/main/java/fi/ozzi/tapsudraft/service/PlayerFetchService.java
3834
package fi.ozzi.tapsudraft.service; import com.google.common.collect.ImmutableMap; import fi.ozzi.tapsudraft.model.Player; import fi.ozzi.tapsudraft.model.Position; import fi.ozzi.tapsudraft.repository.PlayerRepository; import lombok.NonNull; import lombok.RequiredArgsConstructor; import org.apache.http.HttpResponse; ...
mit
290388252/My-H5
javascript/demo1/array.html
2652
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <script type="text/javascript"> //数组直接量形式创建数组 var arr=[];//空数组 var arr1=[1,2,3,4,5,6]; var arr2=[1,2.3,true,false,null,undefined,[1,2,3],{x:1,y:2}]; var x=1; var arr3=[x,x*3,x+2,x+3]; c...
mit
fwilhe/osiam
CHANGELOG.md
4408
# OSIAM ## 3.0 - Unreleased **Breaking changes!** In this release, the auth-server and resource-server have been merged into a single application. For a detailed explanation about how to migrate from OSIAM 2.5 to OSIAM 3.0, see the [migration notes](docs/migration.md). ### Features - Run as a standalone applicatio...
mit
tanxunrong/mruby-toy
config.lua
543
root = "./" thread = 1 logger = nil harbor = 1 address = "127.0.0.1:2526" master = "127.0.0.1:2013" start = "main" -- main script bootstrap = "toy bootstrap" -- The service for bootstrap standalone = "0.0.0.0:2013" luaservice = root.."service/?.lua;"..root.."examples/?.lua" --..root.."test/?.lua;" lualoader = "lualib/l...
mit
lovezhao311/luffycms
application/admin/view/goods/recycle.html
4301
<fieldset class="layui-elem-field layui-field-title"> <legend>搜索</legend> </fieldset> <form class="layui-form layui-form-pane" action="{:url('recycle')}" search> <div class="layui-form-item"> <label class="layui-form-label">商品名称</label> <div class="layui-input-inline"...
mit
LechDutkiewicz/serfenta_theme
lib/extensions/rg-gallery/jquery.elastislide.js
13063
(function( window, $, undefined ) { // http://www.netcu.de/jquery-touchwipe-iphone-ipad-library $.fn.touchwipe = function(settings) { var config = { min_move_x: 20, min_move_y: 20, wipeLeft: function() { }, wipeRight: function() { }, wipeUp: function() { }, wipeDown: function() { }, pr...
mit
degarashi/boomstick
tests/monopolygon.cpp
3121
#include "test2D.hpp" namespace boom { namespace test2d { MonoPolygon::MonoPolygon(DistV&& dL, DistV&& dR, const Vec2& ori, const Vec2& dir, float wofs): _vOrigin(ori), _vDir(dir), _distL(std::move(dL)), _distR(std::move(dR)), _widthOffset(wofs) {} MonoPolygon MonoPolygon::Random(const FRandF& rf...
mit
ronte-ltd/JsonApiBundle
Serializer/Normalizer/Collection.php
1811
<?php /* * This file is part of AppBundle the package. * * (c) Ruslan Muriev <muriev.r@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace RonteLtd\JsonApiBundle\Serializer\Normalizer; use Doctrine\Common\Collect...
mit
flisboac/adl
include/adl/oct/cons/basic_octdiff_cons.hpp
10062
// $flavio.lisboa @ 2017-09-04. // /* * @file basic_octdiff_cons.hpp */ #ifndef adl__oct__cons__basic_octdiff_cons__hpp__ #define adl__oct__cons__basic_octdiff_cons__hpp__ #include <type_traits> #include <string> #include <iosfwd> #include <stdexcept> #include "adl.cfg.hpp" #include "adl/oct.fwd.hpp" #include "adl...
mit
MomsFriendlyDevCo/doop-cli
doop-list.js
5758
#!/usr/bin/env node var _ = require('lodash'); var async = require('async-chainable'); var asyncFlush = require('async-chainable-flush'); var colors = require('chalk'); var doop = require('.'); var glob = require('glob'); var fs = require('fs'); var fspath = require('path'); var program = require('commander'); var sha...
mit
rafalprzywarski/libcppmanip
library/src/cppmanip/NoReturnFunctionExtractionValidator.cpp
1135
#include "NoReturnFunctionExtractionValidator.hpp" #include <cppmanip/boundary/ExtractMethodError.hpp> #include <boost/range/adaptor/transformed.hpp> #include <boost/algorithm/string/join.hpp> #include <boost/range/algorithm_ext/push_back.hpp> #include <boost/range/algorithm/sort.hpp> namespace cppmanip { namespace {...
mit
sugatov/web-pms
src/DomainBundle/Entity/Super/IntegerID.php
528
<?php namespace DomainBundle\Entity\Super; use Doctrine\ORM\Mapping as ORM; /** * @ORM\MappedSuperclass */ abstract class IntegerID extends Entity { /** * @var int * * @ORM\Id * @ORM\Column(type="integer") * @ORM\GeneratedValue(strategy="AUTO") */ private $id = null; pub...
mit
mikejihbe/hummingbird
public/js/widgets/base.js
1907
if(!Hummingbird) { var Hummingbird = {}; } Hummingbird.Base = function() {}; Hummingbird.Base.prototype = { validMessageCount: 0, messageRate: 20, initialize: function() { this.averageLog = []; this.setFilter(); this.registerHandler(); }, registerHandler: function() { this.socket.registe...
mit
SunnyBat/PAXChecker
src/main/java/com/github/sunnybat/paxchecker/setup/email/EmailSetupGUI.java
22577
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.github.sunnybat.paxchecker.setup.email; import com.github.sunnybat.commoncode.email.EmailAddress; import com.github.sunnyb...
mit
eggplantbren/TwinPeaks3
Code/C++/Models/PSF.cpp
3180
#include "PSF.h" #include "Utils.h" #include <cassert> #include <iostream> #include <fstream> using namespace std; using namespace arma; PSF::PSF(int size) :size(size) ,pixels(size, vector<double>(size, 0.)) ,fft_ready(false) { assert(size%2 == 1); pixels[size/2][size/2] = 1.; } void PSF::set_size(int new_size) { ...
mit
silenceshell/silenceshell.github.io
_posts/2016-04-05-spark-standalone.md
8336
--- layout: post title: "Spark(二):Standalone和YARN方式部署集群" date: 2016-04-05 08:11:11 author: 伊布 categories: tech tags: spark cover: "/assets/instacode.png" --- * TOC {:toc} Spark有三种集群部署方式: - standalone - mesos - yarn 其中standalone方式部署最为简单,下面做一下简单的记录。后面我还补充了YARN的方式。 > 其实最简单的是local方式,单机。 ### ...
mit
ssddi456/ko_custom_bindings
ko.withfirst.js
1190
define([ 'knockout' ],function( ko ){ ko.bindingHandlers.withfirst = { 'init' : function(element, valueAccessor, allBindings, viewModel, bindingContext) { var savedNodes; ko.computed(function() { var dataValue = ko.utils.unwrapObservable(valueAccessor()); var shouldDisplay = typeof...
mit
Wynjones1/gbemu
src/instructions/ccf.c
237
#include "cpu.h" void CCF(cpu_state_t *state, enum ARG_TYPE arg0, union REG_INPUT i0, enum ARG_TYPE arg1, union REG_INPUT i1) { cpu_set_carry(state, !cpu_carry(state)); cpu_set_subtract(state, 0); cpu_set_half_carry(state, 0); }
mit
LSEducation/bunyan-config
test/bunyanConfig.test.js
5253
var bunyanConfig = require('../index'); var bunyan = require('bunyan'); var path = require('path'); describe('bunyan-config', function () { it('should not convert things it does not understand', function () { bunyanConfig({ name: 'test', streams: [{ path: '/tmp/log.l...
mit
CodePadawans/ataru
test/resources/test_expectation_warning.md
24
``` a = 1 + 2 #=> 3 ```
mit
leoner/arale
lib/moment/README.md
356
# Moment.js 一个轻量级的小类库,可用来对日期进行解析、格式化等操作。 --- ## 模块依赖 - [seajs](seajs/README.md) ## 使用说明 请参考漂亮的官方文档:<http://momentjs.com/docs/> ## 更新 当 Moment.js 发布新版本,需要更新时,只要运行: ``` $ cd arale/dist $ spm install moment ```
mit
cybersonic/org.cfeclipse.cfml
src/org/cfeclipse/cfml/parser/cfscript/ParseException.java
6569
/* Generated By:JavaCC: Do not edit this line. ParseException.java Version 3.0 */ package org.cfeclipse.cfml.parser.cfscript; /** * This exception is thrown when parse errors are encountered. * You can explicitly create objects of this exception type by * calling the method generateParseException in the generat...
mit
timemachine3030/jenkman
test/test-server-errors.js
476
'use strict'; var http = require('http'); var Logger = require('bunyan'); var log = new Logger({ name: 'test-server', level: 'debug' }); var server = http.createServer(function (request) { var data = ''; log.info({ url: request.url }, 'Incoming Request'); request.on('data', function (chunk) { ...
mit
andrewedstrom/cs638project
raw_data/arkive-critically-endangered-html/cyanea-stictophylla.html
2781
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Haha factsheet on ARKive - Cyanea stictophylla</title> ...
mit
r24mille/IesoPublicReportBindings
src/main/java/ca/ieso/reports/schema/iomspublicplannedoutageday/ConfidentialityClass.java
1298
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2013.12.23 at 08:...
mit
bitmagnet/mehcoin
src/qt/test/uritests.cpp
2842
#include "uritests.h" #include "../guiutil.h" #include "../walletmodel.h" #include <QUrl> void URITests::uriTests() { SendCoinsRecipient rv; QUrl uri; uri.setUrl(QString("mehcoin:LQDPC5rbjDB72fGFVHu4enYhxGAZuRiFh9?req-dontexist=")); QVERIFY(!GUIUtil::parseBitcoinURI(uri, &rv)); uri.setUrl(QString...
mit
RossBencina/StaticMode
test/Catch/catch.hpp
401037
/* * Catch v1.7.2 * Generated: 2017-02-13 15:57:33.350226 * ---------------------------------------------------------- * This file has been merged from multiple headers. Please don't edit it directly * Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved. * * Distributed under the Boost Software Lice...
mit
zyzyis/SoundPatty
README.md
6630
## What is this ## Efficient and fast sound (i.e. record) recognition software. ## Where can You use it ## * You can listen to live radio station and log how many your advertisements are played per day * You can scan your music library for multiple recordings * You can match special operator messages when trying to ...
mit
JonPSmith/EfSchemaCompare
DbUpHelper/DbUpRunner.cs
1582
#region licence // ===================================================== // EfSchemeCompare Project - project to compare EF schema to SQL schema // Filename: DbUpRunner.cs // Date Created: 2016/04/06 // // Under the MIT License (MIT) // // Written by Jon Smith : GitHub JonPSmith, www.thereformedprogrammer.net // ===...
mit
Daivuk/ggj16
onut/src/PrimitiveBatch.cpp
4307
#include "PrimitiveBatch.h" #include "onut.h" namespace onut { PrimitiveBatch::PrimitiveBatch() { // Create a white texture for rendering "without" texture unsigned char white[4] = {255, 255, 255, 255}; m_pTexWhite = Texture::createFromData({1, 1}, white, false); auto pDevice =...
mit
lucasbrsa/OpenCV-3.2
docs/3.2/dc/d9f/feature__description_8markdown.html
7705
<!-- HTML header for doxygen 1.8.6--> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" conte...
mit
F-Ruxton/taskata
src/components/EmailField/__test__/EmailField.test.js
461
import React from 'react'; import { shallow } from 'enzyme'; import toJson from 'enzyme-to-json'; import EmailField from '../EmailField'; // EmailField // props: inputId // behavior: renders a <Field /> component // test: renders a <Field /> component describe('<EmailField />', () => { it('should render a Fie...
mit
JBarberU/CatchLib
src/Controller/GameController.cpp
2744
// // File: GameController.cpp // Class: GameController // Author: John Barbero Unenge // All code is my own except where credited to others. // // Copyright (c) 2012 Catch22. All Rights Reserved. // // Date: 24/9/12 // // License: The following code is licensed under the Catch22-License // #include "Ga...
mit
joelmahoney/discoverbps
.gems/gems/omniauth-facebook-1.6.0/test/helper.rb
1465
require 'bundler/setup' require 'minitest/autorun' require 'mocha/setup' require 'omniauth/strategies/facebook' OmniAuth.config.test_mode = true module BlockTestHelper def test(name, &blk) method_name = "test_#{name.gsub(/\s+/, '_')}" raise "Method already defined: #{method_name}" if instance_methods.includ...
mit
khuan86/khuan86.github.io
_portfolio/08_hipages-redesign.md
4944
--- title: "Hipages" excerpt: "Homepage redesign that focuses on scalablity, branding and growth" header: image: teaser: "/assets/images/HipagesHPThumb2x.png" sidebar: - title: "Role" text: "Information Architect, UX Design" - title: "tl;dr" text: "Redesigned the homepage for scalability, growth and ado...
mit
andrewdefries/ToxCast
Figure3/Tox21_nnm/WorkHere/99-12-7.smi.png.html
1662
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> <title>99-12-7.smi.png.html</title> </head> <b...
mit
AynRandTelerik/DrinkAndRate
DrinkAndRate.Web/User/EventCreate.aspx.cs
2328
namespace DrinkAndRate.Web.User { using DrinkAndRate.Data; using DrinkAndRate.Models; using System; using System.Linq; using System.Web; using System.Web.UI; public partial class EventCreate : BaseUserPage { private IDrinkAndRateData data; protected void P...
mit
sachac/quantified
spec/requests/grocery_lists_spec.rb
369
require 'spec_helper' include Warden::Test::Helpers RSpec.describe "GroceryLists", :type => :request do describe "GET /grocery_lists" do it "works! (now write some real specs)" do @user = FactoryGirl.create(:user, :confirmed) login_as @user, scope: :user get grocery_lists_path expect(resp...
mit
Amaire/filmy
vendor/monolog/monolog/tests/Monolog/Handler/NullHandlerTest.php
741
<?php /* * This file is part of the Monolog package. * * (c) Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Monolog\Handler; use Monolog\TestCase; use Monolog\Logger; /** * @cover...
mit
lusocoding/dotnet-objmap-benchmark
Obj2ObjMapBench/Benchmarks/BaseBenchmark.cs
2686
using BenchmarkDotNet.Attributes; using Obj2ObjMapBench.Models; using System.Collections.Generic; using System.Linq; namespace Obj2ObjMapBench { public abstract class BaseBenchmark { const int iterations = 10000; protected IEnumerable<SimplePoco> _simpleData; protected IEnumerable<Nes...
mit
jwiesel/sfdcCommander
sfdcCommander/src/main/java/com/sforce/soap/partner/FieldLevelSearchMetadata.java
5935
/** * FieldLevelSearchMetadata.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package com.sforce.soap.partner; public class FieldLevelSearchMetadata implements java.io.Serializable { private java.lang.String label; ...
mit
fostertheweb/kappa-client
app/components/add-channel-form.js
178
import Ember from 'ember'; export default Ember.Component.extend({ actions: { addFavorite() { this.sendAction('addFavorite', this.get('newFavorite')); } } });
mit
moroztaras/symfony_blog.dev
src/UserBundle/Entity/User.php
6624
<?php namespace UserBundle\Entity; use Doctrine\Common\Collections\ArrayCollection; use Symfony\Component\Security\Core\User\UserInterface; use Doctrine\ORM\Mapping as ORM; /** * Class User * @package UserBundle\Entity * @ORM\Entity(repositoryClass="\UserBundle\Entity\Repository\UserRepository") * @ORM\Table(name...
mit
lightofanima/GameDevelopmentTutorial
Pong/core/src/sprites/Enemy.java
564
package sprites; public class Enemy extends Paddle { public Enemy(int x, int y) { super(x,y); } int updateFrameCounter = 0; float moveDirection = 0; public void update(float dt, Ball ball) { //if(++updateFrameCounter%3==0) //{ updateFrameCounter = 0; if(position.y < ball.position.y) move...
mit
QuickUnit/PacmanTlv
StreetPacMan.Server/InitialApple.cs
322
namespace StreetPacMan.Server { public class InitialApple { public AppleKind Type = AppleKind.Normal; public double Lon; public double Lat; public override string ToString() { return string.Format("{0} apple at ({1}, {2})", Type, Lat, Lon); } } }
mit
tommeagher/pythonGIJC15
website/death_row/dr_info/ramirezjohn.html
12684
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/sub_dr_template.dwt" codeOutsideHTMLIsLocked="false" --> <head> <meta http-equiv="...
mit
sabertazimi/hust-lab
compilers/cminus/lab8/semant.h
88
#ifndef SEMANT_H #define SEMANT_H #include "ast.h" void Semant_check(Prog_t); #endif
mit
freneticmonkey/epsilonc
resources/scripts/core/basesingleton.py
263
''' Created on Nov 19, 2011 @author: scottporter ''' class BaseSingleton(object): _instance = None @classmethod def get_instance(cls): if cls._instance is None: cls._instance = cls() return cls._instance
mit
LivePersonInc/dev-hub
content4/consumer-experience-javascript-chat-addline.html
115360
<!DOCTYPE html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="keywords" content=" "> <title>addLine | LivePerson Technical Documentation</title> <link rel="styl...
mit
yrkup3/jquery-fullheight
src/jquery-fullheight.js
2998
(function ($) { 'use strict'; // Device check for limiting resize handling. var IS_DEVICE = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent); function FullHeight(el, options) { this.el = $(el); var data = {}; $.each(this.el.data(), function (attr, value) { if (...
mit
LoginRadius/ruby-on-rails-gem
README.md
3098
# LoginRadius Ruby SDK ![Home Image](http://docs.lrcontent.com/resources/github/banner-1544x500.png) ## Introduction ## LoginRadius Customer Registration wrapper provides access to LoginRadius Identity Management Platform API. LoginRadius is an Identity Management Platform that simplifies user registration while s...
mit
zaiste/valideez
spec/regon_validator_spec.rb
829
require 'spec_helper' require 'rspec' require 'active_model' class RegonBastard include ActiveModel::Validations attr_accessor :regon validates :regon, :presence => true, :regon => true end describe RegonValidator do before :each do @model = RegonBastard.new end it "should be valid" do @model.s...
mit
HSAScript/demobar
index.html
3331
<!DOCTYPE html> <html lang="en"> <head> <!-- Meta --> <meta charset="utf-8"> <title>Switcheroo</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /> <!-- Css - CDN????--> <!-- <link href="css/bootstrap.min.css" rel="stylesheet" media="screen"> ...
mit
gilith/opentheory
data/haskell/fen2s/src/Test.hs
765
{- | module: Main description: Testing the FEN to Unicode conversion license: MIT maintainer: Joe Leslie-Hurd <joe@gilith.com> stability: provisional portability: portable -} module Main ( main ) where import qualified Unicode import qualified Chess tests :: [(String,String,Chess.Edge)] tests = [("Initial posi...
mit
stone-lab/Dynamicfield
Composers/FrontendViewComposer.php
1619
<?php namespace Modules\Dynamicfield\Composers; use Illuminate\Contracts\View\View; use Mcamara\LaravelLocalization\Facades\LaravelLocalization; use Modules\Dynamicfield\Utility\DynamicFields; use Request; use Route; class FrontendViewComposer { /** * @param View $view */ public function compose(Vi...
mit
n3wt0n/BugGuardian.WebForms
TestApp/BugGuardian.WebForms.TestWebApp/Account/ManageLogins.aspx.designer.cs
806
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
mit
selct/selct.github.io
people.html
18964
<!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"> <meta name="description" content=""> <meta name="author" content=""> <title>SELCT People</title> <!-- ...
mit
unscriptable/curl-cache-bust
README.md
1676
# curl-cache-bust curl-cache-bust is a curl.js shim that adds the ability to "bust the cache" during development. Cache busting isn't something I think a module loader should normally do, yet people ask for it [a lot](https://github.com/cujojs/curl/issues/159)), so I added the capability via this shim. ## Usage cur...
mit
kiddyuchina/Beanbun
examples/phantomjs.php
1249
<?php use Beanbun\Beanbun; use JonnyW\PhantomJs\Client; require_once(__DIR__ . '/vendor/autoload.php'); $beanbun = new Beanbun; $beanbun->name = 'phantom'; $beanbun->count = 5; $beanbun->interval = 2; $beanbun->timeout = 10; $beanbun->seed = [ 'https://www.zhihu.com/question/23660494', 'https://www.zhihu.com/...
mit
scienceopen/pyLCPFCT
src/RunFast2d.f90
257
implicit none integer, parameter :: MAXTSTP = 801, NGRID = 64 real pyRho(NGRID,NGRID,MAXTSTP), pyVR(NGRID,NGRID,MAXTSTP), & pyVZ(NGRID,NGRID,MAXTSTP), pyErg(NGRID,NGRID,MAXTSTP) call fast2d(pyRho,pyVR,pyVZ,pyErg) !write (*,*) PYOUT(50,1,:) end program
mit
lexicondevil12/thesis_notes
docs/meeting_questions_notes.md
811
#### 4/17/17 Questions and notes - what does the wittgensteinian "empirical"/"ethnography entail? - genre, habitus, practices all seem to be able to be explained as roughly equivalent, so - Why is Wittgenstein better or what does he bring to the table that Bourdieu, Giddens, Miller, etc don't? - Does W's "anti-t...
mit
istickz/video_storage_sample
config/application.rb
1321
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 VideoStorageSample class Application < Rails::Application # Settings in config/environments/*...
mit
npettiaux/orthanc-viewer
Code/Model/ViewConfiguration.cpp
2158
/** * Copyright (c) 2013-2014 Quentin Smetz <qsmetz@gmail.com>, Sebastien * Jodogne <s.jodogne@gmail.com> * * 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, inclu...
mit
masarakki/andrake
lib/andrake/generator.rb
81
module Andrake::Generator autoload :Rakefile, 'andrake/generator/rakefile' end
mit
thomasturnbull/nycwhisky-angular
app/sites/nycwhisky.com/themes/old/template.php
628
<?php function old_width($left, $right) { $width = 540; if (!$left ) { $width = $width +190; } if (!$right) { $width = $width +190; } return $width; } /** * Return a themed breadcrumb trail. * * @param $breadcrumb * An array containing the breadcrumb links. * @return a string conta...
mit
ssk181/home-switch-nodemcu
README.md
2977
# Home IoT light switch on NodeMCU (ESP8266) Устройство предназначено для управления освещением либо вентиляцией в квартире. Каждое устройство размещается в распределительной коробке комнаты, куда приходит питание, провода от ламп либо вентиляторов и от кнопок. Предполагается, что реле можно управлять как удаленно, так...
mit
wjk930726/Nexus
Nexus/Pods/Target Support Files/SnapKit/SnapKit-umbrella.h
306
#ifdef __OBJC__ #import <Cocoa/Cocoa.h> #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif FOUNDATION_EXPORT double SnapKitVersionNumber; FOUNDATION_EXPORT const unsigned char SnapKitVersionString[];
mit
atst1996/RecoTwAPI
RecoTwException.cs
235
using System; namespace RecoTwAPI { [Serializable] public class RecoTwException : Exception { public RecoTwException(ErrorCollection errors) { this.Errors = errors; } public ErrorCollection Errors { get; set; } } }
mit
prokilogrammer/keet
routes.js
4425
var _ = require('lodash'), restify = require('restify'), async = require('async'); module.exports = function(settings, server, db){ var globalLogger = require(settings.path.root('logger')); var auth = require(settings.path.lib('auth'))(settings, db); var api = require(settings.path.lib('api'))(se...
mit
Ignis34Rus/LoE-Ghost.Server
Ghost.Server/Utilities/Abstracts/CreatureObject.cs
2904
using Ghost.Server.Mgrs.Map; using PNetR; using System; using System.Numerics; namespace Ghost.Server.Utilities.Abstracts { public abstract class CreatureObject : WorldObject { protected bool _dead; protected StatsMgr _stats; protected NetworkView _view; protected MovementGener...
mit
saul/demofile
docs/interfaces/_protobufs_cstrike15_gcmessages_.cmsggccstrike15v2servervarvaluenotificationinfo.html
10139
<!doctype html> <html class="default no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>CMsgGCCStrike15V2ServerVarValueNotificationInfo | demofile</title> <meta name="description" content="Documentation for demofile"> <meta name="viewport" content="width=device-width...
mit
pittuxx/arb
test/controllers/posts_controller_test.rb
1359
require 'test_helper' class PostsControllerTest < ActionController::TestCase setup do @post = posts(:one) end test "should get index" do get :index assert_response :success assert_not_nil assigns(:posts) end test "should get new" do get :new assert_response :success end test "s...
mit
nisc-code/dpkg
dpkg-1.17.5ubuntu5.3/src/script.c
10035
/* * dpkg - main program for package management * script.c - maintainer script routines * * Copyright © 1995 Ian Jackson <ian@chiark.greenend.org.uk> * Copyright © 2007-2013 Guillem Jover <guillem@debian.org> * * This is free software; you can redistribute it and/or modify * it under the terms of the GNU Genera...
mit
mcisb/SuBliMinaLToolbox
src/main/java/org/mcisb/subliminal/metacyc/MetaCycExtracter.java
7913
/******************************************************************************* * Manchester Centre for Integrative Systems Biology * University of Manchester * Manchester M1 7ND * United Kingdom * * Copyright (C) 2008 University of Manchester * * This program is released under the Academic Free License ("AF...
mit
sharibarboza/SubSnoop
app/scripts/directives/donutchart.js
14247
'use strict'; /** * @ngdoc directive * @name SubSnoopApp.directive:pieChart * @description * # pieChart */ angular.module('SubSnoopApp') .directive('donutChart', ['d3Service', '$window', '$document', 'subFactory', '$filter', 'moment', 'sentiMood', 'reaction', function (d3Service, $window, $document, subFact...
mit
munificent/magpie-optionally-typed
src/com/stuffwithstuff/magpie/interpreter/builtin/BuiltInCallable.java
263
package com.stuffwithstuff.magpie.interpreter.builtin; import com.stuffwithstuff.magpie.interpreter.Interpreter; import com.stuffwithstuff.magpie.interpreter.Obj; public interface BuiltInCallable { Obj invoke(Interpreter interpreter, Obj thisObj, Obj arg); }
mit
deangiberson/myWakatimeApi
app/controllers/user_agents_controller.rb
1286
class UserAgentsController < ApplicationController before_action :set_user_agent, only: [:show, :update, :destroy] # GET /user_agents # GET /user_agents.json def index @user_agents = UserAgent.all render json: @user_agents end # GET /user_agents/1 # GET /user_agents/1.json def show render...
mit
gnaudio/jabra-browser-integration
src/DeveloperSupportBeta/development/index.html
2679
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>Jabra Browser Integration</title> <link href="main.css" rel="stylesheet" /> <link href="//cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css" rel="stylesheet" /> </head> <body> <a href="https://github.com/gnaudio/jabra-brow...
mit
steakknife/rotp_rails
lib/rotp_rails/version.rb
41
module RotpRails VERSION = '0.0.1' end
mit