repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
goodwinxp/Yorozuya | library/ATF/CRealMoveRequestDelayCheckerRegister.hpp | 727 | // 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 |
taoste/taoste.github.io | intl/Tool/会声会影安装与激活/会声会影安装与激活.md | 4053 | 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 |
lukemiles/aws-eni-configutil | interface-gen.js | 2829 | // generates an interface file given an eni file
// you can generate an eni file using the aws-cli
// example:
// aws ec2 describe-network-interfaces --network-interface-ids eni-2492676c > eni-7290653a.json
var ENI_FILE = "json/eni-651e2c2c.json";
// the interface you want to configure
var INTERFACE = "eth1";
// po... | mit |
typicalmike002/nodejs-boilerplate | README.md | 1485 | # 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 |
hyperar/Hattrick-Ultimate | Hyperar.HattrickUltimate.UserInterface/LocalizableFormBase.cs | 1283 | //-----------------------------------------------------------------------
// <copyright file="LocalizableFormBase.cs" company="Hyperar">
// Copyright (c) Hyperar. All rights reserved.
// </copyright>
// <author>Matías Ezequiel Sánchez</author>
//---------------------------------------------------------------------... | mit |
yuuki2006628/boid | boid.js | 4749 | 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 |
allanfish/facetime | facetime-spring/src/main/java/com/facetime/spring/support/Page.java | 3885 | package com.facetime.spring.support;
import java.util.ArrayList;
import java.util.List;
import com.facetime.core.conf.ConfigUtils;
import com.facetime.core.utils.StringUtils;
/**
* 分页类
*
* @author yufei
* @param <T>
*/
public class Page<T> {
private static int BEGIN_PAGE_SIZE = 20;
/** 下拉分页列表的递增数量级 */
priva... | mit |
laurahspencer/LabNotebook | _posts/2017-06-26-Manchester6-26.md | 994 | ---
layout: post
title: Mancester 6/26
---
### Screened today, imaged 6/22 growth exp. & screened larvae; cleaned broodstock, yada yada yada...
#### Imaged 6/22 SN growth experiment larvae
Grace imaged the well plate, taking photos of first the well #, then larvae, not capturing the same larvae more than once. She im... | mit |
imgag/ngs-bits | src/cppNGSD/resources/NGSD_schema.sql | 79928 | SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL';
-- ----------------------------------------------------------------------------------------------------------
-- ... | mit |
tompaana/object-tracking-demo | VideoEffect/VideoEffect.Shared/Transforms/AbstractTransform.h | 6350 | #ifndef ABSTRACTTRANSFORM_H
#define ABSTRACTTRANSFORM_H
#include <new>
#include <mfapi.h>
#include <mftransform.h>
#include <mfidl.h>
#include <mferror.h>
#include <strsafe.h>
#include <assert.h>
// Note: The Direct2D helper library is included for its 2D matrix operations.
#include <D2d1helper.h>
#include <wrl\impl... | mit |
Squama/Master | AdminEAP-framework/src/main/java/com/cnpc/framework/base/service/impl/DictServiceImpl.java | 4363 | package com.cnpc.framework.base.service.impl;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Service;
import com.alibaba.fastjson.JSON;
import com.cnpc.framework.base.entity.Dict;
import com.cnpc.framework.base.pojo.TreeNode;
import com.c... | mit |
CaptainCrowbar/unicorn-lib | unicorn/format.cpp | 14380 | #include "unicorn/format.hpp"
#include <cmath>
#include <cstdio>
using namespace RS::Unicorn::Literals;
using namespace std::chrono;
using namespace std::literals;
namespace RS::Unicorn {
namespace UnicornDetail {
namespace {
// These will always be called with x>=0 and prec>=0
... | mit |
Swirrl/digitalsocial | backup_data_graph.sh | 3022 | #!/bin/bash
DATESTR=$(date +"%Y%m%d%H%M%S")
LOCAL_BACKUP_DIR=/home/rails/db_backups/dsi
function fetch_ntriples() {
FILE_NAME="$LOCAL_BACKUP_DIR/$1"
GRAPH_URI=$2
SOURCE_URI=http://46.4.78.148/dsi/data?graph=$GRAPH_URI
curl -s -H "Accept:text/plain" -f -o $FILE_NAME $SOURCE_URI
CURL_STATUS=$?
... | mit |
JustSid/Firedrake | slib/libio/service/IOService.cpp | 3272 | //
// IOService.cpp
// Firedrake
//
// Created by Sidney Just
// Copyright (c) 2015 by Sidney Just
// 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... | mit |
tomhatzer/Toady | README.md | 19090 | # Toady 1.0
Wickedly extensible IRC bot written in Node.js. Load and reload mods without reconnecting.
## Please pay attention: This master branch is merged with version 1.x from Toady and got extended afterwards!
## Download. Install. Fly.
If you don't already have Node.js, [get it](http://nodejs.org). It's awesome... | mit |
peterlanoie/aspnet-mvc-slack | src/Pelasoft.AspNet.Mvc.Slack.Tests/Properties/AssemblyInfo.cs | 1398 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Pe... | mit |
WorldWideTelescope/wwt-tile-sdk | Core/IDemPlateFileGenerator.cs | 977 | //-----------------------------------------------------------------------
// <copyright file="IDemPlateFileGenerator.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation 2011. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
name... | mit |
tcholakov/PlacesToEat | Source/Data/PlacesToEat.Data.Common/DbUserRepository{T}.cs | 1375 | 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 |
cdmaok/cdmaok.github.io | _posts/2016-08-31-Java-Interview.md | 8780 | ---
layout: post
title: Java-Interview
category: Java
description: Java 面试
---
一、Java基础
1. String类为什么是final的
2. HashMap的源码,实现原理,底层结构。
3. 说说你知道的几个Java集合类:list、set、queue、map实现类。
4. 描述一下ArrayList和LinkedList各自实现和区别
5. Java中的队列都有哪些,有什么区别。
6. 反射中,Class.forName和classloader的区别。
7. Java7、Java8的新特性
8. Ja... | mit |
wongatech/remi | ReMi.Web/ReMi.Web.UI.Tests/Tests/app/common/directives/draggableRowTests.js | 5831 | describe("Dragable Row Directive ", function () {
var scope, container, element, html, compiled, compile;
beforeEach(module("app", function ($provide) { $provide.value("authService", {}) }));
beforeEach(inject(function ($compile, $rootScope) {
html = '<div id="element-id" data-draggable-row=""'
... | mit |
fjeller/ADC2016_Mvc5Sample | SongManager/SongManager.Web/NinjectSupport/DependencyBindingsModule.cs | 725 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Ninject.Modules;
using Ninject.Extensions.Conventions;
namespace SongManager.Web.NinjectSupport
{
/// <summary>
/// Automatically loads all Boot Modules and puts them into the Ninject Dependency Resolver
/// </summary>
publ... | mit |
VincentCasse/amaretti.js | README.md | 3469 | # Amaretti.js
[](https://gitter.im/VincentCasse/amaretti.js?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://t... | mit |
chadrosenquist/running-route | src/main/java/com/kromracing/runningroute/client/Utils.java | 1100 | package com.kromracing.runningroute.client;
import com.google.gwt.dom.client.Element;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.ui.CheckBox;
import com.google.gwt.user.client.ui.Widget;
final public class Utils {
private Utils() {
}
/**
* Sets the HTML id ... | mit |
jenkinsci/gatekeeper-plugin | src/test/java/org/paylogic/jenkins/advancedscm/MercurialRule.java | 5618 | /**
* This file was copied from https://github.com/jenkinsci/mercurial-plugin/raw/master/src/test/java/hudson/plugins/mercurial/MercurialRule.java
* so we as well have a MercurialRule to create test repos with.
* The file is licensed under the MIT License, which can by found at: http://www.opensource.org/licenses/mi... | mit |
phrb/StochasticSearch.jl | src/core/search/techniques/simulated_annealing.jl | 490 | 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 |
mjbvz/vscode | src/vs/workbench/contrib/files/browser/media/fileactions.css | 5195 | /*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | mit |
ChinaKim/AdvanceAdapter | app/src/main/java/zhou/adapter/NormalAdapter.java | 1412 | package zhou.adapter;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import java.util.List;
/**
* Created by zzhoujay on 2015/7/22 0022.
*/
public class Norm... | mit |
cyclosproject/cyclos4-ui | src/app/ui/banking/vouchers/buy-vouchers-step-confirm.component.html | 2687 | <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 |
coingulf/gulfcoin | src/qt/locale/bitcoin_zh_TW.ts | 119082 | <?xml version="1.0" ?><!DOCTYPE TS><TS language="zh_TW" version="2.0">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About GulfCoin</source>
<translation>關於位元幣</translation>
</message>
<message>
<location li... | mit |
Daskie/Crazy8-CPE-103 | src/UserInterface/Animation/SizeAnimation.java | 731 | package UserInterface.Animation;
/**
* Makes shit get big, makes shit get small.
*/
public class SizeAnimation extends Animation {
protected int iW, iH, fW, fH, cW, cH;
public SizeAnimation(long period, int paceType, boolean loop, int iW, int iH, int fW, int fH) {
super(period, paceType, loop);
... | mit |
grawcho/vso-agent-tasks | Tasks/NuGetCommandV2/nugetrestore.ts | 12108 | import * as path from "path";
import * as tl from "vsts-task-lib/task";
import {IExecOptions, IExecSyncResult} from "vsts-task-lib/toolrunner";
import * as auth from "packaging-common/nuget/Authentication";
import * as commandHelper from "packaging-common/nuget/CommandHelper";
import {NuGetConfigHelper2} from "packagi... | mit |
supnate/rekit-portal | src/features/home/selectors/explorerTreeData.js | 4178 | import _ from 'lodash';
import { createSelector } from 'reselect';
const srcFilesSelector = state => state.srcFiles;
const featuresSelector = state => state.features;
const featureByIdSelector = state => state.featureById;
const keywordSelector = (state, keyword) => keyword;
function getMarks(feature, ele) {
const ... | mit |
songwutk/opensourcepos | application/libraries/Receiving_lib.php | 9998 | <?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 |
mauriciotogneri/apply | src/main/java/com/mauriciotogneri/apply/compiler/syntactic/nodes/arithmetic/ArithmeticModuleNode.java | 603 | 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 |
Ledoux/ShareYourSystem | Pythonlogy/upload.sh | 252 | #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 |
ahmelessawy/Hospital-Dashboard | Client/src/app/layouts/user/user.component.ts | 402 | 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 |
michaelBenin/sqlalchemy | test/engine/test_execute.py | 70582 | # 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 |
toeb/sine | src/core/graph/Node.h | 17226 | /**
* Copyright (C) 2013 Tobias P. Becker
*
* 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 |
VIPShare/VIPShare-REST-Server | app/controller/mine.js | 2077 | exports.login = function* (ctx) {
const result = yield ctx.service.mine.login(ctx.request.body);
if (!result) {
ctx.status = 400;
ctx.body = {
status: 400,
msg: `please check your username and password`,
}
return;
}
ctx.body = {
access_token: result.access_token,
msg: 'login ... | mit |
arturparkhisenko/til | wasm/examples/sum/index.html | 2315 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<script>
const importObject = Object.freeze({
env: {
__memory_b... | mit |
lars-erik/Umbraco-CMS | src/Umbraco.Core/DictionaryExtensions.cs | 12153 | 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 |
benjamine/phenotype | demo.html | 8335 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Phenotype Demo</title>
<meta name="description" content="Phenotype Demo">
<link rel="stylesheet" href="style.css">
<script src="phenotype.js" type="application/javascript"></script>
</head>
<body>
<a ... | mit |
INSIDEM2M/slim | src/commands/dev.command.ts | 1457 | import * as yargs from "yargs";
import { getEnvironment, getSlimConfig } from "../cli-helpers";
export const devCommand: yargs.CommandModule = {
command: "dev",
describe: "Start a development server.",
builder: {
open: {
alias: "o",
type: "boolean",
description: ... | mit |
donfo/generator-vue-tpl | generators/app/templates/src/utils/browser.js | 833 | export const browserVersions = () => {
let u = navigator.userAgent
return {
// 移动终端浏览器版本信息
trident: u.indexOf('Trident') > -1, // IE内核
presto: u.indexOf('Presto') > -1, // opera内核
webKit: u.indexOf('AppleWebKit') > -1, // 苹果、谷歌内核
gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') === -1, // 火狐... | mit |
localhots/yandex_music | lib/yandex_music/client.rb | 962 | module YandexMusic
class Client
include YandexMusic::Auth
include YandexMusic::Endpoints::Search
include YandexMusic::Endpoints::ArtistAlbums
include YandexMusic::Endpoints::AlbumsTracks
def initialize(client_id, client_secret)
@client_id, @client_secret = client_id, client_secret
end
... | mit |
claudio-moya-tapia/mean_demo | app/views/group/edit.html | 4322 | <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 |
frankyhung93/Learn_Coding | php/mysql/db_connect.php | 554 | <?php
$hostname = "localhost";
$user = "root";
$password = "admin";
$database = "employees";
mysql_connect($hostname, $user, $password);
mysql_set_charset('utf8');
@mysql_select_db($database) or die( "Unable to select database");
mysql_query("SET NAMES 'utf8'");
$mysqli = new mysqli($hostname, $user, $password, $dat... | mit |
ChasNelson1990/chasnelson.co.uk | content/posts/the-little-eye/_index.md | 994 | ---
title: The Little Eye Blog
# View.
# 1 = List
# 2 = Compact
# 3 = Card
view: 3
aliases: ["/the-little-eye/"]
# Optional header image (relative to `static/img/` folder).
header:
caption: ""
image: ""
---
### A Point of View on Microscopy Research, the History of the Microscope and a hint of Interdiscip... | mit |
vusion/proto-ui | src/components/u-navbar.vue/dropdown.vue/module.css | 866 | .root {
display: inline-block;
position: relative;
z-index: 1;
cursor: var(--cursor-pointer);
height: var(--navbar-height);
line-height: var(--navbar-height);
border: none;
padding: var(--navbar-dropdown-padding);
font-size: var(--font-size-large);
}
.root:not(:last-child) {
mar... | mit |
kayoumido/Ram-Bot | utility/tools.js | 429 | /**
* 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 != ... | mit |
sunaot/minitest-mock-easily | README.md | 731 | # Minitest::Mock::Easily
use MiniTest::Mock with easier API
## Installation
Add this line to your application's Gemfile:
gem 'minitest-mock-easily'
And then execute:
$ bundle
Or install it yourself as:
$ gem install minitest-mock-easily
## Usage
```
include MockEasily
m = mock do
expect :hello,... | mit |
gilt/tech-blog | _posts/tumblr/2013-10-04-welcome-jonathan-leibiusky.html | 1545 | ---
redirect_to:
- http://tech.hbc.com/2013-10-04-welcome-jonathan-leibiusky.html
layout:: post
title: Welcome Jonathan Leibiusky!
date: '2013-10-04T15:24:00-04:00'
tags:
- Jonathan Leibiusky
- Infrastructure Engineering
- people
- gilt tech
- nyc
- immutable deployment
- xetorthio
tumblr_url: http://tech.gilt.com/post... | mit |
bitzhuwei/CSharpGL | Infrastructure/CSharpGL.Models/FormPropertyGrid.Designer.cs | 2212 | 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 |
pine613/android-hm | android-hm/src/net/pinemz/hm/gui/SettingsActivity.java | 6222 | 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 |
inDream/sequelize | test/integration/configuration.test.js | 5369 | 'use strict';
const chai = require('chai'),
expect = chai.expect,
config = require('../config/config'),
Support = require('./support'),
dialect = Support.getTestDialect(),
Sequelize = Support.Sequelize,
fs = require('fs'),
path = require('path');
if (dialect === 'sqlite') {
var sqlite3 = require('sqli... | mit |
jamierocks/Zinc | Example/src/main/java/uk/jamierocks/zinc/example/ExampleCommands.java | 2269 | /*
* This file is part of Zinc, licensed under the MIT License (MIT).
*
* Copyright (c) 2015-2016, Jamie Mansfield <https://github.com/jamierocks>
*
* 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 ... | mit |
joaomoreno/vscode | src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.ts | 18581 | /*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | mit |
microsoftgraph/msgraph-sdk-java | src/main/java/com/microsoft/graph/requests/TermsAndConditionsAcceptanceStatusCollectionPage.java | 2194 | // Template Source: BaseEntityCollectionPage.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -----------------------------... | mit |
matthewsot/CocoaSharp | Headers/PrivateFrameworks/iWorkImport/TSUProgressGroup.h | 712 | /*
* 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 |
adaline/dockermail | core/README.md | 3340 | Dockermail - Email Core
==========
This image provides a secure, minimal mail server based on 'postfix' and 'dovecot'.
All incoming mail to your domains is accepted.
For outgoing mail, only authenticated (logged in with username and password) clients can send messages via STARTTLS.
## Setup
You will need 2 folder on ... | mit |
Kronuz/Xapiand | src/xapian/common/safesysstat.h | 2158 | /** @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 |
tranberg/citations | js/cite.js | 6059 | // Script by Bo Tranberg
// http://botranberg.dk
// https://github.com/tranberg/citations
//
// This script requires jQuery and jQuery UI
$(function() {
// Inser html for dialog just before the button to open it
var butt = document.getElementById('citations');
butt.insertAdjacentHTML('beforeBegin',
... | mit |
dylanh333/android-unmkbootimg | vendor/android-tools/init/init_parser.h | 2414 | /*
* 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 |
gavmain/django_demo | demo/templates/polls/detail.html | 552 | {% extends "base.html" %}
{% block content %}
<h1>{{ question.question_text }}</h1>
{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}
<form action="{% url 'polls:vote' question.id %}" method="post">
{% csrf_token %}
{% for choice in question.choice_set.all %}
<input type="radio" name="c... | mit |
arise-yoshimoto/MyLibSwift | README.md | 12 | # MyLibSwift | mit |
AgeOfWar/Telejam | src/main/java/io/github/ageofwar/telejam/updates/UpdateReader.java | 4138 | 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 |
BitcoinMafia/identicoin | public/css/bootstrap.css | 133225 | @import url("//fonts.googleapis.com/css?family=News+Cycle:400,700");
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
audio,
canvas,
video {
display: inline-block;
}
audio:not([contro... | mit |
RomensTeam/Remus | LICENSE.md | 1089 | 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... | mit |
logicmachine/loquat | test/misc/binary_search_test.cpp | 957 | #include <gtest/gtest.h>
#include "loquat/misc/binary_search.hpp"
TEST(BinarySearchTest, Integer){
for(int l = -16; l <= 16; ++l){
for(int r = l; r <= 16; ++r){
for(int expect = l; expect <= r; ++expect){
const auto actual = loquat::binary_search(
l, r, [=](int x){ return x < expect; });
EXPECT_EQ(e... | mit |
wiki-ai/editquality | editquality/utilities/generate_make.py | 2362 | """
``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 |
ghoulsblade/vegaogre | lugre/baselib/openal-soft-1.8.466/Alc/alcReverb.c | 31015 | /**
* 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 |
Byteshift/TankMaze | README.md | 113 | [http://www.byteshiftcode.com/project/tank-maze-js-game](http://www.byteshiftcode.com/project/tank-maze-js-game)
| mit |
baites/baites.github.io | README.md | 1505 | # baites.github.io
# Installation
* Cloning and creating docker image
**NOTE**: This installation requires installed docker server.
```bash
$ git clone git clone https://github.com/baites/baites.github.io.git
$ cd baites.github.io
$ docker build -t jekyll -f jekyll.dockerfile .
...
Successfully tagged jekyll:latest... | mit |
vulcansteel/autorest | AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyArray/auto_rest_swagger_bat_array_service/models/product.py | 931 | # 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 |
rquellh/thewanderingconsultant | config.js | 3810 | // # Ghost Configuration
// Setup your Ghost install for various environments
// Documentation can be found at http://support.ghost.org/config/
var path = require('path'),
config;
config = {
// ### Production
// When running Ghost in the wild, use the production environment
// Configure your URL and m... | mit |
adamjking3/react-typing-animation | src/Cursor.js | 572 | 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 |
ldionne/hana-cppnow-2015 | code/common_type-N3843.cpp | 1800 | // 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... | mit |
quantumlaser/code2016 | LeetCode/Answers/Leetcode-java-solution/remove_duplicates_from_sorted_list/RemoveDuplicatesfromSortedList.java | 668 | 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 |
zidad/Umbraco-CMS | src/Umbraco.Core/Models/EntityBase/TracksChangesEntityBase.cs | 5915 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
namespace Umbraco.Core.Models.EntityBase
{
/// <summary>
/// A base class for use to implement IRememberBeingDirty/ICanBeDirty
/// </summary>
public abstract class Tracks... | mit |
guori12321/todo | todo/parser.py | 2473 | # 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 |
nickaugust/bsfs | test/bsfs.js | 5219 | 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... | mit |
scarlethammergames/scarlethammergames.github.io | _posts/15-01-11-collated-white-rabbits.md | 4496 | ---
title: A List of the White Rabbit Mechanics We Are Considering
author: all
date: 15/01/11
tags: [concept, summary, gamemechanics, whiterabbit]
layout: post
---
The white rabbit.
Here is a list of some of the rabbits we could pull out of our designer's magical top hat.
## Cooperative Rope Walking
### Summary
One... | mit |
KlishGroup/prose-pogs | pogs/L/LITWTHX/PSC/index.md | 2072 | ---
layout: page
title: Pride Solutions Conference
date: 2016-05-24
author: Carl Mccarty
tags: weekly links, java
status: published
summary: Curabitur ipsum ante, aliquam sit.
banner: images/banner/office-01.jpg
booking:
startDate: 05/26/2016
endDate: 05/31/2016
ctyhocn: LITWTHX
groupCode: PSC
published: true
-... | mit |
AnisB/Donut | engine/src/stateengine/AtomicState.cpp | 2621 | /**
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it wil... | mit |
psamada2012/psa | app/AppKernel.php | 3052 | <?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 |
Harmeko/badass_shop | vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Dumper/GraphvizDumper.php | 10241 | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <[email protected]>
*
* 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 |
ezekielriva/bus-locator | public/system/directives/google-maps.js | 612 | 'use strict';
angular.module('mean.system').directive('googleMaps', ['GoogleMaps', 'Global',
function(GoogleMaps, Global) {
return {
restrict: 'E',
template: '<div id="map" style="height: 600px; width: 100%;"></div>',
controller: function() {
var mapOptions;
if ( GoogleMaps ) {
... | mit |
heatd/Onyx | scripts/check_reconf.sh | 948 | #!/bin/sh
set -e
NEEDS_CONFIG=0
if [ "$#" -lt "1" ]; then
echo "Bad usage: check_reconf.sh [target_package] (optional configure arguments)"
exit 1
fi
if [ "$ONYX_ARCH" = "" ]; then
echo "ONYX_ARCH needs to be set!"
exit 1
fi
if [ "$HOST" = "" ]; then
echo "HOST needs to be set!"
exit 1
fi
if [ "$SYSROOT" = "... | mit |
joekukish/PeerReviewingSuite | src/PxS/PeerReviewingBundle/Tests/Controller/DefaultControllerTest.php | 406 | <?php
namespace PxS\PeerReviewingBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class DefaultControllerTest extends WebTestCase
{
public function testIndex()
{
$client = static::createClient();
$crawler = $client->request('GET', '/hello/Fabien');
$this... | mit |
u10int/URBSegmentedControl | URBSegmentedControl.h | 3492 | //
// URBSegmentedControl.h
// URBSegmentedControlDemo
//
// Created by Nicholas Shipes on 2/1/13.
// Copyright (c) 2013 Urban10 Interactive. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSUInteger, URBSegmentedControlOrientation) {
URBSegmentedControlOrientationHorizontal = 0,
URBSegmentedCo... | mit |
kobush/SharpDX-Tutorials | WinFormsApp/Properties/Settings.Designer.cs | 1068 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34011
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | mit |
Izak88/morose | src/app/components/app-nav/app-nav.component.ts | 1671 | import { Component, OnInit, HostListener, ElementRef } from '@angular/core';
import { Router, NavigationEnd, NavigationExtras } from '@angular/router';
import { AuthService } from '../../services/auth.service';
@Component({
selector: 'app-nav',
templateUrl: 'app-nav.component.html'
})
export class AppNavComponent ... | mit |
coinkeeper/2015-06-22_19-00_ziftrcoin | src/qt/walletview.cpp | 10319 | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "walletview.h"
#include "addressbookpage.h"
#include "askpassphrasedialog.h"
#include "bitcoingui.h"
#include "clien... | mit |
cuckata23/wurfl-data | data/samsung_gt_m5650_ver1.php | 2098 | <?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' => ... | mit |
ryno888/thehappydog | application/helpers/image_compression_helper.php | 7553 | <?php
/**
* File: SimpleImage.php
* Author: Simon Jarvis
* Modified by: Miguel Fermín
* Based in: http://www.white-hat-web-design.co.uk/articles/php-image-resizing.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as publish... | mit |
bountysource/core | app/models/account/software_public_interest.rb | 800 | # == 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 |
HSAR/Illume | src/main/java/illume/analysis/SimpleImageAnalyser.java | 852 | 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 |
robinpowered/glamorous-native | typings/built-in-glamorous-components.d.ts | 1623 | import { ExtraGlamorousProps } from './glamorous-component'
import {
ViewProperties,
TextStyle,
ViewStyle,
ImageStyle,
TextInputProperties,
ImageProperties,
ScrollViewProps,
TextProperties,
TouchableHighlightProperties,
TouchableNativeFeedbackProperties,
TouchableOpacityProperties,
TouchableWit... | mit |
Mitdasein/AngularBlogGitHub | mongodb/visionmedia-express-7724fc6/test/Router.js | 3342 |
var express = require('../')
, Router = express.Router
, request = require('./support/http')
, methods = require('methods')
, assert = require('assert');
describe('Router', function(){
var router, app;
beforeEach(function(){
router = new Router;
app = express();
})
describe('.match(method, u... | mit |
InfiniteInteractive/LimitlessSDK | sdk/Utilities/eventQueueThread.cpp | 30 | #include "EventQueueThread.h"
| mit |