repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
gyuwon/TDK2015 | ContactList/App.xaml.cs | 327 | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace ContactList
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
... | mit |
tombroomfield/wasted | spec/spec_helper.rb | 64 | require 'wasted'
begin
require 'pry'
# rescue LoadError
end
| mit |
orocrm/platform | src/Oro/Bundle/EmailBundle/EventListener/Datagrid/IncomingEmailGridListener.php | 847 | <?php
namespace Oro\Bundle\EmailBundle\EventListener\Datagrid;
use Oro\Bundle\DataGridBundle\Datasource\Orm\OrmDatasource;
use Oro\Bundle\DataGridBundle\Event\BuildAfter;
use Oro\Bundle\EmailBundle\Datagrid\EmailQueryFactory;
class IncomingEmailGridListener
{
/** @var EmailQueryFactory */
protected $emailQu... | mit |
mahmud-kasaei/Scrum4u | src/GhaenCollege/ScrumBundle/Entity/TestRepository.php | 264 | <?php
namespace GhaenCollege\ScrumBundle\Entity;
use Doctrine\ORM\EntityRepository;
/**
* TestRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class TestRepository extends EntityRepository
{
}
| mit |
emoacht/WlanProfileViewer | Source/ReactivePropertyTest/Properties/AssemblyInfo.cs | 2287 | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit |
SolidEdgeCommunity/docs | docfx_project/snippets/SolidEdgePart.UserDefinedPattern.Name.vb | 1736 | Option Infer On
Imports System
Imports System.Runtime.InteropServices
Namespace Examples
Friend Class Program
<STAThread>
Shared Sub Main(ByVal args() As String)
Dim application As SolidEdgeFramework.Application = Nothing
Dim partDocument As SolidEdgePart.PartDocument = No... | mit |
iOnline247/heyo | utils/dateHelpers.js | 449 | module.exports = {
getDates: function(d) {
var today = padDate(d);
return {
startTime: today + lowerBoundTime(),
endTime: today + upperBoundTime()
};
}
};
function padDate (d){
function pad (n) { return n < 10 ? '0' + n : n }
return d.getUTCFullYear() + '-'
+ pad(d.getUTCMonth() + 1 ) + '-'
+ pad... | mit |
bwkimmel/jmist | jmist-core/src/main/java/ca/eandb/jmist/framework/scatter/ABMSieveAbsorbingSurfaceScatterer.java | 2738 | /**
* Java Modular Image Synthesis Toolkit (JMIST)
* Copyright (C) 2018 Bradley W. Kimmel
*
* 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 lim... | mit |
rxse/rust-markov-text | docs/libc/constant.VERASE.html | 4275 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `VERASE` constant in crate `libc`.">
<meta name="keywords" ... | mit |
luisfarzati/moment-interval | index.js | 50 | module.exports = require("./src/moment-interval"); | mit |
i3mainz/idarit-2016 | sparqlsearch_textelsem/lib/codemirror.css | 7852 | /* BASICS */
.CodeMirror {
/* Set height, width, borders, and global font properties here */
font-family: monospace;
height: 500px;
width: 100%;
color: black;
border: 1px solid #bbb;
border-radius: 4px;
resize: both;
}
/* PADDING */
.CodeMirror-lines {
padding: 12px 0; /* Vertical padding around co... | mit |
keyhom/xstudio-html5 | src/plexus/js/plexus-base.js | 12046 | // namespace plexus
var plexus = plexus || {};
window._plexus = plexus;
(function(plx) {
console.log("plexus.js [loaded]");
//------------------------------
// Plexus utilties functions
//------------------------------
plx.each = function(obj, iterator, context) {
if (!obj) return;
... | mit |
emilybache/Single-Sign-On-Kata | CSharp/SingleSignOnKata/sso/SingleSignOnRegistry.cs | 257 | using System;
namespace SingleSignOnKata.sso
{
public interface SingleSignOnRegistry
{
SSOToken RegisterNewSession(String userName, String password);
bool IsValid(SSOToken token);
void Unregister(SSOToken token);
}
}
| mit |
beefoo/music-lab-scripts | 09_hollywood/README.md | 4279 | Data-Driven DJ Track 9: Color Balance
=================
You can listen to this track and read the full description [here](https://datadrivendj.com/tracks/hollywood).
## Software Required
All software required for making this song from scratch is free and open-source
* [ChucK](http://chuck.cs.princeton.edu/) - a pro... | mit |
EPSI-I5-Kaamelott/Kaamelott-rasp | src/socket.test.js | 601 | const http = require('http');
const server = http.createServer();
const io = require('socket.io');
const { spy } = require('sinon');
const { expect } = require('chai');
const client = require('./socket');
const TEST_URL = 'http://localhost:3001';
describe('test socket', () => {
let sock;
beforeEach( (done) =>... | mit |
gvikei/gvikei.github.io | _posts/2017-09-02-First-Week.md | 4111 | ---
layout: post
title: Week 1 - Back to school!
---
I had always wanted to have a personal space online where I can share and discuss things that I think areinteresting. However, due to privacy concerns, I had put off this idea for so long and instead kept a private blog for myself.
Fortunately, thanks to the CS373 ... | mit |
BroganD1993/MoodleFUSE | moodlefuse/__init__.py | 836 | #!/usr/bin/env python
# encoding: utf-8
"""MoodleFUSE initialization
"""
import os
import errno
from moodlefuse.filesystem import Filesystem
from moodlefuse.core import setup, config
from moodlefuse.services import USERS
MOODLEFUSE_DATABASE_FILE = 'moodlefuse.sqlite'
MOODLEFUSE_CONFIG_FILE = 'moodlefuse.conf'
MOOD... | mit |
ackintosh/snidel | tests/msg_send.php | 108 | <?php
namespace Ackintosh\Snidel;
/**
* @codeCoverageIgnore
*/
function msg_send()
{
return false;
}
| mit |
osalabs/osafw-asp.net | www/App_Data/template/contact/index/head_script.html | 50 | <meta name="robots" content="noindex, nofollow" /> | mit |
wp-papi/wp-papi.github.io | docs/apigen/class-Papi_Property_Relationship.html | 38132 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class Papi_Property_Relationship</title>
<link rel="stylesheet" href="resources/bootstrap.min.css?973e37a8502921d56bc02bb55321f45b072b6f71">
<link rel="stylesheet" href="resources/style.css?04121df963d959d8cb6f3057fccf1e8067c675b0">
</head>
<body>
<nav... | mit |
churkin/testcafe | test/functional/fixtures/api/es-next/selector/pages/index.html | 4797 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
html, body {
padding: 0;
margin: 0;
}
</style>
</head>
<body>
<div id="htmlElement" class="yo hey cool"
style="width: 40px; height: 30px; padding-top: 2px; padding-lef... | mit |
0ctobyte/arm-kernel | kernel/arch/arch_timer.h | 1954 | /*
* Copyright (c) 2020 Sekhar Bhattacharya
*
* SPDX-License-Identifier: MIT
*/
#ifndef _ARCH_TIMER_H_
#define _ARCH_TIMER_H_
// Initializes the generic timer
void arch_timer_init(void);
// Get the clock frequency of the counter in Hz
#define arch_timer_get_freq()\
({\
unsigned long result;\
asm ("mrs %0... | mit |
theaudience-brett/podcasts | app/DoctrineMigrations/Version20120802054929.php | 1101 | <?php
namespace Application\Migrations;
use Doctrine\DBAL\Migrations\AbstractMigration,
Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your need!
*/
class Version20120802054929 extends AbstractMigration
{
public function up(Schema $schema)
{
// this up() migration... | mit |
Poke-the-Game/Poke | README.md | 2635 | # Poke The Game
Pong + Snake = Poke
Multiplayer, find the live demo at [http://poke-the-game.tk](http://poke-the-game.tk)
Done for [JacobsHack](jacobshack.com) 2014 by @kpj, @moritzmhmk, @nk17 and @tkw1536.
## Install
```bash
npm install .
```
## How to start
```bash
node index.js
```
Then navigate your Chrome... | mit |
fidothe/xeroid | spec/xeroid/objects/payment_spec.rb | 1277 | require 'spec_helper'
require 'date'
require 'bigdecimal'
require 'xeroid/objects/invoice'
require 'xeroid/objects/account'
require 'xeroid/objects/payment'
module Xeroid::Objects
describe Payment do
let(:invoice) { Invoice.new(id: "abcde-12345-abcde-12345") }
let(:account) { Account.new(code: "NWBC") }
... | mit |
suricactus/fb-group-members | index.js | 3912 | const sqlite = require('sqlite');
const exec = require('child_process').exec;
const program = require('commander');
const config = require('./config');
const fetchGroups = require('./lib/fetch-groups');
const fetchMembers = require('./lib/fetch-members');
program
.version('0.0.0')
.option('-a, --accessToken [valu... | mit |
flagshipcompany/flagship-for-woocommerce | src/Injection/Pico/Engine.php | 1971 | <?php
namespace FS\Injection\Pico;
if (!defined('ABSPATH')) {
exit; // Exit if accessed directly.
}
class Engine
{
protected $delimiter;
protected $pattern;
public function __construct($delimiter = ['\{{2}', '\}{2}'])
{
$this->setDelimiter($delimiter);
}
public function setDelim... | mit |
anderskristo/ng-countUp.js | README.md | 968 | ng-countUp.js
==========
ng-countUp.js is a AngularJS directive which wraps [countUp.js](https://github.com/inorganik/countUp.js)
In action: [http://anderskristo.me/ng-countUp.js](http://anderskristo.me/ng-countUp.js)
### Install:
```
bower install ng-countUp.js --save
```
Add `ngCountUp` to angular module ex.
```js... | mit |
captainwong/Qt5-src | CH10/CH1006/build-myHTTP-Desktop_Qt_5_4_0_MinGW_32bit-Debug/Makefile | 19979 | #############################################################################
# Makefile for building: myHTTP
# Generated by qmake (3.0) (Qt 5.4.0)
# Project: ..\myHTTP\myHTTP.pro
# Template: app
# Command: C:\Qt\Qt5.4.0\5.4\mingw491_32\bin\qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ..\myHTTP\myHTTP.pro
#####... | mit |
simonmysun/praxis | TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/e83720094f70ad88d3b4d97723b77bbbf4bd1ab6ee77fc8ca45ec4627ca8ba5a.html | 550 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>18 --> 19</title>
<link href="./../../assets/style.css" rel="stylesheet">
</head>
<body>
<h2>You have to be fast</h2>
<a href="./df753416fe1ee9afaddeeaf2cb6b90786ac5ae51c9e9fa10205277e319efb594.html">Teleport</a>
<hr>
... | mit |
Azure/azure-sdk-for-ruby | management/azure_mgmt_mysql/lib/2017-12-01/generated/azure_mgmt_mysql/models/server_properties_for_create.rb | 2647 | # encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Mysql::Mgmt::V2017_12_01
module Models
#
# The properties used to create a new server.
#
class ServerPropertiesForCreate
... | mit |
simon-tannai/nodejs-typescript-boilerplate | src/utils/ErrorHandler.ts | 599 | import * as HTTPStatus from 'http-status-codes';
import * as express from 'express';
import Logger from './Logger';
export default class ErrorHandler {
private logger: Logger;
constructor() {
this.logger = new Logger('ErrorHandler');
}
handleError(err: Error, _, res: express.Response, next: Function): e... | mit |
davehorton/drachtio-server | deps/boost_1_77_0/doc/html/boost_asio/reference/TimeTraits.html | 7716 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Time traits requirements</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../boost_asio.html" title... | mit |
neelance/ffi_gen | test/headers/cef/include/internal/cef_types.h | 30940 | // Copyright (c) 2010 Marshall A. Greenblatt. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... | mit |
tpolecat/doobie | modules/postgres/src/test/scala/doobie/postgres/Issue1512.scala | 2698 | // Copyright (c) 2013-2020 Rob Norris and Contributors
// This software is licensed under the MIT License (MIT).
// For more information see LICENSE or https://opensource.org/licenses/MIT
package doobie.postgres
import cats.effect.IO
import cats.implicits.catsSyntaxApplicativeId
import doobie.ConnectionIO
import doob... | mit |
veselints/belin | controllers/projects-controller.js | 3316 | 'use strict';
let mongoose = require('mongoose'),
fs = require('fs');
require('../models/project-model');
let Project = mongoose.model('Project');
require('../models/user-model');
let User = mongoose.model('User');
let getCount = function(req, res, next) {
Project.count({}, function(err, count) {
if... | mit |
TheBaconSpace/My-Social-Stuff | README.md | 233 | [Bacon](My-Social-Stuff/Stuff/Name.png)
[Stream](http://beam.pro/Bacon_Space)
<a href="https://discord.me/Bacon_Space"><img src="https://discordapp.com/api/guilds/95608213499555840/widget.png?style=banner2" alt="Discord server"></a>
| mit |
rossta/serviceworker-rails-sandbox | app/assets/javascripts/push-simple/serviceworker.js | 697 | import Logger from 'utils/logger';
const logger = new Logger('[push-simple/serviceworker]');
function onPush(event) {
logger.log("Received push message", event);
let title = (event.data && event.data.text()) || "Yay a message";
let body = "We have received a push message";
let tag = "push-simple-demo-notifica... | mit |
JediMindtrick/Hyperloop | App3_BusinessLogicProcessor/serveBLP.js | 1833 | var http = require('../simpleHttp'),
config = require('../config'),
zmq = require('zmq'),
_ = require('lodash'),
argv = require('yargs').argv,
logic = (argv.logic ? require('./' + argv.logic).logic : require('./sampleLogic').logic),
modelRoot = (argv.modelRoot ? argv.modelRoot : '/Store/TestOrg');
//Stuff going out
va... | mit |
patrickbolle/meteor-starter-purejs | client/views/account/account.js | 879 | // Generated by jsScript 1.10.0
(function() {
AutoForm.hooks({
updatePassword: {
onSubmit: function(insertDoc, updateDoc, currentDoc) {
if (insertDoc["new"] !== insertDoc.confirm) {
sAlert.error('Passwords do not match');
return false;
}
Accounts.changePassword(in... | mit |
QuinnDamerell/WindowsIotLedDriver | WindowsIotLedDriver/Interfaces/IAnimationTickListener.cs | 487 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WindowsIotLedDriver
{
// An interface used to get callbacks from the animator or in a chain of animation.
internal interface IAnimationTickListner
{
// This callback will ... | mit |
carpyncho/feets | res/paper/reports/features_montecarlo.py | 1591 |
import sys
import time as tmod
import warnings
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
sns.set()
import pandas as pd
warnings.simplefilter("ignore")
sys.path.insert(0, "../FATS/")
import FATS
iterations = 100000
lc_size = 1000
random = np.random.RandomState(42)
results = {
... | mit |
Nepherius/Nephbot | settings/modes/public.sql | 1665 | UPDATE `cmdcfg` SET `access_req` = '0' WHERE `cmd` = 'whois';
UPDATE `cmdcfg` SET `access_req` = '0' WHERE `cmd` = 'online';
UPDATE `cmdcfg` SET `access_req` = '0' WHERE `cmd` = 'register';
UPDATE `cmdcfg` SET `access_req` = '1' WHERE `cmd` = 'invite';
UPDATE `cmdcfg` SET `access_req` = '1' WHERE `module` = 'RAID' and ... | mit |
LazarDL/TelerikHomeworks | C#1/Operators/squareSurface/Properties/AssemblyInfo.cs | 1402 | 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("sq... | mit |
linkworks/linkigniter | application/models/Group.php | 302 | <?php
/**
* Group
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @package LinkIgniter
* @subpackage Models
* @author YOUR_NAME_HERE <YOUR@NAME.HERE>
* @version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
*/
class Group extends Base_Group
{
} | mit |
darkdarkdragon/ripplenotifier | src/src/src/l.lua | 41 |
local xxx = require "m1"
xxx.run()
| mit |
shashankm/ssllabs-report | ssllabs-report.rb | 6298 | #!/usr/bin/ruby
##
##Author: Shashank Mathur
##
#
require "rubygems"
require "json"
require "net/http"
require "uri"
require 'open-uri'
require 'nokogiri'
require 'thread'
require 'monitor'
require 'io/console'
require 'openssl'
#Function to Analyze URL
def analyze(url)
#Preparing to call RESTapi and json results
b... | mit |
NativeScript/NativeScript | packages/core/ui/time-picker/index.d.ts | 2307 | import { View } from '../core/view';
import { Property } from '../core/properties';
/**
* Represents an time picker.
*/
export class TimePicker extends View {
/**
* Gets the native [android.widget.TimePicker](http://developer.android.com/reference/android/widget/TimePicker.html) that represents the user interfac... | mit |
paeronskruven/pyweek22 | README.md | 10 | # pyweek22 | mit |
Unisay/fpinscala | exercises/src/test/scala/fpinscala/datastructures/ListTest.scala | 4607 | package fpinscala.datastructures
import fpinscala.datastructures.List._
import org.scalatest.{FunSpec, MustMatchers}
class ListTest extends FunSpec with MustMatchers {
describe("setHead") {
it("throws exception for the empty list") {
val error = the[java.lang.RuntimeException] thrownBy setHead(Nil, 1)
... | mit |
simbits/Lumiere | LICENSE.md | 1074 | The MIT License (MIT)
Copyright (c) 2014 Simbits
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish,... | mit |
matmape/ngPlateNumberVerifier | PlateInfo.cs | 455 | using System;
namespace NgPlateVerifier
{
public class PlateInfo
{
public string PlateNumber { get; set; }
public string Owner { get; set; }
public string Color { get; set; }
public string Model { get; set; }
public string Chasis { get; set; }
public string Stat... | mit |
nyc-fiery-skippers-2017/AwesomeProject | Users/UserControl.js | 671 | import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Container,
TextInput,
Label,
Text,
View,
Button,
} from 'react-native';
import LoginScreen from './Login.js';
import RegisterScreen from './Register.js';
import { StackNavigator, TabNavigator } from 'react-navigation';
expo... | mit |
tonywok/realms | spec/cards/trading_post_spec.rb | 809 | require "spec_helper"
RSpec.describe Realms::Cards::TradingPost do
include_examples "type", :outpost
include_examples "defense", 4
include_examples "factions", :trade_federation
include_examples "cost", 3
describe "#primary_ability" do
include_context "base_ability" do
before do
game.base_... | mit |
antca/superpowers-package-manager-plugin | src/runtime/index.js | 538 | import path from 'path';
const {
SupRuntime,
} = global;
SupRuntime.registerPlugin('dependencyBundle', {
loadAsset(player, asset, callback) {
window.__dependencyBundles = window.__dependencyBundles || {};
const bundleScript = document.createElement('SCRIPT');
bundleScript.addEventListener('load', () =... | mit |
coderstats/fxt_coderstats | coderstats/coderstats.js | 997 | let path = document.location.pathname,
details,
login,
url;
if (m = path.match(/^\/([\w-]+)\??.*?/)) {
login = m[1].trim();
if (-1 === ['timeline', 'languages', 'blog', 'explore'].indexOf(login)) {
url = 'http://coderstats.net/github#' + login;
details = document.getElementsByClassN... | mit |
modrzew/malusers | web/src/User.css | 392 | .userStand {
flex: 0 1 auto;
color: #fff;
}
.userName {
font-size: 3rem;
font-weight: bold;
padding: 30px 0px 0px 50px;
}
.userUpdate {
padding: 0px 0px 0px 50px;
font-size: 1.25rem;
}
.userInfo {
background-image: url("https://i.imgur.com/MPcDf2v.jpg");
background-repeat: repeat;
box-shad... | mit |
dahall/vanara | PInvoke/Kernel32/WinBase.MemMgmt.cs | 44045 | using System;
using System.Runtime.InteropServices;
namespace Vanara.PInvoke
{
public static partial class Kernel32
{
/// <summary>The memory allocation attributes.</summary>
[Flags]
public enum GMEM
{
/// <summary>Combines GMEM_MOVEABLE and GMEM_ZEROINIT.</summary>
GHND = 0x0042,
/// <summary>All... | mit |
jamesbigler/Legion | src/Support/openexr-2.0.1/IlmImfTest/testTiledLineOrder.cpp | 21673 | ///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2004, Industrial Light & Magic, a division of Lucas
// Digital Ltd. LLC
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | mit |
a233894432/Golang-lesson | src/my_example/gctt/pointers_demo/v2/wallet.go | 595 | package main
import "fmt"
// Bitcoin represents a number of Bitcoins
type Bitcoin int
func (b Bitcoin) String() string {
return fmt.Sprintf("%d BTC", b)
}
// Wallet stores the number of Bitcoin someone owns
type Wallet struct {
balance Bitcoin
}
// Deposit will add some Bitcoin to a wallet
func (w *Wallet) Depos... | mit |
ferrine/gelato | gelato/layers/helper.py | 551 | import pymc3 as pm
from lasagne.layers.helper import *
from lasagne.layers.helper import __all__ as __helper__all__
__all__ = [
"find_parent",
"find_root",
] + __helper__all__
def find_parent(layer):
candidates = get_all_layers(layer)[::-1]
found = None
for candidate in candidates:
if isin... | mit |
arantius/resurrect-pages | README.md | 4708 | # Documentation
Dead pages, broken links, the scourge of the internet.
Powerhouse sites like Slashdot and Digg can bring a server to its knees.
What do we do when a page is dead but we still want to see it?
Call in the clerics, and perform a resurrection ceremony!
Or (the easier route) use this extension.
## Screensh... | mit |
opesci/devito | devito/tools/visitors.py | 4134 | import inspect
__all__ = ['GenericVisitor']
class GenericVisitor(object):
"""
A generic visitor.
To define handlers, subclasses should define :data:`visit_Foo`
methods for each class :data:`Foo` they want to handle.
If a specific method for a class :data:`Foo` is not found, the MRO
of the c... | mit |
rsmeral/semnet | PipedObjectProcessor/src/xsmeral/pipe/context/FSContext.java | 619 | package xsmeral.pipe.context;
import java.io.File;
/**
* A file system context, based on the notion of a single working directory.
* @author Ron Šmeral (xsmeral@fi.muni.cz)
*/
public interface FSContext {
/**
* Sets the working directory to the given path (relative or absolute)
*/
public void se... | mit |
mind0n/hive | Cache/Libs/net46/wpf/src/Shared/MS/Internal/Generated/FillRuleValidation.cs | 1605 | //---------------------------------------------------------------------------
//
// <copyright file="FillRuleValidation.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved.
// </copyright>
//
// This file was generated, please do not edit it directly.
//
// Please see http://wiki/de... | mit |
Digiman/Tasker | Tasker.TaskAntImporter/Properties/AssemblyInfo.cs | 1420 | 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("Ta... | mit |
robertdfrench/ghal | README.md | 596 | [](https://waffle.io/robertdfrench/ghal?utm_source=badge)
[](https://travis-ci.org/robertdfrench/ghal)
# Ghal
Githost Abstraction Layer
## Installation
... | mit |
themcny/phase-0 | week-5/die-class/my_solution.rb | 2564 | # Die Class 1: Numeric
# I worked on this challenge [by myself]
# I spent [.5] hours on this challenge.
# 0. Pseudocode
# Input: integer amount of sides on a die object
# Output: either integer number of sides or random integer
# Steps:
# => IF there is less than one side THEN
# => => RAISE an Argument Error
# => ... | mit |
TBoehm/greedyaur | src/db.h | 9122 | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Copyright (c) 2013 AuroraCoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-licen... | mit |
BlakeBitcoin/BlakeBitcoin | src/version.cpp | 2628 | // Copyright (c) 2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <string>
#include "version.h"
// Name of client reported in the 'version' message. Report the same name
// for both bitco... | mit |
VirusTotal/content | Packs/Palo_Alto_Networks_WildFire/Integrations/WildFireReports/WildFireReports_test.py | 4906 | import base64
import demistomock as demisto
from WildFireReports import main
import requests_mock
def test_wildfire_report(mocker):
"""
Given:
A sha256 represents a file uploaded to WildFire.
When:
internal-wildfire-get-report command is running.
Then:
Ensure that the command ... | mit |
redangel1993/anaptu3h_efarmogwn | pages/layout/boxed.html | 26444 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>AdminLTE 2 | Boxed Layout</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name... | mit |
uWebshop/uWebshop-Releases | Core/uWebshop.Domain/API/DataClasses/BasketStore.cs | 2701 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Runtime.Serialization;
using uWebshop.Domain;
using uWebshop.Domain.Helpers;
using uWebshop.Domain.Interfaces;
namespace uWebshop.API
{
[DataContract(Namespace = "")]
internal class BasketStore : IStore
{
private readonly Do... | mit |
perminov-aleksandr/askon-pilot-client-asp | src/Ascon.Pilot.WebClient/Extensions/ClientsStorage.cs | 4520 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Claims;
using Ascon.Pilot.Core;
using Ascon.Pilot.Server.Api;
using Ascon.Pilot.Server.Api.Contracts;
using Ascon.Pilot.Transport;
using Microsoft.AspNet.Http;
using ISession = Microsoft.AspNet.Http.Features.ISess... | mit |
amardeshbd/android-daily-headlines | api-lib/src/test/java/io/swagger/client/api/StoriesApiTest.java | 903 | package io.swagger.client.api;
import io.swagger.client.ApiClient;
import io.swagger.client.model.InlineResponse200;
import org.junit.Before;
import org.junit.Test;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* API tests for StoriesApi
*/
public class Stor... | mit |
RuudPuts/CalabashTesting | features/android/support/app_life_cycle_hooks.rb | 521 | require 'calabash-android/operations'
INSTALLATION_STATE = {
:installed => false
}
Before do |scenario|
$calabashQueryView = self
scenario_tags = scenario.source_tag_names
if !INSTALLATION_STATE[:installed]
uninstall_apps
install_app(ENV['TEST_APP_PATH'])
install_app(ENV['APP_PATH'])
... | mit |
ShadiNachat/QuantumWorks.Github.io | icons.html | 172424 | <!DOCTYPE html>
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
<!-- Mirrored from webnus.biz/themes/florida/icons.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 11 Aug 2014 22:32:24 GMT -->
<head>
<!-- Basic Page Needs
================================================== -->
<meta charset="... | mit |
yeeFlame/animate-for-RN | studyAnimate/containers/examples/setNativePropsDemo.js | 5282 | /**
* @Author: shenyu <SamMFFL>
* @Date: 2016/12/08 10:18:06
* @Email: samfec@163.com
* @Last modified by: SamMFFL
* @Last modified time: 2016/12/13 14:39:33
*/
import React, {Component} from 'react';
import {
StyleSheet,
Text,
View,
Image,
TouchableHighlight,
ScrollView,
} from 'react-na... | mit |
shivam091/Java-Security | crypt/doc/org/security/crypt/io/Base64FilterInputStream.html | 13700 | <!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 (1.8.0_11) on Mon Sep 01 21:58:18 IST 2014 -->
<title>Base64FilterInputStream</title>
<meta name="date" content="2014-09-01">
<link rel="stylesheet" t... | mit |
mgrosperrin/commandlineparser | docs/index.md | 1836 | # MGR.CommandLineParser documentation
`MGR.CommandLineParser` is a multi-command line parser library.
It provides an extensible mechanism to provide define commands
(with multiple out-of-the-box providers)
and is able to automatically generate help/usage output for all commands.
Built-in providers lets you define comm... | mit |
johnros/johnros.github.com | _posts/2017-02-22-rds.md | 2428 | ---
layout: post
title: "Sampling as an Epidemic Process"
description: "Synopsis of our RDS Biometrics paper"
category:
tags: [statistics]
---
_Respondent driven sampling_ (RDS) is an approach to sampling design and analysis which utilizes the networks of social relationships that connect members of the target popul... | mit |
GrabzIt/grabzit | ruby/GrabzIt/doc/GrabzIt/ImageOptions.html | 21992 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Class: GrabzIt::ImageOptions
— Documentation by YARD 0.9.5
</title>
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
<link re... | mit |
alpdogan/parapul.js | public/_assets/css/parapul.css | 164 | .container{
max-width: 400px;
padding: 20px;
}
.title{
margin-bottom: 50px;
}
.result-table{
display: none;
}
.swap-currency{
cursor: pointer;
} | mit |
parroit/simpul | src/main/java/simpul/core/EventEmitter.java | 2783 | package simpul.core;
import simpul.Interfaces;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class EventEmitter implements Interfaces.EventEmitter{
private class RegisteredCallback{
private final Interfaces.EventCallback cb;
private fina... | mit |
Jusonex/haxe-mtasa-typings | example/build.py | 3302 | #!/usr/bin/env python2
import argparse
import xml.etree.ElementTree as ET
import subprocess
import os.path as path
from watchdog.observers import Observer
from watchdog.events import PatternMatchingEventHandler
import time
OUT_DIR = './_out'
HAXE_PATH = 'haxe'
def get_main_info(meta_root):
server_main, client_main ... | mit |
yebai/Turing.jl | test/inference/gibbs.jl | 4241 | @testset "gibbs.jl" begin
@turing_testset "gibbs constructor" begin
N = 500
s1 = Gibbs(HMC(0.1, 5, :s, :m))
s2 = Gibbs(PG(10, :s, :m))
s3 = Gibbs(PG(3, :s), HMC( 0.4, 8, :m))
s4 = Gibbs(PG(3, :s), HMC(0.4, 8, :m))
s5 = Gibbs(CSMC(3, :s), HMC(0.4, 8, :m))
s6 = ... | mit |
mcanders/bevy | doc/x11_dl/keysym/constant.XK_Cyrillic_hardsign (Case Conflict).html | 3862 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `XK_Cyrillic_HARDSIGN` constant in crate `x11_dl`.">
<meta ... | mit |
Dimimo/Booklet | app/Http/Controllers/ApiController.php | 6538 | <?php
/**
* Copyright (c) 2017. Puerto Parrot Booklet. Written by Dimitri Mostrey for www.puertoparrot.com
* Contact me at admin@puertoparrot.com or dmostrey@yahoo.com
*/
namespace App\Http\Controllers;
use App\Models\City;
use App\Models\Province;
use App\Models\Service;
use DB;
/**
* Class ApiController
*
* ... | mit |
rossanag/bicimapuy | node_modules/esri-leaflet/README.md | 8505 | # Esri Leaflet
[](https://travis-ci.org/Esri/esri-leaflet)
Leaflet plugins for [ArcGIS Services](http://developers.arcgis.com). Currently Esri Leaflet supports loading Esri [basemaps](http://esri.github.io/esri-leaflet/examples/switching-basemaps.html) and [... | mit |
andoni-eguiluz/UD-Prog3-ant | src/utils/verbos/Conjugacion.java | 4580 | package utils.verbos;
/** Clase que representa una conjugación verbal
* Se ordena por valor completo, pero su igualdad se mira con la conjugación (sin tildes)
* @author andoni
*
*/
public class Conjugacion extends SufijoVerbal {
// en Conjugacion el modelo genérico pasa a ser ya el infinitivo concreto
private St... | mit |
nurey/disclosed | app2/search/tests.py | 2896 | # -*- coding: utf-8 -*-
from google.appengine.api import apiproxy_stub_map
from google.appengine.ext import db
from django.core.urlresolvers import resolve
from django.http import HttpRequest, QueryDict
from ragendja.testutils import ModelTestCase
from search.core import SearchIndexProperty
import base64
class Indexed... | mit |
Squidex/squidex | frontend/src/app/features/content/pages/contents/contents-filters-page.component.html | 1119 | <sqx-layout titleText="i18n:common.filters" [width]="20" [white]="true" [padding]="true" [overflow]="true">
<ng-container *ngIf="schemaQueries | async; let queries">
<sqx-query-list
[types]="'common.contents' | sqxTranslate"
[queryUsed]="contentsState.query | async"
[quer... | mit |
Kaelinator/AGAD | Sprinter Game/SprinterGame.js | 2082 |
const SPRINTER_COUNT = 7; // how many lanes there are, including the player
var runners = []; // lineup
var runner; // player
var laneWidth; // width of each lane
var startTime; // beginning of the game
function setup() {
createCanvas(window.innerWidth, window.innerHeight);
/* initialize opponents */
var opp... | mit |
Lasterblade/SGPLTE | application/models/Prova_model.php | 8474 | <?php
if (! defined('BASEPATH')) exit('No direct Script access allowed');
class Prova_model extends CI_Model
{
/*------------------------------
ATRIBUTOS
------------------------------*/
private $idProva;
private $nome;
private $introducao;
private $inicio;
private $termino... | mit |
hbrc/h.js | benchmark/JqVSH.html | 1459 | <!DOCTYPE html>
<html>
<head>
<title>H VS $</title>
</head>
<body>
<div id="changeMe" class="addToMe" hello=true>
<p>Results:</p>
</div>
<div style="display: none;">
<span title="first">
</span>
<span title="second">
</span>
<div id="myId" class="myClass">Succeed</div>
<div>
<spa... | mit |
Roxcoin/roxcointor | src/qt/qrcodedialog.cpp | 4343 | #include "qrcodedialog.h"
#include "ui_qrcodedialog.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include "guiutil.h"
#include "optionsmodel.h"
#include <QPixmap>
#if QT_VERSION < 0x050000
#include <QUrl>
#endif
#include <qrencode.h>
QRCodeDialog::QRCodeDialog(const QString &addr, const QString &label, bo... | mit |
stefanolson/Squirrel.Windows.MahApps | src/Shimmer.WiXUiClient/IWiXEvents.cs | 1324 | using System;
using Microsoft.Tools.WindowsInstallerXml.Bootstrapper;
namespace Shimmer.Client.WiXUi
{
public interface IWiXEvents
{
IObservable<DetectBeginEventArgs> DetectBeginObs { get; }
IObservable<DetectPackageCompleteEventArgs> DetectPackageCompleteObs { get; }
IObservable<Detec... | mit |
codepolitan/caoutchouc | src/view/tree/utils/collapse.js | 3649 | /**
* Tree View Collapse
* @see https://github.com/cpojer/mootools-tree
*/
export default new Class({
Implements: [Options, Class.Single],
options: {
animate: false,
fadeOpacity: 1,
className: 'collapse',
selector: 'a.expand',
listSelector: 'li',
childSelector: 'ul'
},
initialize: ... | mit |
guilhermeblanco/scssphp | tests/outputs/selectors.css | 1963 | * {
color: blue; }
E {
color: blue; }
E[foo] {
color: blue; }
[foo] {
color: blue; }
[foo] .helloWorld {
color: blue; }
[foo].helloWorld {
color: blue; }
E[foo="barbar"] {
color: blue; }
E[foo~="hello#$@%@$#^"] {
color: blue; }
E[foo^="color: green;"] {
color: blue; }
E[foo$="239023"] {
col... | mit |
yanzhe-chen/leetcode | include/AddBinary.hpp | 188 | #ifndef ADD_BINARY_HPP_
#define ADD_BINARY_HPP_
#include <string>
using namespace std;
class AddBinary {
public:
string addBinary(string a, string b);
};
#endif // ADD_BINARY_HPP_
| mit |