repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
Leeps-Lab/otree-redwood
otree_redwood/templates/otree_redwood/Debug.html
993
{% extends "otree/BaseAdmin.html" %} {% load staticfiles %} {% block scripts %} <script src="//code.highcharts.com/highcharts.js"></script> <link rel="import" href="{% static "otree-redwood/webcomponents/redwood-debug/redwood-debug.html" %}"> {% endblock %} {% block content %} <div style="di...
mit
qx/FullRobolectricTestSample
src/test/java/org/robolectric/shadows/SQLiteQueryBuilderTest.java
2586
package org.robolectric.shadows; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteQueryBuilder; import android.provider.BaseColumns; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith;...
mit
VAGAScom/exact_target_rest
spec/lib/exact_target_rest/authorization_spec.rb
2830
require 'spec_helper' describe Authorization do let(:client_id) { "12345" } let(:client_secret) { "Y9axRxR9bcvSW2cc0IwoWeq7" } let(:expires_in) { 3600 } let(:access_token) { "75sf4WWbwfr6HYd5URpC6KBk" } subject do described_class end before do stub_requests end describe '#with_authorizat...
mit
cuckata23/wurfl-data
data/mot_xt882_ver1.php
461
<?php return array ( 'id' => 'mot_xt882_ver1', 'fallback' => 'generic_android_ver2_3', 'capabilities' => array ( 'uaprof' => 'http://uaprof.motorola.com/phoneconfig/motomb860/Profile/motoxt882.rdf', 'model_name' => 'XT882', 'brand_name' => 'Motorola', 'marketing_name' => 'MOTO XT882', 'phys...
mit
xiedacon/nodeclub-koa
app/middleware/redis.js
404
'use strict' const redis = require('redis') const config = require('config-lite').redis const logger = require('./logger.js') Promise.promisifyAll(redis.RedisClient.prototype) let client = redis.createClient(config) client.on('error', (err) => { if (err) { logger.error('connect to redis error, check...
mit
Bammerbom/UltimateCore
src/main/java/bammerbom/ultimatecore/sponge/modules/afk/AfkModule.java
3618
/* * This file is part of UltimateCore, licensed under the MIT License (MIT). * * Copyright (c) Bammerbom * * 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, includi...
mit
tylerjl/adventofcode
src/Y2016/D02.hs
2462
{-| Module: Y2016.D02 Description: Advent of Code Day 02 Solutions. License: MIT Maintainer: @tylerjl Solutions to the day 02 set of problems for <adventofcode.com>. -} module Y2016.D02 ( bathroomCode , grid1 , grid2 ) where import qualified Data.Matrix as Matrix -- | A position on the keypad grid ...
mit
k--kato/jrazzies
public/modules/cinemas/views/edit-cinema.client.view.html
2028
<section data-ng-controller="CinemasController" data-ng-init="findOne()"> <div class="page-header"> <h1>Edit Cinema</h1> </div> <div class="col-md-12"> <form class="form-horizontal" data-ng-submit="update()" novalidate> <fieldset> <div class="form-group"> ...
mit
AssaultBird2454/Virtual-Pokemon-Tabletop
Virtual Pokemon Tabletop/AssaultBird2454.VPTU/Server/Instances/ServerInstance.cs
13894
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; namespace AssaultBird2454.VPTU.Server.Instances { public class ServerInstance { #region Variables and Objects #region Base Server /// <summary> ...
mit
smokezp/angular-blog
app/modules/posts/js/directives/allPosts.js
774
angular.module('myApp').directive('allPosts', function ($location, $cookieStore) { // console.log('DSSDFLDSFU'); return { restrict: 'E', scope: { data: '=' }, templateUrl: 'modules/posts/views/allPosts.html', // controller: function () { // console....
mit
erasmuss22/MadisonMetro
src/MadisonMetroTests/MadisonMetroTests.cs
1632
using System; using System.Linq; using MadisonMetroSDK; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Threading.Tasks; namespace MadisonMetroTests { [TestClass] public class MadisonMetroTests { [TestMethod] public void GetAllRoutes_Retur...
mit
tornoteli/tornoteli.github.io
css/main.css
54805
/* normalize.css v3.0.2 | MIT License | git.io/normalize */ html { font-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ } body { margin: 0; } article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display...
mit
peschuster/kerioconnect-csharp
source/KerioConnect/TypedResponse.cs
409
using JsonRPC; using Newtonsoft.Json; namespace KerioConnect { public class TypedResponse<TType> : Response where TType : class { /// <summary>The result if no error occured.</summary> [JsonProperty("result", Required = Required.Default)] public TType Result; public bool Shoul...
mit
bondarenkod/pf-arm-deploy-error
playerframework/Universal.WinRT.AdaptiveStreaming.Dash/CFF/CffFileParser.cs
3253
using Microsoft.Media.AdaptiveStreaming.Dash.Smooth; using Microsoft.Media.ISO; using Microsoft.Media.ISO.Boxes; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; namespace Microsoft.Media.AdaptiveStreaming.Dash { internal abstract class CffFileParse...
mit
anton-abyzov/Hackerrank.CrackingTheInterview
Strings.MakingAnagrams/Program.cs
202
using System; namespace Strings.MakingAnagrams { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
mit
plmwong/mock-all-the-things
MockAllTheThings.Testing/TestService.cs
230
 namespace MockAllTheThings.Testing { public class TestService { public ITestInterface TestInterface { get; private set; } public TestService(ITestInterface testInterface) { TestInterface = testInterface; } } }
mit
thrasher-/gocryptotrader
gctrpc/rpc_grpc.pb.go
155402
// Code generated by protoc-gen-go-grpc. DO NOT EDIT. package gctrpc import ( context "context" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" ) // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package...
mit
huangp/build_zanata
README.md
86
# build_zanata Interactive CLI for constructing maven commands to build Zanata server
mit
aqibgatoo/aqibgatoo.github.io
_posts/2014-12-03-Gangnam-style-busts-youtube-view-counter.md
878
--- layout: post title: Gangnam style busts youtube video counter comments: true --- "We never thought a video would be watched in numbers greater than a 32-bit integer (=2,147,483,647 views), but that was before we met PSY. 'Gangnam Style' has been viewed so many times we have to upgrade!" These words are ...
mit
byte42/getmeout
css/scrolling-nav.css
2686
/*! * Start Bootstrap - Scrolling Nav (http://startbootstrap.com/) * Copyright 2013-2016 Start Bootstrap * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE) */ @media(min-width:767px) { .navbar { padding: 10px 0; -webkit-transition: background .5s e...
mit
Deadpikle/NetSparkle
src/NetSparkle.UI.WPF/Helpers/RelayCommand.cs
4839
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; namespace WPFTemplate.Helpers { /// <summary> /// Command (<see cref="Action"/>) that can be executed based on an optional /// function ...
mit
t-mon/guh-webinterface
src/app/components/services/master/services-master.html
1530
<!-- Copyright (C) 2015 Lukas Mayerhofer <lukas.mayerhofer@guh.guru> 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 us...
mit
UXScripts/keen-cli-mixpanel
spec/spec_helper.rb
157
require 'rspec' require 'keen-cli' require 'digest/md5' require File.expand_path("../../lib/keen-cli-mixpanel", __FILE__) RSpec.configure do |config| end
mit
Sobesednik/zoroaster
test/spec/snapshot.js
102
const T = { 'compares the test result against snapshot'() { return 'ok' }, } export default T
mit
theonlydude/RandomMetroidSolver
web/static/chosen.css
12362
/*! Chosen, a Select Box Enhancer for jQuery and Prototype by Patrick Filler for Harvest, http://getharvest.com Version 1.8.7 Full source at https://github.com/harvesthq/chosen Copyright (c) 2011-2018 Harvest http://getharvest.com MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md This file is ge...
mit
kazuhiroondo/atom-emacs-calc
README.md
645
# atom-emacs-calc package Emacs Lisp style interactive calculator **ctrl-j** in **Plain Text** mode will evaluate the expression written on the same line. ![A screenshot of your package](https://raw.githubusercontent.com/kazuhiroondo/atom-emacs-calc/assets/basic-math.png) Most of operations in JavaScript Math objec...
mit
kwpeters/workshopper-solutions
learnyoumongo-solutions/06-update/solution.js
608
var mongo = require("mongodb").MongoClient, //url = "mongodb://localhost:27017/learnyoumongo", dbName = process.argv[2], url = "mongodb://localhost:27017/" + dbName ; function main() { mongo.connect(url, function (err, db) { var collection; if (err) { throw err; } ...
mit
gisprogrammer/wsp.geo.pl
external/geoext2/src/GeoExt/data/ScaleModel.js
700
/* * Copyright (c) 2008-2013 The Open Source Geospatial Foundation * * Published under the BSD license. * See https://github.com/geoext/geoext2/blob/master/license.txt for the full * text of the license. */ /** * The model for scale values. * * @class GeoExt.data.ScaleModel */ Ext.define('GeoExt.data.ScaleMo...
mit
dmwesterhoff/DWRandom
DWRandom/UIColor+DWRandom.h
2374
// UIColor+DWRandom.h // Copyright (c) 2016 David Westerhoff // // 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...
mit
Prizzm/mightbuy-models
app/models/bargin_condition.rb
530
class BarginCondition < ActiveRecord::Base belongs_to :bargin OBJECTS = [ "Comment", "Vote" ] OPERATORS = { '>' => 'more than', '<' => 'less than', '>=' => 'more than or equal to', '<=' => 'less than or equal to', '==' => 'is equal to', '!=' => 'is not equal to' } attr_acc...
mit
widdowquinn/Teaching-SfAM-ECS
workshop/tools/classifier.py
2237
# classifier.py # # This module contains code to support the classifier notebook import numpy as np import pylab as plt def p_correct_given_pos(sens, fpr, b): """ Returns a simple Bayesian probability for the probability that a prediction is correct, given that the prediction was positive, given ...
mit
SulivanDotEu/hca
app/cache/dev/assetic/config/a/a7c05bf748b79f85f6838ebb28ddc2a0.php
48
<?php // ::layout1.html.twig return array ( );
mit
xiaodanli/web-music
src/store/mutations.js
1170
/** * Created by dandan on 17-8-29. */ import * as types from "./mutation-types"; const mutations = { [types.SET_SINGER](state, singer){ state.singer = singer }, [types.SET_PLAYING_STATE](state, flag){ state.playing = flag }, [types.SET_FULL_SCREEN](state,flag){ state.full...
mit
aokomoriuta/ViennaCLFiles
doc/doxygen/html/structviennacl_1_1tools_1_1_m_a_t_r_i_x___s_o_l_v_e___k_e_r_n_e_l___c_l_a_s_s___d_e_d_u_c_e_r_3_32b966fa9cb5cd0f0b15d077762b89fa.html
5511
<!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" content="IE=9"/> <title>ViennaCL - The Vien...
mit
rizkiwisnuaji/django-newbie-cms
manglocreative/urls.py
2703
"""manglocreative URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Cl...
mit
code4love/DSAA
src/main/java/com/github/dsaa/tree/binary/BTreePrinter.java
2401
package com.github.dsaa.tree.binary; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class BTreePrinter { public static <T extends Comparable<?>> void printBNode(BNode<T> root) { int maxLevel = BTreePrinter.maxLevel(root); printBNodeInternal(Collections.singletonList(roo...
mit
jorihuamancha/aulas
src/Cresta/AulasBundle/CrestaAulasBundle.php
202
<?php namespace Cresta\AulasBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; class CrestaAulasBundle extends Bundle { public function getParent() { return 'FOSUserBundle'; } }
mit
mattharris5/sectionmaster
register/admin/index.php
647
<? ############################################################################# # SectionMaster.org Registration System # ADMIN BACKEND # Copyright (c) 2005-2007 Clostridion Design & Support, LLC. # All included files and modules of this system share the above copyright. # All rights are reserved by Clostridion Desig...
mit
Bookcorner/bookcorner
application/views/static_pages/contact.php
4510
<!-- BREADCRUMB --> <div> <ol class="breadcrumb"> <li><?php echo anchor(base_url('home'), 'Home')?></li> <li><?php echo anchor(base_url('contacto'), 'Contacto')?></li> </ol> </div> <!-- FIN BREADCRUMB --> <div class="row"> <div class="col-xs-12"> <div class="panel"> <div class="panel-heading"> ...
mit
marmelab/selenium-smart-wait
e2e/tests/elementValueIs.spec.js
1068
import expect from 'expect'; import { By } from 'selenium-webdriver'; import driver from '../chromeWebDriver'; import { elementValueIs } from '../../src'; describe('e2e', () => { describe('elementValueIs', () => { before(async () => { await driver.get('http://localhost:3000/elementValueIs.html...
mit
javasuki/RJava
NXDO.Mixed.V2015/NXDO.RJava/CoreParam/JPDateTime.cs
1991
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NXDO.RJava.Core { class JPDateTime : JParamValue { public static string JavaDateClassName = "java.util.Date"; public static string SDateFormat = "yyyy-MM-dd HH:mm:ss"; private JPDateTime(D...
mit
Cryptix720/Chronimi
src/definitions/modules/dimmer.js
21282
;(function ($, window, document, undefined) { "use strict"; window = (typeof window != 'undefined' && window.Math == Math) ? window : (typeof self != 'undefined' && self.Math == Math) ? self : Function('return this')() ; $.fn.dimmer = function(parameters) { var $allModules = $(th...
mit
lukemelia/front_end_builds
admin/tests/index.html
1226
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Admin Tests</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <script> window.RAILS_ENV = { baseURL: '...
mit
maldrasen/archive
Rysh.2/app/models/customer.rb
32
class Customer < Character end
mit
TheLonerD/BorderlandsAdvancedConfig
FrmConfig.cs
14522
using System; using System.ComponentModel; using System.IO; using System.Reflection; using System.Threading; using System.Windows.Forms; using BorderlandsAdvancedConfig.INIParser; using BorderlandsAdvancedConfig.SettingsManagers; namespace BorderlandsAdvancedConfig { public partial class FrmConfig : Form { ...
mit
thiscouldbejd/Leviathan
_Comparison/Generated/Comparer.vb
3092
Namespace Comparison ''' <summary>IComparer to Compare Objects Derived from <seealso cref="Object"/> for Sorting Collections/Lists.</summary> ''' <autogenerated>Generated from a T4 template. Modifications will be lost, if applicable use a partial class instead.</autogenerated> ''' <generator-date>10/02/2014 15:48:5...
mit
Azure/azure-sdk-for-ruby
management/azure_mgmt_cosmosdb/lib/2020-09-01/generated/azure_mgmt_cosmosdb/models/metric_name.rb
1486
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Cosmosdb::Mgmt::V2020_09_01 module Models # # A metric name. # class MetricName include MsRestAzure # @return ...
mit
john-ko/johnkoorg
client/pages/home.js
421
'use strict'; var m = require('mithril'); function controller() { } function view() { return [ m('h1', 'mithril-isomorphic-example'), m('p', 'yes, it works'), m('a', { href: '/second-page', config: m.route }, 'second page'), m('div', ''), m('a', { href: '/resume', c...
mit
FacticiusVir/SharpVk
src/SharpVk/CommandCacheStruct.gen.cs
116920
// The MIT License (MIT) // // Copyright (c) Andrew Armstrong/FacticiusVir 2020 // // 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 r...
mit
teseo24/voluntariadoCI
application/views/partial/nav.php
3527
<body> <div id="preloader"> <div id="status">&nbsp;</div> </div> <!-- Body content --> <div class="header-connect"> <div class="container"> <div class="row"> <div class="col-md-5 col-sm-8 col-xs-8"> ...
mit
rassweiler/kr-display
client/cells/CellList.html
542
<template name="CellList"> <div class="billboard"> <h2>Cell List</h2> </div> <section class="cells"> {{#if Template.subscriptionsReady}} {{#if cells}} <div class="plant-cells"> {{#each cells}} <a href="/cells/{{name}}" class="cell-link"> <div class="cell2"> <span>{{name}}</span> <...
mit
martintito/desaeka
src/Jaxxes/TestPmaSPBundle/DataFixtures/ORM/PMA5DiccionarioA.php
453811
<?php namespace Jaxxes\TestPmaSPBundle\DataFixtures\ORM; use Doctrine\Common\DataFixtures\AbstractFixture; use Symfony\Component\DependencyInjection\ContainerAwareInterface; use Doctrine\Common\DataFixtures\OrderedFixtureInterface; use Doctrine\Common\Persistence\ObjectManager; use Symfony\Component\DependencyInjec...
mit
GreenCape/build
template/selenium/Pages/Joomla25/Admin/Page.php
732
<?php namespace Celtic\Testing\Joomla; class Joomla25AdminPage extends AdminPage { protected $userMenuSelector = 'css selector:#header-box #module-status'; protected $messageContainer = "id:system-message-container"; protected $headLineSelector = "css selector:div.page-title h2"; public function __...
mit
chrismetcalf/SODA.NET
SODA.Utilities/README.md
3032
# SODA.Utilities A set of helper classes and extension methods that we use alongside SODA.NET for our publishing workflow. Note, this library is entirely optional and is not required to interact with a Socrata Open Data portal. ## Usage examples **SimpleFileLogger**, a simple file logging utility (imagine that!) `...
mit
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.09.1-2.0.6/released/8.7.1+2/deriving/0.1.0.html
7225
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>deriving: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
mit
OttoH/rereKit
src/ducks/tracks.js
709
// types const TRACKS_SET = 'tracks/TRACKS_SET' // actions const doSetTracks = (tracks) => { return { type: TRACKS_SET, tracks: tracks } } // reducers const initialState = {} const reducer = (state = initialState, action) => { switch (action.type) { case TRACKS_SET: re...
mit
PixSt/php-yii2
CurlChannel.php
3176
<?php /** * @link https://pix.st/ * @copyright Copyright (c) 2015 Pix Street * @license MIT License https://opensource.org/licenses/MIT */ namespace pixst; use pixst\ChannelInterface; use pixst\exceptions\ChannelException; use pixst\exceptions\HttpException; /** * cURL channel class */ class CurlChannel implem...
mit
LivePersonInc/dev-hub
content3/consumer-experience-javascript-chat-onaccounttoaccounttransfer.html
89251
<!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>onAccountToAccountTransfer | LivePerson Technical Documentation</tit...
mit
jden/indexed-array
test/tests.js
8031
require('chai').should(); var IndexedArray = require('../index'); describe('IndexedArray', function () { it('is instanceof Array', function () { var a = IndexedArray([1,2,3]); (a instanceof Array).should.be.true; }); it('is still instanceof Array when used with `new`', function () { var a = new Ind...
mit
comedygold/comedygold
src/sync.cpp
3711
// Copyright (c) 2011-2012 The Bitcoin developers // Copyright (c) 2013-2014 ComedyGold Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "sync.h" #include "util.h" #include <boost/foreach.hpp> #ifdef DEB...
mit
Gaurav-Pande/gaurav-pande.github.io
resume.md
58
--- layout: page title: Resume permalink: /Resume/ ---
mit
gapple/drupalreleasedate
src/DrupalReleaseDate/Sampling/Sample.php
877
<?php namespace DrupalReleaseDate\Sampling; class Sample { protected $when; protected $count; protected $diffTarget; function __construct($when, $count, $last = null) { $this->when = $when; $this->count = $count; if ($last) { $this->setDiff($last); } ...
mit
wicker/wicker.github.com
_travels/2007-06-15-mittry-lake.md
5016
--- layout: post title: Mittry Lake description: A nearby lake, no really!, near Yuma. type: photos destination: jenner-hanni category: travels subcat: Southwest location: Arizona image: /img/thumbs/mittry.png permalink: publish: yes --- <p><a href="https://jenner.smugmug.com/North-America/2007-Mittry-Lake/i-5cfW48r...
mit
dorneanu/crudappify
apps/orgapp/app/templates/analysis/app.html
26506
{% extends "layout-main.html" %} {% block content %} <div class="row"> <div class="col-lg-12"> <h2>Applications Dashboard</h2> <hr> </div> </div> <div class="row"> <div class="col-lg-12"> <div class="panel panel-default"> <div class="panel-heading"> ...
mit
graynun/WebDevCurriculum
Part 1. HTML & CSS/Quest 01. Hello, HTML/html5test.html
1390
<!DOCTYPE html> <head> <meta charset="utf-8"> </head> <body> <header></header> <aside></aside> <main> <section> <ruby> <rb>二宮 <rt>にのみや </ruby> <ruby> 流行り <rt>はや</rt> </ruby> </section> </main> <article> <kbd class="test"> <input type="text"> </kbd> The HTML Mark Elemen...
mit
micdenny/radical
src/net35/Radical/ComponentModel/Messaging/IMessage.cs
919
using System; namespace Topics.Radical.ComponentModel.Messaging { /// <summary> /// /// </summary> public interface ILegacyMessageCompatibility { /// <summary> /// Sets the sender for backward compatibility. /// </summary> /// <param name="sender">The sender.</param...
mit
alfach/caterpillar
README.markdown
2767
# About Caterpillar # Caterpillar is a PHP library intended for website crawling and screen scraping. It handles parallel requests using a modified version of Josh Fraser's Rolling Curl (http://code.google.com/p/rolling-curl/) library which utilizes curl_multi() functions in an efficient manner. You can learn more a...
mit
william8th/jekyll-one-theme
index.html
1333
--- layout: default title: Edit this in index.html --- {% for post in paginator.posts %} <div id="article" class="row"> <div id="title" class="col-xs-12 col-md-12 col-sm-12"> <h1><a href="{{ post.url }}">{{ post.title }}</a></h1> </div> <div id="excerpt" class="col-xs-12 col-md-12 col-sm-12"> {{ post.con...
mit
krulik/demos
skm-spa/weather-jsx/README.md
1978
# React-JSX-Webpack Project Template A minimal template with: - React - JSX - Webpack - ExpressJS server Additional tools configured: - ESLint (with [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react)) - SASS - PostCSS (with [postcss-preset-env](https://github.com/csstools/postcss-preset-env)) In...
mit
flybayer/next.js
packages/next/compiled/string-hash/index.js
422
module.exports=(()=>{"use strict";var e={705:e=>{function hash(e){var r=5381,_=e.length;while(_){r=r*33^e.charCodeAt(--_)}return r>>>0}e.exports=hash}};var r={};function __nccwpck_require__(_){if(r[_]){return r[_].exports}var t=r[_]={exports:{}};var a=true;try{e[_](t,t.exports,__nccwpck_require__);a=false}finally{if(a)...
mit
QuickUnit/PacmanTlv
StreetPacMan.Server.Tests/Integ/GameStateApplesVsPollServerRemovedApples.cs
1424
using System.Linq; using NUnit.Framework; using StreetPacMan.Server.Facade; using StreetPacMan.Server.Tests.Infra; namespace StreetPacMan.Server.Tests.Integ { [TestFixture] public class GameStateApplesVsPollServerRemovedApples : BaseCleaner { [Test] public void Poll() { ...
mit
cody1991/diary
_learn/algo/js-learn/libs/Node.js
109
class Node { constructor(item) { this.item = item; this.next = null; } } module.exports = Node;
mit
mrduncan/timeline
lib/timeline/version.rb
50
module Timeline Version = VERSION = "0.1.0" end
mit
uptownnickbrown/asciify
README.md
1148
## Asciify Express app that runs a Twitter bot that responds to @mentions that include images with ASCII art versions of those images. ## Update August 2018 - Broken by the Twitter API changes :( No plans to fix this app. #### Credentials Add your Twitter app credentials to config.json with this structure: { twi...
mit
Solomon/pg_to_csv
lib/pg_to_csv/version.rb
39
module PgToCsv VERSION = "0.0.1" end
mit
lizhen325/DakHanMaRi
Web.UI/Controllers/CategoryController.cs
710
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Web.UI.Interfaces; namespace Web.UI.Controllers { public class CategoryController : BaseController { ICategoryRepository _categoryRepository; public CategoryController(ICategoryRep...
mit
kctang/klik
src/core/GameObject.js
302
define(['underscore', 'klik/core/Class'], function (_, Class) { 'use strict'; return Class('GameObject', { methods: { preload: function() { }, create: function() { }, update: function() { } } }); });
mit
masasikatano/openaim
resources/views/search.blade.php
3656
<?php $week = array('日','月','火','水','木','金','土'); ?> @extends('layouts.app') @section('title', 'みんなの目標') @section('content') <div class="container"> <div class="row text-center"> <h2>「{{ \Request::input('searchword') }}」の検索結果</h2> <h5>公開設定の目標のみ表示されます</h5> </div> @forelse ($aims as $aim) <div class="panel ...
mit
vulcansteel/autorest
AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/azurespecials/models/ErrorException.java
2283
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ ...
mit
sunyifan112358/pvis
src/main/com/logistics/pvis/color/Color.java
1233
package com.logistics.pvis.color; public class Color { public int r, g, b, a; public Color(int r, int g, int b, int a) { this.r = r; this.g = g; this.b = b; this.a = a; } public Color(int r, int g, int b) { this.r = r; this.g = g; this.b = b; this.a = 255; } public Color(int grayScale) { ...
mit
johncarney/veterans-walk
app/controllers/registrations_controller.rb
538
class RegistrationsController < ApplicationController helper_method :registration, :registration_params def new @registration = Registration.new(year: current_year) end def create @registration = Registration.new(registration_params) render :new end private attr_reader :registration def...
mit
jcxplorer/shrink
features/step_definitions/authentication_steps.rb
439
Given "I am not signed in" do visit destroy_user_session_path end Given "I am signed in" do Given 'I am not signed in' And 'I have a user with email "user@getshrink.com" and password "shrink"' When 'I go to the homepage' And 'I fill in "Email" with "user@getshrink.com"' And 'I fill in "Password" with "shri...
mit
XinyueZ/timekeeping
app/src/main/java/com/timekeeping/app/activities/MainActivity.java
25657
package com.timekeeping.app.activities; import java.util.ArrayList; import java.util.List; import android.app.Activity; import android.app.AlertDialog.Builder; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; impor...
mit
whitecl/dymo-js-sample
source/javascripts/all.js
1003
//= require_tree . $(document).ready(function() { var labelXML = ""; $.get("/javascripts/StudentNametag.label", function(data) { labelXML = data; }); var printers = dymo.label.framework.getPrinters(); var printerName = ""; for (var i = 0; i < printers.length; ++i) { var printer = printers[i];...
mit
ntfnd/ntfnd.github.io
tag/Hub-Press/index.html
6746
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="HandheldFriendly" content="True" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Hub-Press - Linux And Networking Is FUN</title> <me...
mit
dyg2104/hubot-scripts
src/scripts/spot.js
21207
// // Description: // Control Spot from campfire. https://github.com/1stdibs/Spot // // Dependencies: // underscore // // Configuration: // HUBOT_SPOT_URL // // Commands: // hubot music status? - Lets you know what's up // hubot play! - Plays current playlist or song. // hubot pause - Pause the music. // ...
mit
toxicFork/react-three-renderer
wiki/Resource-Types.md
5969
> [Wiki](Home) » [[Internal Components]] » **Resource Types** # Resource Types Allows you to reuse entities, these help save a lot of memory ## Usage Place [&lt;resources&gt;&lt;/resources&gt;](resources); anywhere inside [&lt;React3/&gt;](Entry-Point), or any of its children. > The preferred place inside the par...
mit
DiogoDoreto/dotfiles
zsh/install.sh
167
git clone https://github.com/chriskempson/base16-shell.git $HOME/.config/base16-shell git clone --recursive https://github.com/sorin-ionescu/prezto.git $HOME/.zprezto
mit
Tapjoy/chore
spec/chore/duplicate_detector_spec.rb
2473
require 'spec_helper' require 'securerandom' describe Chore::DuplicateDetector do class FakeDalli def initialize @store = {} end def add(id, val, ttl=0) if @store[id] && @store[id][:inserted] + @store[id][:ttl] > Time.now.to_i return false else @store[id] = {:val => val,...
mit
Neil-Ni/ng2-foundation
components/progressbar/bar.component.ts
1733
import {Component, OnInit, OnDestroy, Input, Host} from '@angular/core'; import {NgClass, NgStyle} from '@angular/common'; import {ProgressDirective} from './progress.directive'; // todo: number pipe // todo: use query from progress? @Component({ selector: 'bar', directives: [NgClass, NgStyle], template: ` <...
mit
sfpgmr/node-hatena-blog-api2
src/blog.js
15445
import request from 'request'; import wsse from 'wsse'; import xml2js from 'xml2js'; function pad(n) { return ('0' + n).slice(-2); } const toString = Object.prototype.toString; // 型判定 function isString(v) { return toString.call(v) == '[object String]'; } function isDate(v) { return toString.call(v) == '[objec...
mit
colevahey/enigma
index.html
2945
<!DOCTYPE html> <html lang="en"> <title> Enigma </title> <head> <!--Manifest with info about the page--> <link rel="manifest" href="manifest.json" /> <meta name="Description" content="Enigma Project main page where messages can be encoded and decoded through the Enigma machine. Input data and get...
mit
reactmob/dos-filter
lib/Fabric/FilterList.js
3795
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.FilterList = undefined; var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next())...
mit
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.10.2-2.0.6/extra-dev/dev/hoare-tut/8.5.0.html
7717
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>hoare-tut: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
mit
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.06.1-2.0.5/extra-dev/dev/subst/8.10.0.html
7453
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>subst: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
mit
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.03.0-2.0.5/released/8.5.0~camlp4/traversable-fincontainer/8.7.0.html
7400
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>traversable-fincontainer: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../...
mit
micromasterandroid/androidadvanced
Lesson 4/PhotoFeed/app/src/main/java/edu/galileo/android/photofeed/main/ui/MainView.java
171
package edu.galileo.android.photofeed.main.ui; public interface MainView { void onUploadInit(); void onUploadComplete(); void onUploadError(String error); }
mit
silentorb/archmage
packages/archmage-chaining/src/chaining/types.ts
171
import { Hash } from 'archmage-persistence' export interface Block { hash: Hash format: number number: number content: Hash previous?: Hash timestamp: Date }
mit
jeresig/ukiyoe-web
server.js
1141
var express = require("express"); var passport = require("passport"); var env = process.env.NODE_ENV || "development"; var fs = require("fs"); // Load in configuration options require("dotenv").load(); require("express-namespace"); var ukiyoe = require("ukiyoe-models"); ukiyoe.db.connect(function() { fs.readdir...
mit
hyattdrew11/drafting
production/index.html
19859
<!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"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> ...
mit