repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
ShipHawk/shiphawk-ruby
lib/shiphawk/api/shipments_status.rb
342
module Shiphawk module Api # Company API # # @see https://shiphawk.com/api-docs # # The following API actions provide the CRUD interface to managing a shipment's tracking. # module ShipmentsStatus def shipments_status_update options put_request status_path, options en...
mit
crossroads-education/eta-office
static/js/profile.ts
2030
import "bootstrap-slider"; import "bootstrap-switch"; export module profile { function onInfoSubmit() { var params: { [key: string]: string } = {}; $("#info-container .info-field").each(function() { let name: string = this.getAttribute("name"); if (name == null) { ...
mit
uber-go/dosa
cmd/dosa/query_test.go
6402
// Copyright (c) 2020 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge...
mit
ryanbreed/musca
README.md
42
# MUSCA a flyweight CA ## Installation
mit
SemmLille/filter_podlille1
version.php
1422
<?php // This file is an extension of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // //...
mit
mayursn/lms_hmvc_live
application/modules/exam/views/addinternal.php
10084
<?php $this->load->Model('exam/Exam_manager_model'); $this->load->model('Branch/Course_model'); $exams = $this->Exam_manager_model->exam_details(); $exam_type = $this->Exam_manager_model->get_all_exam_type(); $branch = $this->Course_model->order_by_column('c_name'); ?> <div class="row"> <div class=col-lg-12> ...
mit
mentalfaculty/impeller
README.md
20151
![Impeller: A Distributed Value Store in Swift](https://cloud.githubusercontent.com/assets/77312/22173713/77d11400-dfcb-11e6-8790-3d39359ed0d7.png) ![Swift Version](https://img.shields.io/badge/Swift-3.0-orange.svg) [![SwiftPM compatible](https://img.shields.io/badge/SwiftPM-compatible-brightgreen.svg)](https://github...
mit
augwa/quickbooks-php-sdk
src/Model/MasterAccountModel.php
1145
<?php namespace Augwa\QuickBooks\Model; /** * Master Account is the list of accounts in the master list. The master * list is the complete list of accounts prescribed by the French * Government. These accounts can be created in the company on a need * basis. The account create API needs to be used to create an ac...
mit
yoshuawuyts/frontend-server
index.css
58
/** * Entry point for CSS. */ .foo { color: black; }
mit
gisele-tool/gisele-vm
spec/unit/compiling/gisele2gts/test_on_task_def.rb
1476
require 'spec_helper' module Gisele module Compiling describe Gisele2Gts, "on_task_def" do before do subject subject.ith_state(0).initial! end subject do code = <<-GIS.strip task Main Hello end GIS Gisele2Gts.compile(code,...
mit
karim/adila
database/src/main/java/adila/db/zeppelin_mb501.java
217
// This file is automatically generated. package adila.db; /* * Motorola Cliq-XT * * DEVICE: zeppelin * MODEL: MB501 */ final class zeppelin_mb501 { public static final String DATA = "Motorola|Cliq-XT|"; }
mit
lusocoin/lusocoin
src/src/qt/transactiondesc.cpp
11484
#include "transactiondesc.h" #include "guiutil.h" #include "lusocoinunits.h" #include "main.h" #include "wallet.h" #include "db.h" #include "ui_interface.h" #include "base58.h" #include <string> QString TransactionDesc::FormatTxStatus(const CWalletTx& wtx) { if (!wtx.IsFinal()) { if (wtx.nLockTime < ...
mit
mattbillenstein/ve
pkgs/available/libevent.sh
409
LIBEVENT_VERSION="2.1.11-stable" LIBEVENT_SHA256SUM="a65bac6202ea8c5609fd5c7e480e6d25de467ea1917c08290c521752f147283d" rm -fR libevent* getpkg https://github.com/libevent/libevent/releases/download/release-${LIBEVENT_VERSION}/libevent-${LIBEVENT_VERSION}.tar.gz $LIBEVENT_SHA256SUM tar zxvf libevent-${LIBEVENT_VERSION}...
mit
rawswift/orinoco-framework-php
lib/Orinoco/Framework/View.php
9496
<?php /** * Orinoco Framework - A lightweight PHP framework. * * Copyright (c) 2008-2015 Ryan Yonzon, http://www.ryanyonzon.com/ * Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php */ namespace Orinoco\Framework; use RuntimeException; class View { // layout name public...
mit
DFieldFL/DFieldFL.github.io
assets/css/screen.css
37056
/* ========================================================================== Table of Contents ========================================================================== */ /* 0. Normalize 1. Icons 2. General 3. Utilities 4. General 5. Single Post 6. Tag Archive 7. Third...
mit
pavel-voronin/Itty-Bitty-RSS
app/Http/Requests/RegisterRequest.php
451
<?php namespace ibrss\Http\Requests; class RegisterRequest extends Request { /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'email' => 'required|email|unique:users', 'password' => 'required|confirmed|min:8', ]; } /** * Determ...
mit
mokonzi131/gatech-colorwar
CS 2340 Agent Simulation/src/util/ObjectCloner.java
1184
package util; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; /** * Taken from * http://www.javaworld.com/article/2077578/learn-java/java-tip-76--an-alternative-to-the-deep-copy-technique.html * * @author David Miller...
mit
vivekprocoder/teaching
java/lecture 14/ListFonts.java
336
import java.awt.*; public class ListFonts { public static void main(String[] args) { String[] fontNames = GraphicsEnvironment .getLocalGraphicsEnvironment() .getAvailableFontFamilyNames(); for (int i = 0; i < fontNames.length; i++) System.out.println(fontNames[i...
mit
layabox/layaair
src/layaAir/laya/net/Socket.ts
10026
import { Event } from "../events/Event" import { EventDispatcher } from "../events/EventDispatcher" import { Browser } from "../utils/Browser" import { Byte } from "../utils/Byte" /** * 连接建立成功后调度。 * @eventType Event.OPEN * */ /*[Event(name = "open", type = "laya.events.Event")]*/ /** * 接收到数据后调度。 * @eventType Even...
mit
runningfun/angular_project
node_modules/bower/node_modules/inquirer/node_modules/cli-color/node_modules/es5-ext/array/#/concat/index.js
112
'use strict'; module.exports = require('./is-implemented')() ? Array.prototype.concat : require('./shim');
mit
mapzen-data/targeted-editing
scripts/import_db.sh
2564
#!/bin/bash # this causes the script to exit if any line causes an error. if there are badly-behaved bits of script that you want to ignore, you can run "set +e" and then "set -e" again afterwards. set -e # setting the variable stylefile to be the string on the RHS of =. you can't have spaces around the =, annoyingly...
mit
pshrmn/curi
website/src/pages/Guides/apollo.js
10462
import React from "react"; import { Link } from "@curi/react-dom"; import { TitledPlainSection, HashSection, Paragraph, CodeBlock, Note, IJS } from "../../components/guide/common"; let meta = { title: "Apollo Integration" }; let setupMeta = { title: "Setup", hash: "setup" }; let looseMeta = { tit...
mit
raldred/active_merchant
lib/active_merchant/billing/gateway.rb
6376
require 'net/http' require 'net/https' require 'active_merchant/billing/response' module ActiveMerchant #:nodoc: module Billing #:nodoc: # # == Description # The Gateway class is the base class for all ActiveMerchant gateway implementations. # # The standard list of gateway functions that most...
mit
t-kgd/library-cool
README.md
698
# cool (Deprecated) **※作成時期が古く、整理もしていないので非推奨です※** 2013年に作成したJava SE 7向けライブラリ。メンテナンス予定は無し。 ###util Java SE 7向けPOJOライブラリ。 コレクション、数値計算等。 ###io Zip4jを用いたファイル操作ライブラリ。 ディレクトリと暗号化Zipファイルを透過的に扱う。 ###framework Java SE 7向けPOJOゲームライブラリ。 (入力の受け取り方法は抽象化した上で)入力結果の処理等。 ###jsfml JSFMLに依存するゲームライブラリ。 JSFMLを直接扱うユーティリティや、2Dシ...
mit
ac9831/StudyProject-Asp.Net
DevDataControl/DevDataControl/FrmObjectDataSource.aspx.cs
332
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace DevDataControl { public partial class FrmObjectDataSource1 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { ...
mit
ainame/may
lib/may/templator.rb
865
require 'tilt/erb' module May class Templator class Template def initialize(path) @file = File.open(path, 'r') if path end def path @file.path end def body return '' unless @file @body ||= @file.read end end class Generator def ...
mit
raykle/RGPlaceholderTextView
README.md
78
# RGPlaceholderTextView Subclass of UITextView which you can set Placeholder.
mit
rstacruz/dom101
before.js
492
/** * before : before(el, newEl) * Inserts a new element `newEl` just before `el`. * * var before = require('dom101/before'); * var newNode = document.createElement('div'); * var button = document.querySelector('#submit'); * * before(button, newNode); */ function before (el, newEl) { if (typ...
mit
aaron-lebo/kodefund
resources/public/foundation3/marketing/grid-example3.php
2446
<? $page_title = "Mobile Grid System" ?> <?php include("includes/_header.php"); ?> <style> .example .row, .example .row .column, .example .row .columns { background: #f4f4f4; } .example .row { margin-bottom: 10px; } .example .row .column, .example .row .columns { background: #eee; border: 1px solid #ddd; } ...
mit
OpenBazaar/spvwallet
vendor/github.com/asticode/go-astilog/configuration.go
1282
package astilog import "flag" // Flags var ( AppName = flag.String("logger-app-name", "", "the logger's app name") Filename = flag.String("logger-filename", "", "the logger's filename") Verbose = flag.Bool("logger-verbose", false, "if true, then log level is debug") ) // Formats const ( FormatJSON = "json" Fo...
mit
laposta/laposta-api-php
examples/field/get.php
520
<?php require_once('../../lib/Laposta.php'); Laposta::setApiKey("JdMtbsMq2jqJdQZD9AHC"); // initialize field with list_id $field = new Laposta_Field("BaImMu3JZA"); try { // get field info, use field_id or email as argument // $result will contain een array with the response from the server $result = $field->get("i...
mit
neffbirkley/o
thomaswooster/src/components/Projects.js
697
import React, { PropTypes } from 'react'; import Page from './Page'; import ProjectListItem from './ProjectListItem'; import AspectContainer from './AspectContainer'; import BannerImage from './BannerImage'; import styles from './Projects.css'; const Projects = ({ projects }) => ( <Page Hero={() => <Aspect...
mit
dxw/fourth-wall-for-gitlab
javascript/config-form.js
1883
(function($) { var FourthWallConfiguration = function() { this.token = localStorage.getItem('token'); this.gitlab_host = localStorage.getItem('gitlab_host'); } FourthWallConfiguration.prototype.save = function() { localStorage.setItem('token', this.token); localStorage.setItem('gitlab_host', this...
mit
GetTerminus/terminus-ui
projects/library/autocomplete/src/autocomplete.component.html
2717
<ts-form-field [validateOnChange]="validateOnChange" [control]="selfReference" [hideRequiredMarker]="hideRequiredMarker" [hint]="hint" [id]="id" [theme]="theme" cdk-overlay-origin #origin="cdkOverlayOrigin" > <ts-label *ngIf="label"> {{ label }} </ts-label> <div class="ts-autocomplete__input-...
mit
IonicaBizau/arc-assembler
clients/ace-builds/src-noconflict/snippets/golang.js
204
"use strict"; ace.define("ace/snippets/golang", ["require", "exports", "module"], function (require, exports, module) { "use strict"; exports.snippetText = undefined; exports.scope = "golang"; });
mit
Aapzu/aapzu.xyz
config/characters.js
4761
export default { A: [[1,0],[2,0],[3,0],[0,1],[4,1],[0,2],[1,2],[2,2],[3,2],[4,2],[0,3],[4,3],[0,4],[4,4]], B: [[0,0],[1,0],[2,0],[3,0],[0,1],[4,1],[0,2],[1,2],[2,2],[3,2],[0,3],[4,3],[0,4],[1,4],[2,4],[3,4]], C: [[0,0],[1,0],[2,0],[3,0],[4,0],[0,1],[0,2],[0,3],[0,4],[1,4],[2,4],[3,4],[4,4]], D: [[0,0],[1,0],[2,0],...
mit
zooba/vsts-python-tasks
UploadPackage/UploadPackage.ps1
1545
Trace-VstsEnteringInvocation $MyInvocation try { . $PSScriptRoot\Get-PythonExe.ps1 $distdir = Get-VstsInput -Name "distdir" -Require $repository = Get-VstsInput -Name "repository" -Require $pypirc = Get-VstsInput -Name "pypirc" $username = Get-VstsInput -Name "username" $password = Get-VstsInpu...
mit
epikcraw/ggool
public/Windows 10 x64 (19041.208) 2004/_VF_AVL_TREE_NODE_EX.html
263
<html><body> <h4>Windows 10 x64 (19041.208) 2004</h4><br> <h2>_VF_AVL_TREE_NODE_EX</h2> <font face="arial"> +0x000 Base : <a href="./_VF_AVL_TREE_NODE.html">_VF_AVL_TREE_NODE</a><br> +0x010 SessionId : Uint4B<br> </font></body></html>
mit
anarute/dicasdefrontend
content/post/dica-1.md
2553
--- author: "Ana Rute Mendes" date: 2014-04-29 title: "Dica #1" tags: [ "CSS", "Ghost", ] description: "Primeira edição da newsletter Dicas de Front End. Pretendo trazer aqui, semanalmente, artigos e dicas com novidades, opiniões e discussões sobre o desenvolvimento Front-end e Web Design." --- Olá pessoal, E...
mit
ReneHerthel/ConveyorBelt
src/ISR/Signals.h
1925
/* * Signals.h * * Created on: 07.06.2017 * Author: abt674 * * */ #ifndef SIGNALS_H_ #define SIGNALS_H_ //Lightbarriers and Sensor #define INLET_IN_VAL 0b0000000000000001 #define INLET_OUT_VAL 0b0000000000000011 #define HEIGHTMEASUREMENT_IN_VAL 0b0000000000000010 #define HEIGH...
mit
christianp/nulpoints
style.css
2943
html { font-size: 12px; font-family: 'Rubik', sans-serif; } h1,h2,h3,h4,h5,h6 { font-family: 'Rubik Mono One',sans-serif; } header { text-align: center; } header h1 { margin: 0; } #countries-judged { margin-bottom: 2rem; min-height: 2rem; } #countries-judged.empty { border: 1...
mit
kocsismate/composer
src/Composer/Plugin/PluginManager.php
9901
<?php /* * This file is part of Composer. * * (c) Nils Adermann <naderman@naderman.de> * Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Composer\Plugin; use Composer\Composer; ...
mit
sb-Milky-Way/Comment
.storybook/params.js
125
export default { modules: require('glob!./glob.txt'), options: { name: 'Comment', }, info: true, utils: {}, };
mit
space-wizards/space-station-14
Content.Server/Lock/LockComponent.cs
986
using Content.Shared.Sound; using Robust.Shared.GameObjects; using Robust.Shared.Serialization.Manager.Attributes; using Robust.Shared.ViewVariables; namespace Content.Server.Storage.Components { /// <summary> /// Allows locking/unlocking, with access determined by AccessReader /// </summary> [Register...
mit
mac10688/FFXIVRaidScheduler
RaidScheduler.Domain/DomainServices/PartyMaker/Combinatorics/IMetaCollection.cs
1512
// Copyright 2008 Adrian Akison // Distributed under license terms of CPOL http://www.codeproject.com/info/cpol10.aspx using System; using System.Collections.Generic; using System.Text; namespace RaidScheduler.Domain.DomainModels.Combinations { /// <summary> /// Interface for Permutations, Combinations and any...
mit
DragonSpark/Framework
DragonSpark.Application/Security/Identity/IUsers.cs
163
using DragonSpark.Model.Results; namespace DragonSpark.Application.Security.Identity; public interface IUsers<T> : IResult<UsersSession<T>> where T : class {}
mit
generationtux/cufflink
src/cufflink.js
434
#!/usr/bin/env node process.env.FORCE_COLOR = true; const program = require('commander'); const package = require('../package.json'); /** * CLI Commands * */ program .version((package.name) + '@' + (package.version)); /** * Command for creating and seeding */ program .command('create [dataObject]', 'Gen...
mit
jfrazelle/blog
content/post/trust-and-integrity.md
4003
+++ date = "2019-03-01T18:09:26-07:00" title = "Trust and Integrity" author = "Jessica Frazelle" description = "Some reflections on my recent adventures." +++ I stated in my first post on my [reflections of leadership in other industries](https://blog.jessfraz.com/post/government-medicine-capitalism/) that I would wri...
mit
Techwraith/hbs-dir
index.js
642
var hb = require('handlebars') , fs = require('vinyl-fs') , map = require('vinyl-map') module.exports = function (opts, cb) { if (!opts || typeof opts === 'function') throw new Error('opts is required') if (!opts.origin) throw new Error('opts.origin is required') if (!opts.target) throw new Error('opts.targe...
mit
alihaluk/swe573main
src/boun/swe573/accessbadger/ABHelloWorld.java
393
package boun.swe573.accessbadger; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class ABHelloWorld { @RequestMapping("/welcome") public String helloWorld() { String message = "<br><div style='text-align:center;'>" + "<h3>*...
mit
atkvo/masters-bot
src/autobot/src/zed_wrapper_nodelet.cpp
37455
/////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2017, STEREOLABS. // // All rights reserved. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIE...
mit
MindLeaps/tracker
spec/factories/tags.rb
590
# frozen_string_literal: true # == Schema Information # # Table name: tags # # id :uuid not null, primary key # shared :boolean not null # tag_name :string not null # created_at :datetime not null # updated_at :datetime not null...
mit
PacemakerConf/site
doc/AddPhotoToSpeakerViaPaperclip.html
4827
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>class AddPhotoToSpeakerViaPaperclip - RDoc Documentation</title> <script type="text/javascript"> var rdoc_rel_prefix = "./"; </script> <script src="./js/jquery.js"></script> <script src="./js/darkfish.js"></script> <link href="./css/fonts.css" rel="styl...
mit
michal-fre/refugee-phrasebook.github.io
bash-scripts-for-pdf-generation/scripts/06_replace_tabulator_with_ampersand_MAC.sh
736
#!/bin/sh # seems there are problems in tab-replacement # this is the mac-version sed 's/ / \& /g' ../temp/mpfr.d.column > ../temp/mpfr.d.amp sed 's/ / \& /g' ../temp/mpfr.h.column > ../temp/mpfr.h.amp sed 's/ / \& /g' ../temp/jur.d.column > ../temp/jur.d.amp sed 's/ / \& /g' ../temp/jur.h.column > ../temp/j...
mit
newworldcode/freemailr
frontend/elements/email-reader/email-reader.html
236
<dom-element id="email-reader"> <template> <!-- <iframe sandbox height="100%" width="100%" srcdoc="{{email.body}}"></iframe> --> </template> <script> Polymer({ is: 'email-reader' }) </script> </dom-element>
mit
mas178/Fragments
hajiboot/src/main/resources/db/migration/V2__import-initial-data.sql
301
INSERT INTO customers (first_name, last_name) VALUES ('Nobita', 'Nobi'); INSERT INTO customers (first_name, last_name) VALUES ('Takeshi', 'Goda'); INSERT INTO customers (first_name, last_name) VALUES ('Suneo', 'Honekawa'); INSERT INTO customers (first_name, last_name) VALUES ('Shizuka', 'Minamoto');
mit
dcondrey/scrapy-spiders
dist/spiders/newenglandfilm.py
1625
#!/usr/bin/python # -*- coding: utf-8 -*- from scrapy.spider import Spider from scrapy.selector import Selector from my_settings import name_file, test_mode, difference_days from datetime import datetime, timedelta print "Run spider NewenglandFilm" file_output = open(name_file, 'a') email_current_sessio...
mit
matt-harvey/tabulo
lib/tabulo/util.rb
1017
module Tabulo # @!visibility private module Util NEWLINE = /\r\n|\n|\r/ # @!visibility private def self.condense_lines(lines) join_lines(lines.reject(&:empty?)) end # @!visibility private def self.divides?(smaller, larger) larger % smaller == 0 end # @!visibility pri...
mit
albertyw/6.470
src/process/profilefavchange.php
1615
<?php //Get Variables $favuserid = $_POST['userid']; $ownprofile = $_POST['ownprofile']; $ownusername = $_POST['ownusername']; //Connect to mysql database $connection = mysql_connect("localhost", "6470", "6470") or die("mySQL Connection Error<br />\n"); $database='6470_main'; mysql_select_db($database) or die('Error, ...
mit
slicedev/slice-node
lib/requests.js
3323
var request = require('request'); var url = require('url'); var authenticate = require('./oauthentication'); var Request = function(obj){ this.obj = obj; }; Request.prototype.mailboxes = function(method, specific_url, params, callback){ /* * @params: * @ param : if user wants to call specific mailbox e.g. : ...
mit
sasedev/commons-shared-bundle
src/Sasedev/Commons/SharedBundle/HtmlModel/Tags/Script.php
1621
<?php namespace Sasedev\Commons\SharedBundle\HtmlModel\Tags; use Sasedev\Commons\SharedBundle\HtmlModel\Attributes\Src; use Sasedev\Commons\SharedBundle\HtmlModel\Attributes\Type; use Sasedev\Commons\SharedBundle\HtmlModel\Attributes\Charset; use Sasedev\Commons\SharedBundle\HtmlModel\Attributes\Defer; use Sasedev\Co...
mit
brianp/muxedsnapshot
src/tmux/window.rs
5264
use std::process::{Command,Output}; use std::io; use tmux::pane::Pane; use capture::retrieve_capture; use serde::Serializer; use serde::ser::Serialize; // Come back and question the accuracy of windows without names // that have active, or previous window designations. static NAME_REGEX: &'static str = r":\s(\w*)[$\...
mit
Eric-Carlton/GradeBook
GradeBook/src/gradebookdata/Course.java
1062
package gradebookdata; /** * Represents one row of the course table in the GradeBook database * * @author Eric Carlton * */ public class Course { private String name; private int weight; private int ID; /** * Create a course with all fields filled * * @param name * name of course * @...
mit
gchauras/Halide
src/RDom.cpp
8892
#include "RDom.h" #include "Util.h" #include "IROperator.h" #include "IRPrinter.h" namespace Halide { using namespace Internal; using std::string; using std::vector; RVar::operator Expr() const { if (!min().defined() || !extent().defined()) { user_error << "Use of undefined RDom dimension: " << ...
mit
seqs/webpack-boilerplate
README.md
981
# webpack-boilerplate Simple production-ready boilerplate for [Webpack](http://webpack.github.io/) (CoffeeScript and HTML) ## Features * compiles your scripts, templates, styles * lints them * wraps the scripts and templates in common.js / AMD modules * concatenates scripts and styles * generates source maps for con...
mit
the-james-burton/atacama
src/app/components/widgets/indicator/indicator.directive.js
689
(function () { 'use strict'; angular.module('atacamaApp').directive('atacamaIndicator', indicatorDirective); function indicatorDirective() { return { templateUrl: 'app/components/widgets/indicator/indicator.html', link: linkFunc, controller: 'IndicatorWidgetController', controllerAs...
mit
yash101/Activity-Manager
DAF/Configuration.h
1485
/* * Configuration.h * * Created on: Nov 25, 2015 * Author: yash */ #ifndef CONFIGURATION_H_ #define CONFIGURATION_H_ #include <string> #include <vector> #include <map> #include <mutex> namespace daf { class Config { private: std::string FileLocation; std::mutex Lock; std::map<std::string,...
mit
gpinterface/blog-antigo
sobre.md
2433
--- layout: page permalink: /sobre/index.html title: Interface tags: [Interface, Pesquisa, Filosofia, Cultura] imagefeature: fourseasons.jpg chart: true --- <figure> <img src="{{ site.url }}/images/profile.png" alt="The Immortal"> <figcaption><a href="http://www.nickgentry.com/the-immortal/" target="_blank">The Imm...
mit
shirshendu/kine_type
public/editor/bundles/app/strut.editor/CustomBgStylesheet.js
957
define(['tantaman/web/css_manip/CssManip'], function(CassManip) { var el = CassManip.getStyleElem({ id: 'customBackgrounds', create: true }); /** * This is essentially a view class that * render the stylesheet of background classes whenever * new background classes are created. * * @param {EditorModel...
mit
AJIXuMuK/sp-dev-fx-webparts
samples/react-Edit-ApplicationCustomizer/src/webparts/applicationCustomizers/service/ApplicationCustomizersService.ts
1722
import { sp } from "@pnp/sp"; import "@pnp/sp/webs"; import "@pnp/sp/user-custom-actions"; import { ISearchQuery } from "@pnp/sp/search"; import { Web } from "@pnp/sp/webs"; export default class ApplicationCustomizersService { /** * fetchAllApplictionCustomizers */ public fetchAllApplictionCustomiz...
mit
guileschool/BEAGLEBONE-tutorials
BBB-firmware/u-boot-v2018.05-rc2/drivers/mmc/s5p_sdhci.c
6778
/* * (C) Copyright 2012 SAMSUNG Electronics * Jaehoon Chung <jh80.chung@samsung.com> * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <dm.h> #include <malloc.h> #include <sdhci.h> #include <fdtdec.h> #include <linux/libfdt.h> #include <asm/gpio.h> #include <asm/arch/mmc.h> #include <asm/arch/...
mit
Mingling94/Sia
modules/host/upload_test.go
12230
package host import ( "errors" "io/ioutil" "path/filepath" "testing" "time" "github.com/NebulousLabs/Sia/crypto" "github.com/NebulousLabs/Sia/modules" "github.com/NebulousLabs/Sia/modules/renter" "github.com/NebulousLabs/Sia/types" ) const ( testUploadDuration = 20 // Duration in blocks of a standard uploa...
mit
angular/angular-cli-stress-test
src/app/components/comp-624/comp-624.component.spec.ts
840
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { Comp624Component } from './comp-...
mit
lmurmann/hellogl
hellogl/glprogram.cpp
1692
#include "glprogram.h" #include <gl/gl3w.h> #include <cstdio> bool compileStatus(GLuint shader) { int ret; glGetShaderiv(shader, GL_COMPILE_STATUS, &ret); return ret; } bool linkStatus(GLuint program) { int ret; glGetProgramiv(program, GL_LINK_STATUS, &ret); return ret; } bool compileShader(GLuint handle, GLenu...
mit
fwalch/imlab
gen/orderline.cpp
3313
#include <climits> #include <cstdlib> #include <cstring> #include "orderline.h" #include "../src/schema/conversion.h" using namespace std; void OrderlineStore::add(string elements[10]) { add_instance(atoi(elements[0].c_str()), atoi(elements[1].c_str()), atoi(elements[2].c_str()), atoi(elements[3].c_str(...
mit
tecsoft/code-reaction
WebApp/App_Start/WebApiConfig.cs
642
using Microsoft.Owin.Security.OAuth; using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; namespace CodeReaction.Web { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Configure Web API t...
mit
Valve/emarsys-broadcast-ruby
spec/email_spec.rb
416
require 'spec_helper' describe Emarsys::Broadcast::Email do it 'should validate valid email' do expect(Emarsys::Broadcast::Email::validate 'winston.smith-1984@big.brother.ru').to be_truthy expect(Emarsys::Broadcast::Email::validate 'abc@example.com').to be_truthy end it 'should not validate invalid email...
mit
esscbee/thats-life
life.html
13757
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>That's Life</title> <style> body { margin: 0; background-color: #f0f0f0; } canvas { width: 100%; height: 100% } #ex1Slider .slider-selection { background: #009900; } #ex1Slider { margin-le...
mit
mromrell/quotadeck-frontend
public/partials/js/main.js
3100
var dp = jQuery; dp.noConflict(); dp(document).ready(function() { //SMOOTH SCROLL dp('a[href^="#"]').bind('click.smoothscroll', function(e) { e.preventDefault(); dp('html,body').animate({ scrollTop: dp(this.hash).offset().top }, 1200); }); //SUPER SLIDES // dp('...
mit
BuzzAcademy/idioms-moe-unformatted-data
all-data/0-999/47-32.html
2177
<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="layoutclass_pic"><div class="layoutclass_first_pic"><table class="ztable"><tr><th class="ztd1"><b>...
mit
Alavifuentes/conectate
sdkphp/index.php
3096
<?php require "header.php"; require "menu.php"; session_start(); require "config.php"; require_once __DIR__ . '/src/Facebook/autoload.php'; $fb = new Facebook\Facebook([ 'app_id' => APP_ID, 'app_secret' => APP_SECRET, 'default_graph_version' => APP_VERSION ]); $helper = $fb->getRedirectLoginHelper(); $...
mit
propelorm/Propel3
tests/Generator/Migration/ForeignKeyTest.php
4945
<?php namespace Propel\Tests\Generator\Migration; /** * @group database */ class ForeignKeyTest extends MigrationTestCase { public function testAdd() { $originXml = ' <database> <entity name="migration_test_6"> <field name="id" type="integer" primaryKey="true" autoIncrement="true" /> ...
mit
theintz/PHP-Daemon
src/PhpDaemon/Plugin/Server.php
8663
<?php namespace Theintz\PhpDaemon\Plugin; use Theintz\PhpDaemon\Daemon; use Theintz\PhpDaemon\Exception; use Theintz\PhpDaemon\IPlugin; use Theintz\PhpDaemon\Lib\Command; /** * Create a simple socket server. * Supply an IP and Port for incoming connections. Add any number of Command objects to parse client input. ...
mit
render2k/litecoinclassic
src/qt/bitcoinunits.cpp
4375
#include "bitcoinunits.h" #include <QStringList> BitcoinUnits::BitcoinUnits(QObject *parent): QAbstractListModel(parent), unitlist(availableUnits()) { } QList<BitcoinUnits::Unit> BitcoinUnits::availableUnits() { QList<BitcoinUnits::Unit> unitlist; unitlist.append(BTC); unitlist.append(mBT...
mit
agileobjects/AgileMapper
AgileMapper/Api/Configuration/Projection/IProjectionConfigContinuation.cs
1199
namespace AgileObjects.AgileMapper.Api.Configuration.Projection { /// <summary> /// Enables chaining of configurations for the same source and result type. /// </summary> /// <typeparam name="TSourceElement">The source type to which the configuration should apply.</typeparam> /// <typeparam name="T...
mit
lishen2/Excel_formula_parser_cpp
StrUtils.h
858
#include <string> #include <vector> using std::string; using std::vector; // StrUtil class class StrUtils { public: /**Function used to trim empty character * from begin and end of the string * @param string& string to trim * @return string& trimed tring, same object of parameter */ static string tri...
mit
ilse-macias/SeleniumSetup
SetupEnviroment/Application.cs
397
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SetupEnviroment { class Application { public static void Main(string[] args) { NameSelector.DoExample(); //IdSelector.Main(); //No...
mit
rorogarcete/FacuSisWeb
doc/api/ActionController/Head.html
62199
<!DOCTYPE html> <html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> <title>module ActionController::Head - Rails Framework Documentation</title> <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet"> <script type="text/javascript"> var rdoc_rel_prefix = "../"; </sc...
mit
helmuttheis/hmsspx
hmssp/SP.gen/Implementationnotes.cs
4804
/* ********************************************************************************************************** * The MIT License (MIT) * * * * Copyright (c) 2016 Hypermediasystems Ges. f. Software mbH * * Web: http://www.hypermediasystems.de * ...
mit
holmes2136/ShopCart
Components/SearchFilterNew.ascx.cs
18341
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Web.UI; using System.Web.UI.WebControls; using Vevo; using Vevo.Domain.DataInterfaces; using Vevo.Shared.Utilities; using Vevo.WebAppLib; using Vevo.Base.Domain; public partial class Components_SearchFilterNew : Vevo.Web...
mit
begeekmyfriend/leetcode
0041_first_missing_positive/missing_positive.c
989
#include <stdio.h> #include <stdlib.h> static inline void swap(int *a, int *b) { int tmp = *a; *a = *b; *b = tmp; } static int firstMissingPositive(int* nums, int numsSize) { if (numsSize == 0) { return 1; } int i = 0; while (i < numsSize) { /* nums[i] should be i+1 and nu...
mit
eeemarv/eeemarv
src/Eeemarv/EeemarvBundle/Command/MailCommand.php
3016
<?php namespace Eeemarv\EeemarvBundle\Command; use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface;...
mit
dherges/aem-sling-contrib
content/bootstrap/src/main/content/jcr_root/etc/clientlibs/bootstrap/vendor/jquery/src/deferred.js
4564
/* * aem-sling-contrib * https://github.com/dherges/aem-sling-contrib * * Copyright (c) 2016 David Herges * Licensed under the MIT license. */ define([ "./core", "./var/slice", "./callbacks" ], function( jQuery, slice ) { jQuery.extend({ Deferred: function( func ) { var tuples = [ // action, add list...
mit
arnabdas/yam-in
src/app/views/people.tsx
375
/// <reference path="../../../typings/index.d.ts" /> import * as React from 'react'; import * as ReactDOM from 'react-dom'; import { UserList } from '../components/users'; export class People extends React.Component<{}, {}> { render () { return ( <div className="row"> <div id="content"> ...
mit
ombt/ombt
jssrc/nodebeginner/server/ver4/server.js
421
var http = require("http"); var url = require("url"); function start(route, handle) { function onRequest(request, response) { var pathname = url.parse(request.url).pathname; console.log("Request for " + pathname + " received."); route(handle, pathname, response); } http.crea...
mit
dandeliondeathray/DandelionSlack.jl
test/rtm_test.jl
15967
using DandelionWebSockets import JSON import Base.== import DandelionSlack: on_event, on_reply, on_error, on_connect, on_disconnect, EventTimestamp, RTMWebSocket, send_text, stop, RTMClient, makerequest, wsconnect, HttpException import DandelionWebSockets: @mock, @mockfunc...
mit
NorthernRealities/Rainbow-ObjC
UIColor+Rainbow.h
799634
// // UIColor+Rainbow.h // Rainbow UIColor Extension // // Created by Reid Gravelle on 2015-03-28. // Copyright (c) 2015 Northern Realities Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Softwa...
mit
AlcyZ/Alcys-ORM
src/Core/Db/Facade/UpdateFacade.php
7554
<?php /** * Copyright (c) 2015 Tobias Schindler * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, me...
mit
rishii7/vscode
src/vs/workbench/services/files/test/electron-browser/watcher.test.ts
8460
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
mit
jjenki11/blaze-chem-rendering
qca_designer/lib/pnetlib-0.8.0/Xsharp/Events/XPropertyEvent.cs
1970
/* * XPropertyEvent.cs - Definitions for X event structures. * * Copyright (C) 2002, 2003 Southern Storm Software, Pty Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either versi...
mit