repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
conjurinc/summon-chefapi | parse-changelog.sh | 183 | #!/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
"
| mit |
sandro-pasquali/Uni-Framework | uni/demos/kits/xhr/get.html | 917 | <!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... | mit |
lackerman/meteor-semanticui-base | client/templates/includes/loading.html | 83 | <template name="loading">
<div class="ui active inline loader"></div>
</template> | mit |
amjacobowitz/classroom-library | classroom-library/config/application.rb | 1224 | 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... | mit |
L0g1k/quickfire-old | src/extensibility/node/spec/Installation.spec.js | 10734 | /*
* 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... | mit |
pmprog/pmScript | pmDebug/My Project/Settings.Designer.vb | 2900 | '------------------------------------------------------------------------------
' <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>
'------------... | mit |
foxostro/CheeseTesseract | src/RenderMethod_PhongPoint_CG.cpp | 3567 | #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();
... | mit |
Silveryard/Car_System | Car/LibSysAppDB/SysAppDBHelper.h | 737 | #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,... | mit |
pr0d1r2/myvod | db/migrate/20130824090308_add_original_md5_checksum_to_videos.rb | 156 | class AddOriginalMd5ChecksumToVideos < ActiveRecord::Migration
def change
add_column :videos, :original_md5_checksum, :string, :limit => 40
end
end
| mit |
135yshr/Holocraft-server | world/Plugins/Core/functions.lua | 5438 | 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... | mit |
kidjp85/react-id-swiper | src/index.ts | 304 | import ReactIdSwiper from './ReactIdSwiper';
// Types
export {
ReactIdSwiperProps,
ReactIdSwiperRenderProps,
SelectableElement,
SwiperInstance,
WrappedElementType,
ReactIdSwiperChildren,
SwiperModuleName,
SwiperRefNode
} from './types';
// React-id-swiper
export default ReactIdSwiper;
| mit |
coders-creed/botathon | src/info/fetch_info.py | 2889 | # -*- 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... | mit |
juoni/wwt-web-client | HTML5SDK/wwtlib/PlotTile.cs | 11749 | 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... | mit |
mimmi20/browscap-json-cache | src/JsonCache.php | 5684 | <?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... | mit |
beatgammit/node-filesync | server/lib/routes/upload.js | 3981 | (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... | mit |
pisskidney/leetcode | medium/16.py | 1070 | #!/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... | mit |
krzkaczor/IDEA | src/main/java/bits/ExclusiveOrOperator.java | 651 | 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... | mit |
fpelliccioni/fpelliccioni.github.io | _posts_temp/2015-08-05-using-the-right-terms-method.md | 17362 | ---
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... | mit |
parroit/shell-js | test/shell-controller_test.js | 1229 | /*"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... | mit |
imRishabhGupta/smart-kart | app.js | 1740 | 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... | mit |
NoahHeinrich/phase-0 | week-4/smallest-integer/my_solution.rb | 548 | # 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... | mit |
dennmart/echo_for_trello | spec/factories/users.rb | 235 | 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
| mit |
AccelNA/ng-aws-dynamo | index.html | 2164 | <!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... | mit |
Jayin/practice_on_py | Process&Thread/PoolTest.py | 1094 | 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... | mit |
comfreeze/android-tools | CFZLib/src/main/java/net/comfreeze/lib/CFZApplication.java | 8991 | 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... | mit |
JChanceHud/GearIndicator | Fitness/WFBTLENordicDFUService.h | 2091 | //
// 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... | mit |
ChenJiaH/chenjiah.github.io | js/GPUComputationRenderer.js | 10733 | /**
* @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... | mit |
Aldaviva/relay-mesh-example-java | src/main/java/com/example/mesh/EndpointControlResource.java | 4452 | 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... | mit |
AllenDowney/ExercisesInC | examples/lock/semlock.c | 445 | #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... | mit |
yonred/MockApp | app/partials/result.html | 1318 | <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/>
... | mit |
ICIJ/node-tika | test/tika.js | 14883 | /*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... | mit |
CAMH-SCWG/compucool-oct-2016 | workshops/redcap.md | 1411 | ---
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
... | mit |
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 | 209 | <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>
| mit |
Lando-L/react-webpack-boilerplate | dist/index.html | 207 | <!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> | mit |
imdanshraaj/screeenly | app/Screenshot/ClientInterface.php | 362 | <?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... | mit |
dietmarkuehl/cputube | cpu/test/unique-strings.cpp | 10438 | // cpu/test/unique-strings.cpp -*-C++-*-
// ----------------------------------------------------------------------------
// Copyright (C) 2015 Dietmar Kuehl http://www.dietmar-kuehl.de
//
// Permissi... | mit |
bbondy/brianbondy.node | webfaction/watchdog.sh | 545 | #!/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... | mit |
larhoy/SentimentProjectV2 | SentimentAnalysisV2/encog-core-3.1.0/src/main/java/org/encog/plugin/system/SystemTrainingPlugin.java | 7358 | /*
* 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... | mit |
vuejs/vuex | docs/guide/strict.md | 857 | # 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... | mit |
odoruinu/odoruinu.net-pug | pages/index.js | 908 | /**
* 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 {
... | mit |
Azure/azure-sdk-for-python | sdk/storage/azure-storage-blob/tests/test_large_block_blob.py | 16306 | # 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.
# --------------------------------------------------------------------... | mit |
marti1125/Project_Store | app/controllers/Secure.java | 7739 | 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... | mit |
ThiefMaster/indico | bin/maintenance/update_header.py | 8843 | # 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... | mit |
spezifanta/Paste-It | api/v01/views.py | 749 | 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... | mit |
littlebitselectronics/ahoy | lib/ahoy/stores/active_record_store.rb | 1335 | 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... | mit |
mpaarating/sports-thing-web | client/app/users/models/user.js | 236 | 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);
}
}
| mit |
argeweb/start | themes/default/css/styles-4.css | 12370 | /*
* 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',... | mit |
Bonfanti/Platformer | S Run Ronald Strump/Assets/scripts/Intro.cs | 2199 | 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... | mit |
dchbx/gluedb | app/models/parsers/edi/incoming_transaction.rb | 7194 | 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... | mit |
acloudburo/dognews | 2014/01/09.html | 13592 | <!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... | mit |
KoelnAPI/geoserver | README.md | 401 | 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... | mit |
pikacode/EBBannerView | EBBannerView/Classes/EBBannerView+Categories.h | 857 | //
// 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... | mit |
LiamGoodacre/purescript-template-strings | src/Data/TemplateString/TemplateString.js | 397 |
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) || []... | mit |
GuiCarneiro/CodeQuiz | readme.md | 887 | #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... | mit |
rensouhou/dockyard-app | app/actions/api-actions.js | 1532 | /**
* @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 { ... | mit |
Svetroid/Fire-Keeper | README.md | 228 | # 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.
| mit |
Hexatown/docs | generic/usecases/onboard/02-prepare-paperwork/index.md | 1214 | ---
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... | mit |
RogerNoble/doxx | README.md | 3834 | # Doxx [](https://travis-ci.org/FGRibreau/doxx) [](https://www.gittip.com/fgribreau/) [](https://david-dm.org/FGRibreau/doxx)
Use [dox](https://github.com/visionmedia/... | mit |
legion44/idziennik-api | docs/res/fragments/istudentinfo-iyear.html | 504 | <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... | mit |
sambaker/awe-core | test/x/lib/xparentn.js | 230 | // 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;
}
| mit |
HaakonME/hubzilla | include/zot.php | 147068 | <?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... | mit |
edtoktay/DynamicCompiler | Example/src/main/java/org/edtoktay/dynamic/compiler/ExampleInterface.java | 200 | /**
*
*/
package org.edtoktay.dynamic.compiler;
/**
* @author deniz.toktay
*
*/
public interface ExampleInterface {
void addObject(String arg1, String arg2);
Object getObject(String arg1);
}
| mit |
adnanhemani/RideApp | App/GroupDetails.js | 3798 | 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... | mit |
datamade/elpc_bakken | ocr_extracted/W28677_text/page10.html | 4191 |
<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;">
... | mit |
stanislaw/cantango_editor | spec/dummy/app/models/user.rb | 460 | 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... | mit |
patrick-steele-idem/child-process-promise | test/fixtures/stderr.js | 29 | process.stderr.write('Test'); | mit |
FInGrayson/sportzball | README.md | 479 | # 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... | mit |
ushatil/wellness-tracker | ws/manage.py | 253 | #!/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)
| mit |
DemSquirrel/Prison-Survival | src/org/squirrel/Game.java | 1974 | 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... | mit |
6/browser-deprecator | assets/css/deprecator.css | 1759 | /* 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%... | mit |
royalrangers-ck/rr-web-app | app/utils/upload.user.logo/upload.user.logo.service.js | 2187 | (function () {
'use strict';
angular
.module('app')
.service('UploadUserLogoService', UploadUserLogoService);
function UploadUserLogoService($http, $log, TokenService, UserService, $rootScope) {
this.uploadImage = uploadImage;
////
/**
* Upload Image
... | mit |
mkosolofski/houseseats-monitor | phpunit_bootstrap.php | 145 | <?php
include 'vendor/autoload.php';
ini_set('error_reporting', E_ALL);
ini_set('display_errors', '1');
ini_set('display_startup_errors', '1');
| mit |
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 | 11880 | <!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... | mit |
kantel/processingpy | sketches/Apple_Invaders/sprites.py | 2805 | 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... | mit |
rickchristie/carrot-old | library/Carrot/Docs/Storage.php | 13874 | <?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... | mit |
DennisSchwartz/RTBackend | app/partials/modules/admin/gigs.add.html | 2116 | <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">
... | mit |
wndxlori/wndx-multiselect | spec/rails2/app_root/db/migrate.notnow/001_create_teams.rb | 246 | 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
| mit |
tudinfse/fex | src/parsec/x264/src/visualize.h | 1272 | /*****************************************************************************
* 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 ... | mit |
Arsey/tips-of-the-day | public/js/controllers/tips.js | 2505 | 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... | mit |
VendyStr/vendystr.github.io | _posts/2014-3-3-prepracovani.md | 2844 | ---
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... | mit |
aaronsaray/madmimi-api-php | docs/promotions/single.md | 719 | # 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.
... | mit |
ChristianKuri/laravel-favorite | README.md | 7370 | # 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 ... | mit |
Achterhoeker/XChange | xchange-cryptotrade/src/main/java/com/xeiam/xchange/cryptotrade/dto/CryptoTradeOrderType.java | 1150 | 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... | mit |
afair/mailplug | lib/mailplug/plugin/example.rb | 969 | 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
... | mit |
arddor/MovieAdvisor | app/utils/api.js | 2618 | 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', ... | mit |
minemidnight/oxyl | src/bot/listeners/on/guildDelete.js | 1331 | 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... | mit |
idi-studio/com.idi.central.api | src/IDI.Core/Localization/Package.cs | 905 | 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... | mit |
KlishGroup/prose-pogs | pogs/P/PHXCNHX/TSEAC/index.md | 1920 | ---
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... | mit |
jack2gs/CustomInteractiveTransitionAndBlur | CustomTransitionAndBlur/UIView+BluredSnapshot.h | 249 | //
// 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
| mit |
bkiers/sqlite-parser | src/test/resources/collate4.test_8.sql | 785 | -- 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... | mit |
minutebase/ember-can | addon/computed.js | 721 | 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,
{
... | mit |
tip4commit/coingiving | db/schema.rb | 4772 | # 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... | mit |
ballPointPenguin/ember-cli-mirage | addon/utils/read-modules.js | 1627 | /* 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... | mit |
NablaT/TemplateDemo | src/app/core/charts/chart/chart.component.spec.ts | 343 | /* 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... | mit |
Nnamso/tbox | application/modules/m_product/views/admin/setting.php | 11129 | <?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'... | mit |
LeonardA-L/fiddlegram | Botfather_config.md | 718 | # 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... | mit |
kokspflanze/alpha-vantage-api | tests/Api/ForeignExchangeTest.php | 610 | <?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... | mit |
mnemnion/grym | src/Orbit/doc.lua | 3039 |
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
... | mit |
aureliano/da-mihi-logs | evt-bridge-output/file-output/src/test/java/com/github/aureliano/evtbridge/output/file/FileOutputConfigTest.java | 2450 | 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... | mit |
fallk/JFunktion | src/main/java/fallk/jfunktion/FloatObjectPredicate.java | 715 | // 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... | mit |