repo_name stringlengths 8 58 | path stringlengths 4 186 | size stringlengths 2 6 | content stringlengths 12 215k | license stringclasses 3
values |
|---|---|---|---|---|
donfo/generator-vue-tpl | app/models/concerns/fae/base_model_concern.rb | 5275 | <?php
namespace App\Http\Middleware;
use Input, Closure, Response, User;
class CheckClientKey {
public function handle($request, Closure $next)
{
$input = Input::all();
$output = array();
if(!isset($input['key'])){
$output['error'] = 'API key required';
return Response::json($output, ... | mit |
Daskie/Crazy8-CPE-103 | app/i18n/docs/pl/InfoModals/GapLimit.md | 608 | var test = require('tape');
var BSFS = require('../lib/bsfs');
indexedDB.deleteDatabase('bsfs-tests');
function randomId () { return Math.random().toString(36).substr(2) }
test('bsfs exists', function (t) {
t.plan(1);
var bsfs = new BSFS('bsfs-tests');
if (!bsfs._ready) return bsfs.once('ready', ready);
el... | isc |
dwrensha/groovebasin | vendor/github.com/OpenBazaar/multiwallet/multiwallet.go | 2402 | # coding=utf8
"""
Parser for todo format string.
from todo.parser import parser
parser.parse(string) # return an Todo instance
"""
from models import Task
from models import Todo
from ply import lex
from ply import yacc
class TodoLexer(object):
"""
Lexer for Todo format string.
Tokens
ID ... | mit |
romeugodoi/demo_sf2 | _site/_units/dreadnought.md | 214 | async function test(object) {
for (var key in object) {
await key;
}
}
| isc |
rlemon/se-chat-dark-theme-plus | TIGString.c | 356 | h1 {
/* inline || block || */
display: inline;
/* padding-box || border-box */
box-sizing: content-box;
padding: 0;
margin: 0;
}
/* Important Auto */
.auto-parent {
width: 500px;
}
.auto-child {
/* With Auto Width - it will fill up to take all the remaining space - 400 px */
margi... | mit |
Dreedi/Dreedi | test/bsfs.js | 31015 | <?php
/*
Template Name: Full Page Width Template
*/
get_header();
while ( have_posts() ) {
the_post();
get_template_part( 'content', 'page-full' );
} // end of the loop
get_footer(); | mit |
coq-bench/coq-bench.github.io | SongManager/SongManager.Web/NinjectSupport/DependencyBindingsModule.cs | 2032 | #
# Cookbook Name:: stow
# Spec:: default
#
# Copyright (c) 2015 Steven Haddox
require 'spec_helper'
describe 'stow::default' do
context 'When all attributes are default, on an unspecified platform' do
let(:chef_run) do
runner = ChefSpec::ServerRunner.new
runner.converge(described_recipe)
end
... | isc |
bkoc/BKAsciiImage | demo/style.css | 4178 | /*
* 94 shifted lines of 72 ASCII characters.
*/
static const char *characters[] = {
"!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefgh",
"\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghi",
"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`... | mit |
ezekielriva/bus-locator | _posts/2010-03-26-what-to-do-when-ubuntu-device-mapper-seems-to-be-invincible.markdown | 699 | <div class="container">
<div class="col-md-12 col-sm-12 col-xs-12 no-padding">
<div ng-controller="GroupMenu" ng-model="currentMenu" ng-init="currentMenu = 'new'" ng-include="'group/menu'" class="row"></div>
<div class="row">
<div class="col-md-12 no-padding">
<div c... | mit |
unclefrost/extrem.web | src/test/java/nl/ulso/sprox/json/spotify/AlbumFactory.java | 409 | module Mlblog
VERSION = "0.0.1"
end
| isc |
wikibus/Argolis | app/templates/views/pricing/billing-details.html | 919 | require 'spec_helper'
describe ZK::Threadpool do
before do
@threadpool = ZK::Threadpool.new
end
after do
@threadpool.shutdown
end
describe :new do
it %[should be running] do
@threadpool.should be_running
end
it %[should use the default size] do
@threadpool.size.should == ZK... | mit |
Krever/endpoints | LeetCode/Answers/Leetcode-java-solution/remove_duplicates_from_sorted_list/RemoveDuplicatesfromSortedList.java | 5917 | #LocalFolderPathStr=${PWD}
#LocalFilePathStr=$LocalFolderPathStr'/.pypirc'
#HomeFilePathStr=$HOME'/.pypirc'
#echo $LocalFilePathStr
#echo $HomeFilePathStr
#cp $LocalFilePathStr $HomeFilePathStr
python setup.py register
sudo python setup.py sdist upload | mit |
Skema/Skema | src/app/ui/banking/vouchers/buy-vouchers-step-confirm.component.html | 2348 | Dagaz.Controller.persistense = "setup";
Dagaz.Model.WIDTH = 8;
Dagaz.Model.HEIGHT = 8;
ZRF = {
JUMP: 0,
IF: 1,
FORK: 2,
FUNCTION: 3,
IN_ZONE: 4,
FLAG: 5,
SET_FLAG: 6,
POS_FLAG: 7,
SET_POS_FLAG: 8,
ATTR:... | mit |
supnate/rekit-portal | HackMii Installer herunterladen.bat | 2590 | # == Schema Information
#
# Table name: accounts
#
# id :integer not null, primary key
# type :string default("Account"), not null
# description :string default(""), not null
# currency :string default("USD"), ... | mit |
CaptainCrowbar/unicorn-lib | src/main/java/com/eaw1805/data/model/map/Region.java | 3022 | import React from 'react';
import PropTypes from 'prop-types';
import styled, { keyframes } from 'styled-components';
const blink = keyframes`
from, to {
opacity: 1;
}
50% {
opacity: 0;
}
`;
const CursorSpan = styled.span`
font-weight: 100;
color: black;
font-size: 1em;
padding-left: 2px;
an... | mit |
Smolations/more-dash-docsets | samples/core/widget/data/index.js | 295 | .loading {
margin: 0 auto;
width: 100px;
padding-top: 50px;
}
/*!
* Load Awesome v1.1.0 (http://github.danielcardoso.net/load-awesome/)
* Copyright 2015 Daniel Cardoso <@DanielCardoso>
* Licensed under MIT
*/
.la-ball-fussion,
.la-ball-fussion > div {
position: relative;
-webkit-box-sizing: border-b... | mit |
HashirZahir/FIFA-Player-Ratings | schemas/article.js | 502 | <?php
return array (
'id' => 'samsung_gt_m5650_ver1',
'fallback' => 'generic_dolfin',
'capabilities' =>
array (
'pointing_method' => 'touchscreen',
'mobile_browser_version' => '1.0',
'uaprof' => 'http://wap.samsungmobile.com/uaprof/GT-M5650.rdf',
'model_name' => 'GT M5650',
'brand_name' => ... | isc |
danjohnson3141/rest_api | mp3.c | 378 | import java.text.NumberFormat;
// ****************************************************************
// ManageAccounts.java
// Use Account class to create and manage Sally and Joe's bank accounts
public class ManageAccounts
{
public static void main(String[] args)
{
Account acct1, acct2;
NumberFormat us... | mit |
rquellh/thewanderingconsultant | README.md | 38477 | package fr.pizzeria.admin.web;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
impo... | mit |
jeanregisser/tcSlackBuildNotifier | content/bibles/web/joel/index.html | 3587 | import Immutable from 'immutable';
import * as ActionType from '../../actions/auth/auth';
const defaultState = Immutable.fromJS({
loggedIn: false,
});
function authReducer(state = defaultState, action) {
const {
loggedIn,
} = action;
switch (action.type) {
case ActionType.VERIFIED_LOGIN:
retu... | mit |
charlesreid1/wordswordswords | ReMi.Web/ReMi.Web.UI.Tests/Tests/app/common/directives/draggableRowTests.js | 3298 | /**
*
* Modelo de Login usando MCV
* Desenvolvido por Ricardo Hirashiki
* Publicado em: http://www.sitedoricardo.com.br
* Data: Ago/2011
*
* Baseado na extensao criada por Wemerson Januario
* http://code.google.com/p/login-window/
*
*/
Ext.define('Siccad.view.authentication.CapsWarningTooltip', ... | mit |
iMshyam/ComIt | all-data/25000-25999/25468-22.html | 274 | title: 会声会影安装与激活
date: 2016-06-05 22:58:54
tags:
---
## 资源
* [会声会影下载](http://www.huishenghuiying.com.cn/xiazai.html#selctbuy)
* [会声会影注册机下载](https://hostr.co/file/FDp8MOYlRuHv/AppNee.com.Corel.X5-X9.All.Products.Universal.Keygen.7z?warning=on)
* 转载:[会声会影安装与激活](https://luoyefe.com/blog/2016/06/05/%E4%BC%9A%E5%A3%B0%E4%B... | mit |
andrewedstrom/cs638project | public/system/directives/google-maps.js | 373 | {% from "components/table.html" import list_table, field, right_aligned_field_heading, row_heading, notification_status_field %}
{% from "components/page-footer.html" import page_footer %}
<div class="ajax-block-container" aria-labelledby='pill-selected-item'>
<div class="dashboard-table bottom-gutter-3-2">
{% ca... | mit |
tommcclean/PortalCMS | lib/player.js | 234 | <!--
Author: Ray-Eldath
refer to:
- http://docs.mathjax.org/en/latest/options/index.html
-->
{% if site.mathjax %}
<script type="text/javascript" async src="https://cdnjs.loli.net/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_CHTML"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config... | mit |
amenadiel/google-maps-documentation | single.html | 3298 | # go-miner #
Data Mining Algorithms in GoLang.
## Installation
$ go get github.com/ozzie80/go-miner
## Algorithms
### k-means
Description From [Wikipedia](https://en.wikipedia.org/wiki/K-means_clustering):
> k-means clustering aims to partition n observations into k clusters in which each observation belongs to ... | mit |
DankBots/GN4R | JContainers/src/api_3/tes_string.h | 143 | <!DOCTYPE HTML>
<html>
<head>
<title>Gamecraft CI</title>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" href="/webjars/bootstrap/3.3.7-1/css/bootstrap.min.css"/>
<link rel="stylesheet" href="/css/dashboard.css"/>
<s... | mit |
theapricot/oppapp2 | app/AppKernel.php | 12777 | html,
body {
font-family: 'Roboto', 'Helvetica', sans-serif;
}
strong,
b {
font-weight: 700;
}
h1,
h2,
h3 {
font-family: "Roboto Slab", "Helvetica", "Arial", sans-serif;
}
pre, code {
font-family: "Roboto mono", monospace;
}
.ghostdown-edit-content {
position: absolute;
top: 50px;
bottom... | mit |
vinithanatarajan/Vini-training | app/views/group/edit.html | 3105 | import { gql } from '@apollo/client'
import avatarFragment from 'v2/components/AvatarUploader/fragments/avatar'
export default gql`
query AvatarCheck {
me {
...Avatar
}
}
${avatarFragment}
`
| mit |
hyperar/Hattrick-Ultimate | src/cppNGSD/resources/NGSD_schema.sql | 3326 | import asyncio
import discord
import datetime
import pytz
from discord.ext import commands
from Cogs import FuzzySearch
from Cogs import Settings
from Cogs import DisplayName
from Cogs import Message
from Cogs import Nullify
class Time:
# Init with the bot reference, and a reference to the s... | mit |
velour/ui | src/data/services/crew.service.ts | 5481 | # coding: utf-8
from sqlalchemy.testing import eq_, assert_raises, assert_raises_message, \
config, is_
import re
from sqlalchemy.testing.util import picklers
from sqlalchemy.interfaces import ConnectionProxy
from sqlalchemy import MetaData, Integer, String, INT, VARCHAR, func, \
bindparam, select, event, Type... | mit |
barryanders/ezra.js | src/main/java/land/face/strife/managers/CombatStatusManager.java | 3492 | <!--
Safe sample
input : backticks interpretation, reading the file /tmp/tainted.txt
SANITIZE : use of preg_replace with another regex
File : use of untrusted data in one side of a quoted expression in a script
-->
<!--Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royal... | isc |
antonioribeiro/sdk | packages/core/src/sessions/remove-session-cookie.spec.ts | 63 | /**
* Get a number suffix
* e.g. 1 -> st
* @param {int} i number to get suffix
* @return suffix
*/
var getSuffix = function (i) {
var j = i % 10,
k = i % 100;
if (j == 1 && k != 11) {
return i + "st";
}
if (j == 2 && k != 12) {
return i + "nd";
}
if (j == 3 && k != ... | isc |
Eernie/ASConfigCreator | blog/2016/acsr/index.html | 801 | package endpoints.algebra.circe
import io.circe.{Decoder => CirceDecoder, Encoder => CirceEncoder}
/**
* Combines both an [[io.circe.Encoder]] and a [[io.circe.Decoder]] into a single type class.
*
* You don’t need to define instances by yourself as they can be derived from an existing pair
* of an [[io.circe... | mit |
stevenhaddox/cookbook-stow | pogs/R/RICMDHX/SIC/index.md | 3668 | package org.peerbox.presenter;
import javafx.fxml.FXML;
import javafx.scene.Node;
import javafx.scene.layout.Pane;
public class MainController implements INavigatable {
@FXML
private Pane mainPane;
/*
* (non-Javadoc)
*
* @see org.peerbox.presenter.INavigatable#setContent(javafx.scene.Node)
*/
@Override
... | mit |
smo-key/NXTLib | README.md | 4352 | #!/bin/bash
# Set up your StartSSL certificates/keys for nginx-proxy
# This script expects your certificate and key files in this folder following
# the nginx-proxy naming convention.
# For example: foo.example.com.crt foo.example.com.key
# are the .crt and .key file for the domain foo.example.com
# Make sure script ... | mit |
techno/xv6-mist32 | docs/api/sip.js.registereroptions.instanceid.md | 907 | using Argolis.Hydra.Annotations;
using Argolis.Models;
using Vocab;
namespace TestHydraApi
{
public class IssueFilter : ITemplateParameters<Issue>
{
[Property(Schema.title)]
public string Title { get; set; }
[Property(Schema.BaseUri + "year")]
[Range(Xsd.integer)]
publ... | mit |
dan-42/turbo-broccoli | test/unit/cipher/vigenere_test.rb | 490 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using Office = Microsoft.Office.Core;
// TODO: Follow these steps to enable the Ribbon (XML) item:
// 1: Copy the following code block into the ThisAd... | mit |
pootzko/InfluxData.Net | AntWpfDemos/Demo05/Properties/AssemblyInfo.cs | 6108 | /*
* This file is subject to the terms and conditions defined in
* file 'LICENSE.txt', which is part of this source code package.
*
* author: emicklei
*/
V8D.receiveCallback = function(msg) {
var obj = JSON.parse(msg);
var context = this;
if (obj.receiver != "this") {
var namespaces = obj.rece... | mit |
ericgio/react-bootstrap-typeahead | app/reducers/auth/auth.js | 4049 | var monsterArray =
{
"name": "岩龙",
"other": [
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
""
],
"weakness": [
{
"data": [
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
... | mit |
justim/neostrada-api-client | features/step_definitions/schedule_steps_steps.rb | 3070 | ---
layout: post
title: "Vim实用技巧进阶(第10章:复制和粘贴) - Practical.Vim.2nd.Edition"
keywords: "vim,practical-vim,copy,paste,register,clipboard,实用技巧"
description: "Practical.Vim.2nd.Edition 实用技巧进阶 第10章:复制和粘贴"
tagline: "Tip 60~64"
date: '2018-11-01 09:44:57 +0800'
category: linux
tags: vim practical-vim linux
---
> {{ page.descr... | isc |
nuvalis/GMAQ | clean/Linux-x86_64-4.05.0-2.0.6/released/8.10.0/paramcoq/1.1.1+coq8.7.html | 1108 | <?php
/*
* This file is part of the sfOauthServerPlugin package.
* (c) Jean-Baptiste Cayrou <lordartis@gmail.com>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
*/
/**
* sfOauthServerRouting configuration.
*
* @package sfOauthSer... | mit |
ShevaDas/exhibitor-management | codespace/python/tencentcloud/scf/v20180416/errorcodes.py | 15122 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>finger-tree: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... | isc |
mind0n/hive | philo/models/fields/__init__.py | 5342 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
#pragma warning disable CA1801 // Remove unused parameter
#pragma warning disable IDE0060 // Remove unused parameter
using System;
using System.Linq;
using System.Text;
na... | mit |
Sioweb/Sioweb-MVC | app/controllers/v1/event_user_schedules_controller.rb | 14380 | # frankie - a plugin for sinatra that integrates with the facebooker gem
#
# written by Ron Evans (http://www.deadprogrammersociety.com)
#
# based on merb_facebooker (http://github.com/vanpelt/merb_facebooker)
# and the Rails classes in Facebooker (http://facebooker.rubyforge.org/) from Mike Mangino, Shane Vitarana, &... | mit |
coq-bench/coq-bench.github.io | application/lib/angular2/test/core/compiler/dynamic_component_loader_spec.js | 38 | 'use strict';
var clear = require('es5-ext/array/#/clear')
, eIndexOf = require('es5-ext/array/#/e-index-of')
, setPrototypeOf = require('es5-ext/object/set-prototype-of')
, callable = require('es5-ext/object/valid-callable')
, d = require('d')
, ee = require('ev... | mit |
coq-bench/coq-bench.github.io | src/test/java/org/paylogic/jenkins/advancedscm/MercurialRule.java | 77 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | mit |
wiki-ai/editquality | workspace/Lecture 09_18_13/src/ManageAccounts.java | 183 | module Fae
module BaseModelConcern
extend ActiveSupport::Concern
require 'csv'
attr_accessor :filter
included do
include Fae::Trackable if Fae.track_changes
include Fae::Sortable
end
def fae_display_field
# override this method in your model
end
def fae_nested_par... | mit |
jamierocks/Zinc | README.md | 2540 | # 弃用通知
此项目已不再维护,所有内容已经移至[magpie](https://github.com/haifenghuang/magpie)。
# Monkey程序语言
Table of Contents
=================
* [Monkey程序语言](#monkey%E7%A8%8B%E5%BA%8F%E8%AF%AD%E8%A8%80)
* [主页](#%E4%B8%BB%E9%A1%B5)
* [概述](#%E6%A6%82%E8%BF%B0)
* [总览](#%E6%80%BB%E8%A7%88)
* [安装](#%E5%AE%89%E8%A3%85)
* [基本用法](#%... | mit |
eugenetolok/easy-telegram-bot | deploy.sh | 3689 | [http://www.byteshiftcode.com/project/tank-maze-js-game](http://www.byteshiftcode.com/project/tank-maze-js-game)
| mit |
arssivka/naomech | HELP.py | 16790 | <?php
namespace Faker\Provider\fa_IR;
class PhoneNumber extends \Faker\Provider\PhoneNumber
{
/**
* @link https://fa.wikipedia.org/wiki/%D8%B4%D9%85%D8%A7%D8%B1%D9%87%E2%80%8C%D9%87%D8%A7%DB%8C_%D8%AA%D9%84%D9%81%D9%86_%D8%AF%D8%B1_%D8%A7%DB%8C%D8%B1%D8%A7%D9%86#.D8.AA.D9.84.D9.81.D9.86.E2.80.8C.D9.87.D8.A7.... | isc |
minutelab/mless | code/common_type-N3843.cpp | 2730 | //
// kmeans.h
// VoterMLA
//
// Created by MD Shihabul Kabir on 12/5/16.
// Copyright © 2016 MD Shihabul Kabir. All rights reserved.
//
#ifndef kmeans_h
#define kmeans_h
#include "county.h"
#include <vector>
//K-Means Clustering Namespace
namespace KmeansCluster {
//Data Structure to help K-Means Clustering... | mit |
GoKillers/libsodium-go | Andersc.CodeLib.Test/Helpers/Book.cs | 1089 | <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>File: calculations.rb</title>
<meta http-equiv="Content-... | mit |
unfoldingWord-dev/uw-ios | templates/admin.html | 3288 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | mit |
dsusco/tp.net-armageddon.org | BadgerAddin2010/Ribbon.cs | 10188 | /*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | mit |
benjamine/phenotype | app/src/main/java/zhou/adapter/NormalAdapter.java | 727 | #if false
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LionFire.Behaviors
{
public class Coroutine
{
}
}
#endif | mit |
la5942/argentum-invoice | Cache/Libs/net46/vb/language/shared/vbheapptr.h | 357 | /* Copyright information is at end of file */
#include "xmlrpc_config.h"
#include <stddef.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include "stdargx.h"
#include "xmlrpc-c/base.h"
#include "xmlrpc-c/base_int.h"
#include "xmlrpc-c/string_int.h"
static void
getString(xmlrpc_env *const envP,
... | isc |
mpandolfelli/papelera | src/Struct.js | 2687 | describe('dJSON', function () {
'use strict';
var chai = require('chai');
var expect = chai.expect;
var dJSON = require('../lib/dJSON');
var path = 'x.y["q.{r}"].z';
var obj;
beforeEach(function () {
obj = {
x: {
y: {
'q.{r}': {
z: 635
},
q: {... | mit |
samuelclay/NewsBlur | pogs/M/MGMDNHX/WBFP/index.md | 410 | #pragma once
#include <rikitiki/http/content_types.h>
#include <vector>
#include <map>
#include <array>
#include <mxcomp/reflection.h>
#ifdef _MSC_VER
#define constexpr
#endif
namespace rikitiki {
class ConnContext;
struct Response;
template <typename T>
struct ContentHandler_ {
static... | isc |
DevMpl/mlblog | public/app/pipes/remainingTimePipe.js | 3391 | doskey comit =python c:\Windows\ComIt\runWithoutRequests.py $*
| mit |
MJKWoolnough/minecraft | app/assets/Test/sql/comment.sql | 4873 | class CreateLists < ActiveRecord::Migration[5.1]
def change
create_table :lists do |t|
t.string :letter
t.string :tax_reference
t.string :list_type
t.date :date_list
t.timestamps
end
end
end
| mit |
kmx/mirror-cd | ajax/libs/globalize/0.1.1/cultures/globalize.culture.da.js | 369 | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Department extends Model
{
protected $fillable =['name'];
}
| mit |
zidad/Umbraco-CMS | src/main/scala/org/liquidizer/snippet/Markup.scala | 19398 | # safe_projects
Project management with git
## Configuration
Create a file named `~/.projects` with the path where you'd like your
repositories to be stored. This should ideally be a location that is backed up
regularly.
```bash
vim ~/.projects
```
An example file looks like this:
```bash
export REPOSITORY_ROOT=/n... | mit |
gyje/gyje.github.io | bongo/apps/search/templates/search/post.html | 141 | @echo off
CLS
%header%
echo.
if not exist "Programme\HackMii Installer" mkdir "Programme\HackMii Installer"
echo Downloade den HackMii Installer...
start /min/wait Support\wget -c -l1 -r -nd --retr-symlinks -t10 -T30 --random-wait --reject "*.html" --reject "%2A" --reject "get.php@file=hackmii_installer_v1.0*" "http:... | mit |
tzpBingo/github-trending | app/templates/add_tableinfo.html | 2605 | System.register(["angular2/test_lib", "angular2/src/test_lib/test_bed", "angular2/src/core/annotations_impl/annotations", "angular2/src/core/annotations_impl/view", "angular2/src/core/compiler/dynamic_component_loader", "angular2/src/core/compiler/element_ref", "angular2/src/directives/if", "angular2/src/render/dom/dir... | mit |
matthewsot/CocoaSharp | c/vec.c | 1293 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Ginolhac">
<meta name="generator" content="Hugo 0.42.1" />
<title>Posts &midd... | mit |
app-man/LoginEasy | ASP.NET-Core-Email/src/ASP.NET-Core-Email/Models/ManageViewModels/ConfigureTwoFactorViewModel.cs | 3319 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
$(document).ready(function(){
var div = document.getElementById('content');
var div1 = document.getElementById('leftbox');
div.style.height = document.body.clientHeight + 'px';
div1.style.height = div.st... | mit |
TerryHowe/ansible-modules-hashivault | app/http/client.js | 871 | /** @file safesysstat.h
* @brief #include <sys/stat.h> with portability enhancements
*/
/* Copyright (C) 2007,2012,2017 Olly Betts
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either ... | mit |
ProtonMail/WebClient | application/helpers/image_compression_helper.php | 2150 | # MyLibSwift | mit |
lmaxim/cc_oauthplugin | src/qt/locale/bitcoin_zh_TW.ts | 252 | var crypto = require('crypto');
var lob = require('lob-enc')
var hashname = require('hashname');
var log = require("./log")("Handshake")
module.exports = {
bootstrap : handshake_bootstrap,
validate : handshake_validate,
from : handshake_from,
types : handshake_types,
collect : handshake_collect
}... | mit |
v8-dox/v8-dox.github.io | lib/geocode.js | 142 | Copyright 2013 Romens Team
http://romens.ru/
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, publis... | isc |
hyperiris/praetoriansmapeditor | tests/beta_tests/test_what_color_is_your_name.py | 1533 | // Copyright Louis Dionne 2015
// Distributed under the Boost Software License, Version 1.0.
#include <type_traits>
template <typename T>
using void_t = std::conditional_t<true, void, T>;
// sample(common_type-N3843)
template <typename T, typename U>
using builtin_common_t = std::decay_t<decltype(
true ? std::de... | isc |
dushantSW/ip-mobile | examples/4008.html | 96 | # nodejs-boilerplate
## About
A boilerplate for a developer environment pre-built for a nodejs project using expressjs for the backend and angularjs for the front end. This boilerplate also comes with a built in logger for requests as well as a Gruntfile with my favorite addons for developing nodejs projects. :godmod... | mit |
RuggeroVisintin/SparkPreviewer | pizzeria-admin-app/src/main/java/fr/pizzeria/admin/web/LoginController.java | 725 | <?php
namespace PragmaRX\Sdk\Services\Accounts\Exceptions;
use PragmaRX\Sdk\Core\HttpResponseException;
class InvalidPassword extends HttpResponseException {
protected $message = 'paragraphs.invalid-password';
}
| mit |
typicalmike002/nodejs-boilerplate | vendor/dropzone/dropzone.css | 1485 | <!DOCTYPE html>
<?xml version="1.0" encoding="UTF-8"?>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Earth Negotiations Bulletin: COP17</title>
<link href="../assets/style/bulletin.css" rel="stylesheet" />
</head>
<body>
<h1>Earth Negotiations... | mit |
vts-group/sat-lista-negra | lib/assets/javascripts/moe-legacy/notes.js | 11864 | # docker_runner
Run docker containers on the fly with ansible roles
# running program
Must be run with sudo privlegies
example
"sudo ruby drun.rb"
The program launches a docker container that self-provisions based on the ROLE
The ROLE value in the ruby file is the Ansible role, which will be run on the container
The... | mit |
decred/decrediton | test/test.array.js | 34797 | # gulp boilerplate
run
`npm start`
then open another termianl
run `gulp watch` ,change some files for browser-syn
## Gulp tasks
* gulp
* gulp prod
| mit |
matthewsot/CocoaSharp | course/nl/basics/constants.tex | 2705 | namespace CSharpGL
{
partial class FormPropertyGrid
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
///... | mit |
marten-de-vries/kneden | src/core/graph/Node.h | 26779 | var groove = require('groove');
var semver = require('semver');
var EventEmitter = require('events').EventEmitter;
var util = require('util');
var mkdirp = require('mkdirp');
var fs = require('fs');
var uuid = require('./uuid');
var path = require('path');
var Pend = require('pend');
var DedupedQueue = require('./dedup... | mit |
jonboylailam/nodejs-react-app-starter | InfluxData.Net.InfluxDb/Models/Responses/User.cs | 348 | using System.Web.Mvc;
using Microsoft.Practices.Unity;
using Unity.Mvc4;
namespace MVCForum.IOC
{
public static class Bootstrapper
{
public static IUnityContainer Initialise()
{
var container = BuildUnityContainer();
DependencyResolver.SetResolver(new UnityDependencyResolver(container));
... | isc |
PeerWasp/PeerWasp | utility/tools.js | 91 | function simulated_annealing(tuning_run::Run,
channel::RemoteChannel;
temperature::Function = log_temperature)
iteration = 1
function iterate(tuning_run::Run)
p = temperature(iteration)
iteration += 1
return probabilisti... | mit |
VIPShare/VIPShare-REST-Server | to/lang/OpenCV-2.2.0/dbg-w32/modules/haartraining/CMakeFiles/CMakeDirectoryInformation.cmake | 820 | package com.jeecg.qywx.core.service;
import com.jeecg.qywx.base.entity.QywxReceivetext;
/**
* 文本处理接口
* @author 付明星
*
*/
public interface TextDealInterfaceService {
/**
* 文本消息处理接口
* @param receiveText 文本消息实体类
*/
void dealTextMessage(QywxReceivetext receiveText);
}
| mit |
apurvis/petitioneer | liblsl/external/lslboost/spirit/include/support_standard.hpp | 603 | import { get } from "ember-metal/property_get";
import { set } from "ember-metal/property_set";
import Ember from "ember-metal/core"; // Ember.assert
import EmberError from "ember-metal/error";
import {
Descriptor,
defineProperty
} from "ember-metal/properties";
import { ComputedProperty } from "ember-metal/compute... | mit |
abdurrachman-habibi/azure-storage-studio | vendor/bombayworks/zendframework1/library/Zend/Gdata/YouTube/Extension/Username.php | 378 | function daysLeftThisWeek (date) {
return 6 - date.getDay()
}
module.exports = daysLeftThisWeek
| mit |
okyere/excel-data-collection | data/samsung_gt_m5650_ver1.php | 1562 | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreatePlatformsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('platforms', function (Blueprint $table) {
... | mit |
HungryAnt/AntWpfDemos | app/controller/mine.js | 962 | <ng-container *ngIf="preview.user && !authHelper.isSelf(preview.user)">
<user-info [user]="preview.user">
</user-info>
</ng-container>
<!-- description + image -->
<label-value [label]="i18n.voucher.voucher">
{{ preview.type.voucherTitle }}
</label-value>
<ng-container *ngIf="buyVoucher.count === 1; else multiple... | mit |
NamBker/web_laptop | spec/helpers/rails_admin/application_helper_spec.rb | 8104 | /* eslint-disable import/no-extraneous-dependencies,import/no-unresolved */
import React, { useState } from 'react';
import { Form } from 'react-bootstrap';
import { Typeahead } from 'react-bootstrap-typeahead';
/* example-start */
const options = [
'Warsaw',
'Kraków',
'Łódź',
'Wrocław',
'Poznań',
'Gdańsk... | mit |
gilt/tech-blog | Loopy/STShareActivityUI.h | 812 | #!-*- coding:utf-8 -*-
import time
def retries(times=3, timeout=1):
"""对未捕获异常进行重试"""
def decorator(func):
def _wrapper(*args, **kw):
att, retry = 0, 0
while retry < times:
retry += 1
try:
return func(*args, **kw)
... | mit |
ayoshoks/ncs | _posts/15-01-11-collated-white-rabbits.md | 731 | #[derive(Debug)]
pub struct Rectangle {
length: u32,
width: u32,
}
impl Rectangle {
pub fn can_hold(&self, other: &Rectangle) -> bool {
self.length > other.length && self.width > other.width
}
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn larger_can_hold_smaller() {
... | mit |
Mschmidt19/MarekSchmidt.com | Libraries/Hotcakes.Commerce.Dnn/DnnConfigurationManager.cs | 851 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>jsGrid - Data Manipulation</title>
<link rel="stylesheet" type="text/css" href="demos.css" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300,600,400' rel='stylesheet' type='text/css'>
<link... | isc |
bartoszgolek/whattodofordinner | node_modules/npm/html/api/commands.html | 588 | /*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | mit |
ibc/MediaSoup | config/initializers/session_store.rb | 6929 | #!/usr/bin/env node
var path = require('path');
var fs = require('fs');
var optimist = require('optimist');
var prompt = require('prompt');
var efs = require('efs');
var encext = require('./index');
var defaultAlgorithm = 'aes-128-cbc';
var argv = optimist
.usage('usage: encext [-r] [-a algorithm] [file ...]')
.d... | mit |
Xynratron/WorkingCluster | generators/app/templates/src/utils/browser.js | 612 | /*!
* jQuery JavaScript Library v1.8.3 -css,-effects,-offset,-dimensions
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2012 jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: Mon Nov 19 2012 11:58:00 GMT-0800 (PST... | mit |
alekseenkoss77/smsru | core/server/lib/contributors.js | 440 | var scroungejs = require('scroungejs'),
startutils = require('./startutil');
startutils.createFileIfNotExist({
pathSrc : './test/indexSrc.html',
pathFin : './test/index.html'
}, function (err, res) {
if (err) return console.log(err);
scroungejs.build({
inputPath : [
'./test/testbuildSrc',
... | mit |
Quantisan/WholeCell | src/commands/dev.command.ts | 4737 | package main
import (
"github.com/weynsee/go-phrase/cli"
"log"
"os"
)
func main() {
args := os.Args[1:]
c := cli.NewCLI("1.0.0", args)
exitStatus, err := c.Run()
if err != nil {
log.Println(err)
}
os.Exit(exitStatus)
}
| mit |
weking/weking.github.io | packages/components/containers/api/apiStatusContext.ts | 797 | # Alt Three Storage
A cached secure storage provider for Laravel 5.
## Installation
This version requires [PHP](https://php.net) 7.1 or 7.2, and supports Laravel 5.5 - 5.7 only.
To get the latest version, simply require the project using [Composer](https://getcomposer.org):
```bash
$ composer require alt-three/st... | mit |
KlishGroup/prose-pogs | js/cite.js | 5880 | <?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\Sec... | mit |
xiongmaoshouzha/test | test/cli/boot.js | 13545 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ergo: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | mit |
taylordaug/phase-0 | src/js/core/Renderer/RenderPassManager.js | 67164 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>T837185195841212416</title>
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,600">
<link rel="stylesheet" href="/style.css">
<link... | isc |
kartta-labs/iD | _posts/2017-06-26-Manchester6-26.md | 3384 | #AtaK
##The Atari 2600 Compiler Kit
AtaK, pronounced attack, is a collection of programs built to aid in the
development of Atari 2600 programs.
##Programs(Planned/Developing):
* AtaR(ah-tar), The **Ata**ri 2600 Assemble**r**
* AtaC(attack), The **Ata**ri 2600 **C** Compiler
##Universal Features:
* Programmed ... | isc |
AgeOfWar/Telejam | library/ATF/CRealMoveRequestDelayCheckerRegister.hpp | 35 | ## XII. Admin processes
### รันงานของผู้ดูแลระบบ/การจัดการให้เป็นกระบวนการแบบครั้งเดียว
[process formation](./concurrency) เป็นอาร์เรย์ของ process ที่ใช้ในการทำธุรกิจปรกติของ app (เช่นการจัดการ reqeust ของเว็บ) ขณะทำงาน developer มักต้องการทำการดูแลหรือบำรุงรักษาเพียงคนเดียวสำหรับ app เช่น:
* รันการย้ายข้อมูลฐานข้อมู... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.