repo_name stringlengths 8 58 | path stringlengths 4 186 | size stringlengths 2 6 | content stringlengths 12 215k | license stringclasses 3
values |
|---|---|---|---|---|
Need4Speed402/tessellator | app/liner/views.py | 204 | // make a linked list that has one member
// then make 5 nodes - with each node having 1,2,3,4,5 as data
// then print them out
// then work out how to reverse the list by only changing the pointers
// then print again
#include <stdio.h>
#include <stdlib.h> // Including this header to use malloc
struct node {
int n... | mit |
yangyongzheng/YZLottery | cc2/target/qbe/arch.h | 1127 | <!DOCTYPE html>
<html class="theme-next mist use-motion" lang="zh-Hans">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="theme-color" content="#222">
<meta http-eq... | mit |
wyrover/ionic-components | README.md | 808 | var utils = require('./utils')
, request = require('request')
;
module.exports = {
fetchGithubInfo: function(email, cb) {
var githubProfile = {};
var api_call = "https://api.github.com/search/users?q="+email+"%20in:email";
var options = { url: api_call, headers: { 'User-Agent': 'Blogdown' } };
... | mit |
laurahspencer/LabNotebook | xmlrpc-c/src/xmlrpc_build.c | 553 | /*
* The MIT License
* Copyright (c) 2012 Matias Meno <m@tias.me>
*/
@-webkit-keyframes passing-through {
0% {
opacity: 0;
-webkit-transform: translateY(40px);
-moz-transform: translateY(40px);
-ms-transform: translateY(40px);
-o-transform: translateY(40px);
trans... | mit |
dparvin/CultureInfoEditor | spec/recipes/default_spec.rb | 2195 | <?php namespace EugeneTolok\Telegram\Updates;
use Schema;
use October\Rain\Database\Updates\Migration;
class BuilderTableUpdateEugenetolokTelegramDialogsSteps2 extends Migration
{
public function up()
{
Schema::table('eugenetolok_telegram_dialogs_steps', function($table)
{
$tab... | mit |
FoalTS/foal | blog/_site/2015/08/25/even-the-folders-have-rss-feeds/index.html | 415 | #pragma once
#include <boost/uuid/random_generator.hpp>
#include <boost/uuid/uuid_io.hpp>
#include "util/util.h"
#include "util/stl_ext.h"
namespace collections {
extern boost::optional<std::vector<std::string>> wrap_string(const char *csource, int charsPerLine);
class tes_string : public reflection::class_m... | mit |
wearefine/fae | nxtlib/src/Utils.cs | 25 | ---
layout: post
title: "IT业编程四大魔道天王"
date: 2017-11-10 16:09:16 +0800
tag: [博客]
---
IT业编程四大魔道天王的博客地址。
胡正 - [辟支佛胡正 · 阿罗汉尊者 · 功德藏闯菩萨](http://www.huzheng.org/myapps.php)
田春 - [Chun Tian (binghe)](http://tianchunbinghe.blog.163.com/)
李杀 - [Xah Lee Web 李杀网](http://xahlee.org/)
王垠 - [当然我在扯淡](http://www.yinwang.org/) | isc |
BlockchainTechLLC/3dcoin | packages/ember-metal/lib/alias.js | 2562 | #region License
// Distributed under the MIT License
// ============================================================
// Copyright (c) 2019 Hotcakes Commerce, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files (the "Software")... | mit |
teiler/web.teiler.io | lib/lib/wm.class.php | 519 |
package com.arekusu.datamover.model.jaxb;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlT... | mit |
slavitnas/SimpleCiphers | Java_OOP_2021/src/SOLID/Exercise/Logger/model/appenders/FileAppender.java | 70582 | /*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... | mit |
medialab/climateDebateExplorer | backup_data_graph.sh | 4546 | //
// IGViewController.h
// KaifKit
//
// Created by Francis Chong on 04/15/2015.
// Copyright (c) 2014 Francis Chong. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface IGViewController : UIViewController
@end
| mit |
griimick/feature-mlsite | js/fields/InPlaceEdit.js | 152 | //
// STShare.h
// Loopy
//
// Created by David Jedeikin on 10/23/13.
// Copyright (c) 2013 ShareThis. All rights reserved.
//
#import "STAPIClient.h"
#import <Foundation/Foundation.h>
#import <Social/Social.h>
@interface STShareActivityUI : NSObject
@property (nonatomic, strong) UIViewController *parentControll... | mit |
microsoftgraph/msgraph-sdk-java | WineLauncher/build.pre.lua | 1608 | # BKAsciiImage
[](http://cocoapods.org/pods/BKAsciiImage)
[](http://cocoapods.org/pods/BKAsciiImage)
[:
def test_equal_1(self):
self.assertEqual(string_color('Jack'), '79CAE5')
def test_equal_2(self):
self.assertEqual(string_color('Joshua'), '6A10D6')
def test_equal_3(... | mit |
sunaot/minitest-mock-easily | app/cache/dev/twig/a4/a4d5e331da6ebdf63a769ec513a07ed062a09e096299142f0540503ab3951bbb.php | 4782 | package cloudformation
// AWSECSService_DeploymentConfiguration AWS CloudFormation Resource (AWS::ECS::Service.DeploymentConfiguration)
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html
type AWSECSService_DeploymentConfiguration struct {
// ... | mit |
CenterForOpenScience/scinet | utils/setup_dir.sh | 2829 | module V1
class EventUserSchedulesController < ApplicationController
before_action :set_event_session, only: [:create]
# POST /event_user_schedules
def create
@event_user_schedule = current_user.add_session_to_my_schedule(@event_session)
if @event_user_schedule.save
render json: @e... | mit |
sushrutb/website | Example/src/main/java/uk/jamierocks/zinc/example/ExampleCommands.java | 712 | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
#include <CRealMoveRequestDelayCheckerDetail.hpp>
#include <common/ATFCore.hpp>
START_ATF_NAMESPACE
namespace Register
{
class CRealMoveRequestDelayChec... | mit |
logicmachine/loquat | web/js/base.js | 3944 | import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
@Component({
selector: 'app-user',
template: '<router-outlet></router-outlet>'
})
export class UserComponent implements OnInit {
constructor(public router: Router) { }
ngOnInit() {
if (this.router.url ... | mit |
allanfish/facetime | worker/deps/openssl/config/archs/linux-armv4/asm_avx2/crypto/buildinf.h | 8002 | <?php
namespace Dvsa\Mot\Frontend\SecurityCardModule\CardOrder\Controller;
use Core\Controller\AbstractDvsaActionController;
use Dvsa\Mot\Frontend\AuthenticationModule\Model\Identity;
use Dvsa\Mot\Frontend\SecurityCardModule\CardOrder\Service\OrderNewSecurityCardSessionService;
use DvsaCommon\Constants\FeatureToggle;... | mit |
tokenly/token-slot | app/models/account/software_public_interest.rb | 208 | angular.module('appTesting').service("LoginLocalStorage", function () {
"use strict";
var STORE_NAME = "login";
var setUser = function setUser(user) {
localStorage.setItem(STORE_NAME, JSON.stringify(user));
}
var getUser = function getUser() {
var storedTasks = localStorage.getIte... | mit |
rjspencer/projectmogo_server | src/app/app.component.ts | 1688 | package net.pinemz.hm.gui;
import net.pinemz.hm.R;
import net.pinemz.hm.api.HmApi;
import net.pinemz.hm.api.Prefecture;
import net.pinemz.hm.api.PrefectureCollection;
import net.pinemz.hm.storage.CommonSettings;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.... | mit |
GeBeater/gae-cookbook | src/TestReferenceAssembly/OtherDllClass.cs | 3885 | /**
* Created by Keerthikan on 29-Apr-17.
*/
export {expenseSpyFactory} from './expense-spy-factory';
export {compensationSpyFactory} from './compensation-spy-factory';
| mit |
zazujs/mufasa | YZKit/Utility/YYZAlertView.h | 994 | var config = require('./config');
var express = require('express');
var superagent = require('superagent');
/**
* Auth Token
*/
var authToken = null;
var expires = 0;
var expires_in = 20160; // 14 days in minutes
/**
* Urls
*/
var OAUTH = 'https://www.arcgis.com/sharing/oauth2/token';
var GEOCODE =
'http://ge... | mit |
skarnet/s6-networking | app/jspm_packages/github/angular/bower-material@master/modules/js/toast/toast.js | 554 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | mit |
arise-yoshimoto/MyLibSwift | final-games/downloadGames.js | 2414 | import axios from 'axios';
export default axios.create({
baseURL: 'http://localhost:9000/v1/'
}); | mit |
g33kidd/bracket | script.js | 12 | #ifndef COLLISIONALGORITHMB
#define COLLISIONALGORITHMB
#include "CollisionAlgorithm.h"
class CollisionAlgorithmB : public CollisionAlgorithm
{
public:
CollisionAlgorithmB();
~CollisionAlgorithmB();
public:
Tuple4f computeRayTriangleIntersection(Ray3D *ray, const Tuple3f &p0, const Tu... | mit |
glasdam/edifact_converter | page-full.php | 82 | import { Injectable } from '@angular/core';
import { Observable } from 'rxjs/Observable';
import { Gang } from '../models/gang';
import { Session } from '../models/session';
import { CREW_2_ROUTE } from '../../app/app.routes.model';
import { HttpClient } from '@angular/common/http';
@Injectable()
export class CrewServ... | mit |
iQuarc/Code-Design-Training | clean/Linux-x86_64-4.07.1-2.0.6/released/8.10.2/ergo/8.6.0.html | 19090 |
$context.section('Простое связывание', 'Иерархическое связывание с данными с использованием простых и составных ключей');
//= require data-basic
$context.section('Форматирование', 'Механизм одностороннего связывания (one-way-binding)');
//= require data-format
$context.section('Настройка', 'Управление изменением видж... | mit |
coingulf/gulfcoin | application/libraries/Receiving_lib.php | 4047 | <?php
namespace Master\AdvertBundle\Controller;
use Elastica\Filter\GeoDistance;
use Elastica\Query\Filtered;
use Elastica\Query\MatchAll;
use Master\AdvertBundle\Document\Advert;
use Master\AdvertBundle\Document\Localization;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundat... | mit |
MirekSz/webpack-es6-ts | README.md | 8409 | require "spec_helper"
module Smsru
describe API do
shared_context "shared configuration", need_values: 'configuration' do
before :each do
Smsru.configure do |conf|
conf.api_id = 'your-api-id'
conf.from = 'sender-name'
conf.test = test
conf.format = format
... | mit |
Brawl345/WiiDataDownloader-Module | src/model/modules/DrawObject.js | 1712 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | mit |
nficano/python-lambda | node_modules/grunt-requirejs/node_modules/grunt-jquerybuilder/node_modules/jquery-builder/dist/1.8.3/jquery-css.js | 6584 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>zchinese: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | mit |
Azure/azure-sdk-for-go | typings/built-in-glamorous-components.d.ts | 1043 | var Handler, MiniEventEmitter;
Handler = require("./handler");
MiniEventEmitter = (function() {
function MiniEventEmitter(obj) {
var handler;
handler = new Handler(this, obj);
this.on = handler.on;
this.off = handler.off;
this.emit = handler.emit;
this.emitIf = handler.emitIf;
this.trigg... | mit |
Zycon42/Security | app/Http/Middleware/CheckClientKey.php | 94615 |
```js
var PlistUtils = (function() {
function readTextFile(strPath) {
var error;
var str = ObjC.unwrap(
$.NSString.stringWithContentsOfFileEncodingError(
$(strPath).stringByStandardizingPath,
$.NSUTF8StringEncoding,
error
)
);
if (error)
throw Error('Could not read file "' + strPath + '"'... | mit |
asplendidday/ptchan | _includes/mathjax.html | 1659 | <!DOCTYPE HTML>
<html lang="de">
<head>
<!-- Generated by javadoc (17) -->
<title>Source code</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="source: package: com.restfb.types.send, class: ListViewElement">
<meta name="generator" content="javadoc/SourceToHT... | mit |
Harmeko/badass_shop | libc/src/stdio/__file_write.c | 393 | var width = window.innerWidth,
height = window.innerHeight,
boids = [],
destination,
canvas,
context;
const MAX_NUMBER = 100;
const MAX_SPEED = 1;
const radius = 5;
init();
animation();
function init(){
canvas = document.getElementById('canvas'),
context = canvas.getContext( "2d" );
canvas.w... | mit |
emayk/laravel-backup | FizVizSketch/HotNeedleLightControl.cpp | 1457 | package multiwallet
import (
"errors"
"strings"
"time"
eth "github.com/OpenBazaar/go-ethwallet/wallet"
"github.com/OpenBazaar/multiwallet/bitcoin"
"github.com/OpenBazaar/multiwallet/bitcoincash"
"github.com/OpenBazaar/multiwallet/client/blockbook"
"github.com/OpenBazaar/multiwallet/config"
"github.com/OpenBa... | mit |
samozm/samozm.github.io | test/link-check.test.js | 516 | /* ISC license. */
#include <bearssl.h>
#include <s6-networking/sbearssl.h>
int sbearssl_skey_to (sbearssl_skey const *l, br_skey *k, char *s)
{
switch (l->type)
{
case BR_KEYTYPE_RSA :
sbearssl_rsa_skey_to(&l->data.rsa, &k->data.rsa, s) ;
break ;
case BR_KEYTYPE_EC :
sbearssl_ec_skey_to... | mit |
sayanee/archives | demo/templates/polls/detail.html | 215458 | package illume.analysis;
import java.awt.image.BufferedImage;
/* This simple analyser example averages pixel values. */
public class SimpleImageAnalyser<T extends BufferedImage> extends AbstractImageAnalyser<T> {
@Override
public double analyse(T input) {
int sum_r = 0;
int sum_g = 0;
... | mit |
dvsa/mot | src/index.html | 9847 | using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Web;
namespace Umbraco.Core
{
///<summary>
/// Extension methods for dictionary & concurrentdictionary
///... | mit |
HSAR/Illume | src/main/java/org/dvare/annotations/Type.java | 10319 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
////////////////////////////////////////////////////////////////////////////
//
//
// Purpose: This class defines ... | mit |
inDream/sequelize | test/dJSON.spec.js | 2866 | namespace PlacesToEat.Data.Common
{
using System;
using System.Data.Entity;
using System.Linq;
using Contracts;
using Models;
public class DbUserRepository<T> : IDbUserRepository<T>
where T : class, IAuditInfo, IDeletableEntity
{
public DbUserRepository(DbContext context)
... | mit |
akileez/toolz | src/base.php | 548 | // flow-typed signature: d37503430b92ad584be6e2c6f8d1fc08
// flow-typed version: <<STUB>>/ua-parser-js_v1.0.2/flow_v0.171.0
/**
* This is an autogenerated libdef stub for:
*
* 'ua-parser-js'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with ... | mit |
alphagov/notifications-admin | app/assets/stylesheets/pygments/native.css | 696 | <!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>
<?php include_http_metas() ?>
<?php include_metas() ?>
<?php include_title() ?>
</head>
<body id="body" lang="en">
<?php ... | mit |
ng2-slavs/Sportsemblr | Categorys/Foundation/NSURL+YSKit.h | 4696 | //-----------------------------------------------------------------------
// <copyright file="LocalizableFormBase.cs" company="Hyperar">
// Copyright (c) Hyperar. All rights reserved.
// </copyright>
// <author>Matías Ezequiel Sánchez</author>
//---------------------------------------------------------------------... | mit |
denzp/pacman | app/widgets/featured_news.php | 1159 | package remove_duplicates_from_sorted_list;
import common.ListNode;
public class RemoveDuplicatesfromSortedList {
public class Solution {
public ListNode deleteDuplicates(ListNode head) {
if (head != null) {
ListNode pre = head;
ListNode p = pre.next;
... | mit |
appflower/appflower_engine | src/Faker/Provider/fa_IR/PhoneNumber.php | 2212 | <?php
namespace Terrific\Composition\Entity;
use Doctrine\ORM\Mapping as ORM;
use JMS\SerializerBundle\Annotation\ReadOnly;
use JMS\SerializerBundle\Annotation\Type;
use JMS\SerializerBundle\Annotation\Exclude;
use JMS\SerializerBundle\Annotation\Groups;
use JMS\SerializerBundle\Annotation\Accessor;
/**
... | mit |
alphagov/notifications-admin | scripts/check_reconf.sh | 785 | 'use babel';
import MapQueries from '../lib/map-queries';
// Use the command `window:run-package-specs` (cmd-alt-ctrl-p) to run specs.
//
// To run a specific `it` or `describe` block add an `f` to the front (e.g. `fit`
// or `fdescribe`). Remove the `f` to unfocus the block.
describe('MapQueries', () => {
let wor... | mit |
nicholaides/Methanol-Web-Crawler | vendor/symfony/src/Symfony/Component/Serializer/SerializerAwareInterface.php | 348 | # Amaretti.js
[](https://gitter.im/VincentCasse/amaretti.js?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://t... | mit |
kobush/SharpDX-Tutorials | winapi/SetBkColor/SetBkColor/src/SetBkColor/SetBkColor/SetBkColor.cpp | 495 | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Dumper;
use Symfony\... | mit |
selvasingh/azure-sdk-for-java | database/migrations/2016_05_25_043614_create_platforms_table.php | 1815 | .highlight { background-color: black; }
.highlight .hll { background-color: #404040 }
.highlight .c { color: #999999; font-style: italic } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .g { color: #d0d0d0 } /* Generic */
.highlight .k { color: #6ab825; font-weight: b... | mit |
BitcoinMafia/identicoin | src/Neostrada.php | 3272 | from django import forms
from django.core.exceptions import ValidationError
from django.core.validators import validate_slug
from django.db import models
from django.utils import simplejson as json
from django.utils.text import capfirst
from django.utils.translation import ugettext_lazy as _
from philo.forms.fields im... | mit |
ecoulthard/summitsearch | src/date/daysLeftThisWeek.js | 1249 | #include <iostream>
using namespace std;
int main()
{
int a,b,c,d;
int sum=1080;
while(cin>>a>>b>>c>>d)
{
if(a==0&&b==0&&c==0&&d==0)
break;
if(a>b)
{
sum=(a-b)*9+sum;
}
else if(a<b)
{
sum=((40-b)+a)... | mit |
enzor/jror-example | Pythonlogy/upload.sh | 4331 | package doit.study.droid.fragments;
import android.app.Activity;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.support.v4.app.Fragment;
import android.support.v7.app.AlertDialog;
i... | mit |
yogeshsaroya/new-cdnjs | Esb/Message/IMessageQueue.cs | 1083 | <?php
class Receiving_lib
{
var $CI;
function __construct()
{
$this->CI =& get_instance();
}
function get_cart()
{
if(!$this->CI->session->userdata('cartRecv'))
$this->set_cart(array());
return $this->CI->session->userdata('cartRecv');
}
function set_cart($cart_data)
{
$t... | mit |
Microsoft/vso-intellij | adder/src/lib.rs | 464 | using System.Collections.Generic;
using UnityEngine;
using System;
namespace AI
{
public class GreedyAIController : PlayerController
{
enum NextState
{
Wait, Draw, Play
}
private NextState nextState;
Dictionary<DominoController, List<DominoController>> place... | isc |
CMPUT301F17T11/CupOfJava | libc/src/stdio/printf.c | 6364 | /* eslint-disable no-console */
const buildData = require('./build_data');
const buildSrc = require('./build_src');
const buildCSS = require('./build_css');
let _currBuild = null;
// if called directly, do the thing.
buildAll();
function buildAll() {
if (_currBuild) return _currBuild;
return _currBuild =
P... | mit |
Darknet-Crypto/Darknet | LICENSE.md | 914 | /*The MIT License (MIT)
Copyright (c) 2016 Muhammad Hammad
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... | mit |
poliastro/poliastro | sdk/Utilities/eventQueueThread.cpp | 1572 | {% extends "base.html" %}
{% block content %}
<div class="container">
<form action="" method="POST" enctype="multipart/form-data">
{{ form.hidden_tag() }}
<p>
Descriptive Name:
{{ form.descriptive_name(size = 50) }}
{% for error in form.descriptive_name.errors %}
<span st... | mit |
hasangilak/react-multilingual | sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/GoogleCloudStorageLocation.java | 439 | package tutorialHorizon.arrays;
/**
* Created by archithrapaka on 7/4/17.
*/
public class InsertionSort {
public static void insertionSort(int[] items, int n) {
int i, j;
for (i = 1; i < n; i++) {
j = i;
while (j > 0 && (items[j] < items[j - 1])) {
swap(i... | mit |
corymurphy/CertificateManager | kgate-core/src/main/java/com/github/kwoin/kgate/core/sequencer/AbstractSequencer.java | 2158 | <ion-view view-title="Coffee Shop">
<ion-content>
<div class="card">
<div class="item item-divider text-center">
<h2>{{biz.businessName}}</h2>
</div>
<div class="item text-center">
<div><strong>{{biz.street}}</strong></div>
... | mit |
svartblomma/docker_runner | provision-shell/tutorials/000/069/meta.sh | 5219 | <!doctype html>
<html>
<title>commands</title>
<meta http-equiv="content-type" value="text/html;utf-8">
<link rel="stylesheet" type="text/css" href="../static/style.css">
<body>
<div id="wrapper">
<h1><a href="../api/commands.html">commands</a></h1> <p>npm commands</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<pr... | mit |
fdutey/formol | slib/libio/service/IOService.cpp | 102 | """
``editquality generate_make -h``
::
Code-generate Makefile from template and configuration
:Usage:
generate_make -h | --help
generate_make
[--config=<path>]
[--main=<filename>]
[--output=<path>]
[--template... | mit |
hawkerboy7/mini-event-emitter | src/main/java/io/github/ageofwar/telejam/updates/UpdateReader.java | 1619 | //
//
#ifndef _Rectangle_h
#define _Rectangle_h
// Includes
#include <Engine/Core/Shape.h>
#include <Engine/Core/Vector.h>
//==============================================================================
namespace ptc
{
class Ray;
class Rectangle : public Shape
{
public:
Rectangle();
Rectangle( const Vector&... | mit |
LifengDuan/gitCaoLian | test/fixtures/safe-call-expression/lightscript/match-test/actual.js | 2710 | let Demo1 = require('./components/demo1.js');
document.body.appendChild(Demo1()); | mit |
PFC-acl-amg/GamaPFC | scripts/PHPAuth/Auth.php | 639 | <?php
/**
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
namespace Clash82\EzPlatformStudioTipsBlockBundle\Installer;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\I... | mit |
liquidizer/liquidizer | algebras/algebra-circe/src/main/scala/endpoints/algebra/circe/CirceCodec.scala | 3016 | /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.datafactory.v2018_06_01;
import com.fasterxml.ja... | mit |
tompaana/object-tracking-demo | README.md | 816 | using System;
using System.Collections.Generic;
using Esb.Transport;
namespace Esb.Message
{
public interface IMessageQueue
{
void Add(Envelope message);
IEnumerable<Envelope> Messages { get; }
Envelope GetNextMessage();
void SuspendMessages(Type messageType);
void Resu... | mit |
chadrosenquist/running-route | app/templates/partials/notifications/notifications.html | 7196 | from corecat.constants import OBJECT_CODES, MODEL_VERSION
from ._sqlalchemy import Base, CoreCatBaseMixin
from ._sqlalchemy import Column, \
Integer, \
String, Text
class Project(CoreCatBaseMixin, Base):
"""Project Model class represent for the 'projects' table
which is used to store project's basic i... | mit |
rhaphazard/moebooru | metadata.rb | 545 | package SOLID.Exercise.Logger.model.appenders;
import SOLID.Exercise.Logger.api.File;
import SOLID.Exercise.Logger.api.Layout;
import SOLID.Exercise.Logger.model.files.LogFile;
public class FileAppender extends BaseAppender {
private File file;
public FileAppender(Layout layout) {
super(layout);
... | mit |
ewenb/Java_patterns | src/vs/workbench/services/request/node/requestService.ts | 1398 | <?php
/*
SQL Laboratory - Web based MySQL administration
http://projects.deepcode.net/sqllaboratory/
types.php
- list of data types
MIT-style license
2008 Calvin Lough <http://calv.in>, 2010 Steve Gricci <http://deepcode.net>
*/
$typeList[] = "varchar";
$typeList[] = "char";
$typeList[] = "text";
$typeList[] = "t... | mit |
localheinz/Faker | WebServesesAndCloud/Homework/01.ASP.NETWebAPI/WebApi/MusicStore.Api/App_Start/WebApiConfig.cs | 781 | <?php
use League\Flysystem\Adapter\Local;
use League\Flysystem\Filesystem;
use Spatie\Backup\FileHelpers\FileSelector;
class FileSelectorTest extends Orchestra\Testbench\TestCase
{
protected $path;
protected $disk;
protected $root;
protected $testFilesPath;
protected $fileSelector;
public... | isc |
siuying/KaifKit | test/testrun.js | 6988 | > Link jsreport browser sdk into your page and easily render a report from the browser or open limited version of jsreport studio inside any web application and let end users to customize their reports. There are various scenarios where this can be used. Typical example can be when application is sending invoices to th... | mit |
the-zebulan/CodeWars | tests/fileSelector/FileSelectorTest.php | 7553 | 'use strict';
const TYPE = Symbol.for('type');
class Data {
constructor(options) {
// File details
this.filepath = options.filepath;
// Type
this[TYPE] = 'data';
// Data
Object.assign(this, options.data);
}
}
module.exports = Data;
| mit |
AnisB/Donut | linked-lists/circular-reversal/main.c | 654 | /**
* Reverb for the OpenAL cross platform audio library
* Copyright (C) 2008-2009 by Christopher Fitzgerald.
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 ... | mit |
PS-Group/compiler-theory-samples | src/v2/components/AvatarUploader/queries/avatar.ts | 6573 | /*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import <iWorkImport/TSUProgress.h>
@class NSArray, NSObject<OS_dispatch_queue>;
// Not exported
@interface TSUProgressGroup : TSUProgress
{
NSArray *mChildren;
NSArray... | mit |
markokr/libusual | src/features/home/selectors/explorerTreeData.js | 1139 |
function collectWithWildcard(test) {
test.expect(4);
var api_server = new Test_ApiServer(function handler(request, callback) {
var url = request.url;
switch (url) {
case '/accounts?username=chariz*':
let account = new Model_Account({
username: 'charizard'
});
return void callback(null, [
... | mit |
Gip-Gip/AtaC | Hyperar.HattrickUltimate.UserInterface/LocalizableFormBase.cs | 8780 | match x:
| it?(): true
| mit |
polyfox/moon-packages | demos/data-manipulation.html | 2269 | // Release 1: User Stories
// As a user, I want to be able to create a new grocery list. After that, I need to be able to add an item with a quantity to the list, remove an item, and update the quantities if they change. I need a way to print out the list in a format that is very readable.
// Release 2: Pseudocode
// ... | mit |
kevyu/ctp_demo | src/core/search/techniques/simulated_annealing.jl | 6361 | ---
layout: page
title: Webb Basic Financial Party
date: 2016-05-24
author: Kenneth Schroeder
tags: weekly links, java
status: published
summary: Aliquam erat volutpat. Pellentesque tincidunt luctus neque, ac.
banner: images/banner/leisure-02.jpg
booking:
startDate: 01/03/2017
endDate: 01/07/2017
ctyhocn: MGMDNHX... | mit |
dotnet/roslyn-analyzers | lib/yandex_music/client.rb | 2776 | <?php
/*************************************************************************************
* pascal.php
* ----------
* Author: Tux (tux@inamil.cz)
* Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0.6
* CVS Revision Version: $Revision: 1.1 $
* Date St... | mit |
ibc/MediaSoup | src/intcgm/cgm_types.h | 7754 | version https://git-lfs.github.com/spec/v1
oid sha256:2e4cfe75feb71c39771595f8dea4f59e216650e0454f3f56a2a5b38a062b94cf
size 1360
| mit |
arturparkhisenko/til | pages/doc/pages/class-use/MarkovTable.html | 2550 | package nl.ulso.sprox.json.spotify;
import nl.ulso.sprox.Node;
import java.time.LocalDate;
import java.util.List;
/**
* Sprox processor for Spotify API album data. This is a very simple processor that ignores most data.
* <p>
* This implementation creates an Artist object for each and every artist in the response... | mit |
thiagocatarse/catarse.js | mp.c | 1089 | package com.mauriciotogneri.apply.compiler.syntactic.nodes.arithmetic;
import com.mauriciotogneri.apply.compiler.lexical.Token;
import com.mauriciotogneri.apply.compiler.syntactic.TreeNode;
import com.mauriciotogneri.apply.compiler.syntactic.nodes.ExpressionBinaryNode;
public class ArithmeticModuleNode extends Expres... | mit |
guide42/php-immutable | UCloudSDK/Models/UCDN/GetUcdnTrafficRequest.cs | 467 | import numpy as np
import pandas as pd
from pandas import Series, DataFrame
from scipy.spatial import distance
import matplotlib.pyplot as plt
from sklearn.cluster import DBSCAN
from sklearn import metrics
from sklearn.datasets.samples_generator import make_blobs
from sklearn.preprocessing import StandardScaler
from s... | isc |
JustSid/Firedrake | www/components/InfiniteScroll.js | 333 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Rotate : MonoBehaviour {
public Vector3 m_rotate;
public float m_speed;
void Start()
{
transform.rotation = Random.rotation;
}
// Update is called once per frame
void Update () {
transf... | mit |
aredotna/ervell | src/libmetha/builtin.c | 2497 | package io.github.ageofwar.telejam.updates;
import io.github.ageofwar.telejam.Bot;
import io.github.ageofwar.telejam.TelegramException;
import io.github.ageofwar.telejam.methods.GetUpdates;
import java.io.IOException;
import java.util.Collections;
import java.util.Objects;
import java.util.concurrent.ConcurrentLinked... | mit |
telehash/telehash-js | checkmate/scripts/visavis-chess.js | 25314 | delete p1 from person as p1, person as p2 where p1.email = p2.email and p1.id > p2.id; | mit |
mattjmorrison/ember-cli-testem | alias.cmd | 1518 | ---
author: admin
comments: true
date: 2010-03-26 09:48:35+00:00
layout: post
slug: what-to-do-when-ubuntu-device-mapper-seems-to-be-invincible
title: 'What to do when Ubuntu Device-mapper seems to be invincible! '
categories:
- Instructional
tags:
- 64-bit
- hard drive
- hardware
- linux
- lucid lynx
- Ubuntu
- workst... | mit |
dagware/DanThomas | lib/tweetstream/error.rb | 907 | package id3
import (
"bytes"
"errors"
"io"
"time"
)
var timestampFormats = []string{
"2006-01-02T15:04:05",
"2006-01-02T15:04",
"2006-01-02T15",
"2006-01-02",
"2006-01",
"2006",
}
func parseTime(timeStr string) (time.Time, error) {
for i := range timestampFormats {
t, err := time.Parse(timestampFormats[... | mit |
kmokili/formation-dta | android-hm/src/net/pinemz/hm/gui/SettingsActivity.java | 4363 | ---
layout: page
title: Spring International Conference
date: 2016-05-24
author: Helen Kline
tags: weekly links, java
status: published
summary: Vivamus euismod, ipsum at eleifend porttitor, ligula neque accumsan.
banner: images/banner/office-01.jpg
booking:
startDate: 10/10/2019
endDate: 10/15/2019
ctyhocn: RICM... | mit |
restfb/restfb.github.io | README.md | 2793 | <div id="maxoptions_example"></div> | mit |
cuckata23/wurfl-data | XSS/CWE_79/safe/CWE_79__backticks__func_preg_replace2__Use_untrusted_data_script-side_Quoted_Expr.php | 2097 | # 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.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | mit |
localhots/yandex_music | src/main/java/com/kromracing/runningroute/client/Utils.java | 866 | /*
The MIT License (MIT)
Copyright (c) 2014 Mehmetali Shaqiri (mehmetalishaqiri@gmail.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 with... | mit |
Socratacom/socrata-europe | app/views/volnicsv1a/forecast_QQ123456C.html | 1250 | package biz.golek.whattodofordinner.business.contract.presenters;
import biz.golek.whattodofordinner.business.contract.entities.Dinner;
/**
* Created by Bartosz Gołek on 2016-02-10.
*/
public interface EditDinnerPresenter {
void Show(Dinner dinner);
}
| isc |
eerwitt/tweetstream | sdk/sql/azure-mgmt-sqlvirtualmachine/azure/mgmt/sqlvirtualmachine/aio/_sql_virtual_machine_management_client.py | 6956 | /* */
"format cjs";
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v1.1.1-master-342ee53
*/
(function( window, angular, undefined ){
"use strict";
/**
* @ngdoc module
* @name material.components.toast
* @description
* Toast
*/
MdToastDirective['$inject'] = ["$mdToa... | mit |
wanghuafeng/spider_tools | corecat/models/project.py | 2315 | from scrapy.spiders import Spider
from scrapy.selector import Selector
from scrapy.http import HtmlResponse
from FIFAscrape.items import PlayerItem
from urlparse import urlparse, urljoin
from scrapy.http.request import Request
from scrapy.conf import settings
import random
import time
class fifaSpider(Spider... | mit |
TigerFusion/TigerEngine | aws_lambda/aws_lambda.py | 234 | -- service script, define some stuuf for use with main build config
self=loader.extra[1]
profile=loader.extra[2]
prefix=loader.extra[3]
config=loader.extra[4]
prefix_addon=string.format('--prefix="%s"', prefix)
| mit |
onsip/SIP.js | cli.js | 28011 | ActionController::Routing::Routes.draw do |map|
map.resources :projects
map.resources :priorities
map.resources :tasks
# The priority is based upon order of creation: first created -> highest priority.
# Sample of regular route:
# map.connect 'products/:id', :controller => 'catalog', :action => 'view'... | isc |
oakmac/autocompletejs | DesignPatterns/ConsoleDemo/Visitor/v0/CommandsManager.cs | 3684 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace ASP.NET_Core_Email.Models.ManageViewModels
{
public class ConfigureTwoFactorViewModel
{
public string SelectedProvider { get; set; }
public ICol... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.