repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
VKCOM/vk-java-sdk | sdk/src/main/java/com/vk/api/sdk/objects/adsweb/responses/GetAdCategoriesResponseCategoriesCategory.java | 1929 | // Autogenerated from vk-api-schema. Please don't edit it manually.
package com.vk.api.sdk.objects.adsweb.responses;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.vk.api.sdk.objects.Validable;
import com.vk.api.sdk.objects.annotations.Required;
import java.util.Objects;
/*... | mit |
Lillemanden/TierList | TierList/App/Components/Item/Item.ts | 563 | import knockout = require("knockout");
class Item
{
public Id:KnockoutObservable<string> = knockout.observable("");
public Title:KnockoutObservable<string> = knockout.observable("");
constructor(data:{Id:string; Title:string })
{
this.Id(data.Id);
this.Title(data.Title);
}
public DragStart(target:Item, ev... | mit |
MinasMazar/dotfiles | i3.symlink/i3ba.rb | 574 | #!/usr/bin/env ruby
require 'i3rb'
include I3::API
include I3::Bar::Widgets
host = I3::Bar::Widgets::HOSTNAME
host.color = "#00FFFF"
host.add_event_callback do |w|
system "xterm", "-e", "top"
end
cmus = I3::Bar::Widgets::CMUS
cmus.add_event_callback do |w,e|
if e["button"]== 1
system "cmus-remote", "--pause"... | mit |
mikespook/gearman-go | example/pl/worker_multi.pl | 728 | #!/usr/bin/perl
# Runs 20 children that expose "PerlToUpper" before returning the result.
use strict; use warnings;
use constant CHILDREN => 20;
use Time::HiRes qw(usleep);
use Gearman::Worker;
$|++;
my @child_pids;
for (1 .. CHILDREN) {
if (my $pid = fork) {
push @child_pids, $pid;
next;
}
eval {
... | mit |
lbryio/lbry-app | ui/component/livestreamLink/index.js | 275 | import { connect } from 'react-redux';
import { makeSelectClaimForUri } from 'lbry-redux';
import LivestreamLink from './view';
const select = (state, props) => ({
channelClaim: makeSelectClaimForUri(props.uri)(state),
});
export default connect(select)(LivestreamLink);
| mit |
paintsnow/paintsnow | Source/Utility/MythForest/Component/Animation/AnimationComponentModule.cpp | 292 | #include "AnimationComponentModule.h"
#include "AnimationComponent.h"
using namespace PaintsNow;
using namespace PaintsNow::NsMythForest;
using namespace PaintsNow::NsSnowyStream;
AnimationComponentModule::AnimationComponentModule(Engine& engine) : ModuleImpl<AnimationComponent>(engine) {} | mit |
kevin-bockman/virtualmonkey | features/nginx_pass_mysql_aio.rb | 405 | set :runner, VirtualMonkey::Runner::Nginx
before do
@runner.stop_all
@runner.launch_all
@runner.wait_for_all("operational")
end
test "default" do
@runner.run_nginx_checks
@runner.probe(".*", "su - mysql -s /bin/bash -c \"ulimit -n\"") { |r,st| r.to_i > 1024 }
@runner.check_monitoring
@runner.reboot_all
... | mit |
JustAnotherCan/wechat-ship | server/core/api.js | 2796 | var request = require("request");
var util = require("util");
var async = require("async");
var config = require("./config");
var log = require("./log");
var error = require("./error");
var tools = require("./tools");
var buffer = require("./buffer");
var api = {};
//url:http://127.0.0.1/path
//data: an object
//ifb... | mit |
90TechSAS/ui-select | src/uiSelectDirective.js | 15230 | uis.directive('uiSelect',
['$document', 'uiSelectConfig', 'uiSelectMinErr', 'uisOffset', '$compile', '$parse', '$timeout',
function($document, uiSelectConfig, uiSelectMinErr, uisOffset, $compile, $parse, $timeout) {
return {
restrict: 'EA',
templateUrl: function(tElement, tAttrs) {
var theme = tAtt... | mit |
mrk21/bitfield | test/spec/util_spec.cpp | 5997 | #include <bandit/bandit.h>
#include <bitfield/util.hpp>
#include <bitfield/container/vector.hpp>
#include <bitfield/section/base.hpp>
#include <bitfield/section/list.hpp>
#include <vector>
namespace bitfield { namespace util {
namespace hex_dump_traits_test {
template<typename T>
using std_vector =... | mit |
fuca/languageschool | language-school-bus-impl-module/src/test/java/cz/muni/fi/pa165/languageschool/test/BaseTest.java | 1161 | package cz.muni.fi.pa165.languageschool.test;
import java.util.Collection;
import javax.persistence.EntityManager;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import org.junit.runner.RunWith;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.spring... | mit |
gomorpheus/morpheus-cli | lib/morpheus/api/network_static_routes_interface.rb | 1349 | require 'morpheus/api/api_client'
class Morpheus::NetworkStaticRoutesInterface < Morpheus::RestInterface
def base_path
"/api/networks"
end
def get_static_route(network_id, route_id, params={}, headers={})
validate_id!(network_id)
validate_id!(route_id)
execute(method: :get, url: "#{base_path}/#... | mit |
BonexGu/Blik2D-SDK | Blik2D/addon/tesseract-3.04.01_for_blik/textord/topitch.h | 9585 | /**********************************************************************
* File: topitch.h (Formerly to_pitch.h)
* Description: Code to determine fixed pitchness and the pitch if fixed.
* Author: Ray Smith
* Created: Tue Aug 24 16:57:29 BST 1993
*
* (C) Copyright 1993, Hewlett-Packard Ltd.
** Licensed u... | mit |
Yomguithereal/talisman | src/inflectors/spanish/index.js | 63 | import {singularize} from './noun';
export {
singularize
};
| mit |
glenn-edgar/local_controller_3 | process_control_py3.py | 9357 | import time
import json
import redis
import subprocess
from subprocess import Popen, check_output
import shlex
import os
from py_cf_new_py3.chain_flow_py3 import CF_Base_Interpreter
from redis_graph_py3 import farm_template_py3
class Process_Control(object ):
def __init__(self):
pass
de... | mit |
rich-iannone/all-base-R | debug.md | 127 | ---
layout: page
permalink: /all-base-R/debug/
---
## __debug__
#### _Debug a Function_
### Usage
### Arguments
### Notes
| mit |
DustinCampbell/vscode | src/vs/base/browser/ui/tree/indexTreeModel.ts | 14919 | /*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | mit |
heeryung/heeryung.github.com | pages/eyetracking.md | 2076 | ---
layout: page
subheadline: ""
title: "Study on Readability of Korean Online Media Page"
teaser: ""
breadcrumb: true
categories:
- projects
permalink: "/project/eyetracking/"
header: no
---
<h4> Summary </h4>
<div class="row">
<div class="medium-4 columns">
<img src="http://heeryung.github.io/images/e... | mit |
jordisala1991/SonataAdminBundle | tests/Action/SetObjectFieldValueActionTest.php | 14552 | <?php
declare(strict_types=1);
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\AdminBundle\Tests\Act... | mit |
tomsmeding/gvajnez | msgtype.js | 329 | module.exports={
"file":1, // fname, mode, contents
"filedelete":2, // fname
"checkout":3, // fname
"checkin":4, // fname
"ping":5, // -
"pong":6, // -
"edit":{
"open":100, // fname
"close":101, // fname
"open_ok":102, // fname
"open_err":103, // fname
"close_ok":104, // fname
"close_err":105 // fna... | mit |
tonycatapano/JMinesField | src/main/java/com/mines/main/MineField.java | 1804 | package com.mines.main;
import com.mines.domain.enums.BoardSize;
import com.mines.domain.enums.Difficulty;
public class MineField{
private int[][] field;
private BoardSize size;
private Difficulty diff;
private int nrMines = 0;
public MineField(){
diff = Difficulty.EASY;
size = BoardSi... | mit |
aL3891/ServiceFabricSdkContrib | System.Fabric.Management.ServiceModel/ApplicationPoliciesType.cs | 2017 | // Decompiled with JetBrains decompiler
// Type: System.Fabric.Management.ServiceModel.ApplicationPoliciesType
// Assembly: System.Fabric.Management.ServiceModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
// MVID: C6D32D4D-966E-4EA3-BD3A-F4CF14D36DBC
// Assembly location: C:\Git\ServiceFabricSd... | mit |
adityadharne/TestObento | obi/obi/settings.py | 6014 | # Django settings for obi project.
from os.path import abspath, dirname
DEBUG = False
TEMPLATE_DEBUG = DEBUG
ADMINS = (
# ('Your Name', 'your_email@example.com'),
)
MANAGERS = ADMINS
DATABASES = {
'default': {
# Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'ENGINE': 'django.db.... | mit |
richard-mack/cheer-planner | client/app.js | 1525 | var Cheerleaders = angular.module('Cheerleaders', [ 'ngRoute', 'ngDragDrop', 'angularjs-dropdown-multiselect']);
Cheerleaders.config(function ($routeProvider) {
$routeProvider.when('/', {
templateUrl: 'partials/index.html',
controller: 'routineIndexController',
access: {restricted: true}
})
... | mit |
theozaurus/littleneck_clamav | lib/littleneck_clamav/clam.rb | 2029 | require 'cocaine'
require 'English'
require 'time'
require_relative 'result'
require_relative 'error'
class LittleneckClamAV
class Clam
def engine
version[:engine] if available?
end
def database_version
version[:database_version].to_i if available?
end
def database_date
Time.... | mit |
bacome/imapclient | imapclient/imapclient/client/setunseencount.cs | 2008 | using System;
using System.Threading.Tasks;
using work.bacome.async;
using work.bacome.imapclient.support;
using work.bacome.trace;
namespace work.bacome.imapclient
{
public partial class cIMAPClient
{
internal cMessageHandleList SetUnseenCount(iMailboxHandle pMailboxHandle)
{
var ... | mit |
v8-dox/v8-dox.github.io | ba5a697/html/structv8_1_1Isolate_1_1CreateParams-members.html | 8198 | <!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 |
HenryHarper/Acquire-Reboot | gradle/docs/javadoc/org/gradle/plugins/ide/eclipse/model/package-frame.html | 1254 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_02) on Mon Apr 25 06:16:42 CEST 2016 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>org.gradle.plugins... | mit |
laoo/OLT | README.md | 23 | OLT
===
Open Lute Tab
| mit |
mohayonao/neume | test/scapi/units/BufSamples.js | 684 | import assert from "assert";
import BufSamples from "../../../src/scapi/units/BufSamples";
describe("scapi/units/BufSamples", () => {
it(".kr should create control rate node", () => {
const node = BufSamples.kr(1);
assert.deepEqual(node, {
type: "BufSamples", rate: "control", props: [ 1 ]
});
})... | mit |
aerialship/steel-mq | src/AerialShip/SteelMqBundle/Entity/User.php | 11457 | <?php
namespace AerialShip\SteelMqBundle\Entity;
use Symfony\Component\Security\Core\Role\Role;
use Symfony\Component\Security\Core\User\UserInterface;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
/**
* @ORM\Entity(repositoryClass="AerialShip\SteelMqBundle\Entity\Repository\User... | mit |
TorbenKoehn/gw2-php | Api/Entity/ItemInfoBase.php | 2373 | <?php
namespace GuildWars2\Api\Entity;
use GuildWars2\Api\SetEntityBase;
abstract class ItemInfoBase extends SetEntityBase
{
private $_itemId;
private $_amount;
private $_skinId;
private $_upgradeIds;
private $_infusionIds;
private $_bindType;
private $_boundCharacterName;
protected ... | mit |
dynamicreflectance/core | utils/source/Tokenizer.hpp | 558 | #pragma once
/* LightedMaterial.hpp
*
* Copyright (C) 2017 Dynamic Reflectance
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
//std
#include <string>
#include <vector>
namespace core {
namespace utils {
std::vector<std::s... | mit |
tommy-muehle/tooly-composer-script | .docker/php-7.3/Dockerfile | 179 | FROM php:7.3-alpine
RUN apk --update add libbz2 bzip2-dev && \
apk del build-base && \
rm -rf /var/cache/apk/*
RUN docker-php-ext-install bz2
VOLUME ["/app"]
WORKDIR /app
| mit |
AlexisDeschamps/portfolio-rebalancer | app/reducers/index.js | 1039 | import { combineReducers } from 'redux';
import { routerReducer as routing } from 'react-router-redux';
import account from '../reducers/account';
import authentication from '../reducers/authentication';
import user from '../reducers/user';
import modelPortfolio from '../reducers/modelPortfolio';
import portfolio from ... | mit |
asepnur/fascal-static | src/css/sign.css | 3815 | /* VARIABLES */
/* BASE */
html,
body {
font-family: "helvetica neue";
font-size: 1em;
line-height: 1.4;
height: 100%;
margin: 0;
padding: 0;
background-color: #fafafa; }
a {
text-decoration: none;
color: inherit; }
.container {
overflow: hidden;
*zoom: 1;
margin: 0 20px; }
.site-content {
... | mit |
rahatm1/AndroidMonkeyPrank | AndroidMonkeyPrank.sh | 532 | #!/bin/sh
IP=192.168.0.101
timer=30
events=500
throttle=350
adb usb
sleep 2
adb tcpip 5555
sleep 5
#TODO: Get args from terminal
adb connect $IP
sleep 3
connectStatus=`adb devices|wc -l`
if [[ $connectStatus -gt 3 ]]; then
echo "Safe to Disconnect"
for i in `seq $timer 1`;
do
echo $i
sleep 1
done... | mit |
onsightit/solarcoin | src/qt/askpassphrasepage.h | 948 | #ifndef BITCOIN_QT_ASKPASSPHRASEPAGE_H
#define BITCOIN_QT_ASKPASSPHRASEPAGE_H
#include <QDialog>
namespace Ui {
class AskPassphrasePage;
}
class WalletModel;
/** Ask for passphrase. Used for unlocking at startup.
*/
class AskPassphrasePage : public QDialog
{
Q_OBJECT
public:
enum Mode {
Encryp... | mit |
dvberkel/SPA2014-lightning-talk | slides/100x37.md | 12 | ## 100x=37
| mit |
stoneyangxu/stoneyangxu.github.io | _posts/blog/2017-10-26-java-8-in-action-1.md | 28394 | ---
layout: post
title: "JAVA8实战 - 基础知识"
date: 2017-10-26 22:47:37
categories: 读书笔记
---
# 概要
- JAVA8是发布以来变化最大的一次
- 完全向下兼容
- 引入新的语法和设计模式,帮助开发者编写更清楚、更简洁的代码
- 引入函数式编程方式
- 其他的一些优化改进
# 基础知识
- 总结java的主要变化:`Lambda、方法引用、流和默认方法`
- 了解行为`参数化`,这是一种`软件开发模式`,也是引入Lambda的主要原因
- 全面解释Lambda和方法引用
## 为什么要关心Java8
- Java8让开发者使用起来更容... | mit |
ivanceras/codegenta | tests/gen/payment/exchange_rate.rs | 13914 | //! WARNING: This file is generated, derived from table payment.exchange_rate, DO NOT EDIT
use chrono::datetime::DateTime;
use chrono::offset::utc::UTC;
use gen::column;
use gen::schema;
use gen::table;
use rustc_serialize::json::Json;
use rustc_serialize::json::ToJson;
use rustorm::dao::Dao;
use rustorm::dao::IsDao;
... | mit |
jumpalottahigh/blog.georgi-yanev.com | content/posts/fpv/2017-10-22-how-to-direct-solder-vtx-antenna/index.md | 7427 | ---
path: '/fpv/how-to-direct-solder-vtx-antenna/'
date: '2017-10-22'
title: 'How to direct solder an antenna to your vtx'
author: 'Georgi Yanev'
affiliate: 'Links to Banggood or Amazon in this article are affiliate links and would support the blog if used to make a purchase.'
draft: false
category: 'fpv'
tags:
- 'wi... | mit |
many-to-many/ica | app/index.html | 28050 | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>Many-to-Many</title>
<link rel="stylesheet" type="text/css" href="/styles/main.css?v=2.5.1">
<script src="/scripts/vendor.js?v=2.5.1"></script>
<... | mit |
tonycaovn/vivuserver | services/audio.js | 5449 | var mongo = require('mongodb');
var fs = require('fs');
var path = require("path");
var Server = mongo.Server,
Db = mongo.Db,
BSON = mongo.BSONPure;
var server = new Server('localhost', 27017, {auto_reconnect: true});
db = new Db('vivudb', server);
function getExtPart(str){
var n=str.split(".");
return n[... | mit |
kuhlenh/port-to-core | Reports/ta/tavisca.travelnxt.activity.lib.1.4.15.55/Tavisca.TravelNxt.Caching.Client-net40.html | 9679 |
<!DOCTYPE html>
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="PortabilityAnalysis0">.NET Portability Report</title>
<style>
... | mit |
scull06/guardia | README.md | 4668 | # Guardia
Javascript library for the Specification and Enforcement of Security Policies at application level.
## Description
- TODO
## Install
GUARDIA depends on some external libraries. Make sure you include these libraries before guardia:
- trait.js @ npm
## Usage
Guardia is an internal DSL as such you need an ... | mit |
reshak/angular-dashboard-framework | sample/widgets/deviceInventory/gulpfile.js | 2787 | var gulp = require('gulp');
var connect = require('gulp-connect');
var wiredep = require('wiredep').stream;
var $ = require('gulp-load-plugins')();
var del = require('del');
var jsReporter = require('jshint-stylish');
var annotateAdfPlugin = require('ng-annotate-adf-plugin');
var pkg = require('./package.json');
var a... | mit |
ZachLiuGIS/reactjs-auth-django-rest | django_backend/user_profile/serializers.py | 1016 | from rest_framework import serializers
from rest_auth.serializers import UserDetailsSerializer
class UserSerializer(UserDetailsSerializer):
website = serializers.URLField(source="userprofile.website", allow_blank=True, required=False)
about = serializers.CharField(source="userprofile.about", allow_blank=True... | mit |
cdnjs/cdnjs | ajax/libs/react/18.0.0-alpha-bdd6d5064-20211001/umd/react.development.js | 112128 | /** @license React vundefined
* react.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !... | mit |
mk14/Long-Beach | atom-feed.php | 3777 | <?
$prefix = $_SERVER['DOCUMENT_ROOT'];
require_once($prefix . '/common/markdown.php');
require_once($prefix . '/common/smartypants.php');
// Connect to Database
include('common/dbconnect.php');
// Only items that have been published
// (No posts scheduled for the future)
$post_cutoff_time = time();
// Number of Pos... | mit |
piedoom/TumblrSharp | docs/api/toc.html | 132145 |
<div id="sidetoggle">
<div>
<div class="sidefilter">
<form class="toc-filter">
<span class="glyphicon glyphicon-filter filter-icon"></span>
<span class="glyphicon glyphicon-remove clear-icon" id="toc_filter_clear"></span>
<input type="text" id="toc_filter_input" placeholder="Enter ... | mit |
AsrOneSdk/azure-sdk-for-net | sdk/network/Azure.ResourceManager.Network/src/Generated/LongRunningOperation/NetworkWatcherGetAzureReachabilityReportOperation.cs | 3516 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
namespace Azure.ResourceManager... | mit |
homerjam/angular-columnify | example/app.js | 557 | angular.module('ExampleCtrl', []).controller('ExampleCtrl', ['$scope',
function($scope) {
$scope.createItems = function() {
$scope.items = [];
for (var i = 0; i < 100; i++) {
$scope.items[i] = {
ratio: Math.max(0.4, Math.random() * 2),
color: ... | mit |
leyyin/university | advanced-programming-methods/labs/toy-interpreter-java/src/model/expression/Operation.java | 895 | package model.expression;
/**
* The type Operation.
*/
public class Operation
{
/**
* The constant ADD.
*/
public static final int ADD = 1;
/**
* The constant SUBTRACT.
*/
public static final int SUBTRACT = 2;
/**
* The constant MULTIPLY.
*/
public static fi... | mit |
IncaProject/IncaProject.github.io | releases/2.0/javawsdocs/index-all.html | 249778 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.4.2_10) on Fri Feb 02 11:42:09 PST 2007 -->
<TITLE>
Index
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
<SCRIP... | mit |
dobrite/gusher | src/javascripts/gusher.js | 1015 | var _ = require('lodash'),
EventEmitter = require('events').EventEmitter,
config = require('./config'),
Channel = require('./channel'),
Connection = require('./connection'),
Bus = require('./bus'),
API = require('./utils');
var subscribedChannels;
func... | mit |
pdelre/dotfiles | zsh/bindkey.zsh | 2100 | # https://www.reddit.com/r/zsh/comments/eblqvq/del_pgup_and_pgdown_input_in_terminal/fb7337q/
# If NumLock is off, translate keys to make them appear the same as with NumLock on.
bindkey -s '^[OM' '^M' # enter
bindkey -s '^[Ok' '+'
bindkey -s '^[Om' '-'
bindkey -s '^[Oj' '*'
bindkey -s '^[Oo' '/'
bindkey -s '^[OX' '='... | mit |
escray/besike-nodejs-harp | lessExample.js | 177 | var less = require('less');
var lessStr = '.class { width: (1+1)}';
less.render(lessStr, function(e, output) {
console.log(output.css);
});
console.log(less.render(lessStr)); | mit |
JuliaPackageMirrors/WAV.jl | src/WAV.jl | 30238 | # -*- mode: julia; -*-
VERSION >= v"0.4.0-dev+6521" && Base.__precompile__(true)
module WAV
export wavread, wavwrite, wavappend, wavplay
export WAVArray, WAVFormatExtension, WAVFormat
export isextensible, isformat, bits_per_sample
export WAVE_FORMAT_PCM, WAVE_FORMAT_IEEE_FLOAT, WAVE_FORMAT_ALAW, WAVE_FORMAT_MULAW
using... | mit |
inku25253/MineProtocol.net | LibMinecraft/Vector3.cs | 996 | namespace LibMinecraft
{
public struct Vector3
{
public static Vector3 Zero
{
get { return new Vector3(0, 0, 0); }
}
public static Vector3 UpX
{
get { return new Vector3(1, 0, 0); }
}
public static Vector3 UpY
{
get { return new Vector3(0, 1, 0); }
}
public static Vector3 UpZ
{
get... | mit |
ModulizedProject/MainProject | MainProject/MainProject/BViewController/BViewController.h | 274 | //
// BViewController.h
// MainProject
//
// Created by casa on 2016/12/10.
// Copyright © 2016年 casa. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface BViewController : UIViewController
- (instancetype)initWithContentText:(NSString *)contentText;
@end
| mit |
BartMassey/gpgame-markers | README.md | 1411 | # Glass Plate Game Markers
Copyright © 2014 Bart Massey
This package generates three files of printable SVG
useful for feeding to a laser cutter to make wooden markers
for the [Glass Plate Game](http://glassplategame.com).
The SVG generator is written in Python 3. The easiest way
to get the files is to just run "mak... | mit |
chadmichel/UnitTest | TheCode/Customer.cs | 298 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TheCode
{
public class Customer
{
public string Id { get; set; }
public string Name { get; set; }
public bool Pro { get; set; }
}
}
| mit |
Yarduddles/ISO-3166 | PHP/ISO-3166-2-TR.php | 2522 | <?php
$ISO_3166_2 = array();
$ISO_3166_2['01'] = "Adana";
$ISO_3166_2['02'] = "Adiyaman";
$ISO_3166_2['03'] = "Afyonkarahisar";
$ISO_3166_2['04'] = "Agri";
$ISO_3166_2['68'] = "Aksaray";
$ISO_3166_2['05'] = "Amasya";
$ISO_3166_2['06'] = "Ankara";
$ISO_3166_2['07'] = "Antalya";
$ISO_3166_2['75'] = "Ardahan";
$ISO_3166_2... | mit |
thalib/thalib.github.io | _drafts/2016-11-28-dot-language-graphviz.md | 451 | ---
layout: post
title: "Wonderfull article (CHANGE ME)"
date: 2016-11-28 19:27:02
categories: General
tags:
excerpt: This post is all about XYZ (CHANGE ME)
---
http://graphs.grevian.org/documentation
http://www.graphviz.org/content/node-shapes
http://www.graphviz.org/content/attrssimpl
http://www.graphviz.org/Do... | mit |
SimonAnna/final | Php/controller/save-user.php | 815 | <?php
require_once(__DIR__ . "/../model/config.php");
//takes and stores exp - exp4
//$exp = filter_input(INPUT_POST, "exp", FILTER_SANITIZE_STRING);
//$exp1 = filter_input(INPUT_POST, "exp1", FILTER_SANITIZE_STRING);
//$exp2 = filter_input(INPUT_POST, "exp2", FILTER_SANITIZE_STRING);
//$exp3 = filter_input(INPUT_POST... | mit |
KyberNetwork/KyberWallet | src/js/components/ImportAccount/ImportByDeviceView.js | 4782 | import React from "react";
import { SelectAddressModal } from "../ImportAccount";
import { roundingNumber } from "../../utils/converter"
import PathSelector from "../../containers/CommonElements/PathSelector";
const ImportByDeviceView = (props) => {
function choosePath(dpath) {
let inputPath = document.getEleme... | mit |
grumpydevelop/singularity | src/test/main_tests.cpp | 806 | // Copyright (c) 2014 The Bitcoin Core developers
// Copyright (c) 2014-2015 The Singularity developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "primitives/transaction.h"
#include "main.h"
#include <boost/t... | mit |
lksmth/qlass | README.md | 547 | # qlass
A classical inheritance implementation in JavaScript
# usage
```
npm install
npm test
```
# example
```javascript
qlass("Animal", {
Animal: function(name) { this.name = name; },
walk: function() { return this.name + " is walking."; }
});
qlass("Animals.Dog : Animal", {
Dog: function(name) { this.base(name... | mit |
joannangx/visionaria_app | db/migrate/20161029100010_fix_column_name.rb | 254 | class FixColumnName < ActiveRecord::Migration
def change
rename_column :posts, :user, :username
rename_column :tagged_posts, :user, :username
add_column :posts, :likes, :integer
add_column :tagged_posts, :likes, :integer
end
end
| mit |
eirTony/INDI1 | to/lang/OpenCV-2.2.0/dbg-w32/modules/highgui/CMakeFiles/CMakeDirectoryInformation.cmake | 1061 | # CMAKE generated file: DO NOT EDIT!
# Generated by "MinGW Makefiles" Generator, CMake Version 2.8
# Relative path conversion top directories.
SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "D:/lang/OpenCV-2.2.0")
SET(CMAKE_RELATIVE_PATH_TOP_BINARY "D:/lang/OpenCV-2.2.0/dbg-w32")
# Force unix paths in dependencies.
SET(CMAKE_FOR... | mit |
U-Boot-Sidekicks/CoffeeKiosk | Server/templates/index.html | 1734 | <!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<title>coffIT - Admin</title>
<link rel="stylesheet" type="text/css" href="/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="/css/style.css" />
<link href="/favicon.ico" title="Icon" type="image/x-icon" rel="icon" />
</head>
... | mit |
fgrid/iso20022 | SecuritiesTradeDetails54.go | 4526 | package iso20022
// Details of the securities trade.
type SecuritiesTradeDetails54 struct {
// Reference assigned to the trade by the investor or the trading party. This reference will be used throughout the trade life cycle to access/update the trade details.
TradeIdentification []*Max35Text `xml:"TradId,omitempty... | mit |
Ryahn/SoEBot | bot.js | 2929 | const Discord = require('discord.js');
const client = new Discord.Client({
forceFetchUsers: true,
autoReconnect: true,
disableEveryone: true,
});
const settings = require('./auth.json');
const chalk = require('chalk');
const fs = require('fs');
const moment = require('moment');
require('./util/eventLoader')(client);... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.04.2-2.0.5/released/8.9.1/hammer/1.3.2+8.14.html | 7377 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>hammer: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | mit |
osorubeki-fujita/odpt_tokyo_metro | lib/tokyo_metro/app/renderer/real_time_infos/each_railway_line.rb | 7218 | class TokyoMetro::App::Renderer::RealTimeInfos::EachRailwayLine < TokyoMetro::Factory::Decorate::MetaClass
TRAIN_OPERATION_STATUS_FOR_TEST = ::YAML.load_file( "#{ ::TokyoMetro::DICTIONARY_DIR }/view/train_operation_status_for_test.yaml" )
def initialize( request , railway_line , http_client , test_mode )
supe... | mit |
thisissoon/Flask-Via | flask_via/examples/basic.py | 542 | # -*- coding: utf-8 -*-
"""
flask_via.examples.basic
========================
A simple ``Flask-Via`` example Flask application.
"""
from flask import Flask
from flask.ext.via import Via
from flask.ext.via.routers.default import Functional
app = Flask(__name__)
def foo(bar=None):
return 'Functional Foo View!'... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.09.0-2.0.5/released/8.7.1+2/of-ocaml/2.0.0.html | 7008 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>of-ocaml: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | mit |
nixsolutions/ggf | database/migrations/2015_07_07_144512_create_matches_table.php | 1556 | <?php
use App\Match;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\Schema;
class CreateMatchesTable extends Migration
{
public function up()
{
Schema::create('matches', function(Blueprint $table) {
$table->increments(... | mit |
lupascugabrielcristian/PubMeWeb | Mobile/www/templates/specific.html | 1505 | <ion-view view-title={{pub.name}}>
<ion-content data-tap-disabled="false" class="specific-pub-page">
<div>
About this pub:<br>
<div class="pub-description">
{{pub.description}}
</div>
</div>
<div>
Owner: {{owner.fullName}}
</div>
<ion-toggle ng-show="pub.promotio... | mit |
sankalplakhina/isomorphic-universal-react-redux-boilerplate-seed | webpack/prod.config.js | 5226 | require('server.babel'); // babel registration (runtime transpilation for node)
const path = require('path');
const LodashModuleReplacementPlugin = require('lodash-webpack-plugin');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const autoprefixer = require('autoprefixer');
const webpack = require... | mit |
jencol/OSCSSALUMNI | semesters.html | 4175 | <!-- SEMESTERS OSCSS ALUM WESBITE PAGE -->
<!doctype html>
<html lang="en">
<html>
<head>
<title>SEMESTERS</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--STYLESHEETS-->
<link rel="stylesheet... | mit |
FriendlyNPC/MVC6_Mac | OptionsWebsite/ViewModels/Account/ExternalLoginConfirmationViewModel.cs | 253 | using System.ComponentModel.DataAnnotations;
namespace OptionsWebSite.ViewModels.Account
{
public class ExternalLoginConfirmationViewModel
{
[Required]
[EmailAddress]
public string Email { get; set; }
}
}
| mit |
kaulavinash/berryme | src/test/java/com/dev/lambda/demo/LambdaFunctionHandlerTest.java | 1143 | package com.dev.lambda.demo;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import org.junit.BeforeClass;
import org.junit.Test;
import com.amazonaws.services.lambda.runtime.Context;
import com.dev.lambda.demo.model.Input;
/**
* A simple test harness for locally invoking your Lambda fu... | mit |
jprider63/GeekTool-Circle-Generator | README.md | 424 | GeekTool Circle Generator
=========================
This script generates circles to indicate different percentages. This is useful for displaying processor, memory, and battery information through GeekTool.
Instructions
============
- Open 'src/Geeklet Images.xcodeproj' with Xcode.
- Modify the 'path' variable in f... | mit |
Windowsfreak/NIStreamer | Android/NiViewer.Android/src/org/openni/android/tools/niviewer/NiViewerActivity.java | 10505 | /*****************************************************************************
* *
* OpenNI 2.x Alpha *
* Copyright (C) 2012 PrimeSense Ltd. *
* ... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.05.0-2.0.1/released/8.15.0/flocq/3.3.1.html | 7341 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>flocq: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | mit |
inequation/glext-emu | include/GL/glext-emu.h | 12519 | /*
glext-emu
Header-only libraries for emulation of select OpenGL extensions for easier
programming while maintaining backwards compatibility with feature-challenged
drivers.
The MIT License (MIT)
Copyright (c) 2013 Leszek Godlewski
Permission is hereby granted, free of charge, to any person obtaining a copy of
thi... | mit |
51reboot/actual_09_homework | 09/huxianglin/cmdb09/user/templates/asset.html | 7993 | {% extends "base.html" %}
{% block title %}资产管理{% endblock %}
{% block link %}
{{ super() }}
<link href="/static/css/dataTables/dataTables.bootstrap.min.css" rel="stylesheet">
<link href="/static/bootstrap-slider/css/bootstrap-slider.min.css" rel="stylesheet">
<link href="/static/bootstrap-datetimepick... | mit |
Trainmaster/Vision | src/DependencyInjection/NotFoundException.php | 206 | <?php
namespace Vision\DependencyInjection;
use Psr\Container\NotFoundExceptionInterface;
use RuntimeException;
class NotFoundException extends RuntimeException implements NotFoundExceptionInterface
{
}
| mit |
nohatssir/canvas-pong | README.md | 145 | canvas-pong
===========
A pong game created trying to figure out how to make games in Javascript. Utilies some kind of entity component system.
| mit |
ivantcholakov/codeigniter-utf8 | application/third_party/kohana/utf8/from_unicode.php | 1718 | <?php defined('KOHANASYSPATH') or die('No direct script access.');
/**
* UTF8::from_unicode
*
* @package Kohana
* @author Kohana Team
* @copyright (c) 2007-2011 Kohana Team
* @copyright (c) 2005 Harry Fuecks
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt
*/
function _from... | mit |
Yoree/Yoree.github.io | 2018/01/02/【2018-1-1】-三个月的开始/index.html | 12062 | <!DOCTYPE html>
<html class="theme-next muse 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">
<script src="//cdn.boo... | mit |
boggad/jdk9-sample | sample-catalog/spring-jdk9/src/spring.jms/org/springframework/jms/connection/JmsResourceHolder.java | 7474 | /*
* Copyright 2002-2016 the original author or authors.
*
* 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 ap... | mit |
yu-i9/HaSC | src/HaSC/Prim/IntermedSyntax.hs | 794 | module HaSC.Prim.IntermedSyntax where
import HaSC.Prim.ObjInfo
type IProgram = [IDecl]
type IVar = ObjInfo
type Label = String
data IDecl = IVarDecl IVar
| IFunDecl IVar [IVar] [ICode]
deriving(Show, Eq, Ord)
data ICode = ILabel Label
| ILet IVar IVar
| IL... | mit |
mwd410/GRT-Interview | src/GRT/MainBundle/GRTMainBundle.php | 122 | <?php
namespace GRT\MainBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class GRTMainBundle extends Bundle
{
}
| mit |
piterlin/piterlin.github.io | doc/jdk6_cn/javax/lang/model/element/class-use/AnnotationValueVisitor.html | 12010 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0-beta2) on Mon Mar 19 19:30:20 CST 2007 -->
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>
接口 javax.lang.model.element.An... | mit |
Skoshi/Aviation-site_new_ | Hangar.html | 18137 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
Remove this if you use the .htaccess -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<!--http://paulrhayes.com/experiments/cube-3d/-... | mit |
AdamNagy/FrontendTryouts | Angular/EventManager/app/user/profile.component.ts | 1870 | import { Component, Inject, OnInit } from '@angular/core';
import { FormControl, FormGroup, Validators } from '@angular/forms';
import { Router } from '@angular/router';
import { AuthService } from './auth.service';
import { IToastr, TOASTR_TOKEN } from '../common/toastr.service';
@Component({
templateUrl: 'app/user... | mit |
kuhlenh/port-to-core | Reports/fm/fm.websync.chat.ondemand.4.6.3/FM.WebSync.Chat-wp7.html | 13777 |
<!DOCTYPE html>
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="PortabilityAnalysis0">.NET Portability Report</title>
<style>
... | mit |