code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
namespace DSInternals.Common.Interop { using System; /// <summary> /// Access rights for registry key objects. /// </summary> [Flags] public enum RegistryKeyRights : int { /// <summary> /// Combines the STANDARD_RIGHTS_REQUIRED, KEY_QUERY_VALUE, KEY_SET_VALUE, KEY_CREATE_SU...
MichaelGrafnetter/DSInternals
Src/DSInternals.Common/Interop/Enums/RegistryKeyRights.cs
C#
mit
2,199
{% extends "base.html" %} {% block head %} {{ super() }} <script> function updatetemp() { $SCRIPT_ROOT = {{ request.script_root|tojson|safe }}; $.ajax({ url : $SCRIPT_ROOT + "/updatetemp", success : function(result){ $('#indoorTempDiv').html(result); } }) ...
mdarty/thermostat
templates/index.html
HTML
mit
5,997
exports.BattleScripts = { init: function() { for (var i in this.data.Pokedex) { var template = this.getTemplate(i); var newStats = { hp: template.id === 'shedinja' ? 1 : this.clampIntRange(150 - template.baseStats.hp, 5, 145), atk: this.clampIntRange(150 - template.baseStats.atk, 5, 145), def: this...
Pikachuun/Joimmon-Showdown
mods/negative/scripts.js
JavaScript
mit
642
using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.Web.Script.Serialization; namespace Rally.RestApi { public class DynamicJsonSerializer { readonly JavaScriptSerializer deSerializer; public DynamicJsonSerializer() { de...
Streeter1981/RallyRestToolkitFor.NET-master
Rally.RestApi/DynamicJsonSerializer.cs
C#
mit
2,959
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>hoare-tut: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.07.1-2.0.1/released/8.10.0/hoare-tut/8.6.0.html
HTML
mit
7,644
# 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 ...
sharadagarwal/autorest
AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Url/autoresturltestservice/operations/paths.py
Python
mit
44,870
Objective Today, we're learning about the Array data structure. Check out the [Tutorial](https://www.hackerrank.com/challenges/30-arrays/tutorial) tab for learning materials and an instructional video! Task Given an array,A , of N integers, print A's elements in reverse order as a single line of space-separated ...
pk-hackerrank/hr-tutorials
30-days-of-code/day-7-arrays/day-7-arrays.md
Markdown
mit
751
# socialclock (Developing...) Alarm and send Twitter. ## Demo ![Screencapture GIF](https://dl.dropboxusercontent.com/u/5712604/screenshots/Screencast-socialclock.gif) ## Requirement Android API 21 [Fablic](https://get.fabric.io/) (Twitter SDK) ## Licence [MIT](https://github.com/mapler/socialclock/blob/mast...
mapler/socialclock
README.md
Markdown
mit
379
from pseudoregion import * class Edge(PseudoRegion): """EDGE Fringe field and other kicks for hard-edged field models 1) edge type (A4) {SOL, DIP, HDIP, DIP3, QUAD, SQUA, SEX, BSOL, FACE} 2.1) model # (I) {1} 2.2-5) p1, p2, p3,p4 (R) model-dependent parameters Edge type = SOL p1: BS [T] ...
jon2718/ipycool_2.0
edge.py
Python
mit
4,743
/* jshint node: true */ 'use strict'; module.exports = { name: 'ember-cli-patch-twilio', contentFor: function(type) { var environment = this.app.env.toString(); if (type === 'head') { if (environment === 'production') { return '<script type="text/javascript" src="//static.twilio...
toranb/ember-cli-patch-twilio
index.js
JavaScript
mit
763
// ───────────────────────────────────────────────────────────────────────────── // import // ───────────────────────────────────────────────────────────────────────────── import React from 'react'; import { graphql } from 'gatsby'; import { RootContainer, BlogPreviewsContainer, SEOContainer } from '~containers'; imp...
mrozilla/mrozilla.cz
src/pages/blog.js
JavaScript
mit
2,755
<?php namespace Setup\Form; use Zend\Form\Form; use Zend\InputFilter\Factory; class OptionsForm extends Form { public static $definitions = array( 'client.name.full' => array('Ihr Name', 'Wird Ihren Besuchern als Betreiber angezeigt.<br>Erscheint z.B. ganz oben neben dem Logo.'), 'cl...
tkrebs/ep3-hs
module/Setup/src/Setup/Form/OptionsForm.php
PHP
mit
4,698
import {getCurrentBusIteration} from '../get-current-bus-iteration' import {processBusSchedule} from '../process-bus-line' import {dayAndTime, time} from './moment.helper' import type {UnprocessedBusSchedule, BusSchedule} from '../../types' function buildBusSchedules(now): BusSchedule { // prettier-ignore let sched...
StoDevX/AAO-React-Native
source/views/transportation/bus/lib/__tests__/get-current-bus-iteration.test.ts
TypeScript
mit
2,738
import configureMockStore from 'redux-mock-store'; import thunk from 'redux-thunk'; import nock from 'nock'; import { expect } from 'chai'; import { FIREBASE_LOGOUT_BEGIN, FIREBASE_LOGOUT_SUCCESS, FIREBASE_LOGOUT_FAILURE, FIREBASE_LOGOUT_DISMISS_ERROR, } from 'features/common/redux/constants'; import { fire...
thehig/arpggio-firebase-client
test/app/features/common/redux/firebaseLogout.test.js
JavaScript
mit
3,073
// // LoggingAPI.h // libloggingapi // // Created by Andreoletti David on 26/09/2012. // Copyright 2012 IO Stark. All rights reserved. // #ifndef INCLUDE_LOGGINGAPI_LOGGINGAPI_H_ #define INCLUDE_LOGGINGAPI_LOGGINGAPI_H_ #include <string> #include <vector> #include "loggingapi/LoggingAPIInterface.h" #include "logg...
davidandreoletti/loggingapi-core-lib
include/loggingapi/LoggingAPI.h
C
mit
923
require "bundler/setup" require "twilio_api_mock" require 'fakeredis' require 'fakeredis/rspec' require 'pry' require 'ostruct' RSpec.configure do |config| # Enable flags like --only-failures and --next-failure config.example_status_persistence_file_path = ".rspec_status" config.expect_with :rspec do |c| c....
angelkbrown/twilio-api-mock
spec/spec_helper.rb
Ruby
mit
347
"""code_for_good URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Cla...
Spferical/cure-alzheimers-fund-tracker
code_for_good/urls.py
Python
mit
826
<?php /** * Created by PhpStorm. * User: jair * Date: 23/11/15 * Time: 12:26 PM */ class AuthorTest extends PHPUnit_Framework_TestCase{ /** @test */ function it_should_construct(){ $author = new \PlatziPHP\Author('jair@atypax.com','platzi','AUTOR_DE_PLATZI'); $this->assertInstanceOf(\Pla...
jrevillaa/platzi_laravel
tests/AuthorTest.php
PHP
mit
651
2021-W02 をふりかえる。 # [2021-W02 の目標][2021-01-10] とその記事 目標。 - ☑ bouzuya/rust-social-bookmarking 0.2.0 をつくる - ☑ 『エンジニアのための理論でわかるデザイン入門』を読む 記事。 - [2021-01-16 スーパーマリオサンシャイン エアポートを巡回している][2021-01-16] - [2021-01-15 スーパーマリオサンシャインの急流下りをクリアした][2021-01-15] - [2021-01-14 体調が悪い][2021-01-14] - [2021-01-13 曲面ディスプレイが欲しくなっている][2021-...
bouzuya/blog.bouzuya.net
data/2021/01/2021-01-17.md
Markdown
mit
5,228
## [Different Ways to Add Parentheses](https://leetcode.com/problems/different-ways-to-add-parentheses/#/description) Given a string of numbers and operators, return all possible results from computing all the different possible ways to group numbers and operators. The valid operators are +, - and *. Example 1 Input:...
ddki/my_study_project
algorithm/leetcode/finished/2/different-ways-to-add-parentheses/question.md
Markdown
mit
536
// // GMImagePickerController.cs // GMPhotoPicker.Xamarin // // Created by Roy Cornelissen on 23/03/16. // Based on original GMImagePicker implementation by Guillermo Muntaner Perelló. // https://github.com/guillermomuntaner/GMImagePicker // using System; using UIKit; using Photos; using CoreGraphics; using Syste...
Duranom/GMImagePicker.Xamarin
src/GMImagePicker/GMImagePickerController.cs
C#
mit
29,797
"""config URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-bas...
thomasperrot/MTGTrader
mtg/config/urls.py
Python
mit
915
/** Bit operation macros @author Natesh Narain */ #ifndef BITUTIL_H #define BITUTIL_H //! Bit value template<typename T> inline T bv(T b) { return 1 << b; } //! set mask y in x template<typename Tx, typename Ty> inline void setMask(Tx& x, Ty y) noexcept { x |= (Tx)y; } //! clear mask y in x template<ty...
nnarain/GameBoyCore
src/gameboycore/src/bitutil.h
C
mit
3,019
<div> <button class="backtohome" v-on="click: currentScreen = 'livenow'">&#9776;</button> <div class="app-screen" v-scroll> <div class="page-content"> <h1 class="page-title">Classroom</h1> <div style="position:absolute; top:0; left:0; z-index:9999;"><img src="img/overlay.png" width="1080" height="1920" /></div> ...
fresk/firehouse
src/views/camera3.html
HTML
mit
949
from OpenGLCffi.GL import params @params(api='gl', prms=['pname', 'index', 'val']) def glGetMultisamplefvNV(pname, index, val): pass @params(api='gl', prms=['index', 'mask']) def glSampleMaskIndexedNV(index, mask): pass @params(api='gl', prms=['target', 'renderbuffer']) def glTexRenderbufferNV(target, renderbuffe...
cydenix/OpenGLCffi
OpenGLCffi/GL/EXT/NV/explicit_multisample.py
Python
mit
332
<!DOCTYPE html> <html lang="en-us" dir="ltr" itemscope itemtype="http://schema.org/Article"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>Adeus Primeiro Amor</title> <meta name="a...
cinetenisverde/cinetenisverde.github.io
adeus-primeiro-amor/index.html
HTML
mit
10,245
class AddBodyUseridToTweet < ActiveRecord::Migration def up add_column :tweets, :body, :text add_column :tweets, :user_id, :integer end def down remove_column :tweets, :body, :text remove_column :tweets, :user_id, :integer end end
lowellmower/twitter_map_v1
db/migrate/20150509155953_add_body_userid_to_tweet.rb
Ruby
mit
256
// This file is part of Wintermute Engine // For conditions of distribution and use, see copyright notice in license.txt // http://dead-code.org/redir.php?target=wme #include "dcgf.h" #include "VidRendererDD.h" ////////////////////////////////////////////////////////////////////////// CVidRendererDD::CV...
segafan/wme1_jankavan_tlc_edition-repo
src/engine_core/wme_base/VidRendererDD.cpp
C++
mit
2,960
'use strict' let models = require('../models') let express = require('express') let multer = require('multer') let upload = multer({dest: 'uploads/'}) let router = express.Router() let utils = require('./utils') router.get('', (req, res, next) => { let result = { messages: [] } models.File.findAndCountAll(...
devtotvs/thf-sample-api
routes/files.js
JavaScript
mit
2,432
<!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_29) on Sun Dec 11 02:01:58 EET 2011 --> <TITLE> edu.cmu.cs.stage3.alice.scripting.jython </TITLE> <META NAME="date" CONTENT="2011-12-11"> <LINK REL...
ai-ku/langvis
doc/edu/cmu/cs/stage3/alice/scripting/jython/package-summary.html
HTML
mit
7,817
module Bwoken VERSION = "2.1.0.rc.2" unless defined?(::Bwoken::VERSION) end
bendyworks/bwoken
lib/bwoken/version.rb
Ruby
mit
78
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); //require APPPATH . '/libraries/REST_Controller.php'; class CarMakes extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model("carmakes_model","cm"); } public function index() { $this->load-...
oscarsmartwave/l45fbl45t
application/controllers/Carmakes.php
PHP
mit
592
<!doctype html> <html> <head> <title>CSS Ribbon Builder</title> <!--link rel="shortcut icon" href="misc/ribbon.png" /--> <link rel="icon" type="image/png" href="misc/ribbon.png" /> <style> html, body { margin: 0; padding: 0; background-color: #e5e5e5; color: #555; text-align: center; font-fami...
leonardohipolito/fork-ribbon-css-builder
index.html
HTML
mit
3,814
'use strict'; // MODULES // var factory = require( './factory.js' ); // URLS // /** * FUNCTION: urls( options, clbk ) * Get repository URLs for one or more packages. * * @param {Object} options - function options * @param {String[]} options.packages - package names * @param {String} [options.registry="registry.npm...
kgryte/npm-repo-url
lib/urls.js
JavaScript
mit
674
# encoding: UTF-8 class Deck # Represents a game deck containing 52 cards. # plus helper methods to handle the deck. # Creates a new ordered deck. 52 card deck of cards. 1 per suite def self.build_deck deck = [] FrenchDeck::SUIT.each do |suit| FrenchDeck::TYPE.each do |type| deck.push( Card.n...
ivanmarcin/BJG
lib/blackjack/cards/deck.rb
Ruby
mit
503
// media query constants (function() { 'use strict'; var MQ = { SMALL: '(max-width: 767px)', LARGE: '(min-width: 768px)' }; angular .module('rBox') .constant('MQ', MQ); }());
kmaida/mean-rBox
public/ng-app/core/ui/MQ.constant.js
JavaScript
mit
188
// // AsyncVoidMethodBuilder.cs // // Authors: // Marek Safar <marek.safar@gmail.com> // // Copyright (C) 2011 Novell, Inc (http://www.novell.com) // Copyright (C) 2011 Xamarin, Inc (http://www.xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and asso...
PalmStoneGames/ModernBcl
ModernBcl/Runtime.CompilerServices/AsyncVoidMethodBuilder.cs
C#
mit
3,359
import os, pickle, re, sys, rsa from common.safeprint import safeprint from common.call import parse from multiprocessing import Lock from hashlib import sha256 global bountyList global bountyLock global bountyPath global masterKey bountyList = [] bountyLock = Lock() bounty_path = "data" + os.sep + "bounties.pickle" m...
gappleto97/Senior-Project
common/bounty.py
Python
mit
14,300
/* * Copyright 2016 Nu-book Inc. * * 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 applicable law or agreed to in writ...
SLIBIO/SLib
external/src/zxing/zxing/BitWrapperBinarizer.cpp
C++
mit
2,834
--- title: Kevoree Release 1.1.0 is now available layout: post published: true ---
dukeboard/dukeboard.github.io
_posts/2011-05-12-kevoree-release-1-1-0-is-now-available.html
HTML
mit
85
// // AxcUserInteractionControlVC.h // AxcUIKit // // Created by Axc on 2017/7/25. // Copyright © 2017年 Axc_5324. All rights reserved. // #import "SampleBaseVC.h" @interface AxcUserInteractionControlVC : SampleBaseVC @end
axclogo/AxcUIKit-Sample
AxcUIKit/SampleVC/AxcUserInteractionControlVC.h
C
mit
232
<?php namespace Omnipay\AuthorizeNet\Message; use Omnipay\Tests\TestCase; class CIMCreateCardResponseTest extends TestCase { /** * @expectedException Omnipay\Common\Exception\InvalidResponseException */ public function testConstructEmpty() { new CIMCreateCardResponse($this-...
cmaciasg/test
application/vendor/omnipay/authorizenet/tests/Message/CIMCreateCardResponseTest.php
PHP
mit
1,757
/* Copyright 2017 Coin Foundry (coinfoundry.org) Authors: Oliver Weichhold (oliver@weichhold.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without l...
shtse8/miningcore
src/MiningCore/Crypto/MerkleTree.cs
C#
mit
5,804
from collections import Counter import sys import numpy as np import scipy as sp from lexical_structure import WordEmbeddingDict import dense_feature_functions as df def _get_word2vec_ff(embedding_path, projection): word2vec = df.EmbeddingFeaturizer(embedding_path) if projection == 'mean_pool': return ...
jimmycallin/master-thesis
architectures/nn_discourse_parser/nets/util.py
Python
mit
11,972
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mordecai.Types { public class TwoWayExit : Exit { public Place Location2 { get; set; } public Place CurrentLocation { get; set; } public virtual Place GetDesti...
Vineature/Mordecai
Mordecai.Types/TwoWayExit.cs
C#
mit
647
module Writefully module Tools class Retryer include Celluloid attr_accessor :job def retry(job) @job = job if job[:message][:tries] <= 5 after(delay) { queue_retry } else mark_as_failed end end def queue_retry Writefu...
hellfish2/writefully
lib/writefully/tools/retryer.rb
Ruby
mit
608
<h1> {{title}} </h1> <p-chart type="line" [data]="data"></p-chart> <p-dataTable [value]="cars" selectionMode="single" [(selection)]="selectedCar"> <header>Right Click on Rows for ContextMenu</header> <p-column field="vin" header="Vin"></p-column> <p-column field="year" header="Year"></p-column> <p-column f...
ypolosov/git-test
src/app/app.component.html
HTML
mit
428
import numpy as np import numpy.linalg as la import collections import IPython import tensorflow as tf from utils import * import time from collections import defaultdict class PolicyGradient(Utils): """ Calculates policy gradient for given input state/actions. Users should primarily be calling main PolicyGrad...
WesleyHsieh/policy_gradient
policy_gradient/policy_gradient.py
Python
mit
10,569
# mdWebEditor (idea) Editing Markdown in the Web #likeABoss :)
f3r/mdWebEditor
README.md
Markdown
mit
63
--- layout: page title: Dragon Cube Financial Executive Retreat date: 2016-05-24 author: Christian Cowan tags: weekly links, java status: published summary: Proin blandit imperdiet diam, rhoncus scelerisque lacus suscipit. banner: images/banner/leisure-05.jpg booking: startDate: 03/04/2017 endDate: 03/07/2017 cty...
KlishGroup/prose-pogs
pogs/L/LSEDOHX/DCFER/index.md
Markdown
mit
1,648
package pl.com.softproject.diabetyk.core.exception; /** * Class NoAuthInfoAvailableException * * @author Marcin Jasinski {@literal <mkjasinski@gmail.com>} */ public class NoAuthInfoAvailableException extends RuntimeException { public NoAuthInfoAvailableException() { } public NoAuthInfoAvailableExcep...
SoftProject/diabetyk
diabetyk-core/src/main/java/pl/com/softproject/diabetyk/core/exception/NoAuthInfoAvailableException.java
Java
mit
827
all: clean compile test clean: @echo "==> Cleaning up previous builds." @rm -rf ./bin/godoku compile: @echo "==> Compiling source code." @go build -v -o ./bin/godoku $(go list ./... | grep -v /vendor/) coverage: @go test -coverprofile cover.out @go tool cover -html=cover.out deps: @echo "==> Downloading depe...
thomaswhitcomb/godoku
Makefile
Makefile
mit
1,164
// Copyright © 2017 The Things Network // Use of this source code is governed by the MIT license that can be found in the LICENSE file. package band import ( pb_lorawan "github.com/TheThingsNetwork/ttn/api/protocol/lorawan" "github.com/TheThingsNetwork/ttn/core/types" "github.com/TheThingsNetwork/ttn/utils/errors"...
jvanmalder/ttn
core/band/band.go
GO
mit
8,287
Advanced Vue for SEO and Drupal: prerender and server side rendering ============ * Introduction * What you will learn in this presentation
hoter/js-seo-presentation
README.md
Markdown
mit
141
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>W28888_text</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div style="margin-left: auto; margin-right: auto; width: 800px; overflow: hidden;"> ...
datamade/elpc_bakken
ocr_extracted/W28888_text/page20.html
HTML
mit
6,375
import Emitter, { Handler } from "../emmett"; const emitterNames = new Map(); const handler1: Handler = function(event) { console.log("Received event:", event.type); console.log(" - Data:", event.data); console.log(" - Target:", emitterNames.get(event.target)); console.log(""); }; const handler2: Handler = f...
jacomyal/emmett
test/types.ts
TypeScript
mit
2,443
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>lens: 16 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="styles...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.07.1-2.0.6/released/8.12.1/lens/1.0.1+8.12.html
HTML
mit
6,992
namespace P07InfernoInfinity.Core { using P07InfernoInfinity.Contracts; using System; using System.Linq; using System.Reflection; public class CommandInterpreter : ICommandInterpreter { public CommandInterpreter(IRepository weaponRepository, IWeaponFactory weaponFactory, IGemFactory gem...
MihailDobrev/SoftUni
C# Fundamentals/C# OOP Advanced/07. Reflection and Attributes - Exercise/P07InfernoInfinity/Core/CommandInterpreter.cs
C#
mit
1,521
<?php /* Template Name: CUSTOM Template */ get_header(); ?> <main id="custom" role="main"> <!-- section --> <section class="custom-banner"> <div class="custom-title"> <h4><?php echo the_title(); ?></h4> </div> <div class="section-sub-nav"> ...
team3cord/Maid-Services-Northwest
custom.php
PHP
mit
1,126
<!doctype html> <html lang="en"> <head> <%- include ../components/header-common.html %> </head> <body> <!-- Modal --> <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-heade...
Ranpop/future
views/renderpages/sendphtoresume.html
HTML
mit
4,931
"use strict" // Keep in length order module.exports = { object: {}, objectModule: { dir: true, templates: [{ name: 'module.ts', imports: ['module.ts'], listItems: ['imports'], },{ name: 'component.ts', imports: ['module.ts', 'routes.ts'], listItems: ['declarations',...
tro3/ng2-seed-cli
tools/templating/src/types.js
JavaScript
mit
3,588
package alternating; public class AlternatingMainJava { public static void main(String[] args_) { AlternatingMain.main(args_); } }
hpclab/cracker
src/alternating/AlternatingMainJava.java
Java
mit
138
require File.expand_path('../boot', __FILE__) require "active_model/railtie" require "active_record/railtie" require "action_controller/railtie" require "action_view/railtie" require "action_mailer/railtie" Bundler.require require "jam" module Dummy class Application < Rails::Application # Settings in config/e...
Arhont/jam
test/dummy/config/application.rb
Ruby
mit
1,904
package com.bramblellc.myapplication.services; import android.app.IntentService; import android.content.Intent; import android.support.v4.content.LocalBroadcastManager; import android.util.Log; import com.stevex86.napper.http.connection.ConnectionHandler; import com.stevex86.napper.http.elements.content.JsonBodyConte...
BrambleLLC/HackAZ-2016
android/app/src/main/java/com/bramblellc/myapplication/services/LogoutService.java
Java
mit
1,836
// Copyright 2021 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; using Nuke.Common.Tooling; namespace Nuke.Common.Tools.Kubernetes { public partial class KubernetesCommonSettings { internal Argument...
nuke-build/nuke
source/Nuke.Common/Tools/Kubernetes/KubernetesCommonSettings.cs
C#
mit
514
namespace AgileObjects.AgileMapper.UnitTests.Orms.EfCore2.Infrastructure { using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Debug; using Orms.Infrastructure; using TestClasses; public class EfCore2Test...
agileobjects/AgileMapper
AgileMapper.UnitTests.Orms.EfCore2/Infrastructure/EfCore2TestDbContext.cs
C#
mit
6,469
IPython 2.2 containerized and configured to run IPython Notebook server on Cloud Foundry.
parente/dockerfiles
ipython-cf/README.md
Markdown
mit
89
<?php /** * * PHP versions 4 and 5 * * kml : Kamila Software * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * * @copyright Jesus Baizabal * @link http://baizabal.xyz * @mail baizabal.jesus@gmail.com * @pac...
ambagasdowa/kml
cake/console/controllers/performance_trips_controller.php
PHP
mit
2,456
version https://git-lfs.github.com/spec/v1 oid sha256:ed3c069c3fb213c279f09fea7c7fe53e4340d9da1e27b560b4ffcb4009dd23e0 size 9790
yogeshsaroya/new-cdnjs
ajax/libs/buzz/1.1.1/buzz.min.js
JavaScript
mit
129
--- layout: page header: Posts By Tags group: navigation --- <div class="list-container"> <ul class="nav nav-tabs-horizontal"> {% assign tags_list = site.tags %} {% if tags_list.first[0] == null %} {% for tag in tags_list %} <li> <a href="{{ site.BASE_PATH }}/{{ site...
imgavinwang/imgavinwang.github.com
ctags.html
HTML
mit
1,748
#!/bin/bash # Upgrade databases python application.py db upgrade
mtekel/digitalmarketplace-api
scripts/build.sh
Shell
mit
66
# -*- coding: utf8 -*- """ The ``queue` utils ================== Some operation will require a queue. This utils file """ __author__ = 'Salas' __copyright__ = 'Copyright 2014 LTL' __credits__ = ['Salas'] __license__ = 'MIT' __version__ = '0.2.0' __maintainer__ = 'Salas' __email__ = 'Salas.106.212@gma...
salas106/irc-ltl-framework
utils/queue.py
Python
mit
352
REBAR = $(CURDIR)/rebar3 REBAR_URL := https://github.com/emqx/rebar3/releases/download/3.14.3-emqx-7/rebar3 .PHONY: all all: compile compile: $(REBAR) unlock $(REBAR) compile .PHONY: unlock unlock: $(REBAR) unlock .PHONY: clean clean: distclean .PHONY: distclean distclean: @rm -rf _build erl_crash.dump rebar3...
emqtt/emqttd_benchmark
Makefile
Makefile
mit
619
# encoding: utf-8 module JSON module Generator class StringAttribute < BasicAttribute DEFAULT_VALUE = "bar" end end end
tmattia/json-generator
lib/json/generator/string_attribute.rb
Ruby
mit
139
using System; using System.Collections.Generic; using System.Text; using System.Net; using Mono.Nat.Pmp; using System.Net.NetworkInformation; using System.Net.Sockets; namespace Mono.Nat { internal class PmpSearcher : ISearcher { static PmpSearcher instance = new PmpSearcher(); public static List<U...
assinnata/ChainUtils
Mono.Nat/PmpSearcher.cs
C#
mit
5,295
require 'spec_helper' describe FannyPack::Request do describe "::VALID_ACTIONS" do it { FannyPack::Request::VALID_ACTIONS.should be_frozen } end before :each do @req = FannyPack::Request.new end describe "#initialize" do %w[response params].each do |test| it "sets @#{test} to a hash" do ...
site5/fanny_pack
spec/fanny_pack/request_spec.rb
Ruby
mit
752
/* See LICENSE for license details. */ /* Module: snck_list.h Description: Generic linked list to be used for all lists in snck project. Comments: The list is a circular doubly linked list. A fake element is used to point to first and last elements. The same structure is used for each element in...
fboucher9/snck
snck_list.h
C
mit
2,956
module Scouter class Github < Scouter::Base::SingleUrlApi END_POINT = 'https://api.github.com'.freeze private def self.check_and_trans_url(urls) urls = to_array(urls) github_urls = urls.map do |u| uri = URI.parse(u) uri.host == 'github.com' ? u : nil end.compact ...
morizyun/scouter
lib/scouter/github.rb
Ruby
mit
1,013
module Sunspot::Resque class Worker @queue = :sunspot def self.before_enqueue(sunspot_method = nil, *args) raise ArgumentError, 'No sunspot method given' unless sunspot_method end def self.perform(sunspot_method, object = nil) sunspot_method = sunspot_method.to_sym if object.is_a? ...
Sija/sunspot_resque
lib/sunspot_resque/resque/worker.rb
Ruby
mit
1,410
# react-weui-snippets react-weui snippets for the Sublime Text
lincmin/react-weui-snippets
README.md
Markdown
mit
64
'use strict'; var assert = require('assert'); var x = [1, 2, 3]; var sum = 0; for (var value of x) { sum += value; } assert(sum === 6);
ForbesLindesay/acorn-es6
test/examples/for-of.js
JavaScript
mit
140
body { font-family: helvetica; position: relative; } h2 ~ h2 { border-top: 1px solid #ddd; padding-top: 35px; margin-top: 30px; } h3 { padding-top: 15px; } #nav-menu { top: 10px; } .nav>li a { border-left: 3px solid #fff; padding: 6px 15px; } .nav>li.active>a { border-left: 3px solid #ccc; } .n...
theninj4/Pajama-JS
website/css/screen.css
CSS
mit
835
-- -- Reemplazar por la ruta correcta del archivo -- LOAD DATA LOCAL INFILE 'C:/Users/ALAN7/Documents/GitHub/ViajesTransparentes/DOCUMENTACION BD/Catalogos con datos/cargos_catalogo.csv' INTO TABLE cargo_catalogo FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' IGNORE 1 LINES (idCargo,CARGO);
equipoviajestransparentes/ViajesTransparentes
DOCUMENTACION BD/Scripts de consultas y carga/carga masiva de cargos.sql
SQL
mit
294
''' evaluate result ''' from keras.models import load_model from keras.utils import np_utils import numpy as np import os import sys # add path sys.path.append('../') sys.path.append('../tools') from tools import conf from tools import load_data from tools import prepare # input sentence dimensions step_length =...
danche354/Sequence-Labeling
ner_BIOES/evaluate-senna-hash-2-pos-chunk-128-64-rmsprop5.py
Python
mit
3,163
import numpy as np import cvxopt as co def load_mnist_dataset(): import torchvision.datasets as datasets mnist_train = datasets.MNIST(root='../data/mnist', train=True, download=True, transform=None) mnist_test = datasets.MNIST(root='../data/mnist', train=False, download=True, transform=None) test_labe...
nicococo/tilitools
tilitools/utils_data.py
Python
mit
5,881
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
jodier/tmpdddf
web/private/tine20/library/Zend/XmlRpc/Exception.php
PHP
mit
1,104
# -*- coding: utf-8 -*- """ Created on Sun Mar 10 10:43:53 2019 @author: Heathro Description: Reduces a vcf file to meta section and one line for each chromosome number for testing and debugging purposes. """ # Open files to read from and write to vcfpath = open("D:/MG_GAP/Ali_w_767.vcf", "rU") testvcf = open("REDU...
davidfarr/mg-gap
mg-gap/mg-gap-py/mg-gap/test_files/reduceVCF.py
Python
mit
1,210
/** * This code was auto-generated by a tool. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.test.framework.datafactory.commerce.catalog.admin.products; import java.util.List; import java.util.HashMap; import java....
Mozu/mozu-java
mozu-java-test/src/main/java/com/mozu/test/framework/datafactory/commerce/catalog/admin/products/ProductExtraFactory.java
Java
mit
16,205
# Firebase Fruit Detector An Arduino / Raspberry Pi fruit detector that uses Firebase to power web, Google Glass and Android displays. v0.1 supports apples and oranges. ## What's here This project contains 4 directories: - `/detector` - The node.js code for the fruit detector - `/android` - An android app to read t...
mimming/firebase-fruit-detector
README.md
Markdown
mit
1,892
'use strict'; var compiler = require('gss-compiler'); var through2 = require('through2'); var gutil = require('gulp-util'); var PluginError = gutil.PluginError; module.exports = function() { function transform (file, enc, next) { var self = this; if (file.isNull()) { self.push(file); return nex...
johnetrent/gulp-gss
index.js
JavaScript
mit
764
<!doctype html> <html> <head> <link rel="stylesheet" href="https://cdn.rawgit.com/sourcelair/xterm.js/2.1.0/dist/xterm.css"> <script src="https://cdn.rawgit.com/sourcelair/xterm.js/2.1.0/dist/xterm.js"></script> <script src="https://cdn.rawgit.com/euank/snailescape.js/master/lib/parser.js"></script> ...
legodude17/github-edit
index.html
HTML
mit
9,608
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; using System.Web; using System.Web.Mvc; using Jobs.Data.Action; using Jobs.Data.Root; using Jobs.Data.Root.Includes; using jobs.web.ViewModel.Contact; using vlko.core.Base; using vlko.core.Componen...
vlko/jobs
jobs.web/Controllers/ProjectController.cs
C#
mit
8,158
class DeviseCreateStudents < ActiveRecord::Migration def change create_table(:students) do |t| ## Database authenticatable t.string :name, null: false t.string :email, default: "" t.string :encrypted_password, null: false, default: "" ## Recoverable ...
10suns/forum
db/migrate/20160128064701_devise_create_students.rb
Ruby
mit
1,547
/* -------------------------------------------------------------------------- * * File MainScene.h * Description * Ported By Young-Hwan Mun * Created By giginet - 11/05/27 * Contact xmsoft77@gmail.com * * ---------------------------------------------...
mcodegeeks/OpenKODE-Framework
04_Sample/KawazBuster/Source/MainScene.h
C
mit
2,594
--- uid: SolidEdgePart.WeldmentModel.RollToFeature(System.Object,System.Boolean) summary: remarks: syntax: parameters: - id: DisplayPart description: Specifies whether or not the rolled-back model is to be redisplayed. - id: Feature description: Specifies the feature object to which the model...
SolidEdgeCommunity/docs
docfx_project/apidoc/SolidEdgePart.WeldmentModel.RollToFeature.md
Markdown
mit
349
package soottocfg.ast.Absyn; // Java Package generated by the BNF Converter. public class NamedTpl extends TupleEntry { public final String ident_; public final Type type_; public NamedTpl(String p1, Type p2) { ident_ = p1; type_ = p2; } public <R,A> R accept(soottocfg.ast.Absyn.TupleEntry.Visitor<R,A> v, A a...
jayhorn/jayhorn
soottocfg/src/main/java/soottocfg/ast/Absyn/NamedTpl.java
Java
mit
747
/* * Copyright (C) 2018-2020 Jakob Nixdorf * * 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, ...
flocke/andOTP
app/src/main/java/org/shadowice/flocke/andotp/Activities/IntroScreenActivity.java
Java
mit
26,912
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | AUTO-LOADER | ------------------------------------------------------------------- | This file specifies which systems should be loaded by default. | | In order t...
Comp4711Lab5View/lab7
application/config/autoload.php
PHP
mit
4,400
 Imports YamlDotNet.Serialization Imports System.IO Public Class YAMLskins Inherits YAMLFilesBase Public Const skinsFile As String = "skins.yaml" Public Sub New(ByVal YAMLFileName As String, ByVal YAMLFilePath As String, ByRef DatabaseRef As Object, ByRef TranslationRef As YAMLTranslations) MyBa...
EVEIPH/EVE-SDE-Database-Builder
EVE SDE Database Builder/SDE YAML Classses/YAMLskins.vb
Visual Basic
mit
4,831
<div> <h4>{{vm.title}} <span class="small">自定义模版</span></h4> <div> <p>{{vm.content}}</p> </div> <p ng-if="vm.closing"> <strong class="text-danger">{{ vm.time }}</strong>秒后关闭</p> <button class='jm-btn jm-btn-danger' ng-click='vm.ok($event)'>删除?</button> </div>
jm-team/ng-seed
src/page/components/tooltip/tooltip.tpl.html
HTML
mit
298