repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
kiuz/Osx_Terminal_shell_script_collection | enable_spotlight.command | 204 | #!/bin/bash
cd "$(dirname "$BASH_SOURCE")" || {
echo "Error getting script directory" >&2
exit 1
}
./hallo.command
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist | mit |
dinanandka/MonitoringKP_KPPL | application/controllers/c_admin.php | 787 | <?php
class C_admin extends CI_Controller {
public function __construct() {
parent::__construct();
if($this->session->userdata('level') != 'admin') {
redirect('auth'); }
}
public function index() {
$data['username'] = $this->session->userdata('username');
$this->load->view('dashboard_admin', $data);
... | mit |
alemela/wiki-needs-pictures | js/icons.js | 431 | var blueMarker = L.AwesomeMarkers.icon({
icon: 'record',
prefix: 'glyphicon',
markerColor: 'blue'
});
var airportMarker = L.AwesomeMarkers.icon({
icon: 'plane',
prefix: 'fa',
markerColor: 'cadetblue'
});
var cityMarker = L.AwesomeMarkers.icon({
icon: 'home',
markerColor: 'red'
});
var... | mit |
phossa/phossa-di | tests/src/Phossa/Di/testData6.php | 322 | <?php
namespace Phossa\Cache;
interface CachePoolInterface
{
}
class CachePool implements CachePoolInterface
{
}
class TestMap {
private $cache;
public function __construct(CachePoolInterface $cache) {
$this->cache = $cache;
}
public function getCache() {
return $this->cache;
}
... | mit |
wolfgangwalther/jsPsych | plugins/jspsych-categorize-animation.js | 8599 | /**
* jspsych plugin for categorization trials with feedback and animated stimuli
* Josh de Leeuw
*
* documentation: docs.jspsych.org
**/
jsPsych.plugins["categorize-animation"] = (function() {
var plugin = {};
jsPsych.pluginAPI.registerPreload('categorize-animation', 'stimuli', 'image');
plugin.info = ... | mit |
phonetworks/pho-lib-graph | src/Pho/Lib/Graph/EdgeList.php | 11362 | <?php
/*
* This file is part of the Pho package.
*
* (c) Emre Sokullu <emre@phonetworks.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Pho\Lib\Graph;
/**
* Holds the relationship between nodes and edges.
*
*... | mit |
augustt198/lumen | src/test/java/me/august/lumen/data/DataTest.java | 1850 | package me.august.lumen.data;
import me.august.lumen.compile.resolve.data.ClassData;
import me.august.lumen.compile.resolve.lookup.DependencyManager;
import org.junit.Assert;
import org.junit.Test;
public class DataTest {
@Test
public void testClassData() {
ClassData data = ClassData.fromClass(String... | mit |
CRH380A-2722/Code-Clipboard | config-sample.php | 1219 | <?php
/**
* CodeBin
*
* @author CRH380A-2722 <609657831@qq.com>
* @copyright 2016 CRH380A-2722
* @license MIT
*/
/** 配置文件 */
/** 站点域名 */
define("SITEDOMAIN", "{SITE-DOMAIN}");
/** 数据库信息 */
//数据库服务器
define("DB_HOST", "{DB-HOST}");
//数据库用户名
define("DB_USER", "{DB-USER}");
//数据库密码
de... | mit |
wotek/response-builder | src/Wtk/Response/Header/Field.php | 1319 | <?php
/**
* @package Response
* @subpackage Header
*
* @author Wojtek Zalewski <wojtek@neverbland.com>
*
* @copyright Copyright (c) 2013, Wojtek Zalewski
* @license MIT
*/
namespace Wtk\Response\Header\Field;
use Wtk\Response\Header\Field\AbstractField;
use Wtk\Response\Header\Field\FieldInterface;
/**
* Ba... | mit |
OpenAPC/openapc.github.io | _posts/2015-12-23-mpdl.md | 1296 | ---
layout: post
author: Najko Jahn
title: Max Planck Digital Library updates expenditures for articles published in the New Journal of Physics
date: 2015-12-23 15:21:29
summary:
categories: general
comments: true
---
[Max Planck Digital Library (MPDL)](https://www.mpdl.mpg.de/en/) provides [in... | mit |
fabienvuilleumier/fb | src/main/webapp/components/purchase/purchase-edit-ctrl.js | 4952 | 'use strict';
var app = angular.module('Fablab');
app.controller('GlobalPurchaseEditController', function ($scope, $location, $filter, $window,
PurchaseService, NotificationService, StaticDataService, SupplyService) {
$scope.selected = {purchase: undefined};
$scope.currency = App.CONFIG.CURRENCY;
$s... | mit |
leiasousa/MySim | src/ons/PhysicalTopology.java | 6858 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ons;
import ons.util.WeightedGraph;
import org.w3c.dom.*;
/**
* The physical topology of a network refers to he physical layout of devices on
* a network, or to the way that the devices on a network are arra... | mit |
pombredanne/pluct-ruby | spec/pluct/extensions/json_spec.rb | 319 | require File.join [Pluct.root, 'lib/pluct/extensions/json']
describe JSON do
it 'returns false for invalid data' do
['', ' ', 'string'].each do |s|
expect(JSON.is_json?(s)).to be_false
end
end
it 'returns true for valid data' do
expect(JSON.is_json?('{"name" : "foo"}')).to be_true
end
end | mit |
tomoasleep/vhdl_test_script | lib/vhdl_test_script/wait.rb | 271 | module VhdlTestScript
class Wait
CLOCK_LENGTH = 2
def initialize(length)
@length = length
end
def to_vhdl
"wait for #{@length * CLOCK_LENGTH} ns;"
end
def in(ports)
self
end
def origin
self
end
end
end
| mit |
CONVIEUFO/convieufo.github.io | _docs/api/global-shortcut.md | 5630 | ---
version: v1.4.13
category: API
redirect_from:
- /docs/v0.37.8/api/global-shortcut
- /docs/v0.37.7/api/global-shortcut
- /docs/v0.37.6/api/global-shortcut
- /docs/v0.37.5/api/global-shortcut
- /docs/v0.37.4/api/global-shortcut
- /docs/v0.37.3/api/global-shortcut
- /docs/v0.36.12/api/global-shortcut
-... | mit |
SolidEdgeCommunity/docs | docfx_project/apidoc/SolidEdgeFrameworkSupport.BSplineCurve2d.GetParameterRange.md | 304 | ---
uid: SolidEdgeFrameworkSupport.BSplineCurve2d.GetParameterRange(System.Double@,System.Double@)
summary:
remarks:
syntax:
parameters:
- id: End
description: Specifies the end parameter of the curve.
- id: Start
description: Specifies the start parameter of the curve.
---
| mit |
junhuac/MQUIC | src/base/trace_event/memory_dump_manager.h | 16373 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BASE_TRACE_EVENT_MEMORY_DUMP_MANAGER_H_
#define BASE_TRACE_EVENT_MEMORY_DUMP_MANAGER_H_
#include <stdint.h>
#include <map>
#include <memory>
#in... | mit |
fdv/social-penis-enlargement | migrate.rb | 452 | class CreateUser < ActiveRecord::Migration
def up
create_table :users do |t|
t.integer :user_id, :limit => 8
t.string :screen_name
t.boolean :following, :default => false
t.boolean :followed, :default => false
t.boolean :unfollowed, :default => false
t.timestamp :followed_at
... | mit |
vbloodv/blood | extern/openssl.orig/crypto/thr_id.c | 9864 | /* crypto/cryptlib.c */
/* ====================================================================
* Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:... | mit |
edwardearl/winprom | winprom/DomapInfo_dlg.cpp | 1484 | // WinProm Copyright 2015 Edward Earl
// All rights reserved.
//
// This software is distributed under a license that is described in
// the LICENSE file that accompanies it.
//
// DomapInfo_dlg.cpp : implementation file
//
#include "stdafx.h"
#include "winprom.h"
#include "DomapInfo_dlg.h"
#ifdef _DEBUG
#define new ... | mit |
hannifd/F2D-Build | app/views/index.html | 5726 | {{<govuk_template}}
{{$head}}
{{>includes/elements_head}}
{{>includes/elements_scripts}}
{{/head}}
{{$propositionHeader}}
{{>includes/propositional_navigation4}}
{{/propositionHeader}}
{{$headerClass}}with-proposition{{/headerClass}}
{{$content}}
<script>
if(sessionStorage.condition) {
sessionStorage.remo... | mit |
PacktPublishing/Vulkan-Cookbook | Samples/Source Files/11 Lighting/01-Rendering_a_geometry_with_vertex_diffuse_lighting/main.cpp | 27469 | // MIT License
//
// Copyright( c ) 2017 Packt
//
// 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, mer... | mit |
nevern02/bread_exchange | app/models/currency.rb | 319 | # == Schema Information
#
# Table name: currencies
#
# id :integer not null, primary key
# name :string
# abbrev :string
# created_at :datetime not null
# updated_at :datetime not null
#
class Currency < ActiveRecord::Base
validates :name, :abbrev, presence: true
end
| mit |
webdevops/Dockerfile | tests/serverspec/spec/collection/ansible.rb | 128 | shared_examples 'collection::ansible' do
include_examples 'python::toolchain'
include_examples 'ansible::toolchain'
end
| mit |
wmira/react-icons-kit | src/md/ic_my_location_twotone.js | 670 | export const ic_my_location_twotone = {"viewBox":"0 0 24 24","children":[{"name":"path","attribs":{"d":"M0 0h24v24H0V0z","fill":"none"},"children":[]},{"name":"path","attribs":{"d":"M13 3.06V1h-2v2.06C6.83 3.52 3.52 6.83 3.06 11H1v2h2.06c.46 4.17 3.77 7.48 7.94 7.94V23h2v-2.06c4.17-.46 7.48-3.77 7.94-7.94H23v-2h-2.06c-... | mit |
freyr69/mh | resources/views/dom/count/partials/_form.blade.php | 1108 | <div class="form-group fg-float">
<div class="fg-line">
{!! Form::text('name', null, array('class' => 'form-control fg-input')) !!}
</div>
{!! Form::label('name', 'Name', array('class' => 'fg-label')) !!}
</div>
<div class="form-group fg-float">
<div class="fg-line">
{!! Form::textar... | mit |
StoyanVitanov/SoftwareUniversity | Java Fundamentals/Java OOP Advanced/08.ObjectCommunication&Events/exercise/task5_kingsGambitExtended/utils/MessegeLogger.java | 170 | package exercise.task5_kingsGambitExtended.utils;
public class MessegeLogger {
public static void log(String message){
System.out.println(message);
}
}
| mit |
nealsun/Artsy-OSSUIFonts | README.md | 1856 | [](https://travis-ci.org/artsy/Artsy-OSSUIFonts)
# Artsy+OSSUIFonts
This project contains the fonts and UIFont categories required to make a project with standard artsy design. We cannot include the fonts that we would normally use in a pu... | mit |
jnguyen095/real-estate | application/views/admin/product/list.php | 13824 | <?php
/**
* Created by Khang Nguyen.
* Email: khang.nguyen@banvien.com
* Date: 10/3/2017
* Time: 9:33 AM
*/
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Tin Đất Đai | Quản lý bài đăng</title>
<?php $this->load->view('/admin/common/header-j... | mit |
cerebral/cerebral-module-forms | demo/modules/Simple/index.js | 1344 | import Form from 'cerebral-module-forms/Form'
import submitForm from './chains/submitForm'
import resetForm from './chains/resetForm'
import validateForm from './chains/validateForm'
export default (options = {}) => {
return (module, controller) => {
module.addState(Form({
name: {
value: '',
... | mit |
superusercode/RTC3 | Real-Time Corruptor/BizHawk_RTC/attic/GarboDev/Renderer.cs | 34326 | namespace GarboDev
{
using System;
using System.Collections.Generic;
using System.Text;
public partial class Renderer : IRenderer
{
private Memory memory;
private uint[] scanline = new uint[240];
private byte[] blend = new byte[240];
private byte[] windowCover = new... | mit |
KlishGroup/prose-pogs | pogs/G/GXYCOHX/GSTER/index.md | 1945 | ---
layout: page
title: Green Storm Tech Executive Retreat
date: 2016-05-24
author: Austin Dixon
tags: weekly links, java
status: published
summary: Class aptent taciti sociosqu ad litora torquent per.
banner: images/banner/leisure-04.jpg
booking:
startDate: 11/11/2019
endDate: 11/13/2019
ctyhocn: GXYCOHX
group... | mit |
maximx1/roma_quantum | app/models/ClientGrantType.scala | 738 | package models
import java.util.UUID
import play.api.db.slick.Config.driver.simple._
import org.joda.time.DateTime
import com.github.tototoshi.slick.HsqldbJodaSupport._
case class ClientGrantType(
clientId: String,
grantTypeId: Int
) extends Model
class ClientGrantTypes(tag: Tag) extends Table[ClientGrantTy... | mit |
Bingle-labake/coollive.com.cn | public/data/static/prototype_cate_releate.php | 254 | <?php
$data = array (
0 =>
array (
'id' => '3',
'name' => '三国杀',
'desc' => '三国演义',
'parent_id' => '0',
'has_child' => '0',
'is_show' => '0',
'level' => '1',
'type' => '0',
'sort' => '0',
),
);
?> | mit |
creative-junk/Webshop | src/AppBundle/Controller/CheckoutController.php | 5055 | <?php
namespace AppBundle\Controller;
use AppBundle\Entity\BillingAddress;
use AppBundle\Entity\ShippingAddress;
use AppBundle\Form\BillingAddressFormType;
use AppBundle\Form\ShippingAddressFormType;
use AppBundle\Form\ShippingMethodFormType;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bun... | mit |
gabrielsimas/SistemasExemplo | DDD/SPAAngularJSMVC/Solucao/MVCAngularJS.Aplicacao/Properties/AssemblyInfo.cs | 1438 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MV... | mit |
rgeraads/phpDocumentor2 | tests/unit/phpDocumentor/Descriptor/CollectionTest.php | 5793 | <?php
declare(strict_types=1);
/**
* This file is part of phpDocumentor.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @link http://phpdoc.org
*/
namespace phpDocumentor\Descriptor;
use Mockery\Adapter\Phpunit\MockeryTestCas... | mit |
IonicaBizau/arc-assembler | clients/ace-builds/src/snippets/scala.js | 198 | "use strict";
define("ace/snippets/scala", ["require", "exports", "module"], function (require, exports, module) {
"use strict";
exports.snippetText = undefined;
exports.scope = "scala";
}); | mit |
rallek/helper | src/modules/RK/HelperModule/Controller/Base/AbstractExternalController.php | 8824 | <?php
/**
* Helper.
*
* @copyright Ralf Koester (RK)
* @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License
* @author Ralf Koester <ralf@familie-koester.de>.
* @link http://k62.de
* @link http://zikula.org
* @version Generated by ModuleStudio (https://modulestudio.de).
*/
namespace... | mit |
variadico/etercli | vendor/github.com/golang/dep/cmd/dep/ensure_test.go | 3387 | // Copyright 2017 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import (
"errors"
"go/build"
"testing"
"github.com/golang/dep/internal/gps"
"github.com/golang/dep/internal/gps/pkgtree"
)
func TestInvalid... | mit |
robashton/zombify | src/node_modules/zombie/node_modules/jsdom/node_modules/cssstyle/lib/properties/src.js | 211 | 'use strict';
module.exports = {
set: function (v) {
this.setProperty('src', v);
},
get: function () {
return this.getPropertyValue('src');
},
enumerable: true
};
| mit |
alissonphp/lumen-api-skeleton | app/Modules/OAuth/Controllers/LoginController.php | 4190 | <?php
namespace App\Modules\OAuth\Controllers;
use App\Http\Controllers\Controller;
use App\Modules\Users\Controllers\UserController;
use App\Modules\Users\Models\User;
use App\Modules\Users\Supports\MailCheckSupport;
use Laravel\Socialite\Facades\Socialite as Socialite;
use Illuminate\Http\Request;
use Tymon\JWTAuth... | mit |
maharlikans/titanic_visualization | css/style.css | 215 | body {
font: 10px sans-serif;
}
.axis path,
.axis line {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
}
.bar {
fill: steelblue;
}
g.orbit,
g.main {
cursor: pointer;
pointer-events: all;
}
| mit |
freezedev/survival-guide-for-pirates | scripts/build.sh | 8208 | #!/bin/sh
# Compile script to compile against Elysion library
# Works for Mac OS X and Linux
FPC_BIN=`which fpc`
BIN_FOLDER="../bin"
LIB_FOLDER="../lib"
RES_FOLDER="../resources"
SRC_FOLDER="../source"
# Info.plist constants
BUNDLE_REGION="English"
BUNDLE_ICON="logo.icns"
BUNDLE_IDENT="com.mycompanyname"
BUNDLE_SI... | mit |
ajam/tablespoon | README.md | 2361 | # Tablespoon
**This repository is no longer being maintained. Please use [https://github.com/mhkeller/tablespoon2](https://github.com/mhkeller/tablespoon2).**
Easily query spreadsheet-like or json data with SQLite or PostgreSQL. Built around[ node-postgres](https://github.com/brianc/node-postgres) and [node-sqlite3](... | mit |
codecvlc/amerios | src/qt/bitcoin.cpp | 10776 | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <QApplication>
#include "bitcoingui.h"
#include "clientmodel.h"
#include "walletmodel.h"
#include "optionsmodel.h"
#... | mit |
crianbluff-programming/ciudadplacer | dist/css/header.css | 478 | .letra-ciudad {
color: #fff;
font-weight: 100;
cursor: pointer;
font-family: 'Moonbeam' !important;
font-size: 43px;
padding-left: 15px;
}
.letra-placer {
color: #fff;
font-weight: 100;
cursor: pointer;
font-size: 44px;
font-family: 'QaskinBlack';
}
#cabecera_sup_buscar {
text-align: center;
}... | mit |
peterwiebe/phase-0 | week-3/chrome-devtools/positioning-reflection.md | 2911 | #3.4 Chrome Dev Tools
1. Change in Colors

2. Column

3. Row

4. Make Equidistant

5. Squares

6. Footer
![Foo... | mit |
momibun926/redmine_project_summary | README.md | 48 | # redmine project summary
Now work in progress.
| mit |
incinirate/Riko4 | libs/include/SDL2/docs/README-android.md | 21191 | Android
================================================================================
Requirements:
Android SDK (version 12 or later)
http://developer.android.com/sdk/index.html
Android NDK r7 or later
http://developer.android.com/tools/sdk/ndk/index.html
Minimum API level supported by SDL: 10 (Android 2.3.3)
Jo... | mit |
jonasrauber/c2s | c2s/experiment.py | 21962 | #!/usr/bin/env python
"""
Manage and display experimental results.
"""
__license__ = 'MIT License <http://www.opensource.org/licenses/mit-license.php>'
__author__ = 'Lucas Theis <lucas@theis.io>'
__docformat__ = 'epytext'
__version__ = '0.4.3'
import sys
import os
import numpy
import random
import scipy
import socke... | mit |
limitium/Toxic | src/Tox/SatelliteBundle/Tests/Controller/SatelliteControllerTest.php | 1775 | <?php
namespace Tox\SatelliteBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class SatelliteControllerTest extends WebTestCase
{
/*
public function testCompleteScenario()
{
// Create a new client to browse the application
$client = static::createClient();
... | mit |
vincentfung13/TwitterRepManagement | user_handle/static/user_handle/css/user_index.css | 392 | #entity-manager-container {
margin-bottom: 20px;
text-align: center;
}
#tag {
margin-left: auto;
margin-right: auto;
}
#inbox {
margin-top: 20px;
}
#entity-manager-heading {
margin-bottom: 20px;
}
#graphs-container {
margin-bottom: 20px;
}
#selectors-container {
text-align: center;
... | mit |
abforce/Dino-Runner | app/src/main/java/ir/abforce/dinorunner/custom/SPixelPerfectSprite.java | 544 | package ir.abforce.dinorunner.custom;
import com.makersf.andengine.extension.collisions.entity.sprite.PixelPerfectSprite;
import com.makersf.andengine.extension.collisions.opengl.texture.region.PixelPerfectTextureRegion;
import ir.abforce.dinorunner.managers.RM;
/**
* Created by Ali Reza on 9/4/15.
*/
public class... | mit |
lgcarrier/APEXFramework | 5.2.3/Database/Sequences/AFW_25_VERSN_PUBLC_SEQ.sql | 156 | SET DEFINE OFF;
CREATE SEQUENCE AFW_25_VERSN_PUBLC_SEQ
START WITH 1
MAXVALUE 9999999999999999999999999999
MINVALUE 1
NOCYCLE
CACHE 20
NOORDER
/
| mit |
jbandela/Castor_Mirror | includes/predicate.h | 17894 | // Castor : Logic Programming Library
// Copyright © 2007-2010 Roshan Naik (roshan@mpprogramming.com).
// This software is governed by the MIT license (http://www.opensource.org/licenses/mit-license.php).
#ifndef CASTOR_PREDICATE_H
#define CASTOR_PREDICATE_H 1
#include "relation.h"
#include "helpers.h"
#incl... | mit |
swara-app/github-webhook | mongoose/index.js | 280 | 'use strict';
exports.connect = function () {
var mongoose = require('mongoose'),
config = require('../config'),
options = {
user : config.mongo.user,
pass : config.mongo.pass
};
mongoose.connect(config.db, options);
return mongoose.connection;
};
| mit |
mrb/rubocop | spec/rubocop/cop/style/else_alignment_spec.rb | 17903 | # encoding: utf-8
# frozen_string_literal: true
require 'spec_helper'
describe RuboCop::Cop::Style::ElseAlignment do
subject(:cop) { described_class.new(config) }
let(:config) do
RuboCop::Config.new('Lint/EndAlignment' => end_alignment_config)
end
let(:end_alignment_config) do
{ 'Enabled' => true, 'Al... | mit |
594438666233/SQ_WDDXSH_B | SX_WDDXSH/SX_WDDXSH/Modules/Schedule/View/CollectionViewCell.h | 399 | //
// CollectionViewCell.h
// Timetable
//
// Created by FuShouqiang on 16/10/18.
// Copyright © 2016年 fu. All rights reserved.
//
#import <UIKit/UIKit.h>
//课程表主CollectionView
@interface CollectionViewCell : UICollectionViewCell
@property (nonatomic, copy) NSString *cellName;
@property (nonatomic, copy) NSString... | mit |
willot/raft-new | app/controllers/trips_controller.rb | 952 | class TripsController < ApplicationController
before_action :set_trip, only: [:show, :update, :destroy, :edit]
def index
if current_user
@created_trips = current_user.created_trips
@joined_trips = current_user.trips
else
@trips = Trip.order(:start_at).limit(25)
end
end
def new
... | mit |
samsymons/RedditKit.rb | lib/redditkit/client/search.rb | 1908 | module RedditKit
class Client
# Methods for searching reddit's links.
module Search
# Search for links.
#
# @param query [String] The search query.
# @option options [String, RedditKit::Subreddit] subreddit The optional subreddit to search.
# @option options [true, false] restr... | mit |
michael-eightnine/frontend-portfolio | site/js/angular/app.js | 1907 | //APP
var app = angular.module('PortfolioApp', ['ngRoute', 'slick']);
//ROUTING
app.config(function ($routeProvider) {
"ngInject";
$routeProvider
.when('/', {
controller: "HomeController",
templateUrl: "js/angular/views/home-view.html"
})
.when('/work/:projectId', {
controller: 'ProjectController',
templa... | mit |
FatJohn/UnicornToolkit | Library/Unicorn.Shared/Extension/CancellationTokenSourceExtensions.cs | 1739 | // Copyright (c) 2018 Louis Wu
// 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, publish, distr... | mit |
dinanandka/MonitoringKP_KPPL | application/views/welcome.php | 21424 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Creative One Page Parallax Template">
<meta name="keywords" content="Creative, Onepage, Parallax, HTML5, Bootstrap, Popular, custom, personal, po... | mit |
tschmitz/CoreDataHelpers | README.md | 18 | # CoreDataHelpers
| mit |
motorcyclejs/dom | test/helpers/fake-raf.ts | 552 | let original: (fn: FrameRequestCallback) => number;
let requesters: any[] = [];
function fakeRaf(fn: FrameRequestCallback): number {
requesters.push(fn);
return requesters.length;
}
function use() {
original = window.requestAnimationFrame;
window.requestAnimationFrame = fakeRaf;
}
function restore() {
set... | mit |
luetm/MotoBot | MotoBotCore/Interfaces/IChannel.cs | 267 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MotoBotCore.Interfaces
{
public interface IChannel
{
string Name { get; set; }
string Motd { get; set; }
}
}
| mit |
gecko0307/squall | source/SoundFile/MP3/MpegDecoder.cpp | 77394 | //-----------------------------------------------------------------------------
// Декодер Mpeg Layer 1,2,3
// Копонент звукового двигателя Шквал
// команда : AntiTank
// разработчик : Гилязетдинов Марат (Марыч)
//-----------------------------------------------------------------------------
// включения
#include <str... | mit |
benoror/ember-airtable | tests/unit/serializers/inventory-test.js | 2679 | import { moduleForModel, test } from 'ember-qunit';
import Pretender from 'pretender';
// ToDo: Install ember-cli-faker
import mocks from './mocks';
const {
inventoryMock,
productMock,
componentsMock
} = mocks;
let mockServer;
moduleForModel('inventory', 'Unit | Serializer | inventory', {
needs: ['serial... | mit |
githubydq/DQLoveWords | LoveWords/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown | 2626 | # Acknowledgements
This application makes use of the following third party libraries:
## FMDB
If you are using FMDB in your project, I'd love to hear about it. Let Gus know
by sending an email to gus@flyingmeat.com.
And if you happen to come across either Gus Mueller or Rob Ryan in a bar, you
might consider purchas... | mit |
devsunny/app-galleries | batch-flow-process/src/main/java/com/asksunny/batch/tasklets/Demo1.java | 341 | package com.asksunny.batch.tasklets;
public class Demo1 {
long id;
String name;
public Demo1() {
}
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = n... | mit |
GlowstoneMC/GlowstonePlusPlus | src/main/java/net/glowstone/net/codec/play/game/UpdateBlockEntityCodec.java | 1140 | package net.glowstone.net.codec.play.game;
import com.flowpowered.network.Codec;
import io.netty.buffer.ByteBuf;
import java.io.IOException;
import net.glowstone.net.GlowBufUtils;
import net.glowstone.net.message.play.game.UpdateBlockEntityMessage;
import net.glowstone.util.nbt.CompoundTag;
import org.bukkit.util.Bloc... | mit |
OneGet/oneget | src/Microsoft.PackageManagement.ArchiverProviders/Compression/DuplicateStream.cs | 8313 | //---------------------------------------------------------------------
// <copyright file="DuplicateStream.cs" company="Microsoft Corporation">
// Copyright (c) 1999, Microsoft Corporation. All rights reserved.
// </copyright>
// <summary>
// Part of the Deployment Tools Foundation project.
// </summary>
//-... | mit |
MozhganNajafi/andisheh-bartar | source/dashboard/components/filemanager/controllers/removefolder.controller.js | 980 | +(function () {
'use strict';
angular
.module('DashboardApplication')
.controller('FileManagerRemoveFolderController', ['$scope', '$q', 'Event', 'FoldersRest', FileManagerRemoveFolderController]);
function FileManagerRemoveFolderController($scope, $q, Event, FoldersRest) {
var vm ... | mit |
jlpuma24/colector-android-telecomsoftsrs | app/src/main/java/co/colector/model/request/SendSurveyRequest.java | 2516 | package co.colector.model.request;
import java.util.ArrayList;
import java.util.List;
import co.colector.ColectorApplication;
import co.colector.R;
import co.colector.model.IdInputValue;
import co.colector.model.IdValue;
import co.colector.model.Survey;
import co.colector.model.AnswerValue;
import co.colector.session... | mit |
rluisr/AuthKeyPush | app/controllers/auth.go | 397 | package controllers
import (
"github.com/revel/revel"
"AuthKeyPush/app/models"
)
type Auth struct {
*revel.Controller
}
func (c Auth) Github(code string) revel.Result {
login := models.GitHub(code)
if login == true {
c.Session["login"] = "true"
} else {
c.Session["login"] = "false"
c.Session["msg"] = "L... | mit |
FriendsOfVagrant/friendsofvagrant.github.com | about.md | 1831 | ---
layout: about
title: Sobre o Vagrant
current: Sobre
---
<div class="alert alert-block alert-info">
<strong>Observação:</strong> Essa página fala sobre o projeto Vagrant em si.
Se em vez isso você estiver procurando pela documentação sobre o que o
Vagrant é e como começar a utilizá-lo, vá para o
<a href="/... | mit |
w295472444/TMCOIN | src/bitcoinrpc.cpp | 48637 | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "init.h"
#include "util.h"
#include "sync.h"
#include "ui_interface.h"
#includ... | mit |
davidli86/VisibleBuildConfig | VisibleBuildConfig/Classes/VisibleBuildConfig.h | 799 | //
// VisibleBuildConfig.h
// VisibleBuildConfig
//
// Created by David Li on 11/09/2017.
//
//
#import <Foundation/Foundation.h>
#define kVisibleBuildConfigChanged @"kVisibleBuildConfigChanged"
@interface VisibleBuildConfig : NSObject
//ConfigName is reqired and unique
@property(nonatomic, strong) NSString *... | mit |
bitovi/documentjs | lib/process/test/module_with_multiple_exports.js | 781 | /**
* @module {Module} utils/math
* @parent utils
*
* The module's description is the first paragraph.
*
* The body of the module's documentation.
*/
import _ from 'lodash';
/**
* @function
*
* This function's description is the first
* paragraph.
*
* This starts the body. This text comes after the sign... | mit |
ekohilas/dotfiles | README.md | 392 | # dotfiles
My config files for linux
Looking for a sane default vimrc?
```
wget https://raw.githubusercontent.com/ekohilas/dotfiles/master/.vimrc.default -O ~/.vimrc
```
Want the DarkIdle Colorscheme?
```
wget https://raw.githubusercontent.com/ekohilas/dotfiles/master/.vim/colors/DarkIdle.vim -O ~/.vim/colors/DarkIdl... | mit |
mehdiYal/Schoolium | var/cache/dev/twig/9d/9ddcdbb0671c46071f6efb8e5daeec192572165664b16d016f57f2b46b9702b3.php | 8083 | <?php
/* WebProfilerBundle:Collector:router.html.twig */
class __TwigTemplate_c8d21550850074782862265b813a9c2aea7c608253db98e24225c2ea859cc33f extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTe... | mit |
mizejewski/ucsf-history-website | photo_searby.html | 1731 | ---
---
<!doctype html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Photo - A History of UCSF</title>
<link href='http://fonts.googleapis.com/css?family=G... | mit |
ekyoung/contact-repository | Source/Web/Content/ContactGroups/EditContactGroupMemberRelationships.html | 1261 | <div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Relationships</h3>
</div>
<div class="panel-body">
<div ng-repeat="relationship in contactGroupMember.Relationships">
<div class="form-group">
<label for="inputRelationship" cla... | mit |
0x80/gatsby | e2e-tests/production-runtime/cypress/plugins/index.js | 957 | // ***********************************************************
// This example plugins/index.js can be used to load plugins
//
// You can change the location of this file or turn off loading
// the plugins file with the 'pluginsFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/plugins-g... | mit |
itztli/pakal | scripts/run.sh | 1003 | #!/bin/bash
# ./run pixel_inicio pixel_final pixel_paso frecuencia_inicio frecuencia_final
# frecuencia_paso resolucion_espacial Rt modelo path
COUNTERX=$1
while [ $COUNTERX -le $2 ]; do
if [ ! -d "/home/vdelaluz/ARTs/papers/cavity2D/data/SEL05/${COUNTERX}" ]; then
# Control will enter here if $DIRECTORY doesn't... | mit |
codetheif/toDo | src/do/todo.component.html | 446 | <p> Yo
</p>
<div *ngFor ="let task of taskList;let i=index;" style="padding:10px;width:100%;">
<input type="checkbox" name="task" value= "xyz" [checked]="task.status!=='N'">{{task.name}}
<br>
<button (click)="clearTask(task)" style="display:inline-block;">Delete</button>
</div>
<div>
<input type= ... | mit |
ArvoGuo/old | manager/index.php | 147 | <?php
if ($_SESSION['manager']==""){
header("Location: admin_login.php");
exit;
};
header("Location: admin_index.php");
?> | mit |
createthis/mesh_maker_vr | Assets/MMVR/Factory/UI/Button/FileManager/Editor/FileManagerSaveButtonFactoryEditor.cs | 1032 | using UnityEngine;
using UnityEditor;
using CreateThis.Factory.VR.UI.Button;
namespace MMVR.Factory.UI.Button {
[CustomEditor(typeof(FileManagerSaveButtonFactory))]
[CanEditMultipleObjects]
public class FileManagerSaveButtonFactoryEditor : MomentaryButtonFactoryEditor {
SerializedProperty fileMana... | mit |
lo-th/Oimo.js | examples/docs/rigidbody.js | 504 | var box, mbox;
function demo() {
cam ( 0, 20, 40 );
world = new OIMO.World();
world.add({ size:[50, 10, 50], pos:[0,-5,0] }); // ground
var options = {
type:'box',
size:[10, 10, 10],
pos:[0,20,0],
density:1,
move:true
}
box = world.add( options );
... | mit |
JonBriggs/SISteMATIC | db/migrate/20131029185157_create_courses.rb | 353 | class CreateCourses < ActiveRecord::Migration
def change
create_table :courses do |t|
t.string :name
t.string :short_name
t.string :sisid
t.text :description
t.integer :department_id
t.integer :term_id
t.boolean :graded
t.boolean :archived
t.string :type
... | mit |
RXTeams/topController | topController/AppDelegate.h | 280 | //
// AppDelegate.h
// topController
//
// Created by 张衡 on 2016/11/18.
// Copyright © 2016年 张衡. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| mit |
mikhtonyuk/rxpython | concurrent/futures/cooperative/ensure_exception_handled.py | 3261 | import traceback
class EnsureExceptionHandledGuard:
"""Helper for ensuring that Future's exceptions were handled.
This solves a nasty problem with Futures and Tasks that have an
exception set: if nobody asks for the exception, the exception is
never logged. This violates the Zen of Python: 'Errors s... | mit |
jcoutu/gitnetworkitis | lib/gitnetworkitis/getter.rb | 1826 | module GitNetworkitis
class Getter
include HTTParty
include JSONHelper
base_uri 'https://api.github.com'
attr_accessor :url, :local_options, :query_options
LOCAL_KEYS = [:batch, :since]
def initialize(url, options={})
@url = url
scrub_local_options options
@query_options =... | mit |
OpenTl/OpenTl.Schema | docs/api/OpenTl.Schema.Updates/IChannelDifference/index.html | 14007 | <!DOCTYPE html><html><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="description">
<meta name="keywords" content="static content generator,static site generator,static site,HTML,web development,.NET,C#,Razor,Markdown,YAML">
<meta n... | mit |
selfcontained/mini-cassia-turkey-trot | generate.js | 563 | var fs = require('fs'),
cons = require('consolidate'),
dust = require('dustjs-linkedin');
var pages = [
'index',
'contact',
'faq',
'registration',
'sponsors',
'travel',
'visit',
'volunteers'
];
pages.forEach(function(page) {
cons.dust('views/'+page+'.dust', { views: __dirname+'/views'}, function(err, htm... | mit |
k0zmo/mouve | Logic/NodeType.h | 15316 | /*
* Copyright (c) 2013-2014 Kajetan Swierk <k0zmo@outlook.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, ... | mit |
pirate/bookmark-archiver | archivebox/core/__init__.py | 32 | __package__ = 'archivebox.core'
| mit |
Team-2502/UpdatedRobotCode2017 | src/com/team2502/robot2017/command/autonomous/ShinyFollow.java | 267 | package com.team2502.robot2017.command.autonomous;
import edu.wpi.first.wpilibj.command.CommandGroup;
public class ShinyFollow extends CommandGroup
{
/**
* Does a follow
*/
public ShinyFollow() { addSequential(new AutoVisionCommand(200, 0.3)); }
} | mit |
caelum/rest-client | rest-server-gae/src/br/com/caelum/rest/server/SimpleAction.java | 638 | package br.com.caelum.rest.server;
import javax.servlet.http.HttpServletRequest;
public class SimpleAction implements Action {
public String getUri() {
return uri;
}
public String getRel() {
return rel;
}
private final String uri;
private final String rel;
public SimpleAction(String rel, String uri) {
... | mit |