repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
dancor/perfract
c/vec.c
504
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...
mit
SpongePowered/SpongeCommon
src/main/java/org/spongepowered/common/mixin/api/mcp/tileentity/TileEntityDropperMixin_API.java
1688
/* * 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...
mit
weking/weking.github.io
experiments.html
3699
<!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" ...
mit
1wheel/scraping
final-games/downloadGames.js
1383
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...
mit
FoalTS/foal
packages/cli/src/generate/generators/vscode-config/create-vscode-config.ts
323
// 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');...
mit
FoalTS/foal
packages/core/src/sessions/remove-session-cookie.spec.ts
14339
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, } ...
mit
iMshyam/ComIt
alias.cmd
63
doskey comit =python c:\Windows\ComIt\runWithoutRequests.py $*
mit
justim/neostrada-api-client
src/Neostrada.php
2315
<?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...
mit
xu3352/xu3352.github.io
_posts/2018-11-01-practical-vim-skills-chapter-10.md
19962
--- 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...
mit
mucyomiller/workloads
app/Department.php
134
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Department extends Model { protected $fillable =['name']; }
mit
liviubalan/liviubalan.com-vagrant-ubuntu
provision-shell/tutorials/000/069/meta.sh
260
# (c) Liviu Balan <liv_romania@yahoo.com> # 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'
mit
wearefine/fae
app/models/concerns/fae/base_model_concern.rb
2926
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...
mit
SilverIce/JContainers
JContainers/src/api_3/tes_string.h
4327
#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...
mit
bartoszgolek/whattodofordinner
app/src/main/java/biz/golek/whattodofordinner/business/contract/presenters/EditDinnerPresenter.java
261
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); }
mit
andrewedstrom/cs638project
raw_data/arkive-endangered-html/eleutherodactylus-simulans.html
2866
<!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</...
mit
yvanvds/EsenthelCourse
course/nl/basics/constants.tex
5959
\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 ...
mit
weynsee/go-phrase
main.go
234
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) }
mit
yogeshsaroya/new-cdnjs
ajax/libs/openlayers/2.12/lib/OpenLayers/Format/XLS/v1_1_0.js
129
version https://git-lfs.github.com/spec/v1 oid sha256:2e4cfe75feb71c39771595f8dea4f59e216650e0454f3f56a2a5b38a062b94cf size 1360
mit
rickypai/zk
spec/zk/threadpool_spec.rb
3568
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...
mit
NamBker/web_laptop
fuel/app/views/admin/order/index.php
2776
<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...
mit
little-green-men/Pong-Madness-iOS
Pong Madness/UIFont+PongMadness.h
298
// // 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
mit
asplendidday/ptchan
Engine/Shapes/Rectangle.h
785
// // #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&...
mit
OpenBazaar/openbazaar-go
vendor/github.com/OpenBazaar/multiwallet/multiwallet.go
3469
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...
mit
BlockchainTechLLC/3dcoin
src/addrman.cpp
15655
// 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 { ...
mit
TheMasterGhost/CorpBot
Cogs/Time.py
8457
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...
mit
medialab/climateDebateExplorer
ENB-data/enb_pages/enb12523e.html
11864
<!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...
mit
ihenvyr/react-parse
src/utils.js
934
/* * @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:...
mit
barryanders/ezra.js
content/bibles/web/joel/index.html
216
<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>
mit
BuzzAcademy/idioms-moe-unformatted-data
all-data/25000-25999/25468-22.html
1925
<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>...
mit
w181496/OJ
Zerojudge/c006.cpp
711
#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)...
mit
KlishGroup/prose-pogs
pogs/T/TCCHHHX/DS3B/index.md
2064
--- 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...
mit
KlishGroup/prose-pogs
pogs/R/RICMDHX/SIC/index.md
2238
--- 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...
mit
KlishGroup/prose-pogs
pogs/M/MGMDNHX/WBFP/index.md
2097
--- 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...
mit
hyperiris/praetoriansmapeditor
source/Math/CollisionAlgorithmB.h
366
#ifndef COLLISIONALGORITHMB #define COLLISIONALGORITHMB #include "CollisionAlgorithm.h" class CollisionAlgorithmB : public CollisionAlgorithm { public: CollisionAlgorithmB(); ~CollisionAlgorithmB(); public: Tuple4f computeRayTriangleIntersection(Ray3D *ray, const Tuple3f &p0, const Tu...
mit
andream91/fusion-form
app/jspm_packages/github/angular/bower-material@master/modules/js/toast/toast.js
18003
/* */ "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...
mit
dvsa/mot
mot-web-frontend/module/SecurityCardModule/src/CardOrder/Controller/CardOrderConfirmationController.php
2570
<?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;...
mit
CMPUT301F17T11/CupOfJava
app/src/main/java/com/cmput301f17t11/cupofjava/Controllers/SaveFileController.java
8104
/* 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...
mit
the-zebulan/CodeWars
tests/beta_tests/test_what_color_is_your_name.py
656
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(...
mit
boomcms/boom-core
src/BoomCMS/Settings/Manager.php
907
<?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...
mit
Krever/endpoints
algebras/algebra-circe/src/main/scala/endpoints/algebra/circe/CirceCodec.scala
805
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...
mit
ozzie80/go-miner
README.md
1453
# 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 ...
mit
icyflash/ucloud-csharp-sdk
UCloudSDK/Models/UCDN/GetUcdnTrafficRequest.cs
808
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...
mit
primasalama/simoniks2
application/controllers/Progress.php
6302
<?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...
mit
anderscui/cslib
Andersc.CodeLib.Test/Helpers/Book.cs
295
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; } } }
mit
heroku/12factor
content/th/admin-processes.md
3944
## XII. Admin processes ### รันงานของผู้ดูแลระบบ/การจัดการให้เป็นกระบวนการแบบครั้งเดียว [process formation](./concurrency) เป็นอาร์เรย์ของ process ที่ใช้ในการทำธุรกิจปรกติของ app (เช่นการจัดการ reqeust ของเว็บ) ขณะทำงาน developer มักต้องการทำการดูแลหรือบำรุงรักษาเพียงคนเดียวสำหรับ app เช่น: * รันการย้ายข้อมูลฐานข้อมู...
mit
thomasmeadows/citibank-van
test/cli/boot.js
396
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...
mit
sayanee/archives
_posts/2008-01-13-mughal-empire.md
601
--- 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...
mit
alekseenkoss77/smsru
spec/lib/smsru/api_spec.rb
3612
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 ...
mit
apiaryio/fury-adapter-swagger
test/uri-template.js
7065
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...
mit
zjx1195688876/learn-react
src/webapp/main.js
82
let Demo1 = require('./components/demo1.js'); document.body.appendChild(Demo1());
mit
gyje/gyje.github.io
_includes/mathjax.html
625
<!-- 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...
mit
danielbierwirth/DropboxBrowser
Example Project/Pods/ObjectiveDropboxOfficial/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/TeamLog/Headers/DBTEAMLOGFileRevertDetails.h
1712
/// /// 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. /// //...
mit
HungryAnt/AntWpfDemos
AntWpfDemos/Demo05/Properties/AssemblyInfo.cs
2195
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Demo05")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration(""...
mit
huddlej/safe_projects
README.md
1608
# 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...
mit
ZloiBubr/ReportTool
public/pages/cloudappBlocker.html
3587
<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...
mit
JaeW/dodroid
app/src/main/java/doit/study/droid/fragments/DislikeDialogFragment.java
3105
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...
mit
Zycon42/Security
lib/Zycon42/Security/Application/PresenterRequirementsChecker.php
2781
<?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...
mit
tokenly/token-slot
app/Http/Middleware/CheckClientKey.php
696
<?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, ...
mit
youngshook/YSCategorys
Categorys/Foundation/NSURL+YSKit.h
519
/*! 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 */ -...
mit
sunnankar/wucorg
redirects/redirects4/en-getting-startedLearn.html
106
--- permalink: /en/getting-startedLearn redirect: /en/getting-started/ layout: redirect sitemap: false ---
mit
dparvin/CultureInfoEditor
Code/CultureInfoEditor/Properties/Resources.Designer.cs
2793
//------------------------------------------------------------------------------ // <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> //--...
mit
BobbyCannon/Scribe
Scribe.Data/Entities/Page.cs
889
#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"...
mit
patkub/pltw-vex-robotc
CookieMaker_Sensor.c
1901
#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...
mit
haifenghuang/monkey
README_cn.md
67164
# 弃用通知 此项目已不再维护,所有内容已经移至[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) * [基本用法](#%...
mit
emayk/laravel-backup
tests/fileSelector/FileSelectorTest.php
3070
<?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...
mit
hawkerboy7/mini-event-emitter
build/js/app.js
522
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...
mit
sfrenk/rna-seq_pipelines
utils/setup_dir.sh
2550
#!/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\...
mit
hmeinertrita/MyPlanetGirlGuides
src/routes/search/Search.js
1083
/** * 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...
mit
yangyongzheng/YZLottery
YZKit/Utility/YYZAlertView.h
997
// // 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...
mit
steven-borthwick/check-support
app/views/volnicsv1a/forecast_QQ123456C.html
9847
{% 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...
mit
oakmac/autocompletejs
examples/4008.html
35
<div id="maxoptions_example"></div>
mit
draganm/nestene
features/step_definitions/schedule_steps_steps.rb
1992
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...
mit
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
6970
<!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...
mit
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
6929
<!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...
mit
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
7188
<!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" ...
mit
MineLib/ProtocolClassic
Packets/Server/LevelFinalize.cs
812
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...
mit
PS-Group/compiler-theory-samples
interpreter/IDuckPro_AST/src/duck/IDuck.hpp
553
#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...
mit
tcdowney/cred_hubble
lib/cred_hubble/resources/user_credential.rb
767
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 ...
mit
dkubb/axiom-optimizer
spec/unit/axiom/optimizer/algebra/projection/extension_operand/optimizable_predicate_spec.rb
1187
# 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...
mit
elanderson/ASP.NET-Core-Email
ASP.NET-Core-Email/src/ASP.NET-Core-Email/Models/ManageViewModels/ConfigureTwoFactorViewModel.cs
378
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...
mit
bartobri/data-structures-c
linked-lists/circular-reversal/main.c
546
#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...
mit
Spurch/ASP-.NET-WebForms
DataBindingHomeWork/Account/RegisterExternalLogin.aspx.designer.cs
781
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
mit
DarkCaster/Linux-Helper-Tools
WineLauncher/build.pre.lua
214
-- 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)
mit
gdi2290/ember.js
packages/ember-metal/lib/alias.js
2326
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...
mit
AltThree/Storage
README.md
1139
# 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...
mit
tedunderwood/genre
pages/doc/pages/class-use/MarkovTable.html
13555
<!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...
mit
emicklei/v8dispatcher
js/setup.js
3684
/* * 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...
mit
hybridgroup/kidsrubyinstaller-osx
install_gems.sh
784
#!/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...
mit
courtenay/splam
test/splam_test.rb
3384
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...
mit
flyingfeet/FlyingFeet
vendor/symfony/src/Symfony/Component/Serializer/SerializerAwareInterface.php
608
<?php namespace Symfony\Component\Serializer; use Symfony\Component\Serializer\SerializerInterface; /* * This file is part of the Symfony framework. * * (c) Fabien Potencier <fabien@symfony.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ ...
mit
bg1bgst333/Sample
winapi/SetBkColor/SetBkColor/src/SetBkColor/SetBkColor/SetBkColor.cpp
5385
// ƒ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Š...
mit
romeugodoi/demo_sf2
src/Sicoob/SiccadBundle/Resources/public/js/siccad/view/authentication/CapsWarningTooltip.js
1010
/** * * 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', ...
mit
a172862967/ProceduralSphere
KGProceduralSphere/Assets/Demo/Rotate.cs
373
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...
mit
jeanregisser/tcSlackBuildNotifier
tcslackbuildnotifier-core/src/main/java/slacknotifications/teamcity/payload/SlackNotificationPayloadManager.java
7122
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...
mit
onsip/SIP.js
docs/api/sip.js.registereroptions.instanceid.md
415
<!-- 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....
mit
youcefboukersi/serveurdevoeux
app/cache/dev/twig/a4/a4d5e331da6ebdf63a769ec513a07ed062a09e096299142f0540503ab3951bbb.php
6108
<?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 ...
mit
tommcclean/PortalCMS
Portal.CMS.Web/Areas/PageBuilder/Controllers/ComponentController.cs
7137
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...
mit
Skema/Skema
Skema/Directive/Binding.php
149
<?php /** * Created by PhpStorm. * User: robert * Date: 1/14/15 * Time: 3:06 PM */ namespace Skema\Directive; class Binding extends Base { }
mit
cuteant/dotnet-tpl-dataflow
source/Internal/ActionOnDispose.cs
5481
// 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...
mit
Xynratron/WorkingCluster
Esb/Message/IMessageQueue.cs
548
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...
mit