code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
typedef struct { f_t x, y; } vec_t, *vec; //inline f_t cross(vec a, vec b) { return a->x * b->y - a->y * b->x; } //inline vec vsub(vec a, vec b, vec res) { res->x = a->x - b->x; res->y = a->y - b->y; } // Does point c lie on the left side of directed edge a->b? // 1 if left, -1 if right, 0 if on the li...
dancor/perfract
c/vec.c
C
mit
504
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
SpongePowered/SpongeCommon
src/main/java/org/spongepowered/common/mixin/api/mcp/tileentity/TileEntityDropperMixin_API.java
Java
mit
1,688
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Experiments - Weking</title> <link rel="stylesheet" href="dist/css/weking.css"> <link rel="stylesheet" ...
weking/weking.github.io
experiments.html
HTML
mit
3,699
var fs = require('fs') var d3 = require('d3') var request = require('request') var cheerio = require('cheerio') var queue = require('queue-async') var _ = require('underscore') var glob = require("glob") var games = [] glob.sync(__dirname + "/raw-series/*").forEach(scrape) function scrape(dir, i){ var series = d...
1wheel/scraping
final-games/downloadGames.js
JavaScript
mit
1,383
// FoalTS import { FileSystem } from '../../file-system'; export function createVSCodeConfig() { new FileSystem() // TODO: test this line .cdProjectRootDir() .ensureDir('.vscode') .cd('.vscode') .copy('vscode-config/launch.json', 'launch.json') .copy('vscode-config/tasks.json', 'tasks.json');...
FoalTS/foal
packages/cli/src/generate/generators/vscode-config/create-vscode-config.ts
TypeScript
mit
323
import { strictEqual } from 'assert'; import { Config, HttpResponse, HttpResponseOK } from '../core'; import { SESSION_DEFAULT_COOKIE_HTTP_ONLY, SESSION_DEFAULT_COOKIE_NAME, SESSION_DEFAULT_COOKIE_PATH, SESSION_DEFAULT_CSRF_COOKIE_NAME, SESSION_DEFAULT_SAME_SITE_ON_CSRF_ENABLED, SESSION_USER_COOKIE_NAME, } ...
FoalTS/foal
packages/core/src/sessions/remove-session-cookie.spec.ts
TypeScript
mit
14,339
doskey comit =python c:\Windows\ComIt\runWithoutRequests.py $*
iMshyam/ComIt
alias.cmd
Batchfile
mit
63
<?php class Neostrada { const API_HOST = 'https://api.neostrada.nl/'; private $_key; private $_secret; public function __construct($key, $secret) { $this->_key = $key; $this->_secret = $secret; } public function domain($domain) { return new Neostrada_Domain($this, $domain); } public function save(N...
justim/neostrada-api-client
src/Neostrada.php
PHP
mit
2,315
--- layout: post title: "Vim实用技巧进阶(第10章:复制和粘贴) - Practical.Vim.2nd.Edition" keywords: "vim,practical-vim,copy,paste,register,clipboard,实用技巧" description: "Practical.Vim.2nd.Edition 实用技巧进阶 第10章:复制和粘贴" tagline: "Tip 60~64" date: '2018-11-01 09:44:57 +0800' category: linux tags: vim practical-vim linux --- > {{ page.descr...
xu3352/xu3352.github.io
_posts/2018-11-01-practical-vim-skills-chapter-10.md
Markdown
mit
19,962
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Department extends Model { protected $fillable =['name']; }
mucyomiller/workloads
app/Department.php
PHP
mit
134
# (c) Liviu Balan <[email protected]> # http://www.liviubalan.com/ # # For the full copyright and license information, please view the LICENSE # file that was distributed with this source code. LIV_TUT_META_URL='http://www.liviubalan.com/git-log-command'
liviubalan/liviubalan.com-vagrant-ubuntu
provision-shell/tutorials/000/069/meta.sh
Shell
mit
260
module Fae module BaseModelConcern extend ActiveSupport::Concern require 'csv' attr_accessor :filter included do include Fae::Trackable if Fae.track_changes include Fae::Sortable end def fae_display_field # override this method in your model end def fae_nested_par...
wearefine/fae
app/models/concerns/fae/base_model_concern.rb
Ruby
mit
2,926
#pragma once #include <boost/uuid/random_generator.hpp> #include <boost/uuid/uuid_io.hpp> #include "util/util.h" #include "util/stl_ext.h" namespace collections { extern boost::optional<std::vector<std::string>> wrap_string(const char *csource, int charsPerLine); class tes_string : public reflection::class_m...
SilverIce/JContainers
JContainers/src/api_3/tes_string.h
C
mit
4,327
package biz.golek.whattodofordinner.business.contract.presenters; import biz.golek.whattodofordinner.business.contract.entities.Dinner; /** * Created by Bartosz Gołek on 2016-02-10. */ public interface EditDinnerPresenter { void Show(Dinner dinner); }
bartoszgolek/whattodofordinner
app/src/main/java/biz/golek/whattodofordinner/business/contract/presenters/EditDinnerPresenter.java
Java
mit
261
<!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>Robber frog factsheet on ARKive - Eleutherodactylus simulans</...
andrewedstrom/cs638project
raw_data/arkive-endangered-html/eleutherodactylus-simulans.html
HTML
mit
2,866
\chapter{Constanten} \section{Globale Constanten} Dikwijls gebruik je bepaalde waarden doorheen je hele programma. Zo zou je, in een programma dat veel berekeningen met circels moet doen, vaak het getal pi nodig hebben. Dat getal kan je elke keer opnieuw berekenen, maar dat is niet zo'n goed idee omdat de uitkomst van ...
yvanvds/EsenthelCourse
course/nl/basics/constants.tex
TeX
mit
5,959
package main import ( "github.com/weynsee/go-phrase/cli" "log" "os" ) func main() { args := os.Args[1:] c := cli.NewCLI("1.0.0", args) exitStatus, err := c.Run() if err != nil { log.Println(err) } os.Exit(exitStatus) }
weynsee/go-phrase
main.go
GO
mit
234
version https://git-lfs.github.com/spec/v1 oid sha256:2e4cfe75feb71c39771595f8dea4f59e216650e0454f3f56a2a5b38a062b94cf size 1360
yogeshsaroya/new-cdnjs
ajax/libs/openlayers/2.12/lib/OpenLayers/Format/XLS/v1_1_0.js
JavaScript
mit
129
require 'spec_helper' describe ZK::Threadpool do before do @threadpool = ZK::Threadpool.new end after do @threadpool.shutdown end describe :new do it %[should be running] do @threadpool.should be_running end it %[should use the default size] do @threadpool.size.should == ZK...
rickypai/zk
spec/zk/threadpool_spec.rb
Ruby
mit
3,568
<div class="col-xs-7"> <div class="box"> <div class="box-header"> <h3 class="box-title">Order Table</h3> <div class="box-tools"> <div class="input-group input-group-sm" style="width: 150px;"> <input type="search" class="light-table-filter form-control pull-right" data-table="order-t...
NamBker/web_laptop
fuel/app/views/admin/order/index.php
PHP
mit
2,776
// // UIFont+PongMadness.h // Pong Madness // // Created by Ludovic Landry on 2/27/13. // Copyright (c) 2013 MirageTeam. All rights reserved. // #import <UIKit/UIKit.h> @interface UIFont (PongMadness) + (UIFont *)brothersBoldFontOfSize:(CGFloat)pointSize; + (void)printAvailableFonts; @end
little-green-men/Pong-Madness-iOS
Pong Madness/UIFont+PongMadness.h
C
mit
298
// // #ifndef _Rectangle_h #define _Rectangle_h // Includes #include <Engine/Core/Shape.h> #include <Engine/Core/Vector.h> //============================================================================== namespace ptc { class Ray; class Rectangle : public Shape { public: Rectangle(); Rectangle( const Vector&...
asplendidday/ptchan
Engine/Shapes/Rectangle.h
C
mit
785
package multiwallet import ( "errors" "strings" "time" eth "github.com/OpenBazaar/go-ethwallet/wallet" "github.com/OpenBazaar/multiwallet/bitcoin" "github.com/OpenBazaar/multiwallet/bitcoincash" "github.com/OpenBazaar/multiwallet/client/blockbook" "github.com/OpenBazaar/multiwallet/config" "github.com/OpenBa...
OpenBazaar/openbazaar-go
vendor/github.com/OpenBazaar/multiwallet/multiwallet.go
GO
mit
3,469
// Copyright (c) 2012 Pieter Wuille // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "addrman.h" #include "hash.h" #include "serialize.h" #include "streams.h" int CAddrInfo::GetTriedBucket(const uint256& nKey) const { ...
BlockchainTechLLC/3dcoin
src/addrman.cpp
C++
mit
15,655
import asyncio import discord import datetime import pytz from discord.ext import commands from Cogs import FuzzySearch from Cogs import Settings from Cogs import DisplayName from Cogs import Message from Cogs import Nullify class Time: # Init with the bot reference, and a reference to the s...
TheMasterGhost/CorpBot
Cogs/Time.py
Python
mit
8,457
<!DOCTYPE html> <?xml version="1.0" encoding="UTF-8"?> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Earth Negotiations Bulletin: COP17</title> <link href="../assets/style/bulletin.css" rel="stylesheet" /> </head> <body> <h1>Earth Negotiations...
medialab/climateDebateExplorer
ENB-data/enb_pages/enb12523e.html
HTML
mit
11,864
/* * @param parseObject [ParseObject] * @return [Object] * */ export const convertBrand = (parseObject) => { const ret = {}; const object = parseObject.toJSON(); ret.id = object.objectId; ret.name = object.name; ret.description = object.description; ret.images = (object.images || []).map(image => ({ id:...
ihenvyr/react-parse
src/utils.js
JavaScript
mit
934
<a alt="joel 1" href="#/web/joel/1"><div class="chapter-btn">1</div></a><a alt="joel 2" href="#/web/joel/2"><div class="chapter-btn">2</div></a><a alt="joel 3" href="#/web/joel/3"><div class="chapter-btn">3</div></a>
barryanders/ezra.js
content/bibles/web/joel/index.html
HTML
mit
216
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>...
BuzzAcademy/idioms-moe-unformatted-data
all-data/25000-25999/25468-22.html
HTML
mit
1,925
#include <iostream> using namespace std; int main() { int a,b,c,d; int sum=1080; while(cin>>a>>b>>c>>d) { if(a==0&&b==0&&c==0&&d==0) break; if(a>b) { sum=(a-b)*9+sum; } else if(a<b) { sum=((40-b)+a)...
w181496/OJ
Zerojudge/c006.cpp
C++
mit
711
--- layout: page title: Donald Singh's 31st Birthday date: 2016-05-24 author: Teresa Mcdaniel tags: weekly links, java status: published summary: Nam finibus mollis massa eget venenatis. Maecenas suscipit cursus. banner: images/banner/leisure-01.jpg booking: startDate: 10/08/2018 endDate: 10/13/2018 ctyhocn: TCCH...
KlishGroup/prose-pogs
pogs/T/TCCHHHX/DS3B/index.md
Markdown
mit
2,064
--- layout: page title: Spring International Conference date: 2016-05-24 author: Helen Kline tags: weekly links, java status: published summary: Vivamus euismod, ipsum at eleifend porttitor, ligula neque accumsan. banner: images/banner/office-01.jpg booking: startDate: 10/10/2019 endDate: 10/15/2019 ctyhocn: RICM...
KlishGroup/prose-pogs
pogs/R/RICMDHX/SIC/index.md
Markdown
mit
2,238
--- layout: page title: Webb Basic Financial Party date: 2016-05-24 author: Kenneth Schroeder tags: weekly links, java status: published summary: Aliquam erat volutpat. Pellentesque tincidunt luctus neque, ac. banner: images/banner/leisure-02.jpg booking: startDate: 01/03/2017 endDate: 01/07/2017 ctyhocn: MGMDNHX...
KlishGroup/prose-pogs
pogs/M/MGMDNHX/WBFP/index.md
Markdown
mit
2,097
#ifndef COLLISIONALGORITHMB #define COLLISIONALGORITHMB #include "CollisionAlgorithm.h" class CollisionAlgorithmB : public CollisionAlgorithm { public: CollisionAlgorithmB(); ~CollisionAlgorithmB(); public: Tuple4f computeRayTriangleIntersection(Ray3D *ray, const Tuple3f &p0, const Tu...
hyperiris/praetoriansmapeditor
source/Math/CollisionAlgorithmB.h
C
mit
366
/* */ "format cjs"; /*! * Angular Material Design * https://github.com/angular/material * @license MIT * v1.1.1-master-342ee53 */ (function( window, angular, undefined ){ "use strict"; /** * @ngdoc module * @name material.components.toast * @description * Toast */ MdToastDirective['$inject'] = ["$mdToa...
andream91/fusion-form
app/jspm_packages/github/angular/bower-material@master/modules/js/toast/toast.js
JavaScript
mit
18,003
<?php namespace Dvsa\Mot\Frontend\SecurityCardModule\CardOrder\Controller; use Core\Controller\AbstractDvsaActionController; use Dvsa\Mot\Frontend\AuthenticationModule\Model\Identity; use Dvsa\Mot\Frontend\SecurityCardModule\CardOrder\Service\OrderNewSecurityCardSessionService; use DvsaCommon\Constants\FeatureToggle;...
dvsa/mot
mot-web-frontend/module/SecurityCardModule/src/CardOrder/Controller/CardOrderConfirmationController.php
PHP
mit
2,570
/* SaveFileController * * Version 1.0 * * November 13, 2017 * * Copyright (c) 2017 Cup Of Java. All rights reserved. */ package com.cmput301f17t11.cupofjava.Controllers; import android.content.Context; import com.cmput301f17t11.cupofjava.Models.Habit; import com.cmput301f17t11.cupofjava.Models.HabitEvent; imp...
CMPUT301F17T11/CupOfJava
app/src/main/java/com/cmput301f17t11/cupofjava/Controllers/SaveFileController.java
Java
mit
8,104
import unittest from katas.beta.what_color_is_your_name import string_color class StringColorTestCase(unittest.TestCase): def test_equal_1(self): self.assertEqual(string_color('Jack'), '79CAE5') def test_equal_2(self): self.assertEqual(string_color('Joshua'), '6A10D6') def test_equal_3(...
the-zebulan/CodeWars
tests/beta_tests/test_what_color_is_your_name.py
Python
mit
656
<?php namespace BoomCMS\Settings; use BoomCMS\Support\Facades\Settings; use Illuminate\Support\Facades\Config; use Illuminate\Support\Facades\Lang; abstract class Manager { public static function options() { $options = []; foreach (Config::get('boomcms.settingsManagerOptions') as $name => $t...
boomcms/boom-core
src/BoomCMS/Settings/Manager.php
PHP
mit
907
package endpoints.algebra.circe import io.circe.{Decoder => CirceDecoder, Encoder => CirceEncoder} /** * Combines both an [[io.circe.Encoder]] and a [[io.circe.Decoder]] into a single type class. * * You don’t need to define instances by yourself as they can be derived from an existing pair * of an [[io.circe...
Krever/endpoints
algebras/algebra-circe/src/main/scala/endpoints/algebra/circe/CirceCodec.scala
Scala
mit
805
# go-miner # Data Mining Algorithms in GoLang. ## Installation $ go get github.com/ozzie80/go-miner ## Algorithms ### k-means Description From [Wikipedia](https://en.wikipedia.org/wiki/K-means_clustering): > k-means clustering aims to partition n observations into k clusters in which each observation belongs to ...
ozzie80/go-miner
README.md
Markdown
mit
1,453
namespace UCloudSDK.Models { /// <summary> /// 获取流量信息 /// <para> /// http://docs.ucloud.cn/api/ucdn/get_ucdn_traffic.html /// </para> /// </summary> public partial class GetUcdnTrafficRequest { /// <summary> /// 默认Action名称 /// </summary> privat...
icyflash/ucloud-csharp-sdk
UCloudSDK/Models/UCDN/GetUcdnTrafficRequest.cs
C#
mit
808
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Progress extends CI_Controller { /** * Index Page for this controller. * * Maps to the following URL * http://example.com/index.php/welcome * - or - * http://example.com/index.php/welcome/index * - or - * Since this contr...
primasalama/simoniks2
application/controllers/Progress.php
PHP
mit
6,302
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Andersc.CodeLib.Tester.Helpers { public class Book { public string Title { get; set; } public string Publisher { get; set; } public int Year { get; set; } } }
anderscui/cslib
Andersc.CodeLib.Test/Helpers/Book.cs
C#
mit
295
## XII. Admin processes ### รันงานของผู้ดูแลระบบ/การจัดการให้เป็นกระบวนการแบบครั้งเดียว [process formation](./concurrency) เป็นอาร์เรย์ของ process ที่ใช้ในการทำธุรกิจปรกติของ app (เช่นการจัดการ reqeust ของเว็บ) ขณะทำงาน developer มักต้องการทำการดูแลหรือบำรุงรักษาเพียงคนเดียวสำหรับ app เช่น: * รันการย้ายข้อมูลฐานข้อมู...
heroku/12factor
content/th/admin-processes.md
Markdown
mit
3,944
import test from 'ava'; import { spawn } from 'child_process'; test.cb('app should boot without exiting', (t) => { const cli = spawn('node', [ './cli' ]); cli.stderr.on('data', (param) => { console.log(param.toString()); }); cli.on('close', (code) => { t.fail(`app failed to boot ${code}`); }); s...
thomasmeadows/citibank-van
test/cli/boot.js
JavaScript
mit
396
--- layout: post title: Mughal Empire categories: - Learning --- [Mughal Empire](http://en.wikipedia.org/wiki/Mughal_Empire) (1526 – 1857) rulers... - 1526-1530 [Babur ](http://en.wikipedia.org/wiki/Babur) - 1530–1539 and after restoration 1555–1556 [Humayun ](http://en.wikipedia.org/wiki/Humayun) - 1556–1605 [Akbar...
sayanee/archives
_posts/2008-01-13-mughal-empire.md
Markdown
mit
601
require "spec_helper" module Smsru describe API do shared_context "shared configuration", need_values: 'configuration' do before :each do Smsru.configure do |conf| conf.api_id = 'your-api-id' conf.from = 'sender-name' conf.test = test conf.format = format ...
alekseenkoss77/smsru
spec/lib/smsru/api_spec.rb
Ruby
mit
3,612
import { expect } from 'chai'; import buildUriTemplate from '../src/uri-template'; describe('URI Template Handler', () => { context('when there are path object parameters', () => { context('when the path object parameters are not query parameters', () => { const basePath = '/api'; const href = '/pet...
apiaryio/fury-adapter-swagger
test/uri-template.js
JavaScript
mit
7,065
let Demo1 = require('./components/demo1.js'); document.body.appendChild(Demo1());
zjx1195688876/learn-react
src/webapp/main.js
JavaScript
mit
82
<!-- Author: Ray-Eldath refer to: - http://docs.mathjax.org/en/latest/options/index.html --> {% if site.mathjax %} <script type="text/javascript" async src="https://cdnjs.loli.net/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_CHTML"></script> <script type="text/x-mathjax-config"> MathJax.Hub.Config...
gyje/gyje.github.io
_includes/mathjax.html
HTML
mit
625
/// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import <Foundation/Foundation.h> #import "DBSerializableProtocol.h" @class DBTEAMLOGFileRevertDetails; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `FileRevertDetails` struct. /// //...
danielbierwirth/DropboxBrowser
Example Project/Pods/ObjectiveDropboxOfficial/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRevertDetails.h
C
mit
1,712
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Demo05")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration(""...
HungryAnt/AntWpfDemos
AntWpfDemos/Demo05/Properties/AssemblyInfo.cs
C#
mit
2,195
# safe_projects Project management with git ## Configuration Create a file named `~/.projects` with the path where you'd like your repositories to be stored. This should ideally be a location that is backed up regularly. ```bash vim ~/.projects ``` An example file looks like this: ```bash export REPOSITORY_ROOT=/n...
huddlej/safe_projects
README.md
Markdown
mit
1,608
<div id="container" class="container-fluid" ng-controller="cloudAppController"> <div class="table"> <div class="col-lg-2"> <label for="teamDD">Team:</label> <select id="teamDD" class="form-control headerSelectWidth" ng-model="filteredTeam" ng-change="onTeamChange...
ZloiBubr/ReportTool
public/pages/cloudappBlocker.html
HTML
mit
3,587
package doit.study.droid.fragments; import android.app.Activity; import android.app.Dialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.DialogFragment; import android.support.v4.app.Fragment; import android.support.v7.app.AlertDialog; i...
JaeW/dodroid
app/src/main/java/doit/study/droid/fragments/DislikeDialogFragment.java
Java
mit
3,105
<?php namespace Zycon42\Security\Application; use Nette; use Nette\Application\Request; use Nette\Reflection\ClassType; use Nette\Reflection\Method; use Symfony\Component\ExpressionLanguage\Expression; class PresenterRequirementsChecker extends Nette\Object { /** * @var ExpressionEvaluator */ priv...
Zycon42/Security
lib/Zycon42/Security/Application/PresenterRequirementsChecker.php
PHP
mit
2,781
<?php namespace App\Http\Middleware; use Input, Closure, Response, User; class CheckClientKey { public function handle($request, Closure $next) { $input = Input::all(); $output = array(); if(!isset($input['key'])){ $output['error'] = 'API key required'; return Response::json($output, ...
tokenly/token-slot
app/Http/Middleware/CheckClientKey.php
PHP
mit
696
/*! NSURL extension YSCategorys Copyright (c) 2013-2014 YoungShook https://github.com/youngshook/YSCategorys The MIT License (MIT) http://www.opensource.org/licenses/mit-license.php */ #import <Foundation/Foundation.h> @interface NSURL (YSKit) /** Cover query string into NSDictionary */ -...
youngshook/YSCategorys
Categorys/Foundation/NSURL+YSKit.h
C
mit
519
--- permalink: /en/getting-startedLearn redirect: /en/getting-started/ layout: redirect sitemap: false ---
sunnankar/wucorg
redirects/redirects4/en-getting-startedLearn.html
HTML
mit
106
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
dparvin/CultureInfoEditor
Code/CultureInfoEditor/Properties/Resources.Designer.cs
C#
mit
2,793
#region References using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; using Speedy; #endregion namespace Scribe.Data.Entities { public class Page : ModifiableEntity { #region Constructors [SuppressMessage("ReSharper", "VirtualMemberCallInContructor"...
BobbyCannon/Scribe
Scribe.Data/Entities/Page.cs
C#
mit
889
#pragma config(Sensor, in1, linefollower, sensorLineFollower) #pragma config(Sensor, dgtl5, OutputBeltSonar, sensorSONAR_mm) #pragma config(Motor, port6, WhipCreamMotor, tmotorVex393, openLoop) #pragma config(Motor, port7, InputBeltMotor, tmotorServoContinuousRotation, openLoop) #pragma conf...
patkub/pltw-vex-robotc
CookieMaker_Sensor.c
C
mit
1,901
# 弃用通知 此项目已不再维护,所有内容已经移至[magpie](https://github.com/haifenghuang/magpie)。 # Monkey程序语言 Table of Contents ================= * [Monkey程序语言](#monkey%E7%A8%8B%E5%BA%8F%E8%AF%AD%E8%A8%80) * [主页](#%E4%B8%BB%E9%A1%B5) * [概述](#%E6%A6%82%E8%BF%B0) * [总览](#%E6%80%BB%E8%A7%88) * [安装](#%E5%AE%89%E8%A3%85) * [基本用法](#%...
haifenghuang/monkey
README_cn.md
Markdown
mit
67,164
<?php use League\Flysystem\Adapter\Local; use League\Flysystem\Filesystem; use Spatie\Backup\FileHelpers\FileSelector; class FileSelectorTest extends Orchestra\Testbench\TestCase { protected $path; protected $disk; protected $root; protected $testFilesPath; protected $fileSelector; public...
emayk/laravel-backup
tests/fileSelector/FileSelectorTest.php
PHP
mit
3,070
var Handler, MiniEventEmitter; Handler = require("./handler"); MiniEventEmitter = (function() { function MiniEventEmitter(obj) { var handler; handler = new Handler(this, obj); this.on = handler.on; this.off = handler.off; this.emit = handler.emit; this.emitIf = handler.emitIf; this.trigg...
hawkerboy7/mini-event-emitter
build/js/app.js
JavaScript
mit
522
#!/usr/bin/bash # Hard variables # Directory containing Snakemake and cluster.json files snakefile_dir='/nas/longleaf/home/sfrenk/pipelines/snakemake' usage="\nCreate directory with Snakemake files required for pipeline \n\n setup_dir -p <pipeline> -d <directory> \n\n pipelines: bowtie_srna, hisat2_rna, srna_telo\n\...
sfrenk/rna-seq_pipelines
utils/setup_dir.sh
Shell
mit
2,550
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import {connect} from 'react...
hmeinertrita/MyPlanetGirlGuides
src/routes/search/Search.js
JavaScript
mit
1,083
// // YZAlertView.h // AlertViewDemo // // Created by yangyongzheng on 2017/8/17. // Copyright © 2017年 yangyongzheng. All rights reserved. // #import <UIKit/UIKit.h> typedef void(^YYZAlertViewActionHandler)(UIAlertAction *action); NS_CLASS_AVAILABLE_IOS(8_0) @interface YYZAlertView : NSObject + (void)yyz_alertV...
yangyongzheng/YZLottery
YZKit/Utility/YYZAlertView.h
C
mit
997
{% extends "layout_unbranded.html" %} {% block page_title %} GOV.UK prototype kit {% endblock %} {% block content %} <main id="content" role="main"> <div class="grid-row"> <div class="column-full"> <div id="global-breadcrumb" class="breadcrumb"> <a class="link-back" href="results_confirm2?searc...
steven-borthwick/check-support
app/views/volnicsv1a/forecast_QQ123456C.html
HTML
mit
9,847
<div id="maxoptions_example"></div>
oakmac/autocompletejs
examples/4008.html
HTML
mit
35
Given(/^I have an Auton that has two steps, first step scheduling the next step$/) do class ScheduleSecondStepAuton < Nestene::Auton def first context.schedule_step(:second) end def second 'ok' end attr_accessor :context attribute foo: Fixnum end @auton_type="ScheduleSecond...
draganm/nestene
features/step_definitions/schedule_steps_steps.rb
Ruby
mit
1,992
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ergo: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" r...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.07.1-2.0.6/released/8.10.2/ergo/8.6.0.html
HTML
mit
6,970
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>finger-tree: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.09.1-2.0.6/released/8.12.1/finger-tree/8.7.0.html
HTML
mit
6,929
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>paramcoq: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.05.0-2.0.6/released/8.10.0/paramcoq/1.1.1+coq8.7.html
HTML
mit
7,188
using MineLib.Core; using MineLib.Core.Data; using MineLib.Core.IO; using ProtocolClassic.Data; namespace ProtocolClassic.Packets.Server { public struct LevelFinalizePacket : IPacketWithSize { public Position Coordinates; public byte ID { get { return 0x04; } } public short Size { get...
MineLib/ProtocolClassic
Packets/Server/LevelFinalize.cs
C#
mit
812
#ifndef IDUCK_HPP_124b1b04_74d3_41ae_b7ce_2a0bea79f1c7 #define IDUCK_HPP_124b1b04_74d3_41ae_b7ce_2a0bea79f1c7 #include "../strategy/IFly.hpp" /** \interface IDuck Interface for duck. It can fly, quack and rotate right. */ class IDuck { public: virtual Course getCourse() const = 0; virtual int getDistan...
PS-Group/compiler-theory-samples
interpreter/IDuckPro_AST/src/duck/IDuck.hpp
C++
mit
553
require 'cred_hubble/resources/credential' module CredHubble module Resources class UserValue include Virtus.model attribute :username, String attribute :password, String attribute :password_hash, String def to_json(options = {}) attributes.to_json(options) end ...
tcdowney/cred_hubble
lib/cred_hubble/resources/user_credential.rb
Ruby
mit
767
# encoding: utf-8 require 'spec_helper' describe Optimizer::Algebra::Projection::ExtensionOperand, '#optimizable?' do subject { object.optimizable? } let(:header) { Relation::Header.coerce([[:id, Integer], [:name, String], [:age, Integer]]) } let(:base) { Relation.new(header, LazyEnumerable.new([[1, 'Dan...
dkubb/axiom-optimizer
spec/unit/axiom/optimizer/algebra/projection/extension_operand/optimizable_predicate_spec.rb
Ruby
mit
1,187
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Rendering; namespace ASP.NET_Core_Email.Models.ManageViewModels { public class ConfigureTwoFactorViewModel { public string SelectedProvider { get; set; } public ICol...
elanderson/ASP.NET-Core-Email
ASP.NET-Core-Email/src/ASP.NET-Core-Email/Models/ManageViewModels/ConfigureTwoFactorViewModel.cs
C#
mit
378
#include <stdio.h> #include "list.h" #define N 10 link reverse(link); int main(void) { int i; link head, x; // Population head = new_link(0); x = head; for (i = 1; i < N; ++i) { x = insert_after(x, new_link(i)); } // Reversal head = reverse(head); // Traversal x = head; do { printf("%i\n", x->i...
bartobri/data-structures-c
linked-lists/circular-reversal/main.c
C
mit
546
//------------------------------------------------------------------------------ // <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> //----------------------------------------...
Spurch/ASP-.NET-WebForms
DataBindingHomeWork/Account/RegisterExternalLogin.aspx.designer.cs
C#
mit
781
-- service script, define some stuuf for use with main build config self=loader.extra[1] profile=loader.extra[2] prefix=loader.extra[3] config=loader.extra[4] prefix_addon=string.format('--prefix="%s"', prefix)
DarkCaster/Linux-Helper-Tools
WineLauncher/build.pre.lua
Lua
mit
214
import { get } from "ember-metal/property_get"; import { set } from "ember-metal/property_set"; import Ember from "ember-metal/core"; // Ember.assert import EmberError from "ember-metal/error"; import { Descriptor, defineProperty } from "ember-metal/properties"; import { ComputedProperty } from "ember-metal/compute...
gdi2290/ember.js
packages/ember-metal/lib/alias.js
JavaScript
mit
2,326
# Alt Three Storage A cached secure storage provider for Laravel 5. ## Installation This version requires [PHP](https://php.net) 7.1 or 7.2, and supports Laravel 5.5 - 5.7 only. To get the latest version, simply require the project using [Composer](https://getcomposer.org): ```bash $ composer require alt-three/st...
AltThree/Storage
README.md
Markdown
mit
1,139
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_65) on Sat Dec 27 23:31:06 CST 2014 --> <TITLE> Uses of Class pages.MarkovTable </TITLE> <META NAME="date" CONTENT="2014-12-27"> <LINK REL ="styles...
tedunderwood/genre
pages/doc/pages/class-use/MarkovTable.html
HTML
mit
13,555
/* * This file is subject to the terms and conditions defined in * file 'LICENSE.txt', which is part of this source code package. * * author: emicklei */ V8D.receiveCallback = function(msg) { var obj = JSON.parse(msg); var context = this; if (obj.receiver != "this") { var namespaces = obj.rece...
emicklei/v8dispatcher
js/setup.js
JavaScript
mit
3,684
#!/usr/bin/env bash GEM_BIN=$1/ruby/bin/gem export GEM_HOME=/usr/local/kidsruby/ruby/lib/ruby/gems/1.9.1 install_gems() { echo $KIDSRUBY_INSTALLING_GEMS ${GEM_BIN} install htmlentities-4.3.0.gem --no-ri --no-rdoc 2>&1 ${GEM_BIN} install rubywarrior-i18n-0.0.3.gem --no-ri --no-rdoc 2>&1 ${GEM_BIN} install serial...
hybridgroup/kidsrubyinstaller-osx
install_gems.sh
Shell
mit
784
require File.join(File.dirname(__FILE__), 'test_helper') require 'activesupport' class SplamTest < Test::Unit::TestCase class FixedRule < Splam::Rule def run add_score 25, "The force is strong with this one" end end # It should not be in the default set Splam::Rule.default_rules.delete SplamTest...
courtenay/splam
test/splam_test.rb
Ruby
mit
3,384
<?php namespace Symfony\Component\Serializer; use Symfony\Component\Serializer\SerializerInterface; /* * This file is part of the Symfony framework. * * (c) Fabien Potencier <[email protected]> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ ...
flyingfeet/FlyingFeet
vendor/symfony/src/Symfony/Component/Serializer/SerializerAwareInterface.php
PHP
mit
608
// ƒwƒbƒ_ƒtƒ@ƒCƒ‹‚̃Cƒ“ƒNƒ‹[ƒh #include <windows.h> // •W€WindowsAPI #include <tchar.h> // TCHARŒ^ #include <string.h> // C•¶Žš—ñˆ— // ŠÖ”‚̃vƒƒgƒ^ƒCƒvéŒ¾ LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); // ƒEƒBƒ“ƒhƒEƒƒbƒZ[ƒW‚ɑ΂µ‚ēƎ©‚̏ˆ—‚ð‚·‚é‚æ‚¤‚É’è‹`‚µ‚½ƒR[ƒ‹ƒoƒbƒNŠ...
bg1bgst333/Sample
winapi/SetBkColor/SetBkColor/src/SetBkColor/SetBkColor/SetBkColor.cpp
C++
mit
5,385
/** * * Modelo de Login usando MCV * Desenvolvido por Ricardo Hirashiki * Publicado em: http://www.sitedoricardo.com.br * Data: Ago/2011 * * Baseado na extensao criada por Wemerson Januario * http://code.google.com/p/login-window/ * */ Ext.define('Siccad.view.authentication.CapsWarningTooltip', ...
romeugodoi/demo_sf2
src/Sicoob/SiccadBundle/Resources/public/js/siccad/view/authentication/CapsWarningTooltip.js
JavaScript
mit
1,010
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Rotate : MonoBehaviour { public Vector3 m_rotate; public float m_speed; void Start() { transform.rotation = Random.rotation; } // Update is called once per frame void Update () { transf...
a172862967/ProceduralSphere
KGProceduralSphere/Assets/Demo/Rotate.cs
C#
mit
373
package slacknotifications.teamcity.payload; import jetbrains.buildServer.messages.Status; import jetbrains.buildServer.responsibility.ResponsibilityEntry; import jetbrains.buildServer.responsibility.TestNameResponsibilityEntry; import jetbrains.buildServer.serverSide.*; import jetbrains.buildServer.tests.TestName; i...
jeanregisser/tcSlackBuildNotifier
tcslackbuildnotifier-core/src/main/java/slacknotifications/teamcity/payload/SlackNotificationPayloadManager.java
Java
mit
7,122
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [sip.js](./sip.js.md) &gt; [RegistererOptions](./sip.js.registereroptions.md) &gt; [instanceId](./sip.js.registereroptions.instanceid.md) ## RegistererOptions.instanceId property UUID to provide with "+sip....
onsip/SIP.js
docs/api/sip.js.registereroptions.instanceid.md
Markdown
mit
415
<?php /* SRVDVServerBundle:Registration:email.txt.twig */ class __TwigTemplate_d9fb642ef38579dd6542f4eacc9668ce91ac497e0fd5b3f1b1ca25429847bdfe extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks ...
youcefboukersi/serveurdevoeux
app/cache/dev/twig/a4/a4d5e331da6ebdf63a769ec513a07ed062a09e096299142f0540503ab3951bbb.php
PHP
mit
6,108
using Portal.CMS.Entities.Enumerators; using Portal.CMS.Services.Generic; using Portal.CMS.Services.PageBuilder; using Portal.CMS.Web.Architecture.ActionFilters; using Portal.CMS.Web.Architecture.Extensions; using Portal.CMS.Web.Areas.PageBuilder.ViewModels.Component; using Portal.CMS.Web.ViewModels.Shared; using Syst...
tommcclean/PortalCMS
Portal.CMS.Web/Areas/PageBuilder/Controllers/ComponentController.cs
C#
mit
7,137
<?php /** * Created by PhpStorm. * User: robert * Date: 1/14/15 * Time: 3:06 PM */ namespace Skema\Directive; class Binding extends Base { }
Skema/Skema
Skema/Directive/Binding.php
PHP
mit
149
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ // // ActionOnDispose.cs // // // Implemention of IDisposable that runs a del...
cuteant/dotnet-tpl-dataflow
source/Internal/ActionOnDispose.cs
C#
mit
5,481
using System; using System.Collections.Generic; using Esb.Transport; namespace Esb.Message { public interface IMessageQueue { void Add(Envelope message); IEnumerable<Envelope> Messages { get; } Envelope GetNextMessage(); void SuspendMessages(Type messageType); void Resu...
Xynratron/WorkingCluster
Esb/Message/IMessageQueue.cs
C#
mit
548