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
#!/bin/bash -ex cd "$(dirname "$0")" docker run --rm \ -v "$PWD/.:/work" \ -w "/work" \ ruby:2.5 bash -ec " gem install -N parse_a_changelog parse ./CHANGELOG.md "
conjurinc/summon-chefapi
parse-changelog.sh
Shell
mit
183
<!DOCTYPE html> <html> <head> <title></title> <meta name="description" content="" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> <script type="text/javascript" src="../../../core/uni.js"></script> <script t...
sandro-pasquali/Uni-Framework
uni/demos/kits/xhr/get.html
HTML
mit
917
<template name="loading"> <div class="ui active inline loader"></div> </template>
lackerman/meteor-semanticui-base
client/templates/includes/loading.html
HTML
mit
83
require File.expand_path('../boot', __FILE__) # Pick the frameworks you want: require "active_model/railtie" require "active_record/railtie" require "action_controller/railtie" require "action_mailer/railtie" require "action_view/railtie" require "sprockets/railtie" # require "rails/test_unit/railtie" # Require the g...
amjacobowitz/classroom-library
classroom-library/config/application.rb
Ruby
mit
1,224
/* * Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved. * * 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 ri...
L0g1k/quickfire-old
src/extensibility/node/spec/Installation.spec.js
JavaScript
mit
10,734
'------------------------------------------------------------------------------ ' <auto-generated> ' This code was generated by a tool. ' Runtime Version:2.0.50727.1433 ' ' Changes to this file may cause incorrect behavior and will be lost if ' the code is regenerated. ' </auto-generated> '------------...
pmprog/pmScript
pmDebug/My Project/Settings.Designer.vb
Visual Basic
mit
2,900
#include "stdafx.h" #include "Renderer.h" #include "RenderMethod_PhongPoint_CG.h" RenderMethod_PhongPoint_CG::RenderMethod_PhongPoint_CG(class Renderer *r) { ASSERT(r, "Null pointer: r"); renderer = r; useCG = true; } bool RenderMethod_PhongPoint_CG::isSupported() const { return areShadersAvailable(); ...
foxostro/CheeseTesseract
src/RenderMethod_PhongPoint_CG.cpp
C++
mit
3,567
#ifndef _SYSAPPDB_SYSAPPDBHELPER_H_ #define _SYSAPPDB_SYSAPPDBHELPER_H_ #include <vector> #include <map> #include <string> #include "sqlite3.h" std::vector<std::string> read_text_file(std::string path); std::vector<std::string> split_str(std::string src, char c); std::string join_str(std::vector<std::string> strings,...
Silveryard/Car_System
Car/LibSysAppDB/SysAppDBHelper.h
C
mit
737
class AddOriginalMd5ChecksumToVideos < ActiveRecord::Migration def change add_column :videos, :original_md5_checksum, :string, :limit => 40 end end
pr0d1r2/myvod
db/migrate/20130824090308_add_original_md5_checksum_to_videos.rb
Ruby
mit
156
function SendMessage(a_Player, a_Message) a_Player:SendMessageInfo(a_Message) end function SendMessageSuccess(a_Player, a_Message) a_Player:SendMessageSuccess(a_Message) end function SendMessageFailure(a_Player, a_Message) a_Player:SendMessageFailure(a_Message) end --- Kicks a player by name, with the specified r...
135yshr/Holocraft-server
world/Plugins/Core/functions.lua
Lua
mit
5,438
import ReactIdSwiper from './ReactIdSwiper'; // Types export { ReactIdSwiperProps, ReactIdSwiperRenderProps, SelectableElement, SwiperInstance, WrappedElementType, ReactIdSwiperChildren, SwiperModuleName, SwiperRefNode } from './types'; // React-id-swiper export default ReactIdSwiper;
kidjp85/react-id-swiper
src/index.ts
TypeScript
mit
304
# -*- coding: utf-8 -*- # @Author: karthik # @Date: 2016-12-10 21:40:07 # @Last Modified by: chandan # @Last Modified time: 2016-12-11 12:55:27 from models.portfolio import Portfolio from models.company import Company from models.position import Position import tenjin from tenjin.helpers import * import wikipedia...
coders-creed/botathon
src/info/fetch_info.py
Python
mit
2,889
using System; using System.Collections.Generic; using System.Html; namespace wwtlib { public class PlotTile : Tile { bool topDown = true; protected PositionTexture[] bounds; protected bool backslash = false; List<PositionTexture> vertexList = null; List<Triangle>[] chi...
juoni/wwt-web-client
HTML5SDK/wwtlib/PlotTile.cs
C#
mit
11,749
<?php /** * This file is part of the browscap-json-cache package. * * (c) Thomas Mueller <mimmi20@live.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types = 1); namespace Browscap\Cache; use BrowscapPHP\Cache...
mimmi20/browscap-json-cache
src/JsonCache.php
PHP
mit
5,684
(function () { "use strict"; require('futures/forEachAsync'); var fs = require('fs'), crypto = require('crypto'), path = require('path'), exec = require('child_process').exec, mime = require('mime'), FileStat = require('filestat'), dbaccess = require('../dbaccess'), utils = require('../utils'), has...
beatgammit/node-filesync
server/lib/routes/upload.js
JavaScript
mit
3,981
#!/usr/bin/python from typing import List, Optional """ 16. 3Sum Closest https://leetcode.com/problems/3sum-closest/ """ def bsearch(nums, left, right, res, i, j, target): while left <= right: middle = (left + right) // 2 candidate = nums[i] + nums[j] + nums[middle] if res is None or ab...
pisskidney/leetcode
medium/16.py
Python
mit
1,070
package bits; /** * Created by krzysztofkaczor on 3/10/15. */ public class ExclusiveOrOperator implements BinaryOperator { @Override public BitArray combine(BitArray operand1, BitArray operand2) { if(operand1.size() != operand2.size()) { throw new IllegalArgumentException("ExclusiveOrOper...
krzkaczor/IDEA
src/main/java/bits/ExclusiveOrOperator.java
Java
mit
651
--- layout: post title: "Using the right terms: Method?" date: 2015-08-05 12:00:00 comments: true tags: [components, programming, components programming, componentsprogramming, stepanov, knuth, stroustrup, generic, genericprogramming, generic programming, genericity, concepts, math, mathematics, elements, eop, contr...
fpelliccioni/fpelliccioni.github.io
_posts_temp/2015-08-05-using-the-right-terms-method.md
Markdown
mit
17,362
/*"use strict"; var expect = require("expect.js"), ShellController = require("../lib/shell-controller"), testView = require("./test-shell-view"); describe("ShellController", function() { var ctrl; it("is defined", function() { expect(ShellController).to.be.an("function"); }); describe("constructor", functi...
parroit/shell-js
test/shell-controller_test.js
JavaScript
mit
1,229
var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); // Database var mongo = require('mongodb'); var monk = require('monk'); var db = monk('localhost:270...
imRishabhGupta/smart-kart
app.js
JavaScript
mit
1,740
# Smallest Integer # I worked on this challenge [by myself, with: ]. # smallest_integer is a method that takes an array of integers as its input # and returns the smallest integer in the array # # +list_of_nums+ is an array of integers # smallest_integer(list_of_nums) should return the smallest integer in +list_of_nu...
NoahHeinrich/phase-0
week-4/smallest-integer/my_solution.rb
Ruby
mit
548
FactoryGirl.define do factory :user do provider 'trello' uid 'trello-special-uid' full_name 'Dennis Martinez' nickname 'dennmart' oauth_token 'trello-token' trait :admin do admin true end end end
dennmart/echo_for_trello
spec/factories/users.rb
Ruby
mit
235
<!DOCTYPE html> <html lang="en" ng-app="bookmarkApp"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Bookmark</title> <link type="text/css" href="app/bootstrap/css/bootstrap.min.css" rel="stylesheet"> <link typ...
AccelNA/ng-aws-dynamo
index.html
HTML
mit
2,164
from multiprocessing import Pool import os, time, random def long_time_task(name): print 'Run task %s (%s)...' % (name, os.getpid()) start = time.time() time.sleep(random.random() * 3) end = time.time() print 'Task %s runs %0.2f seconds.' % (name, (end - start)) if __name__ == '__main__': p...
Jayin/practice_on_py
Process&Thread/PoolTest.py
Python
mit
1,094
package net.comfreeze.lib; import android.app.AlarmManager; import android.app.Application; import android.app.NotificationManager; import android.content.ComponentName; import android.content.Context; import android.content.SharedPreferences; import android.content.pm.PackageInfo; import android.content.pm.PackageMan...
comfreeze/android-tools
CFZLib/src/main/java/net/comfreeze/lib/CFZApplication.java
Java
mit
8,991
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "WFBTLEServiceProcessor.h" @class NSData, WFNordicDFUControlPointCh, WFNordicDFUPacketCh; @interface WFBTLENordicDFUService : WFBTLEServiceProcessor { id <WFNordicDFUD...
JChanceHud/GearIndicator
Fitness/WFBTLENordicDFUService.h
C
mit
2,091
/** * @author yomboprime https://github.com/yomboprime * * GPUComputationRenderer, based on SimulationRenderer by zz85 * * The GPUComputationRenderer uses the concept of variables. These variables are RGBA float textures that hold 4 floats * for each compute element (texel) * * Each variable has a fragment shad...
ChenJiaH/chenjiah.github.io
js/GPUComputationRenderer.js
JavaScript
mit
10,733
package com.example.mesh; import java.util.HashMap; import java.util.Map; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.QueryParam; import javax.ws.rs.core.MediaType; @Path("/") @Cons...
Aldaviva/relay-mesh-example-java
src/main/java/com/example/mesh/EndpointControlResource.java
Java
mit
4,452
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/types.h> #include <pthread.h> #include <errno.h> #include "semaphore.h" typedef struct lock { Semaphore *sem; } Lock; Lock *make_lock () { Lock *lock = (Lock *) malloc (sizeof(Lock)); lock->sem = make_semaphore(1); return lock; } void l...
AllenDowney/ExercisesInC
examples/lock/semlock.c
C
mit
445
<section id="main"> <a href="./#/mocks"><- Back to mocks list</a> <nav id="secondary" class="main-nav"> <div class="mock-picture"> <div class="avatar"> <img ng-show="mock" src="img/mocks/{{mock.Mock.mockId}}.png" /> <img ng-show="mock" src="img/flags/{{mock.Mock.nationality}}.png" /><br/> ...
yonred/MockApp
app/partials/result.html
HTML
mit
1,318
/*jshint node:true*/ /*global test, suite, setup, teardown*/ 'use strict'; var assert = require('assert'); var tika = require('../'); suite('document tests', function() { test('detect txt content-type', function(done) { tika.type('test/data/file.txt', function(err, contentType) { assert.ifError(err); assert...
ICIJ/node-tika
test/tika.js
JavaScript
mit
14,883
--- title: Workshop Title layout: workshop --- # Introduction to REDCap -------- --------- Please have a REDCap account if you want to follow along. - **REDCap**: [login here](https://edc.camhx.ca/redcap/) --------- ***Demographics Form*** - Record ID - Date of assessment - Initials - DOB ...
CAMH-SCWG/compucool-oct-2016
workshops/redcap.md
Markdown
mit
1,411
<html> <head> <title>im a title</title> <META http-equiv='x-ua-compatible' content="IE=edge,chrome=1" /> <script> junk </script> </head> <body>im some body text</body> </html>
jinutm/silvfinal
vendor/bundle/ruby/2.1.0/gems/newrelic_rpm-3.6.9.171/test/rum/x_ua_meta_tag_with_spaces.source.html
HTML
mit
209
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>React Webpack Boilerplate</title> </head> <body> <div id="root"></div> <script src="/bundle.js"></script> </body> </html>
Lando-L/react-webpack-boilerplate
dist/index.html
HTML
mit
207
<?php namespace Screeenly\Screenshot; /** * Interface description. * * @author Stefan Zweifel */ interface ClientInterface { /** * Method description. * * @author Stefan Zweifel * * @param type $parameter * * @return type */ public function build(); public fu...
imdanshraaj/screeenly
app/Screenshot/ClientInterface.php
PHP
mit
362
// cpu/test/unique-strings.cpp -*-C++-*- // ---------------------------------------------------------------------------- // Copyright (C) 2015 Dietmar Kuehl http://www.dietmar-kuehl.de // // Permissi...
dietmarkuehl/cputube
cpu/test/unique-strings.cpp
C++
mit
10,438
#!/usr/bin/env bash PIDFILE="$HOME/.brianbondy_nodejs.pid" if [ -e "${PIDFILE}" ] && (ps -u $USER -f | grep "[ ]$(cat ${PIDFILE})[ ]"); then echo "Already running." exit 99 fi PATH=/home/tweetpig/webapps/brianbondy_node/bin:$PATH LD_LIBRARY_PATH=/home/tweetpig/lib/libgif NODE_ENV=production PORT=32757 /home/twee...
bbondy/brianbondy.node
webfaction/watchdog.sh
Shell
mit
545
/* * Encog(tm) Core v3.1 - Java Version * http://www.heatonresearch.com/encog/ * http://code.google.com/p/encog-java/ * Copyright 2008-2012 Heaton Research, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obt...
larhoy/SentimentProjectV2
SentimentAnalysisV2/encog-core-3.1.0/src/main/java/org/encog/plugin/system/SystemTrainingPlugin.java
Java
mit
7,358
# Strict Mode To enable strict mode, simply pass in `strict: true` when creating a Vuex store: ```js const store = createStore({ // ... strict: true }) ``` In strict mode, whenever Vuex state is mutated outside of mutation handlers, an error will be thrown. This ensures that all state mutations can be explicitly...
vuejs/vuex
docs/guide/strict.md
Markdown
mit
857
/** * React Static Boilerplate * https://github.com/koistya/react-static-boilerplate * Copyright (c) Konstantin Tarkus (@koistya) | MIT license */ import './index.scss' import React, { Component } from 'react' // import { Grid, Col, Row } from 'react-bootstrap'; export default class IndexPage extends Component { ...
odoruinu/odoruinu.net-pug
pages/index.js
JavaScript
mit
908
# coding: utf-8 # ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # --------------------------------------------------------------------...
Azure/azure-sdk-for-python
sdk/storage/azure-storage-blob/tests/test_large_block_blob.py
Python
mit
16,306
package controllers; import java.lang.reflect.InvocationTargetException; import java.util.List; import java.util.Date; import models.Usuario; import play.Play; import play.mvc.*; import play.data.validation.*; import play.libs.*; import play.utils.*; public class Secure extends Controller { @Before(unless={"log...
marti1125/Project_Store
app/controllers/Secure.java
Java
mit
7,739
# This file is part of Indico. # Copyright (C) 2002 - 2021 CERN # # Indico is free software; you can redistribute it and/or # modify it under the terms of the MIT License; see the # LICENSE file for more details. import os import re import subprocess import sys from datetime import date import click import yaml from...
ThiefMaster/indico
bin/maintenance/update_header.py
Python
mit
8,843
from django.shortcuts import redirect from django.views.decorators.csrf import csrf_exempt from django.http import HttpResponse from paste.models import Paste, Language @csrf_exempt def add(request): print "jojo" if request.method == 'POST': language = request.POST['language'] content = r...
spezifanta/Paste-It
api/v01/views.py
Python
mit
749
module Ahoy module Stores class ActiveRecordStore < BaseStore def track_visit(options, &block) visit = visit_model.new do |v| v.id = ahoy.visit_id v.visitor_id = ahoy.visitor_id v.user = user if v.respond_to?(:user=) end set_visit_pro...
littlebitselectronics/ahoy
lib/ahoy/stores/active_record_store.rb
Ruby
mit
1,335
import {extend} from 'lodash'; export default class User { /** * The User class * @class * @param {Object} user * @return {Object} A User */ constructor(user) { extend(this, user); console.log(this); } }
mpaarating/sports-thing-web
client/app/users/models/user.js
JavaScript
mit
236
/* * Template Name: devAid - Responsive Website Template for developers * Version: 1.1 * Author: Xiaoying Riley * Twitter: @3rdwave_themes * License: Creative Commons Attribution 3.0 License * Website: http://themes.3rdwavemedia.com/ */ /* style-4.css */ /* ======= Base ======= */ body { font-family: 'Lato',...
argeweb/start
themes/default/css/styles-4.css
CSS
mit
12,370
using UnityEngine; using System.Collections; public class Intro : MonoBehaviour { public GameObject martin; public GameObject mrsStrump; public GameObject strumpFire; public Sprite sadMartin, slinkton, police, candles, houses, strumps; public Camera cam; // Use this for initialization void Start () { strum...
Bonfanti/Platformer
S Run Ronald Strump/Assets/scripts/Intro.cs
C#
mit
2,199
module Parsers module Edi class IncomingTransaction attr_reader :errors def self.from_etf(etf, i_cache) incoming_transaction = new(etf) subscriber_policy_loop = etf.subscriber_loop.policy_loops.first find_policy = FindPolicy.new(incoming_transaction) policy = find_po...
dchbx/gluedb
app/models/parsers/edi/incoming_transaction.rb
Ruby
mit
7,194
<!doctype html> <html> <head> <meta charset="utf-8" /> <meta content="IE=edge;chrome=1" http-equiv="X-UA-Compatible" /> <title>dognews</title> <meta content="width=device-width, initial-scale=1" name="viewport" /> <link rel="alternate" type="application/atom+xml" title="Atom Feed" href="/feed.xml...
acloudburo/dognews
2014/01/09.html
HTML
mit
13,592
geoserver ========= PostGI server and probably more for the Cologne Open Data community. The goal is to provide a unified, dynamic geodata access point for some important geographical datasets. At some point, there might be a tile server or some other visualization layer as well. We'll see. ## Contents ### `postgi...
KoelnAPI/geoserver
README.md
Markdown
mit
401
// // EBBannerView+Categories.h // demo // // Created by pikacode@qq.com on 2017/10/20. // Copyright © 2017年 pikacode@qq.com. All rights reserved. // #import "EBBannerView.h" #define WEAK_SELF(weakSelf) __weak __typeof(&*self)weakSelf = self; #define ScreenWidth [UIScreen mainScreen].bounds.size.width #define Sc...
pikacode/EBBannerView
EBBannerView/Classes/EBBannerView+Categories.h
C
mit
857
exports._buildExclamationKeyObject = function (tuples) { var valueMap = {}; tuples.forEach(function (tuple) { valueMap['!' + tuple.value0] = tuple.value1; }); return valueMap; }; var templatePattern = /\$\{([^}]+)\}/g; exports._getTemplateVars = function (str) { return (str.match(templatePattern) || []...
LiamGoodacre/purescript-template-strings
src/Data/TemplateString/TemplateString.js
JavaScript
mit
397
#CodeQuiz _CodeQuiz is a game made with Kivy framework._ _He is a Quiz consists of four options, Ruby, Python, Javascript and C#._ _Where he will approach curiosities and specificities of each language._ ##Install and Run 1.Clone this repo ``` git clone git@github.com:GuiCarneiro/CodeQuiz.git ``` 2.Install Kivy o...
GuiCarneiro/CodeQuiz
readme.md
Markdown
mit
887
/** * @overview * API handler action creator * Takes a key-value -pair representing the event to handle as key and its respective * handler function as the value. * * Event-to-URL mapping is done in {@link ApiEventPaths}. * * @since 0.2.0 * @version 0.3.0 */ import { Seq, Map } from 'immutable'; import { ...
rensouhou/dockyard-app
app/actions/api-actions.js
JavaScript
mit
1,532
# Fire Keeper ## Introduction Fire Keeper is a bot designed for the *Praise the Place* Dark Souls Discord server. Please do not use this bot in your server without adapation of the code, or else things will not work correctly.
Svetroid/Fire-Keeper
README.md
Markdown
mit
228
--- title: Prepare paperwork contexts: office365,microsoft365 source: Microsoft public sites translation: en tools: --- To kick off the employee onboarding checklist, you need to__ prepare the relevant paperwork and information__prior to the employee's first day\. Start by __recording__ the employee's __basic informa...
Hexatown/docs
generic/usecases/onboard/02-prepare-paperwork/index.md
Markdown
mit
1,214
# Doxx [![Build Status](https://travis-ci.org/FGRibreau/doxx.png)](https://travis-ci.org/FGRibreau/doxx) [![Gittip](http://badgr.co/gittip/fgribreau.png)](https://www.gittip.com/fgribreau/) [![Deps](https://david-dm.org/FGRibreau/doxx.png)](https://david-dm.org/FGRibreau/doxx) Use [dox](https://github.com/visionmedia/...
RogerNoble/doxx
README.md
Markdown
mit
3,834
<div class="title"> <img class="icon" src="./res/img/interface.svg" /> <p class="interface">IStudentInfo.IYear</p> </div> <p> Describes school year. Contains year id and register id which are needed in order to use the the API. </p> <br /> <p class="section-title">Fields</p> <p>name: <span class="class">s...
legion44/idziennik-api
docs/res/fragments/istudentinfo-iyear.html
HTML
mit
504
// xParentN 2, Copyright 2005-2007 Olivier Spinelli // Part of X, a Cross-Browser Javascript Library, Distributed under the terms of the GNU LGPL function xParentN(e, n) { while (e && n--) e = e.parentNode; return e; }
sambaker/awe-core
test/x/lib/xparentn.js
JavaScript
mit
230
<?php /** * @file include/zot.php * @brief Hubzilla implementation of zot protocol. * * https://github.com/friendica/red/wiki/zot * https://github.com/friendica/red/wiki/Zot---A-High-Level-Overview * */ require_once('include/crypto.php'); require_once('include/items.php'); require_once('include/hubloc.php'); re...
HaakonME/hubzilla
include/zot.php
PHP
mit
147,068
/** * */ package org.edtoktay.dynamic.compiler; /** * @author deniz.toktay * */ public interface ExampleInterface { void addObject(String arg1, String arg2); Object getObject(String arg1); }
edtoktay/DynamicCompiler
Example/src/main/java/org/edtoktay/dynamic/compiler/ExampleInterface.java
Java
mit
200
import React, { Component } from 'react'; import { StyleSheet, Text, View, Navigator, ScrollView, ListView, } from 'react-native' import NavigationBar from 'react-native-navbar'; var REQUEST_URL = 'https://calm-garden-29993.herokuapp.com/index/groupsinfo/?'; class GroupDetails extends Component { con...
adnanhemani/RideApp
App/GroupDetails.js
JavaScript
mit
3,798
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>W28677_text</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div style="margin-left: auto; margin-right: auto; width: 800px; overflow: hidden;"> ...
datamade/elpc_bakken
ocr_extracted/W28677_text/page10.html
HTML
mit
4,191
class User < ActiveRecord::Base # Include default devise modules. Others available are: # :token_authenticatable, :encryptable, :confirmable, :lockable, :timeoutable and :omniauthable devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable # Setup accessi...
stanislaw/cantango_editor
spec/dummy/app/models/user.rb
Ruby
mit
460
process.stderr.write('Test');
patrick-steele-idem/child-process-promise
test/fixtures/stderr.js
JavaScript
mit
29
# README SportzBall is a community driven application used to bring people together for intramural sports. From football to quidditch we want you to SPORTZ! To set up repository on your local machine clone and set up database (instructions below) Rails 5.0.1 Ruby ~> 2.3.0 * Configuration * Database creation and ini...
FInGrayson/sportzball
README.md
Markdown
mit
479
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "wellspring.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
ushatil/wellness-tracker
ws/manage.py
Python
mit
253
package org.squirrel; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.Timer; import org.squirrel.managers.PrisonerControllor; import org.squirrel.managers.input...
DemSquirrel/Prison-Survival
src/org/squirrel/Game.java
Java
mit
1,974
/* jqModal base Styling courtesy of; Brice Burgess <bhb@iceburg.net> */ /* The Window's CSS z-index value is respected (takes priority). If none is supplied, the Window's z-index value will be set to 3000 by default (via jqModal.js). */ .jqmWrap { display: none; position: fixed; top: 20%; left: 50%...
6/browser-deprecator
assets/css/deprecator.css
CSS
mit
1,759
(function () { 'use strict'; angular .module('app') .service('UploadUserLogoService', UploadUserLogoService); function UploadUserLogoService($http, $log, TokenService, UserService, $rootScope) { this.uploadImage = uploadImage; //// /** * Upload Image ...
royalrangers-ck/rr-web-app
app/utils/upload.user.logo/upload.user.logo.service.js
JavaScript
mit
2,187
<?php include 'vendor/autoload.php'; ini_set('error_reporting', E_ALL); ini_set('display_errors', '1'); ini_set('display_startup_errors', '1');
mkosolofski/houseseats-monitor
phpunit_bootstrap.php
PHP
mit
145
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>simple-io: 27 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="s...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.05.0-2.0.1/released/8.9.0/simple-io/1.3.0.html
HTML
mit
11,880
class Sprite(object): def __init__(self, xPos, yPos): self.x = xPos self.y = yPos self.th = 32 self.tw = 32 def checkCollision(self, otherSprite): if (self.x < otherSprite.x + otherSprite.tw and otherSprite.x < self.x + self.tw and self.y < otherSpri...
kantel/processingpy
sketches/Apple_Invaders/sprites.py
Python
mit
2,805
<?php /** * This file is part of the Carrot framework. * * Copyright (c) 2011 Ricky Christie <seven.rchristie@gmail.com>. * * Licensed under the MIT License. * */ /** * Docs storage. * * Represents a documents storage and provides ways to access * the documents inside the storage. This class reads folder...
rickchristie/carrot-old
library/Carrot/Docs/Storage.php
PHP
mit
13,874
<div class="panel panel-primary"> <div ng-show="error" class="alert alert-danger">{{ error }}</div> <div class="panel-heading"> <p class="panel-title">Neuer Gig</p> </div> <div class="panel-body"> <form name="addGig" class="form-horizontal" ng-submit="insertGig(gig)"> <fieldset> <div class="form-group"> ...
DennisSchwartz/RTBackend
app/partials/modules/admin/gigs.add.html
HTML
mit
2,116
class CreateTeams < ActiveRecord::Migration def self.up create_table :teams do |t| t.string :name t.string :abbreviation t.string :hometown t.timestamps end end def self.down drop_table :teams end end
wndxlori/wndx-multiselect
spec/rails2/app_root/db/migrate.notnow/001_create_teams.rb
Ruby
mit
246
/***************************************************************************** * x264: h264 encoder ***************************************************************************** * Copyright (C) 2005 Tuukka Toivonen <tuukkat@ee.oulu.fi> * * This program is free software; you can redistribute it and/or modify * it ...
tudinfse/fex
src/parsec/x264/src/visualize.h
C
mit
1,272
angular.module('tips.tips').controller('TipsController', ['$scope', '$routeParams', '$location', 'Global', 'Tips', function ($scope, $routeParams, $location, Global, Tips) { $scope.global = Global; $scope.createTip = function () { var tips = new Tips({ text: this.text, likes: th...
Arsey/tips-of-the-day
public/js/controllers/tips.js
JavaScript
mit
2,505
--- layout: post title: Log č. 5 - Áčkové předměty v 2.semestru --- ## Průchod 1. semestrem Těšíte se na 1. semestr? Vážně?! A víte, na co se musíte připravit? <img src="/images/radost.gif" alt="CO"> <h2>VIKBA06 Informační věda 2</h2> <p><i>Oficiální popis:</i>Přímo navazuje na předmět VIKBA01 Informační věda 1. O...
VendyStr/vendystr.github.io
_posts/2014-3-3-prepracovani.md
Markdown
mit
2,844
# Get Single Promotion This gets an XML document with the specific promotion by the ID. ## Single Promotion Options [MadMimi's Promotion Documentation](https://madmimi.com/developer/api/promotions) should give you an idea of what you need to send to the API. This options object makes some of the methods easier. ...
aaronsaray/madmimi-api-php
docs/promotions/single.md
Markdown
mit
719
# Laravel Favorite (Laravel 5, 6, 7, 8 Package) [![Latest Version on Packagist][ico-version]][link-packagist] [![Packagist Downloads][ico-downloads]][link-packagist] [![Software License][ico-license]](LICENSE.md) [![Build Status][ico-travis]][link-travis] **Allows Laravel Eloquent models to implement a 'favorite' or ...
ChristianKuri/laravel-favorite
README.md
Markdown
mit
7,370
package com.xeiam.xchange.cryptotrade.dto; import java.io.IOException; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.ObjectCodec; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.data...
Achterhoeker/XChange
xchange-cryptotrade/src/main/java/com/xeiam/xchange/cryptotrade/dto/CryptoTradeOrderType.java
Java
mit
1,150
module Mailplug class Plugin::Example < Mailplug::Middleware # Message Envelope Methods def return_path end def recipients end def message # returns Mail::Message end # Hash of state and inter-stack data memo[classname][key]=value def memo end # SMTP State Changes ...
afair/mailplug
lib/mailplug/plugin/example.rb
Ruby
mit
969
import apiConfig from './MovieDBConfig'; import TmdbApi from 'moviedb-api'; var api = new TmdbApi({ consume: false, apiKey: apiConfig.apiKey }); const makeAndList = (list) => { return list.map(item => item.value).join(); }; export const getGenres = (input='', callback) => { api.request('/genre/movie/list', ...
arddor/MovieAdvisor
app/utils/api.js
JavaScript
mit
2,618
const excludedTables = ["blacklist", "musicCache", "timedEvents"]; const statPoster = require("../../modules/statPoster.js"); module.exports = async guild => { let tables = await r.tableList().run(); for(let table of tables) { let indexes = await r.table(table).indexList().run(); if(~indexes.indexOf("guildID")) r...
minemidnight/oxyl
src/bot/listeners/on/guildDelete.js
JavaScript
mit
1,331
using System.Collections.Generic; using System.IO; using System.Reflection; using IDI.Core.Common.Extensions; namespace IDI.Core.Localization { public abstract class Package { public List<PackageItem> Items { get; private set; } = new List<PackageItem>(); public Package(string assemblyName, s...
idi-studio/com.idi.central.api
src/IDI.Core/Localization/Package.cs
C#
mit
905
--- layout: page title: Twoer Summit Electronics Award Ceremony date: 2016-05-24 author: Hannah Shah tags: weekly links, java status: published summary: Morbi feugiat purus a risus. banner: images/banner/leisure-02.jpg booking: startDate: 10/11/2017 endDate: 10/13/2017 ctyhocn: PHXCNHX groupCode: TSEAC publishe...
KlishGroup/prose-pogs
pogs/P/PHXCNHX/TSEAC/index.md
Markdown
mit
1,920
// // UIView+BluredSnapshot.h // CustomTransitionAndBlur // // Created by Gao Song on 11/1/15. // Copyright © 2015 Gao Song. All rights reserved. // #import <UIKit/UIKit.h> @interface UIView (BluredSnapshot) -(UIImage *)blurredSnapshot; @end
jack2gs/CustomInteractiveTransitionAndBlur
CustomTransitionAndBlur/UIView+BluredSnapshot.h
C
mit
249
-- collate4.test -- -- execsql { -- CREATE TABLE collate4t3(a COLLATE NOCASE, b COLLATE TEXT); -- INSERT INTO collate4t3 VALUES( 'a', 'a' ); -- INSERT INTO collate4t3 VALUES( 'b', 'b' ); -- INSERT INTO collate4t3 VALUES( NULL, NULL ); -- INSERT INTO collate4t3 VALUES( 'B', 'B' ); -- INSERT INTO...
bkiers/sqlite-parser
src/test/resources/collate4.test_8.sql
SQL
mit
785
import { computed, get } from '@ember/object'; import { getOwner } from '@ember/application'; import { deprecate } from '@ember/debug'; export function ability(abilityName, resourceName) { deprecate( 'Using ability() computed property is deprecated. Use getters and Can service directly.', false, { ...
minutebase/ember-can
addon/computed.js
JavaScript
mit
721
# encoding: UTF-8 # This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. # # Note that this schema.rb definition is the authoritative sou...
tip4commit/coingiving
db/schema.rb
Ruby
mit
4,772
/* global requirejs, require */ /*jslint node: true */ 'use strict'; import Ember from 'ember'; import _keys from 'lodash/object/keys'; /* This function looks through all files that have been loaded by Ember CLI and finds the ones under /mirage/[factories, fixtures, scenarios, models]/, and exports a hash cont...
ballPointPenguin/ember-cli-mirage
addon/utils/read-modules.js
JavaScript
mit
1,627
/* tslint:disable:no-unused-variable */ import { TestBed, async } from '@angular/core/testing'; import { DpsBarChartComponent } from './dps-bar-chart.component'; describe('Component: DpsBarChart', () => { it('should create an instance', () => { let component = new DpsBarChartComponent(); expect(component).t...
NablaT/TemplateDemo
src/app/core/charts/chart/chart.component.spec.ts
TypeScript
mit
343
<?php /** * @author tshirtecommerce - www.tshirtecommerce.com * @date: 2015-01-10 * * @copyright Copyright (C) 2015 tshirtecommerce.com. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE * */ if ( ! defined('BASEPATH')) exit('No direct script access allowed'...
Nnamso/tbox
application/modules/m_product/views/admin/setting.php
PHP
mit
11,129
# Botfather configs [BotFather](https://telegram.me/botfather) allows you to create Telegram bots, and instanciates authentication tokens. But it does more than that. To get the same settings as FiddleGram, follow this: * Go to Botfather, use `/start` and follow the instructions to create your bot. Put the auth token...
LeonardA-L/fiddlegram
Botfather_config.md
Markdown
mit
718
<?php declare(strict_types=1); namespace AlphaVantageTest\Api; use AlphaVantage\Api\ForeignExchange; class ForeignExchangeTest extends TestCase { public function testCurrencyExchangeRate() { $actual = (new ForeignExchange($this->option))->currencyExchangeRate('BTC', 'CNY'); $this->assertIsAr...
kokspflanze/alpha-vantage-api
tests/Api/ForeignExchangeTest.php
PHP
mit
610
local u = require "lib/util" local Node = require "lib/espalier/node" local Section = require "Orbit/section" local own = require "Orbit/own" local D = setmetatable({}, { __index = Node }) D.id = "doc" D.__tostring = function (doc) local phrase = "" for _,v in ipairs(doc) do ...
mnemnion/grym
src/Orbit/doc.lua
Lua
mit
3,039
package com.github.aureliano.evtbridge.output.file; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import java.util.Set; import org.junit.Test; import com.github.aureliano.evtbridge.annota...
aureliano/da-mihi-logs
evt-bridge-output/file-output/src/test/java/com/github/aureliano/evtbridge/output/file/FileOutputConfigTest.java
Java
mit
2,450
// THIS CODE IS MACHINE-GENERATED, DO NOT EDIT! package fallk.jfunktion; /** * Represents a predicate (boolean-valued function) of a {@code float}-valued and a generic argument. * This is the primitive type specialization of * {@link java.util.function.BiPredicate} for {@code float}/{@code char}. * * @see java.u...
fallk/JFunktion
src/main/java/fallk/jfunktion/FloatObjectPredicate.java
Java
mit
715