repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
vernonzheng/scala-for-the-Impatient
src/Chapter06/exercise01.scala
310
/** * 编写一个 Conversions 对象,加入 inchesToCentimeters,gallonsToLiters 和 milesToKilometers 方法 */ object Conversions{ def inchesToSantimeters(value: Double) = value * 2.54 def gallonsToLiters(value: Double) = value * 3.78541178 def milesToKilometers(value: Double) = value * 1.609344 }
mit
juanortizthirdwave/ruby_guides_engine
lib/concerns/models/post.rb
638
module Blorgh::Concerns::Models::Post extend ActiveSupport::Concern # 'included do' causes the included code to be evaluated in the # context where it is included (post.rb), rather than being # executed in the module's context (blorgh/concerns/models/post). included do attr_accessor :author_name bel...
mit
aspic/wemo-control
src/SocketDevice/index.js
1491
import './index.css'; import React, {Component} from 'react'; import { postToggleDevice } from '../ajax'; export default class SocketDevice extends Component { constructor() { super(); this.state = {clicked: false, device: {}}; this.clicked = this.clicked.bind(this); } componentWi...
mit
json-iterator/java
src/main/java/com/jsoniter/annotation/JsonIgnore.java
452
package com.jsoniter.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target({ElementType.ANNOTATION_TYPE, ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER}) @Retention(RetentionPol...
mit
fperucic/treant-js
examples/basic-example/basic-example.js
6298
var config = { container: "#basic-example", connectors: { type: 'step' }, node: { HTMLclass: 'nodeExample1' } }, ceo = { text: { name: "Mark Hill", title: "Chief executive officer", ...
mit
mbreecher/task_app
spec/models/user_spec.rb
3092
require 'spec_helper' describe User do before do @user = User.new(name: "Example User", email: "user@example.com", password: "foobar800", password_confirmation: "foobar800") end subject {@user} it {should respond_to(:name)} it {should respond_to(:email)} it {should respond_to(:password_digest)} it {s...
mit
globocom/mugshot
spec/mugshot/storage_spec.rb
347
# -*- encoding: utf-8 -*- require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe Mugshot::Storage do it "should convert an id to path with 6 levels of directories" do @fs = Mugshot::Storage.new @fs.send(:id_to_path, "a9657a30c7df012c736512313b021ce1").should == "a9/65/7a/30/c7/df/012c7...
mit
sighill/shade_app
apis/raw/005_raw/005_cleaner.py
1625
# 005_cleaner.py ##################################################################### ################################## # Import des modules et ajout du path de travail pour import relatif import sys sys.path.insert(0 , 'C:/Users/WILLROS/Perso/Shade/scripts/LocalWC-Shade-App/apis/') from voca import AddLog , ...
mit
ryanfs/phase-0
week-6/attr/my_solution.rb
2388
#Attr Methods # I worked on this challenge by myself. # I spent [#] hours on this challenge. # Pseudocode # Input: # Output: # Steps: class NameData end class Greetings end # Release 1 #What are these methods doing? # These methods set a name, age, and occupation, then they allow those instance variables to ...
mit
pixelsnow/arkanoid-uni
scripts/index.js
28
require( ['build/index'] );
mit
cyrilBezel/application_tex
application/config/config.php
17766
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, | WITH...
mit
gwa/gwRemoteResource
src/Gwa/Remote/RemoteResource.php
2909
<?php namespace Gwa\Remote; /** * @brief Loads a remote resource using curl. * @class RemoteResource */ class RemoteResource { private $_url; private $_errno; private $_errmsg; private $_content; private $_header; private $_options; /** * @brief The constructor. * @param strin...
mit
airbug/bugcore
libraries/bugcore/js/test/observe/data/ObservableMapTests.js
3975
/* * Copyright (c) 2016 airbug Inc. http://airbug.com * * bugcore may be freely distributed under the MIT license. */ //------------------------------------------------------------------------------- // Annotations //------------------------------------------------------------------------------- //@TestFile //@...
mit
kbz/SIFTrain
core/src/com/fteams/siftrain/entities/SimpleNotesInfo.java
503
package com.fteams.siftrain.entities; import com.fteams.siftrain.util.SongUtils; public class SimpleNotesInfo implements Comparable<SimpleNotesInfo>{ public Double timing_sec; public Integer effect; public Double effect_value; public Integer position; @Override public int compareTo(SimpleNot...
mit
usmanakhtar/usmanakhtar.github.io
courses/example/index.html
18219
<!DOCTYPE html><html lang="en-us" > <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="generator" content="Source Themes Academic 4.8.0"> <meta name="au...
mit
oamaok/kinko
server/scripts/create-admin.js
1056
const app = require('../server'); const readline = require('readline'); const { User, Role, RoleMapping, } = app.models; const rl = readline.createInterface({ input: process.stdin, output: process.stdout, }); Role.findOne({ where: { name: 'admin' } }) .then((role) => { if (!role) { console.log('No ad...
mit
VanceKingSaxbeA/FOREX-Engine
App/USDMOP.php
9398
/*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
JeroenNoten/Laravel-AdminLTE
src/Menu/Builder.php
6853
<?php namespace JeroenNoten\LaravelAdminLte\Menu; use Illuminate\Support\Arr; use JeroenNoten\LaravelAdminLte\Helpers\MenuItemHelper; class Builder { protected const ADD_AFTER = 0; protected const ADD_BEFORE = 1; protected const ADD_INSIDE = 2; /** * The set of menu items. * * @var ar...
mit
jdarling/Stubber.js
webroot/stubber/partials/index.html
1725
<div class="splash-container"> <div class="splash"> <h1 class="splash-head">Welcome to Stubber.js</h1> <p class="splash-subhead"> Stubber.js is a quick and simple stub data provider. </p> <p> <a href="#started" class="pure-button pure-button-primary">Get Started</a> </p> </div> </div...
mit
seguijoaquin/taller2-appserver
Appserver/Coverage/usr/include/c++/4.8/bits/vector.tcc.gcov.html
82695
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>LCOV - coverage.info - /usr/include/c++/4.8/bits/vector.tcc</title> <link rel="stylesheet" type="text/css" href="../../../../../gcov.css"> </head> <...
mit
TheCargoAgency/BonsaiPHP
src/Mapper/Converter/LocalizeUrl.php
208
<?php namespace Bonsai\Mapper\Converter; use \Bonsai\Module\Tools; class LocalizeUrl implements Converter { public function convert($output) { return Tools::localizeURL($output); } }
mit
ixjx/blog
_site/2013-11-09/F2E_0关于Bootstrap的响应式布局设计/index.html
22578
<!DOCTYPE html> <html> <head> <title>F2E_0关于Bootstrap的响应式布局设计</title> <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="keywords" content="F2E_0关于Bootstrap的响应式布局设计, 随编, 前端之路, CodeShurri...
mit
NetzwerkWohnen/NWW
src/main/java/org/nww/core/data/filter/StringInListFilterCriteria.java
877
package org.nww.core.data.filter; import java.util.List; /** * A simple filter criteria implementation checking the existence of a string * inside a list of strings. Does only match if the list contains a totally * equal string like the context one. * * @author MGA */ public class StringInListFilterC...
mit
ProcessHub/processhub-sdk
src/process/types/diagram-js/lib/features/global-connect/globalconnect.d.ts
1101
declare module "diagram-js/lib/features/global-connect/GlobalConnect" { import EventBus from "diagram-js/lib/core/EventBus"; import { Base } from "diagram-js/lib/model"; import Canvas from "diagram-js/lib/core/Canvas"; import Dragging from "diagram-js/lib/features/dragging/Dragging"; export default class Glo...
mit
jmsaavedra/NWS_Collabs
Spring_2014/Haydn_NWS_2014_FINAL/src/ModeTwo.h
515
// // ModeTwo.h // Haydn_NWS_2014_FINAL // // Created by Bernardo Santos Schorr on 3/8/14. // // #pragma once #include "ofMain.h" #include "fft.h" #include "FFTOctaveAnalyzer.h" #include "ParticleOrbit.h" #include "movingBackground.h" class ModeTwo { public: void setup( vector<MovingBackground> &bkgListT...
mit
AdL1398/PiCasso
source/modules/tester/testtermopi.py
1603
#!/usr/bin/python """ title : testtermopi.py description : This program runs the termopi.py : Displays the status of the resources (cpu load and memory usage) consumed by a Raspberry Pi computer and the resources consumed by one or more containers instantiated in the Pi...
mit
AllanDubrulle/distributeur_tickets
Implementation/JAVADOC/stockage/CoeurAStockage.html
68386
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="fr"> <head> <!-- Generated by javadoc (1.8.0_152) on Fri Mar 30 13:31:47 CEST 2018 --> <title>CoeurAStockage</title> <meta name="date" content="2018-03-30"> <link rel="stylesheet" type="te...
mit
bosha/torhandlers
tests/test_application/templates/list.html
140
Is paginated: {{ is_paginated }} Items count: {{ len(objects_list) }} {% for item in objects_list %} {{ item }} <br /> {% end %} end..
mit
eliace/ergojs-site
docs/Ergo.core.Layout.html
187614
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Class: Layout</title> <script src="scripts/prettify/prettify.js"></script> <script src="scripts/prettify/lang-css.js"></script> <script src="scripts/jquery.min.js"></script> <!--[if lt IE 9]> <script src="//html5shiv.goo...
mit
Codes-With-Eagles-SWE2014/Server
web_server/migrations/20141116202453-troopcost.js
210
var dbm = require('db-migrate'); var type = dbm.dataType; exports.up = function(db, callback) { db.addColumn("troop_type", "production_cost", "int", callback); }; exports.down = function(db, callback) { };
mit
Neofonie/gocd-docker-v2-material-poller
LICENSE.md
1081
The MIT License (MIT) Copyright (c) 2015 Manuel Kasiske 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, merge, p...
mit
dreamsxin/zephir
Library/Optimizers/FunctionCall/MemstrOptimizer.php
1887
<?php /* * This file is part of the Zephir. * * (c) Zephir Team <team@zephir-lang.com> * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ namespace Zephir\Optimizers\FunctionCall; use function Zephir\add_slashes; use Zephir\Call; u...
mit
dav793/angular2-seed
app/components/sandbox/sandbox3/sandbox3.service.ts
524
import { Inject, Injectable } from '@angular/core'; import { Http, Response } from '@angular/http'; import { Observable } from 'rxjs/Observable'; import 'rxjs/add/operator/map'; import 'rxjs/operator/mergeMap'; import 'rxjs/operator/switchMap'; import 'rxjs/add/operator/debounceTime'; @Injectable() export class Sandbo...
mit
KlishGroup/prose-pogs
pogs/Y/YYBNBHX/BES/index.md
2218
--- layout: page title: Bolt Electronics Seminar date: 2016-05-24 author: James Pollard tags: weekly links, java status: published summary: Nulla rutrum ex sit amet sapien mattis lobortis. In hendrerit. banner: images/banner/meeting-01.jpg booking: startDate: 01/06/2019 endDate: 01/08/2019 ctyhocn: YYBNBHX grou...
mit
Jey-Cee/ioBroker.upnp
main.js
83360
'use strict'; // you have to require the utils module and call adapter function const utils = require('@iobroker/adapter-core'); // Get common adapter utils const adapterName = require('./package.json').name.split('.').pop(); // include node-ssdp and node-upnp-subscription const {Client, Server} = require('node-ssdp'...
mit
tachyons-css/tachyons-verbose
src/_floats.css
1036
/* FLOATS http://tachyons.io/docs/layout/floats/ 1. Floated elements are automatically rendered as block level elements. Setting floats to display inline will fix the double margin bug in ie6. You know... just in case. 2. Don't forget to clearfix your floats with .clearfix Media Query Ext...
mit
vieiralisboa/ze
private/bars/bar.Home.js
2099
if(Bar.app("Início")) throw "Barra já existe!"; /*/LOADING BAR $.get("http://hosts.medorc.org/xn--stio-vpa/json/bar.Home.json"), function(data){ //if(Bar.app(data.name)) throw "Barra já existe!"; $('#header').bar({ toolbox: data, callback: function(bar){ //(auto) lo...
mit
shenanigans/node-sublayer
static/docs/generated/module/zlib/spare/examples/index.html
1329
<!DOCTYPE html> <html> <head> <title>zlib~Examples documentation</title> <link rel="stylesheet" type="text/css" href="../../../../index.css" /> <link rel="stylesheet" type="text/css" href="../../../../highlight.css" /> <script type="text/javascript" src="../../../../index.js"></script> </head> <body cla...
mit
gilAsier/angular2beta_errors
public/config.js
14023
System.config({ baseURL: "/", defaultJSExtensions: true, transpiler: "babel", babelOptions: { "optional": [ "runtime" ], "stage": 1 }, paths: { "github:*": "jspm_packages/github/*", "npm:*": "jspm_packages/npm/*" }, map: { "angular2": "npm:angular2@2.0.0-beta.1", "babe...
mit
ilangal-amd/CodeXL
Common/Lib/AMD/ACL/TOT/include/v0_8/aclTypes.h
4128
//===================================================================== // Copyright 2012-2016 (c), Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file /// //===================================================================== #ifndef _ACL_API_TYPES_0_8_H_ #define _ACL...
mit
quarkdev/battletanks
README.md
1013
### Battletanks HTML5-Canvas Game local play only, websockets-based multiplayer to come ### Controls | Key | Command | |------------------------------------------------------------------|----------------| |<kbd>&uarr;</kbd> or <kbd>W</kbd> ...
mit
mofo37/second_repo
top_ten.html
1411
<!DOCTYPE html/> <html> <head> <link rel = "stylesheet" href = "style.css"> <title>Morgan Fogarty : Top Ten</title> </head> <body class="top-ten"> <div class="container"> <header> <h1><a href="index.html">Morgan Fogarty</a></h1> <h2>Choreographer and Web Developer in Training</h2> </header> ...
mit
romainneutron/PHPExiftool
lib/PHPExiftool/Driver/Tag/HP/PreviewImage.php
860
<?php /* * This file is part of PHPExifTool. * * (c) 2012 Romain Neutron <imprec@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\HP; use JMS\Serializer\Annotation\ExclusionPolicy; use ...
mit
xianjunzhengbackup/code
data science/machine_learning_for_the_web/chapter_4/movie/29800.html
5912
<HTML><HEAD> <TITLE>Review for Stanza del figlio, La (2001)</TITLE> <LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css"> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0208990">Stanza del figlio, La (2001)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/Revie...
mit
Miguel-Barreiro/ExtendedEditor
ExtendedEditor/Assets/.Docs/TNRD.Editor.Core.ExtendedAssets-Destroy.html
2755
<!DOCTYPE html> <html lang="en" class="no-js"> <head> <title>Extended Editor Documentation</title> <meta name="msapplication-TileColor" content="#222c37" /> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/toc.js"></script> ...
mit
yeastgenome/SGDFrontend
src/sgd/frontend/yeastgenome/static/js/go.js
7443
$(document).ready(function() { $.getJSON('/backend/go/' + go_term['id'] + '/locus_details', function(data) { create_go_table(data); }); $.getJSON('/backend/go/' + go_term['id'] + '/ontology_graph', function(data) { var cy = create_cytoscape_vis("cy", layout, graph_style, data, null, false, "goOntology"); ...
mit
bahmanm/filetree
doc/Contribute.md
3010
## Guidelines for Contributing ### <a name="forkme"></a> Work on a personal fork You should fork the FileTree repository into your own github account and do the development work there. Issue a [pull request](http://help.github.com/send-pull-requests/) when you have things working. ### <a name="branching"></a> Work ...
mit
LaravelRUS/docs
database.md
23320
git e8f8f3186f7948a51a4223d7e7078317cd8984c5 --- # База данных · Начало работы - [Введение](#introduction) - [Конфигурирование](#configuration) - [Соединения для чтения и записи](#read-and-write-connections) - [Выполнение SQL-запросов](#running-queries) - [Использование нескольких соединений к базе данны...
mit
waveform80/lars
Makefile
6976
# vim: set noet sw=4 ts=4 fileencoding=utf-8: # # Copyright (c) 2013-2017 Dave Jones <dave@waveform.org.uk> # Copyright (c) 2013 Mime Consulting <info@mimeconsulting.co.uk> # All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documenta...
mit
eaglerockdude/eaglerockdude.github.io
ror.html
2245
--- title: ruby on rails permalink: "ror/index.html" layout: default --- <Main class=""> <h1 class="std_hdg_color">Ruby on Rails</h1> <p>This is a collection of posts related to Ruby on Rails and Ruby. When I changed from my previous IBM platform to the web paradigm and open source, I originally started with PHP b...
mit
lordzsolt/OctoDrive
app/src/main/java/com/dreamteam/octodrive/model/OctoObject.java
500
package com.dreamteam.octodrive.model; import com.parse.ParseObject; public abstract class OctoObject { protected String _objectId; protected ParseObject _parseObject; public ParseObject parseObject() { return _parseObject; } public void setObjectId(String objectId) { _objectId...
mit
formed/paths.old
app.js
1352
// app.js /*jslint node: true */ 'use strict'; var compression = require('compression'); var express = require('express'); var passport = require('passport'); var mongoose = require('mongoose'); var flash = require('connect-flash'); var morgan = require('morgan'); var cookieParser = require('cookie-pars...
mit
carlalexander/jquery.numeric.input
jquery.numeric.input.js
420
!function($) { $(document).on("keydown", 'input[data-type="numeric"]', function (e) { var key = e.charCode || e.keyCode || 0; // allow backspace, tab, delete, arrows, numbers and keypad numbers ONLY return ( key == 8 || key == 9 || key == 46 || (key >= 37 && key <= 40) || (...
mit
klafooty/projetJava
src/main/java/ca/ulaval/glo2004/Domain/Matrix/ExitProductSortingHolder.java
401
package ca.ulaval.glo2004.Domain.Matrix; import ca.ulaval.glo2004.Domain.StationExitPoint; import java.io.Serializable; public class ExitProductSortingHolder implements Serializable{ public StationExitPoint exitPoint; public double value; public ExitProductSortingHolder(StationExitPoint exitPoint, double...
mit
laonawuli/hotelsupervisor
Server/HotelSupervisorService/HotelSupervisorService/Properties/Settings.Designer.cs
1676
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:2.0.50727.3634 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //------------------------------------------------------------------------------ namespace Ho...
mit
posva/vue-mdl
test/unit/specs/Chip.spec.js
1991
import Chip from '../../components/Chip' import { vueTest } from '../utils' describe('Chip', () => { let vm before((done) => { vm = vueTest(Chip) vm.$nextTick(done) }) it('renders with text', () => { const el = vm.$('#chip') el.should.contain.text('Basic chip') el.should.not.have.class('md...
mit
NZescape/nzescape.github.io
_listings/other/attractions/wellington-attractions.md
365
--- title: Wellington Attractions listing-type: attractions island: other region: attractions order: image-path: wellington.jpg image-alt: Wellington Attractions refer-url: wellington-attractions.html --- Wellington offers many memorable tourist attractions including Te Papa Museum, the Cable Car Museum, the Karori...
mit
njh/ruby-mpris
examples/play_track.rb
443
#!/usr/bin/ruby # # Script to immediately start playing a track in the media player. # # Author:: Nicholas J Humfrey (mailto:njh@aelius.com) # Copyright:: Copyright (c) 2008 Nicholas J Humfrey # License:: Distributes under the same terms as Ruby # $:.unshift File.dirname(__FILE__)+'/../lib' require 'mpris' rai...
mit
nylnook/nylnook-website
src/documents/en/index.html.md
390
--- layout: 'welcome-layout' title: "Camille Bissuel ❄ Free (as in Freedom) Comics & Illustrations" changfreq: 'daily' isPaged: true pagedCollection: 'all_en' pageSize: 12 priority: 1 --- I'm Camille Bissuel and I'm creating free (as in freedom) graphic novels and illustrations about climate change. Sign-up to become o...
mit
flammified/terrabot
terrabot/packets/packet5.py
340
from . import packet class Packet5(packet.Packet): def __init__(self, player, slot): super(Packet5, self).__init__(0x5) self.add_data(player.playerID) self.add_data(slot) self.add_structured_data("<h", 0) # Stack self.add_data(0) # Prefix self.add_structured_data...
mit
goldstar/blackbeard
lib/blackbeard/feature_metric.rb
68
module Blackbeard class FeatureMetric < SegmentedMetric end end
mit
panelando/panelando
app/lib/auth.js
629
import { hashHistory } from 'react-router' import { auth } from 'lib/firebase' export const redirect = path => hashHistory.push(path) export const signInWithGoogle = () => { const provider = new auth.GoogleAuthProvider() provider.addScope('https://www.googleapis.com/auth/userinfo.profile') return auth().signI...
mit
mastilver/express-annotation
test/sync.js
905
var request = require('supertest'); var should = require('should'); var express = require('express'); var expressRouter = require('../index.js'); var mockPath = 'mock.js'; describe('register routes', function(){ var app; before(function(){ app = express(); expressRouter.sync(app, mockPath...
mit
slon1024/linear-regression
test/linear-regression/base_test.rb
1251
require "linear-regression" require "test/unit" module Regression class BaseTests < Test::Unit::TestCase def setup @base = Base.new @xs = [150, 160, 170, 180, 190, 200, 190, 180, 170, 160] @ys = [51, 63, 68, 79, 90, 97, 88, 50, 63, 60] end def test_mean_with_nil_shoul_be_raise a...
mit
sunithshetty/Unreal-Engine-4-Scripting-with-CPlusPlus-Cookbook
Chapter07/Source/Chapter7/Interactable.cpp
175
#include "Chapter7.h" #include "Interactable.h" bool IInteractable::CanInteract_Implementation() { return true; } void IInteractable::PerformInteract_Implementation() { }
mit
ritashugisha/ASUEvents
ASUEvents/managers/migrations/0012_auto_20150422_2019.py
511
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('managers', '0011_auto_20150422_2018'), ] operations = [ migrations.AlterField( model_name='managerprofile', ...
mit
xrstf/babelcache
tests/Adapter/WinCacheTest.php
645
<?php /* * Copyright (c) 2012, webvariants GbR, http://www.webvariants.de * * This file is released under the terms of the MIT license. You can find the * complete text in the attached LICENSE file or online at: * * http://www.opensource.org/licenses/mit-license.php */ use wv\BabelCache\Adapter\WinCache; class...
mit
AnastasiaPavlova/Angular2Traning
config/webpack.prod.js
9907
/** * @author: @AngularClass */ const helpers = require('./helpers'); const webpackMerge = require('webpack-merge'); // used to merge webpack configs const commonConfig = require('./webpack.common.js'); // the settings that are common to prod and dev /** * Webpack Plugins */ const DefinePlugin = requir...
mit
cobot00/JUnitForEnterprise
test/junit/util/AssertWrapper.java
2145
package junit.util; import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.*; /** * JUnit4からのassertThatアサーションを使いやすくするためのラッパー処理群。<br> * isのためのimportが面倒、Boxingは避けたいという御仁向け。<br> * assertThatのシグネチャが改善される可能性を考慮してメソッド名は別名にしています。 * * @author cobot00 */ public final class AssertWrapper { priva...
mit
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.06.1-2.0.5/released/8.12.1/quickchick/1.4.0.html
7033
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>quickchick: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min....
mit
ssimona01/Dilly
Friends/pg.html
3735
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Friends</title> <link rel="stylesheet" href="style.css" type="text/css" /> <link rel="stylesheet" href="../bootstrap-3.3.7-dist/css/bootstrap.css"> <link rel="stylesheet" href="../bootstrap-3.3.7-dist/css/font-awesome.css"> <link rel="stylesheet" h...
mit
ricardovice/CacheGenerator
setup.py
329
from distutils.core import setup version = '1.1.1' setup(name='CacheGenerator', version=version, description="CacheGenerator for Django", author="Ricardo Santos", author_email="ricardo@getgears.com", url="http://github.com/ricardovice/CacheGenerator/", packages = ['cachegenerator']...
mit
cadenzr/cadenzr
log/log.go
1909
package log import ( "io" "github.com/sirupsen/logrus" ) type Fields logrus.Fields type Level uint8 var DebugLevel = Level(logrus.DebugLevel) var InfoLevel = Level(logrus.InfoLevel) var WarnLevel = Level(logrus.WarnLevel) var ErrorLevel = Level(logrus.ErrorLevel) var logger = logrus.New() func SetOutput(w io.W...
mit
nbushak/postgraphql
src/postgraphql/http/__tests__/createPostGraphQLHttpRequestHandler-test.js
18119
jest.mock('send') import { GraphQLSchema, GraphQLObjectType, GraphQLString } from 'graphql' import { $$pgClient } from '../../../postgres/inventory/pgClientFromContext' import createPostGraphQLHttpRequestHandler, { graphiqlDirectory } from '../createPostGraphQLHttpRequestHandler' const path = require('path') const ht...
mit
bouzuya/blog.bouzuya.net
data/2012/01/2012-01-15.md
2240
先週と同様に今週の反省をします。 ## 良かった点 まずは良かった点を挙げます。 何より良かった点は今週もきちんと毎日更新できたことです。ブログを毎日更新することを目標のひとつに設定しているため、これができることは大切です。当たり前のことができることは素晴らしいことです。 そのほかにはコメントが付いたことも良かったことです。はてなブログをはじめるきっかけを作った友人(<a href="http://blog.hatena.ne.jp/emanon001/">id:emanon001</a>)からのコメントではありますが、それでもはじめてのコメントには違いありません。喜ばしいことです。 ## 悪かった点 次に悪かった点を挙...
mit
egalink/proveedores
app/routes.php
7126
<?php /* |-------------------------------------------------------------------------- | Defining Global Patterns |-------------------------------------------------------------------------- | If you would like a route parameter to always be constrained by a given | regular expression, you may use the pattern method: | *...
mit
Almanak/dak
_subjects/3/c4dd3a68-a70b-11e6-847e-3c07545eb2e5.md
468
--- # Jekyll variables layout: subject permalink: /subjects/c4dd3a68-a70b-11e6-847e-3c07545eb2e5 # Specific subject values uuid: c4dd3a68-a70b-11e6-847e-3c07545eb2e5 broader: - prefLabel: Arbejdsliv uuid: c4dd0cdc-a70b-11e6-8459-3c07545eb2e5 - prefLabel: Organisation af arbejdet uuid: c4dd3951-a70b-11e6-85c7-3c075...
mit
w9wen/w9wen.github.io
_posts/2018/2018-04-07-install-currentactivity-plugin-access-xamarin-android-activity.markdown
2821
--- title: '[Xamarin.Forms] 安裝CurrentActivity Plugin藉以存取Xamarin.Android Activity' categories: Xamarin Xamarin.forms plugin --- 在Xamarin Forms跨平台存取Android的Activity,需要安裝與設定CurrentActivityPlugin才能達成,比如使用MediaPlugin在Android就需要用到,請參考[Access the Current Android Activity from Anywhere](https://montemagno.com/access-the-curre...
mit
OperationSpark/code-clash
src/socket/index.js
1848
/* eslint no-console: warn */ const _ = require('lodash'); const { processScore } = require('../helpers/game.js'); const getRandomQuiz = require('../../app/helpers/quizRandomizer.js'); module.exports = function socketHandler(io) { const players = []; const game = io.of('/game'); game.on('connect', function (sock...
mit
thlorenz/level-sublevel-demo
README.md
854
# level-sublevel-demo [![build status](https://secure.travis-ci.org/thlorenz/level-sublevel-demo.png)](http://travis-ci.org/thlorenz/level-sublevel-demo) Shows how sublevels work in leveldb and how easy it is to test leveldb code. ## Installation git clone https://github.com/thlorenz/level-sublevel-demo.git ##...
mit
kazet15/heat-templates
src/server.js
1872
'use strict'; import Component from './component'; import VolumeAttachment from './volume-attachment'; import Port from './port'; import {isString} from './util'; const Server = function (properties) { if (!(this instanceof Server)) { return new Server(properties); } Component.call(this, { ports: [],...
mit
PilgrimShadow/Rosalind.scala
src/main/scala/com/jgdodson/rosalind/Cons.scala
1377
package com.jgdodson.rosalind import utils.Utils object Cons { def main(args: Array[String]): Unit = { val pairs = Utils.readFastaFile(args(0)) val strings = pairs.map(_._2) val profile = makeProfile(strings) println(makeConsensus(profile)) println(formatProfile(profile)) } def makeProfile...
mit
haruio/haru-example-memo
kakao/src/com/kakao/UnlinkResponseCallback.java
4973
/** * Copyright 2014 Kakao Corp. * * Redistribution and modification in source or binary forms are not permitted without specific prior written permission.  * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a co...
mit
gunnaroh11/ChromeExtension
CSS/inpersoned.css
1017
html{ height:100%; } body { min-width: 357px; max-width: 457px; height: 100%; font-family: helvetica, 'Segoe UI', 'Open Sans', Arial, sans-serif; background-image: url("/inPersoned_pink.png"); background-repeat: no-repeat; background-size: 130px; background-position: 8px 20px; } .headcontainer ...
mit
PYXI3D/PYXI-3D
index.html
2418
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Hello, World! - A-Frame</title> <meta name="description" content="Hello, World! - A-Frame"> <script src="aframe.js"></script> <script src="lib/aframe-animation.js"></script> </head> <body> <a-scene id="szene"> <a-plane posit...
mit
shopware/SwagConnect
Components/ShippingCosts/ShippingCostRuleVisitor.php
4969
<?php /** * (c) shopware AG <info@shopware.com> * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace ShopwarePlugins\Connect\Components\ShippingCosts; use Shopware\Connect\ShippingCosts\Rule; use Shopware\Connect\ShippingCosts\Ru...
mit
Malehaly/studies-java-jpa-junit
jpa/ExercicioHandsOn09/src/com/target/control/JpaUtil.java
530
package com.target.control; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; public class JpaUtil { private static EntityManager em; private static EntityManagerFactory factory; static { try { factory = Persistence.create...
mit
crescentflare/DynamicAppConfigAndroid
AppConfigLib/src/main/java/com/crescentflare/appconfig/helper/AppConfigResourceHelper.java
1901
package com.crescentflare.appconfig.helper; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Color; import android.os.Build; import android.util.TypedValue; /** * Library helper: resource access * A helper library to access app resources for skinning the user interface...
mit
mscherotter/UrbanSketchers
UrbanSketchers/UrbanSketchers/Pages/RootPage.xaml.cs
1707
using System.Linq; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace UrbanSketchers.Pages { /// <summary> /// the root page /// </summary> [XamlCompilation(XamlCompilationOptions.Compile)] public partial class RootPage { private bool _isFirst = true; /// <summary> ...
mit
jkraemer/rack-tls_tools
lib/rack/tls_tools.rb
141
require "rack/tls_tools/hpkp" require "rack/tls_tools/hsts" require "rack/tls_tools/secure_cookies" module Rack module TlsTools end end
mit
cetusfinance/qwack
src/Qwack.Models/Risk/Mutators/CurveShiftMutator.cs
2852
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Qwack.Core.Basic; using Qwack.Core.Curves; using Qwack.Core.Models; namespace Qwack.Models.Risk.Mutators { public class CurveShiftMutator { public static IAssetFxModel AssetCurveShiftRelative(string assetId, dou...
mit
Evisions/vertebrae
index.js
78
define([ './src/vertebrae' ], function(Vertebrae) { return Vertebrae; });
mit
ggouzi/Rails_Exif_Information
app/models/image.rb
99
class Image < ActiveRecord::Base dragonfly_accessor :image attr_accessible :image, :title end
mit
elf-oskari/oskari-server-extensions
elf-resources/resources/flyway/elf/V1_10__set_alternative_view_type_to_system.sql
240
-- Workaround to avoid admin tools such as myplacesimport to be added to this view (TYPE = DEFAULT -> SYSTEM) UPDATE portti_view set type = 'SYSTEM', is_default=false WHERE name = 'ELF view' and page='elf_guest' and application='elf_guest';
mit
ilangal-amd/CodeXL
CodeXL/Components/GpuDebugging/AMDTGpuDebuggingComponents/views/src/gdDeprecationStatisticsView.cpp
26164
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file gdDeprecationStatisticsView.cpp /// //========================================================================...
mit
pnpm/supi
test/install/updatingPkgJson.ts
6159
import readPkg = require('read-pkg') import {installPkgs} from 'supi' import tape = require('tape') import promisifyTape from 'tape-promise' import { addDistTag, prepare, testDefaults, } from '../utils' const test = promisifyTape(tape) test('save to package.json (rimraf@2.5.1)', async (t) => { const project =...
mit
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/2be32cdb9b1303cdf0ce21a15a88b85cc37a1e5741db7e58e6dac8a19820b9e0.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="./2b5f93a28da57c59660ea21518d5a108aa1daebc9cc8bd38ad54b26380e4ea1e.html">Teleport</a> <hr> ...
mit
Ugonna/AutocompleteTextBox
ComponentTest/App.xaml.cs
4221
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xam...
mit
cpmpercussion/microjam
Pods/Audiobus/Audiobus/ABAudiobusController.h
30649
// // ABAudiobusController.h // Audiobus // // Created by Michael Tyson on 09/12/2011. // Copyright (c) 2011-2014 Audiobus. All rights reserved. // #ifdef __cplusplus extern "C" { #endif #import <Foundation/Foundation.h> #import "ABCommon.h" #import "ABAudioFilterPort.h" @class ABMIDISenderPort; @class ABMIDIRec...
mit
alex-sherman/Spectrum
Framework/Content/InitDataParser.cs
1040
using Microsoft.Xna.Framework; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Spectrum.Framework.Entities; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Spectrum.Framework.Content { public class InitDataPars...
mit