code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
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...
ShipHawk/shiphawk-ruby
lib/shiphawk/api/shipments_status.rb
Ruby
mit
342
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) { ...
crossroads-education/eta-office
static/js/profile.ts
TypeScript
mit
2,030
// 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...
uber-go/dosa
cmd/dosa/query_test.go
GO
mit
6,402
# MUSCA a flyweight CA ## Installation
ryanbreed/musca
README.md
Markdown
mit
42
<?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. // //...
SemmLille/filter_podlille1
version.php
PHP
mit
1,422
<?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> ...
mayursn/lms_hmvc_live
application/modules/exam/views/addinternal.php
PHP
mit
10,084
![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...
mentalfaculty/impeller
README.md
Markdown
mit
20,151
<?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...
augwa/quickbooks-php-sdk
src/Model/MasterAccountModel.php
PHP
mit
1,145
/** * Entry point for CSS. */ .foo { color: black; }
yoshuawuyts/frontend-server
index.css
CSS
mit
58
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,...
gisele-tool/gisele-vm
spec/unit/compiling/gisele2gts/test_on_task_def.rb
Ruby
mit
1,476
// 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|"; }
karim/adila
database/src/main/java/adila/db/zeppelin_mb501.java
Java
mit
217
#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 < ...
lusocoin/lusocoin
src/src/qt/transactiondesc.cpp
C++
mit
11,484
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}...
mattbillenstein/ve
pkgs/available/libevent.sh
Shell
mit
409
<?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...
rawswift/orinoco-framework-php
lib/Orinoco/Framework/View.php
PHP
mit
9,496
/* ========================================================================== Table of Contents ========================================================================== */ /* 0. Normalize 1. Icons 2. General 3. Utilities 4. General 5. Single Post 6. Tag Archive 7. Third...
DFieldFL/DFieldFL.github.io
assets/css/screen.css
CSS
mit
37,056
<?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...
pavel-voronin/Itty-Bitty-RSS
app/Http/Requests/RegisterRequest.php
PHP
mit
451
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...
mokonzi131/gatech-colorwar
CS 2340 Agent Simulation/src/util/ObjectCloner.java
Java
mit
1,184
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...
vivekprocoder/teaching
java/lecture 14/ListFonts.java
Java
mit
336
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...
layabox/layaair
src/layaAir/laya/net/Socket.ts
TypeScript
mit
10,026
'use strict'; module.exports = require('./is-implemented')() ? Array.prototype.concat : require('./shim');
runningfun/angular_project
node_modules/bower/node_modules/inquirer/node_modules/cli-color/node_modules/es5-ext/array/#/concat/index.js
JavaScript
mit
112
#!/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...
mapzen-data/targeted-editing
scripts/import_db.sh
Shell
mit
2,564
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...
pshrmn/curi
website/src/pages/Guides/apollo.js
JavaScript
mit
10,462
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...
raldred/active_merchant
lib/active_merchant/billing/gateway.rb
Ruby
mit
6,376
# cool (Deprecated) **※作成時期が古く、整理もしていないので非推奨です※** 2013年に作成したJava SE 7向けライブラリ。メンテナンス予定は無し。 ###util Java SE 7向けPOJOライブラリ。 コレクション、数値計算等。 ###io Zip4jを用いたファイル操作ライブラリ。 ディレクトリと暗号化Zipファイルを透過的に扱う。 ###framework Java SE 7向けPOJOゲームライブラリ。 (入力の受け取り方法は抽象化した上で)入力結果の処理等。 ###jsfml JSFMLに依存するゲームライブラリ。 JSFMLを直接扱うユーティリティや、2Dシ...
t-kgd/library-cool
README.md
Markdown
mit
698
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) { ...
ac9831/StudyProject-Asp.Net
DevDataControl/DevDataControl/FrmObjectDataSource.aspx.cs
C#
mit
332
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 ...
ainame/may
lib/may/templator.rb
Ruby
mit
865
# RGPlaceholderTextView Subclass of UITextView which you can set Placeholder.
raykle/RGPlaceholderTextView
README.md
Markdown
mit
78
/** * 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...
rstacruz/dom101
before.js
JavaScript
mit
492
<? $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; } ...
aaron-lebo/kodefund
resources/public/foundation3/marketing/grid-example3.php
PHP
mit
2,446
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...
OpenBazaar/spvwallet
vendor/github.com/asticode/go-astilog/configuration.go
GO
mit
1,282
<?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...
laposta/laposta-api-php
examples/field/get.php
PHP
mit
520
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...
neffbirkley/o
thomaswooster/src/components/Projects.js
JavaScript
mit
697
(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...
dxw/fourth-wall-for-gitlab
javascript/config-form.js
JavaScript
mit
1,883
<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-...
GetTerminus/terminus-ui
projects/library/autocomplete/src/autocomplete.component.html
HTML
mit
2,717
"use strict"; ace.define("ace/snippets/golang", ["require", "exports", "module"], function (require, exports, module) { "use strict"; exports.snippetText = undefined; exports.scope = "golang"; });
IonicaBizau/arc-assembler
clients/ace-builds/src-noconflict/snippets/golang.js
JavaScript
mit
204
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],...
Aapzu/aapzu.xyz
config/characters.js
JavaScript
mit
4,761
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...
zooba/vsts-python-tasks
UploadPackage/UploadPackage.ps1
PowerShell
mit
1,545
<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>
epikcraw/ggool
public/Windows 10 x64 (19041.208) 2004/_VF_AVL_TREE_NODE_EX.html
HTML
mit
263
--- 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...
anarute/dicasdefrontend
content/post/dica-1.md
Markdown
mit
2,553
/* * 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...
ReneHerthel/ConveyorBelt
src/ISR/Signals.h
C
mit
1,925
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...
christianp/nulpoints
style.css
CSS
mit
2,943
<?php /* * This file is part of Composer. * * (c) Nils Adermann <[email protected]> * Jordi Boggiano <[email protected]> * * 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; ...
kocsismate/composer
src/Composer/Plugin/PluginManager.php
PHP
mit
9,901
export default { modules: require('glob!./glob.txt'), options: { name: 'Comment', }, info: true, utils: {}, };
sb-Milky-Way/Comment
.storybook/params.js
JavaScript
mit
125
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...
space-wizards/space-station-14
Content.Server/Lock/LockComponent.cs
C#
mit
986
// 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...
mac10688/FFXIVRaidScheduler
RaidScheduler.Domain/DomainServices/PartyMaker/Combinatorics/IMetaCollection.cs
C#
mit
1,512
using DragonSpark.Model.Results; namespace DragonSpark.Application.Security.Identity; public interface IUsers<T> : IResult<UsersSession<T>> where T : class {}
DragonSpark/Framework
DragonSpark.Application/Security/Identity/IUsers.cs
C#
mit
163
#!/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...
generationtux/cufflink
src/cufflink.js
JavaScript
mit
434
+++ 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...
jfrazelle/blog
content/post/trust-and-integrity.md
Markdown
mit
4,003
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...
Techwraith/hbs-dir
index.js
JavaScript
mit
642
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>*...
alihaluk/swe573main
src/boun/swe573/accessbadger/ABHelloWorld.java
Java
mit
393
/////////////////////////////////////////////////////////////////////////// // // 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...
atkvo/masters-bot
src/autobot/src/zed_wrapper_nodelet.cpp
C++
mit
37,455
# 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...
MindLeaps/tracker
spec/factories/tags.rb
Ruby
mit
590
<!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...
PacemakerConf/site
doc/AddPhotoToSpeakerViaPaperclip.html
HTML
mit
4,827
#!/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...
michal-fre/refugee-phrasebook.github.io
bash-scripts-for-pdf-generation/scripts/06_replace_tabulator_with_ampersand_MAC.sh
Shell
mit
736
<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>
newworldcode/freemailr
frontend/elements/email-reader/email-reader.html
HTML
mit
236
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');
mas178/Fragments
hajiboot/src/main/resources/db/migration/V2__import-initial-data.sql
SQL
mit
301
#!/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...
dcondrey/scrapy-spiders
dist/spiders/newenglandfilm.py
Python
mit
1,625
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...
matt-harvey/tabulo
lib/tabulo/util.rb
Ruby
mit
1,017
<?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, ...
albertyw/6.470
src/process/profilefavchange.php
PHP
mit
1,615
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. : ...
slicedev/slice-node
lib/requests.js
JavaScript
mit
3,323
<?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...
sasedev/commons-shared-bundle
src/Sasedev/Commons/SharedBundle/HtmlModel/Tags/Script.php
PHP
mit
1,621
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*)[$\...
brianp/muxedsnapshot
src/tmux/window.rs
Rust
mit
5,264
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 * @...
Eric-Carlton/GradeBook
GradeBook/src/gradebookdata/Course.java
Java
mit
1,062
#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: " << ...
gchauras/Halide
src/RDom.cpp
C++
mit
8,892
# 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...
seqs/webpack-boilerplate
README.md
Markdown
mit
981
(function () { 'use strict'; angular.module('atacamaApp').directive('atacamaIndicator', indicatorDirective); function indicatorDirective() { return { templateUrl: 'app/components/widgets/indicator/indicator.html', link: linkFunc, controller: 'IndicatorWidgetController', controllerAs...
the-james-burton/atacama
src/app/components/widgets/indicator/indicator.directive.js
JavaScript
mit
689
/* * 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,...
yash101/Activity-Manager
DAF/Configuration.h
C
mit
1,485
--- 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...
gpinterface/blog-antigo
sobre.md
Markdown
mit
2,433
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...
shirshendu/kine_type
public/editor/bundles/app/strut.editor/CustomBgStylesheet.js
JavaScript
mit
957
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...
AJIXuMuK/sp-dev-fx-webparts
samples/react-Edit-ApplicationCustomizer/src/webparts/applicationCustomizers/service/ApplicationCustomizersService.ts
TypeScript
mit
1,722
/* * (C) Copyright 2012 SAMSUNG Electronics * Jaehoon Chung <[email protected]> * * 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/...
guileschool/BEAGLEBONE-tutorials
BBB-firmware/u-boot-v2018.05-rc2/drivers/mmc/s5p_sdhci.c
C
mit
6,778
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...
Mingling94/Sia
modules/host/upload_test.go
GO
mit
12,230
/** * @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-...
angular/angular-cli-stress-test
src/app/components/comp-624/comp-624.component.spec.ts
TypeScript
mit
840
#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...
lmurmann/hellogl
hellogl/glprogram.cpp
C++
mit
1,692
#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(...
fwalch/imlab
gen/orderline.cpp
C++
mit
3,313
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...
tecsoft/code-reaction
WebApp/App_Start/WebApiConfig.cs
C#
mit
642
require 'spec_helper' describe Emarsys::Broadcast::Email do it 'should validate valid email' do expect(Emarsys::Broadcast::Email::validate '[email protected]').to be_truthy expect(Emarsys::Broadcast::Email::validate '[email protected]').to be_truthy end it 'should not validate invalid email...
Valve/emarsys-broadcast-ruby
spec/email_spec.rb
Ruby
mit
416
<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...
esscbee/thats-life
life.html
HTML
mit
13,757
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('...
mromrell/quotadeck-frontend
public/partials/js/main.js
JavaScript
mit
3,100
<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>...
BuzzAcademy/idioms-moe-unformatted-data
all-data/0-999/47-32.html
HTML
mit
2,177
<?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(); $...
Alavifuentes/conectate
sdkphp/index.php
PHP
mit
3,096
<?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" /> ...
propelorm/Propel3
tests/Generator/Migration/ForeignKeyTest.php
PHP
mit
4,945
<?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. ...
theintz/PHP-Daemon
src/PhpDaemon/Plugin/Server.php
PHP
mit
8,663
#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...
render2k/litecoinclassic
src/qt/bitcoinunits.cpp
C++
mit
4,375
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...
agileobjects/AgileMapper
AgileMapper/Api/Configuration/Projection/IProjectionConfigContinuation.cs
C#
mit
1,199
#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...
lishen2/Excel_formula_parser_cpp
StrUtils.h
C
mit
858
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...
ilse-macias/SeleniumSetup
SetupEnviroment/Application.cs
C#
mit
397
<!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...
rorogarcete/FacuSisWeb
doc/api/ActionController/Head.html
HTML
mit
62,199
/* ********************************************************************************************************** * The MIT License (MIT) * * * * Copyright (c) 2016 Hypermediasystems Ges. f. Software mbH * * Web: http://www.hypermediasystems.de * ...
helmuttheis/hmsspx
hmssp/SP.gen/Implementationnotes.cs
C#
mit
4,804
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...
holmes2136/ShopCart
Components/SearchFilterNew.ascx.cs
C#
mit
18,341
#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...
begeekmyfriend/leetcode
0041_first_missing_positive/missing_positive.c
C
mit
989
<?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;...
eeemarv/eeemarv
src/Eeemarv/EeemarvBundle/Command/MailCommand.php
PHP
mit
3,016
/* * 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...
dherges/aem-sling-contrib
content/bootstrap/src/main/content/jcr_root/etc/clientlibs/bootstrap/vendor/jquery/src/deferred.js
JavaScript
mit
4,564
/// <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"> ...
arnabdas/yam-in
src/app/views/people.tsx
TypeScript
mit
375
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...
ombt/ombt
jssrc/nodebeginner/server/ver4/server.js
JavaScript
mit
421
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...
dandeliondeathray/DandelionSlack.jl
test/rtm_test.jl
Julia
mit
15,967
// // 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...
NorthernRealities/Rainbow-ObjC
UIColor+Rainbow.h
C
mit
799,634
<?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...
AlcyZ/Alcys-ORM
src/Core/Db/Facade/UpdateFacade.php
PHP
mit
7,554
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
rishii7/vscode
src/vs/workbench/services/files/test/electron-browser/watcher.test.ts
TypeScript
mit
8,460
/* * 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...
jjenki11/blaze-chem-rendering
qca_designer/lib/pnetlib-0.8.0/Xsharp/Events/XPropertyEvent.cs
C#
mit
1,970