repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
doug-wade/incubator-application
browser/reducers/index.js
2674
import http from 'http'; function upsertState(state) { var postData = JSON.stringify(state); var options = { hostname: 'localhost', port: 3000, path: '/application', method: 'POST', headers: { 'Content-Type': 'application/json', 'Content-Length': postData.length } }; var r...
mit
yogeshsaroya/new-cdnjs
ajax/libs/rxjs/2.3.24/rx.all.compat.min.js
131
version https://git-lfs.github.com/spec/v1 oid sha256:00be998e9791a319bc3751b20c19ce0fa3cb25a87c8dbf9030a728c92af8d95c size 100787
mit
HungryAnt/ruby-demo
src/game_package.rb
419
require_relative 'game_element' class GamePackage include GameElement attr_reader :items attr_reader :capacity def initialize(capacity) @capacity = capacity @items = [] end def add(item) @items << item end def discard() @item end def [](i) @items[i] ...
mit
iAJTin/iExportEngine
source/documentation/iTin.Export.Documentation/Documentation/Properties_T_iTin_Export_Model_ColumnHeaderGroup.md
1540
# ColumnHeaderGroup Properties Additional header content The <a href="T_iTin_Export_Model_ColumnHeaderGroup">ColumnHeaderGroup</a> type exposes the following members. ## Properties &nbsp;<table><tr><th></th><th>Name</th><th>Description</th></tr><tr><td>![Public property](media/pubproperty.gif "Public property")</td...
mit
dustinspecker/the-x-effect
app/components/card/index.js
187
import PropTypes from 'prop-types' import React from 'react' const Card = ({title}) => <h3>{title}</h3> Card.propTypes = { title: PropTypes.string.isRequired } export default Card
mit
DecisionSystemsGroup/DecisionSystemsGroup.github.io
contact.html
929
--- layout: page title: Contact --- <div id="dsg_contact" class="container"> <div class="row"> <div class="col-md-6"> <iframe width="100%" height="450" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/place ?key=AIzaSyDdMpqCokUvqJ-JwfIGbK_Z8obbpj9YI4I &q=TEI+Ste...
mit
jstedfast/MimeKit
UnitTests/TestData/mbox/jwz.body.119.html
710
<html><body>Jamie -<br/><br/>I tried to sign and encrypt this message, but when I did I received the<br/>following error:<br/><br/>The certificate issuer for this server is not recognized by Netscape. <br/>The security certificate may or may not be valid. Netscape refuses to<br/>connect to this server.<br/><br/>I als...
mit
wayne-christian/WEB-AUTH-PRESENTATIONS
index.html
2279
<!doctype html> <html> <head> <meta charset="UTF-8"> <title>Web Auth Lectures</title> <style> body{ background-color: #3f3f3f; font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif" } a{ color: white; text-decoration: none; display: block; } a:hover{ text-decoration: underline;...
mit
gregist/gregist.github.io
_posts/2017-03-24-centipede.md
160
--- layout: post title: centipede date: 2017-03-24 23:06:09 summary: categories: drawing --- ![centipede](/images/diary/centipede.png "...")
mit
davidvaleff/ProgrammingFundamentals-Sept2017
07.DictionariesLambda&LINQ/Lab/FoldAndSum/FoldAndSum.cs
705
namespace FoldAndSum { using System; using System.Collections.Generic; using System.Linq; class FoldAndSum { static void Main(string[] args) { var input = Console.ReadLine().Split(' ').Select(int.Parse).ToArray(); int k = input.Length / 2 / 2; ...
mit
BijoySingh/One-Launcher
app/src/main/java/com/bijoykochar/launcher/view/CalendarView.java
4170
package com.bijoykochar.launcher.view; import android.content.ContentUris; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.provider.CalendarContract; import android.util.AttributeSet; import android.util.Log; import android.view.LayoutInflater; import android.view....
mit
vcoin-project/v
src/amount.cpp
815
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The VCoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "amount.h" #include "tinyformat.h" const std::string CURRENCY_UNIT = "BT...
mit
Kittyfisto/SharpRemote
SharpRemote.WebApi/Routes/Parsers/Int64Parser.cs
634
using System; using System.Globalization; namespace SharpRemote.WebApi.Routes.Parsers { internal sealed class Int64Parser : IntegerParser { public override Type Type => typeof(long); public override bool TryExtract(string str, int startIndex, out object value, out int consumed) { string digits; ...
mit
hilojack/hilojack.github.io
post/net/net-tcpip-syn.md
107
--- layout: page title: tcp/ip 协议SYN date: 2015-11-11 --- # SYN https://cjting.me/2019/08/28/tcp-queue/
mit
arkenthera/CryEngineModifications
Code/GameSDK/GameDll/CameraModes.h
9524
/************************************************************************* Crytek Source File. Copyright (C), Crytek Studios, 2001-2009. ------------------------------------------------------------------------- $Id$ $DateTime$ Description: Camera mode implementations ---------------------------------------------------...
mit
storecamp/storecamp
app/Core/Contracts/CartInterface.php
66
<?php namespace App\Core\Contracts; interface CartInterface { }
mit
makoetting/github-trello
lib/github-trello/server.rb
2318
require "json" require "sinatra/base" require "github-trello/version" require "github-trello/http" module GithubTrello class Server < Sinatra::Base #Recieves payload post "/posthook-github" do #Get environment variables for configuration oauth_token = ENV["oauth_token"] api_key = ENV["a...
mit
ashgti/node-math-utils
math_utils.cc
1424
#include <node.h> #include <node_buffer.h> #include <iostream> #include <cstdlib> using namespace v8; using namespace std; using namespace node; /* Random number generators */ static Handle<Value> UniformRandom(const Arguments& args) { HandleScope scope; double d_min = 0, d_max = 1.0; Local<Object> that ...
mit
camsys/oneclick-core
app/serializers/admin/feedback_report_csv_writer.rb
845
module Admin class FeedbackReportCSVWriter < CSVWriter columns :id, :service, :feedbackable_type, :rating, :created_at, :review, :acknowledged, :email, :phone, :traveler associations :user def traveler @record.user && @record.user.email end def service return nil if @record.feedba...
mit
yujinakayama/guard
spec/guard/commander_spec.rb
5527
require 'spec_helper' require 'guard/plugin' describe Guard::Commander do describe '.start' do before do ::Guard.stub(:setup) ::Guard.instance_variable_set('@watchdirs', []) ::Guard.stub(listener: double('listener', start: true)) ::Guard.stub(runner: double('runner', run: true)) ::G...
mit
navalev/azure-sdk-for-java
sdk/storage/mgmt-v2019_04_01/src/main/java/com/microsoft/azure/management/storage/v2019_04_01/implementation/StorageManagementClientImpl.java
9641
/** * 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. */ package com.microsoft.azure.management.storage.v2019_04_01.implementation; import com.m...
mit
Maximenya/Trapezia-1.01
src/main/java/by/trapecia/dao/RentDaoImpl.java
3231
package by.trapecia.dao; import by.trapecia.Main; import by.trapecia.model.Client; import by.trapecia.model.Rent; import java.sql.*; import java.util.ArrayList; import java.util.logging.Level; import java.util.logging.Logger; /** * Created by Denis on 15.12.2015. */ public class RentDaoImpl implements RentDao { ...
mit
rodrigopivi/PlayApp
src/server/controllers/User.ts
3330
import { IAppToken, createToken } from '../lib/authorization' import * as KoaRouter from 'koa-router' import { User } from '../models' import { IsomorphicRenderController } from '../controllers/IsomorphicRender' import { clearCookieToken, restrictIdentifiedAccess, restrictUnidentifiedAccess } from '../lib/authorization...
mit
openkamer/openkamer
openkamer/management/commands/create_verslagen_ao.py
553
from django.core.management.base import BaseCommand from openkamer.verslagao import create_verslagen_algemeen_overleg class Command(BaseCommand): def add_arguments(self, parser): parser.add_argument('year', nargs='+', type=int) parser.add_argument('--max', type=int, help='The max number of docum...
mit
brugnara/node-lessons
lessons/05-filtered.js
280
var arr = 'ciao come va'.split(' '); var filtered = arr.filter(function(item) { return item != 'va'; }); Array.prototype.filtroMio = function() { if (arr.length == 2) { return this } return []; }; var ar2 = arr.filtroMio(); console.log(ar2); console.log(filtered);
mit
neveis/WebNote
server_base.hpp
4506
#ifndef SERVER_BASE_HPP #define SERVER_BASE_HPP #include <boost/asio.hpp> #include <regex> #include <unordered_map> #include <thread> #include <iostream> #include <ctime> #include "Request.h" #include "Response.h" namespace MyWeb { typedef std::map<std::string, std::unordered_map<std::string, std::function<vo...
mit
ambientsound/pms
index/song/song.go
693
// Search index songs package song import ( "github.com/ambientsound/pms/song" ) // Song is a Bleve document representing a song.Song object. type Song struct { Album string Albumartist string Artist string File string Genre string Title string Year string } // New gener...
mit
BigstickCarpet/postman-bdd
test/specs/it.spec.js
5442
'use strict'; const test = require('tape'); const Postman = require('../fixtures/postman'); test('`it` without any args', (t) => { let postman = new Postman(t); describe('my test suite', () => { it(); }); postman.checkTests({ '1. my test suite - test #1 (this.fn is not a function)': false, }); ...
mit
alexyoung/xpcomcore
doc/files.html
4881
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>JsDoc Reference - File Index</...
mit
fferz/lapagina
app/AppKernel.php
1567
<?php use Symfony\Component\HttpKernel\Kernel; use Symfony\Component\Config\Loader\LoaderInterface; class AppKernel extends Kernel { public function registerBundles() { $bundles = array( new Symfony\Bundle\FrameworkBundle\FrameworkBundle(), new Symfony\Bundle\SecurityBundle\Sec...
mit
nekipelov/redisclient
src/redisclient/version.h
215
/* * Copyright (C) Alex Nekipelov (alex@nekipelov.net) * License: MIT */ #ifndef REDISCLIENT_VERSION_H #define REDISCLIENT_VERSION_H #define REDIS_CLIENT_VERSION 10002 // 1.0.2 #endif // REDISCLIENT_VERSION_H
mit
Edimartin/edk-source
edk/thread/Mutex.cpp
2587
#include "Mutex.h" /* Library C++ Mutex - Mutex fot threads. Copyright 2013 Eduardo Moura Sales Martins (edimartin@gmail.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, ...
mit
kytos/python-openflow
tests/unit/v0x04/test_controller2switch/test_group_mod.py
6137
"""group_mod tests.""" from unittest import TestCase from pyof.v0x04.controller2switch.group_mod import GroupMod from pyof.v0x04.common.action import ( ActionExperimenter, ActionSetField, ListOfActions) from pyof.v0x04.common.flow_match import OxmClass, OxmOfbMatchField, OxmTLV from pyof.v0x04.common.port import P...
mit
eoss-cloud/madxxx_catalog_api
catalog/manage/urthecastcatalog.py
2226
#-*- coding: utf-8 -*- """ EOSS catalog system Implementation of urthecast catalog access https://developers.urthecast.com/sign-in """ __author__ = "Thilo Wehrmann, Steffen Gebhardt" __copyright__ = "Copyright 2016, EOSS GmbH" __credits__ = ["Thilo Wehrmann", "Steffen Gebhardt"] __license__ = "GPL" __version__ = "1.0...
mit
riginding/dora
dora/src/semck/globaldef.rs
10956
use parking_lot::{Mutex, RwLock}; use std::collections::HashMap; use std::sync::Arc; use crate::class::{self, ClassId}; use crate::error::msg::SemError; use crate::gc::Address; use crate::sym::Sym::{self, SymClass, SymConst, SymEnum, SymFct, SymGlobal, SymStruct, SymTrait}; use crate::ty::BuiltinType; use crate::vm; u...
mit
helmlogic/catalyst
test/functional/confirmations_controller_test.rb
248
require 'test_helper' class ConfirmationsControllerTest < ActionController::TestCase test "should get new" do get :new assert_response :success end test "should get create" do get :create assert_response :success end end
mit
trackingwire/witchcraft
witchcraft/connection.py
2023
import sqlalchemy class Connection(object): def __init__(self, auth): url = self._build_url(auth) self.engine = sqlalchemy.create_engine(url, convert_unicode=True) self.connection = None self.transaction = None def connect(self): self.connection = self.engine.conn...
mit
anders94/mitcoin
src/qt/mitcoinunits.cpp
5957
// Copyright (c) 2011-2013 The mitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "mitcoinunits.h" #include "primitives/transaction.h" #include <QStringList> mitcoinUnits::mitcoinUnits(QObject *p...
mit
z32556601/90ping
doc/test.php
388
<?php function build_order_no(){ $year_code = array('a','b','c','d','e','f','g','h','i','j'); $order_sn = (intval(date('Y'))- 2014) . strtoupper(dechex(date('m'))) . strtoupper(dechex(date('d'))). substr(time(),-5).substr(microtime(),2,5).sprintf('%d',rand(0,99)); return $order_sn; } $num = 0; wh...
mit
murmur76/bookshelf-validation
index.js
545
'use strict'; var Promise = require('bluebird'); var util = require('./util'); module.exports = function (bookshelf) { var BaseModel = bookshelf.Model.extend({ initialize: function () { this.on('saving', this.validate); }, validate: function (model, attrs, options) { return Promise.resolve(...
mit
npruehs/slash-framework
Ext/log4net-1.2.11/doc/release/sdk/log4net.Layout.ILayout.IgnoresException.html
2504
<html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" /> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <title>IgnoresException Property</title> <xml> </xml> <link rel="stylesheet" type="text/css" href="MSDN.c...
mit
collectiveidea/awesome_nested_set
spec/models/users_spec.rb
28195
require 'spec_helper' describe "User", :type => :model do before(:all) do self.class.fixtures :categories, :departments, :notes, :things, :brokens, :users end describe "hierarchical structure" do it "roots_class_method" do found_by_us = User.where(:parent_uuid => nil).to_a found_by_roots = U...
mit
EyeBody/EyeBody
EyeBody2/kotlinpermissions/build/generated/source/r/debug/android/support/compat/R.java
7028
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * gradle plugin from the resource data it found. It * should not be modified by hand. */ package android.support.compat; public final class R { public static final class attr { public static int font = 0x7f040070...
mit
RZMC/dndCharGen
dice guideline.py
7477
#dice guideline from random import randint #FOR program module moduleName="Dice Module" #moduleName="The Lusty Orc Dice Module" #FOR dice rolls #mulligan_yes_or_no=True not implemented the_lowest_possible_roll=1 the_number_of_sides_on_a_die=6 the_number_of_rolls_in_a_set=4 reroll_if_equal_or_less=0 number_of_lowest_...
mit
geanjunior/cracha
migrations/20170127020036-create-user.js
1093
'use strict'; module.exports = { up: function(queryInterface, Sequelize) { return queryInterface.createTable('users', { id: { allowNull: false, autoIncrement: true, primaryKey: true, type: Sequelize.INTEGER }, ...
mit
Kmilo9433/arka-cliente-generador
src/app/pages/grupos/grupos.routing.ts
411
import { Routes, RouterModule } from '@angular/router'; import { Grupos } from './grupos.component'; import { Ckeditor } from './components/ckeditor/ckeditor.component'; // noinspection TypeScriptValidateTypes const routes: Routes = [ { path: '', component: Grupos, children: [ { path: 'ckeditor',...
mit
juergensen/a-little-game-2
src/main.js
690
import 'pixi' import 'p2' import Phaser from 'phaser' import BootState from './states/Boot' import SplashState from './states/Splash' import GameState from './states/Game' import config from './config' class Game extends Phaser.Game { constructor () { const docElement = document.documentElement ...
mit
elidupuis/blowinthedark.ca
index.html
2370
--- layout: default subhead: We specialize in corporate awards, teaching introductory glass blowing techniques, and collaborating with local artists. banner: img/hero.jpg --- <hr> <section class="l-mb3"> <h1>Awards <small>Design, Custom, And Recognition</small></h1> <p>Keith Walker is an <strong>Edmonton Glass Ar...
mit
theill/conquerchat
messages/messages.pl
4228
# # All headers used in ConquerChat. You should not change the text on the # left side of the first equal sign (=) since this is the 'key' used to # identify a localized message. {0}, {1}, ..., {n} will be replaced with # dynamic content when the message is retrieved. # # Translation by: Pawel Janowski p.jano...
mit
sunithshetty/Unreal-Engine-4-Scripting-with-CPlusPlus-Cookbook
Chapter07/Source/Chapter7/Killable.cpp
245
#include "Chapter7.h" #include "Killable.h" bool IKillable::IsDead() { return false; } void IKillable::Die() { GEngine->AddOnScreenDebugMessage(-1,1, FColor::Red,"Arrrgh"); AActor* Me = Cast<AActor>(this); if (Me) { Me->Destroy(); } }
mit
lanceguyatt/fronter
src/styles/settings/grids.css
472
@lost gutter 20px; @lost cycle auto; :root { --column-width-xs: 5px; --gutter-width-xs: 20px; --margin-width-xs: 20px; --max-width-xs: 320px; --column-width-sm: 31px; --gutter-width-sm: 20px; --margin-width-sm: 24px; --max-width-sm: 640px; --column-width-md: 47px; --gutter-width-md: 20px; --margi...
mit
shokai/ArduinoFirmata-Android
samples/sysex/SysexSampleApp/README.md
254
ArduinoFirmata Sysex Sample App =============================== ## Setup % make setup ## Build & Install % make % make install ## WiFi Debug % adb tcpip 5555 % adb connect 192.168.1.101:5555 % adb logcat | grep "^./Arduino"
mit
ruippeixotog/botwars
client/js/stores/GamesStore.js
3892
import lazy from "lazy.js"; import { EventEmitter } from "events"; import _ from "lodash"; import AppDispatcher from "../AppDispatcher"; import GameStatus from "../constants/GameStatus"; import CompsEvents from "../events/CompsEvents"; import GamesEvents from "../events/GamesEvents"; class GameStore { constructor()...
mit
sanjoydesk/cygniteframework
vendor/cygnite/framework/src/Cygnite/Base/EventHandler/EventRegistrarTrait.php
1849
<?php namespace Cygnite\Base\EventHandler; use Cygnite\Helpers\Inflector; /** * Class EventRegistrarTrait * * @package Cygnite\Base\EventHandler */ trait EventRegistrarTrait { /** * @return $this */ public function boot() { $this->registerEvents($this->listen); return $this;...
mit
pitpitman/GraduateWork
Java_tutorial/intl/datamgmt/demos-1dot1/ChoiceResource.java
1916
/* * @(#)ChoiceResource.java 1.3 97/06/27 * * (C) Copyright Taligent, Inc. 1996 - All Rights Reserved * (C) Copyright IBM Corp. 1996 - All Rights Reserved * * Portions copyright (c) 1996 Sun Microsystems, Inc. All Rights Reserved. * * The original version of this source code and documentation is copyrighted ...
mit
kimy82/llibreria
app/cache/dev/annotations/Acme-StoreBundle-Entity-Slider.cache.php
272
<?php return unserialize('a:2:{i:0;O:27:"Doctrine\\ORM\\Mapping\\Entity":2:{s:15:"repositoryClass";N;s:8:"readOnly";b:0;}i:1;O:26:"Doctrine\\ORM\\Mapping\\Table":5:{s:4:"name";s:6:"slider";s:6:"schema";N;s:7:"indexes";N;s:17:"uniqueConstraints";N;s:7:"options";a:0:{}}}');
mit
shiftux/discover_meteor
client/templates/includes/sort.js
859
Template.sort.helpers({ activeRouteClass: function(/* route names */) { // Man kann natürlich benannte Argumente an die Funktion übergeben, aber man kann auch eine beliebige Anzahl von anonymen Parametern mitgeben und abrufen indem man innerhalb der Funktion das Objekt arguments aufruft. var args = Array.prototyp...
mit
CKBird/Kruskals
Source/main.cpp
643
//ECS 60 Homework #2 //Christopher Bird //ID: 997337048 //Professor: Hao Chen //Kruskal's Implementation along with Sorting Algorithm //Main.cpp #include <string> #include <iostream> #include "spantree.h" using namespace std; int main() { spantree Spantree; Spantree.readInput(); //Spantree.testInput(); //Reads ...
mit
marocchino/learnyoureact
exercises/components/problem.md
2249
Componentを複数組み合わせてみましょう。 React.jsではComponentを組み合わせてアプリケーションを作ります。 また、HTMLのタグとJSXを組み合わせることもできます。 Reactのコンポーネントをレンダリングするためには、大文字で始まるローカル変数を作成します。 HTMLのタグを記述する際には、小文字で始まるローカル変数を作成してください。 ReactのJSXではローカルのコンポーネントのクラスとHTMLのタグを識別するために大文字と小文字の変数を使い分けています。 例: ``` export default class MyComponent extends React.Component {/*....
mit
pioneercrypto/PioneerCoin
src/qt/locale/bitcoin_pt_PT.ts
119141
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pt_PT" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About PioneerCoin</source> <translation>Sobre PioneerCoin</translation>...
mit
GrinGraz/CIMVC
application/models/welcome_model.php
2333
<? class Welcome_model extends CI_Model{ function __construct(){ //Llamado al contructor del modelo parent::__construct(); } public function insertar_alumno($persona){ if ($this->db->insert('usu_al', $persona)) return true; else return false; } public function insertar_docente($persona){ if (...
mit
marcellorego/SpringLabs
lesson4/src/main/java/br/com/splessons/configuration/HibernateConfiguration.java
3156
package br.com.splessons.configuration; import java.util.Properties; import javax.sql.DataSource; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import...
mit
typings/core
src/lib/__test__/fixtures/compile-export-default/index.d.ts
48
declare const foo: string; export default foo;
mit
phonezawphyo/monkey_emoji
test/core_ext_test.rb
633
#coding: utf-8 require 'test_helper' class CoreExtTest < ActiveSupport::TestCase test "str.encode_emoji" do assert_equal "test string", "test string".encode_emoji assert_equal "{{260e}}️", "☎️".encode_emoji assert_equal "{{1f4f1}}", "📱".encode_emoji end test "str.decode_emoji" do assert_equal "...
mit
JohnCrickett/ThomasReading
README.md
132
# ThomasReading Thomas' Reading Game A game written in Python 3.4 using pygame to Thomas' specification to help him learn to read.
mit
amughni/SpellChecker
BetterWords/BetterWords/IWordService.cs
369
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; namespace BetterWords { [ServiceContract] public interface IWordService { [OperationContract] string LoadData(); [OperationContract]...
mit
anandvenkatanarayanan/PackerFiles
lib/PackerFiles/OS/RHEL/CD.rb
670
# Requires require "Core/CDImage" # An implementation for CDImage For RHEL module PackerFiles module RHEL class CD < Core::CDImageImpl # Override method for getting the ISO name def get_iso_name_pattern 'rhel-server-@release@-@arch@-dvd.iso' end # Override method for getting chec...
mit
gaohannk/xv6-system
mkfs.c
6262
#include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include <assert.h> #define stat xv6_stat // avoid clash with host struct stat #include "types.h" #include "fs.h" #include "stat.h" #include "param.h" #ifndef static_assert #define static_assert(a, b) do { switch (0) ca...
mit
Azure/azure-sdk-for-ruby
management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/list_usages_result.rb
2848
# 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::Compute::Mgmt::V2016_04_30_preview module Models # # The List Usages operation response. # class ListUsagesResult inc...
mit
Azure/azure-sdk-for-ruby
management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_details.rb
2956
# 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::Network::Mgmt::V2016_09_01 module Models # # Information gained from troubleshooting of specified resource. # class Troubles...
mit
Azure/azure-sdk-for-ruby
management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb
2482
# 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::Network::Mgmt::V2019_02_01 module Models # # Application gateway backendhealth http settings. # class ApplicationGatewayBack...
mit
Vancrew/IMK
application/views/template/header_umum.php
9330
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <meta charset="utf-8" /> <title>Pages - Petugas Dashboard UI Kit</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <link rel="apple...
mit
sirrice/dbwipes
dbwipes/static/js/summary/util.js
6474
define(function(require) { var _ = require('underscore'), d3 = require('d3'); function isTime(type) { return _.contains(['time', 'timestamp', 'date'], type); } function isNum(type) { return _.contains(['num', 'int4', 'int', 'int8', 'float8', 'float', 'bigint'], type); } function isStr(type) { ...
mit
Urigo/angular-meteor
atmosphere-packages/angular-compilers/package.js
780
Package.describe({ name: 'angular-compilers', version: '0.4.0', summary: 'Rollup, AOT, SCSS, HTML and TypeScript compilers for Angular Meteor', git: 'https://github.com/Urigo/angular-meteor/tree/master/atmosphere-packages/angular-compilers', documentation: 'README.md' }); Package.registerBuildPlugin(...
mit
DnDGen/CharacterGen
CharacterGen.Tests.Integration.Tables/Races/BaseRaces/Ages/Rolls/IntuitiveAgeRollsTests.cs
5191
using CharacterGen.CharacterClasses; using CharacterGen.Domain.Tables; using CharacterGen.Races; using NUnit.Framework; namespace CharacterGen.Tests.Integration.Tables.Races.BaseRaces.Ages.Rolls { [TestFixture] public class IntuitiveAgeRollsTests : CollectionTests { protected override string table...
mit
FXBitLab-Etp/etp
README.md
3381
Etp Core staging tree 0.01.0 =============================== `master:` [![Build Status](https://travis-ci.org/etppay/etp.svg?branch=master)](https://travis-ci.org/etppay/etp) `v0.12.0.x:` [![Build Status](https://travis-ci.org/etppay/etp.svg?branch=v0.12.0.x)](https://travis-ci.org/etppay/etp/branches) `v0.12.1.x:` [!...
mit
djp952/storage-legacy
disk/PartitionStyle.h
1956
//----------------------------------------------------------------------------- // Copyright (c) 2016 Michael G. Brehm // // 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 restricti...
mit
cef62/documentor
example/data/src/index.md
5837
--- lunr: true title: Doc Plugins template: page.html nav_sort: 10000 nav_groups: - primary - footer --- # Available syntax, styles and components for this Documentation ##### <i class="material-icons">live_help</i> This is a guide! This repo contains demo code from a presentation I gave on Metalsmith. It demons...
mit
SMemsky/pang
src/MainMenu.h
363
#pragma once #include <list> #include <SFML/Graphics.hpp> class MainMenu { public: enum MenuResult { Nothing, Exit, Play }; MainMenu(); MenuResult show(sf::RenderWindow& window); private: struct MenuItem { sf::Rect<int> rect; MenuResult action; }; private: MenuResult handleClick(int x, int y) co...
mit
camillescott/boink
include/goetia/sketches/sketch/vec/blaze/blaze/math/lapack/syev.h
8392
//================================================================================================= /*! // \file blaze/math/lapack/syev.h // \brief Header file for the LAPACK symmetric matrix eigenvalue functions (syev) // // Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved // // This file is part of t...
mit
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.05.0-2.0.1/released/8.7.1/area-method/8.6.0.html
7689
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>area-method: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min...
mit
TheCrow1213/WithFormat
WithFormat/DateTime/IYearFormatter.cs
394
namespace WithFormat.DateTime { public interface IYearFormatter { DateTimeFormatBuilder WithOneDigit(); DateTimeFormatBuilder WithTwoDigits(); DateTimeFormatBuilder WithAtLeastThreeDigits(); DateTimeFormatBuilder WithFourDigits(); DateTimeFormatBuilder WithFiveDi...
mit
Schetss/CarCor
src/Backend/Modules/Kwaliteitslabels/Ajax/SequenceCategories.php
1047
<?php namespace Backend\Modules\Kwaliteitslabels\Ajax; use Backend\Core\Engine\Base\AjaxAction; use Backend\Modules\Kwaliteitslabels\Engine\Model as BackendKwaliteitslabelsModel; /** * Alters the sequence of Kwaliteitslabels articles * * @author Stijn Schets <stijn@schetss.be> */ class SequenceCategories extends...
mit
linvi/tweetinvi
src/Tweetinvi.Controllers/Timeline/TimelineController.cs
3067
using Tweetinvi.Core.Controllers; using Tweetinvi.Core.Iterators; using Tweetinvi.Core.Web; using Tweetinvi.Models; using Tweetinvi.Models.DTO; using Tweetinvi.Parameters; namespace Tweetinvi.Controllers.Timeline { public class TimelineController : ITimelineController { private readonly ITimelineQuery...
mit
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/b25dd0257a649e0c1cc88599a85ab752efc792eef86759c42c64ce157b706d58.html
550
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>18 --> 19</title> <link href="./../../assets/style.css" rel="stylesheet"> </head> <body> <h2>You have to be fast</h2> <a href="./4d250a415b682e2fa854dc002e76c3e23a3fb1fd932995a835c56b2ee5387354.html">Teleport</a> <hr> ...
mit
robbkidd/gitlabhq
app/controllers/dashboard_controller.rb
1079
class DashboardController < ApplicationController respond_to :html def index @groups = Group.where(id: current_user.projects.pluck(:group_id)) @projects = current_user.projects_with_events @projects = @projects.page(params[:page]).per(20) @events = Event.in_projects(current_user.project_ids).limit...
mit
boblablaw/notely
app/app.css
2076
/* app css stylesheet */ body { font-family: Oxygen, Helvetica, Arial, sans-serif; } .container { width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; } .row { margin-left: 0 !important; margin-right: 0 !important; } .col-xs-12 { padding-left: 0 !important; padding-right: ...
mit
jasonlvhit/feeds-card
feeds/templates/douban_activity.html
918
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="renderer" content="webkit"> <title> {{ username }}的广播 </title> <link href="http://img3.douban.com/f/shire/8674e977bc9019592fb64d046b0ac6a9e6aa9a4d/cs...
mit
M-Yankov/CPlusPlus
10.ExamPreparation/ArrayManipulator11October2015/Source.cpp
6155
#include <iostream> #include <vector> #include <string> #include <sstream> #include <set> #include <algorithm> //std::vector<std::string> parseCommand(std::string input); //std::vector<int> parseArray(std::string input); //void exchange(int index, std::vector<int> & numbers); //void printNumbersInArrayFormat(std::vec...
mit
asciamanna/UsStateMapper
UsStateMapper.Tests/EndToEndTests/UscgCodeInputTest.cs
745
using NUnit.Framework; namespace UsStateMapper.Tests.EndToEndTests { [TestFixture] public class UscgCodeInputTest { private StateMapper subject; [SetUp] public void SetUp() { subject = new StateMapper(); } [TestCase("HA", "Hawaii")] [TestCase("KA", "Kansas")] [TestCase("MC", "M...
mit
andrewdefries/ToxCast
Figure4/FDA_Pesticides/PCID_91754.html
63
https://pubchem.ncbi.nlm.nih.gov/summary/summary.cgi?cid=91754
mit
joje6/three-cats
www/js/layout.js
1624
var $ = require('jquery'); var layout = module.exports = { init: function() { $('#toggle-sidebar').click(function(e) { e.preventDefault(); layout.sidebar(); }); $('#toggle-overlay').click(function(e) { e.preventDefault(); layout.overlay(); }); }, restore: function() {...
mit
jadarnel27/nunit
src/NUnitFramework/framework/Internal/InvalidPlatformException.cs
2741
// *********************************************************************** // Copyright (c) 2017 Charlie Poole, Rob Prouse // // 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 restri...
mit
zyborg/Zyborg.Vault
client/NOTES.md
2102
### Static IL Linking: * https://github.com/dotnet/core/blob/master/samples/linker-instructions.md * https://github.com/dotnet/core/blob/master/samples/linker-instructions-advanced.md ## Building Micro Services with ASP.NET Core but without MVC: * http://www.strathweb.com/2017/01/building-microservices-with-asp-net-...
mit
lordmos/blink
Source/platform/scroll/ScrollbarThemeOverlay.h
3011
/* * Copyright (C) 2011 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of condit...
mit
VernonLee/Theogony
app/src/main/java/com/nodlee/theogony/ui/adapter/ItemClickedListener.java
247
package com.nodlee.theogony.ui.adapter; import android.view.View; public interface ItemClickedListener { /** * 在单元格被点击的时候调用 * * @param position */ void onItemClicked(View view, int position); }
mit
zhangbobell/mallshop
plugins/onekey/taobao/top/request/MediaFileDeleteRequest.php
1256
<?php /** * TOP API: taobao.media.file.delete request * * @author auto create * @since 1.0, 2014-09-13 16:51:05 */ class MediaFileDeleteRequest { /** * 接入多媒体平台的业务code 每个应用有一个特有的业务code **/ private $bizCode; /** * 文件ID字符串,可以一个也可以一组,用英文逗号间隔,如450,120,155 **/ private $fileIds; private $apiParas = ar...
mit
puneetarora2000/BiS-conformance-
application/views/front/fees.php
3364
<div class="content"> <h2><?php echo $title;?></h2> <div class="panel panel-default"> <div class="panel-heading"> <b>The following is the list of various seed certification charges of Punjab State Certification Authorityu as applicable from Rabi-2004-05</b> </div> <div class="panel-body text-left"> <tabl...
mit
winture/wt-studio
com.wt.studio.plugin.modeldesigner/src/com/wt/studio/plugin/pagedesigner/gef/figure/FormFrameBorder.java
1556
package com.wt.studio.plugin.pagedesigner.gef.figure; import org.eclipse.draw2d.ColorConstants; import org.eclipse.draw2d.FrameBorder; import org.eclipse.draw2d.Graphics; import org.eclipse.draw2d.IFigure; import org.eclipse.draw2d.PositionConstants; import org.eclipse.draw2d.SchemeBorder; import org.eclipse.draw2d.Ti...
mit
geekhubdk/geekhub
Deldysoft.Foundation/CommandHandling/ICommandExecuter.cs
139
namespace Deldysoft.Foundation.CommandHandling { public interface ICommandExecuter { void Execute<T>(T command); } }
mit