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
/* * simple sliding menu using jQuery and Interface - http://www.getintothis.com * * note: this library depends on jquery (http://www.jquery.com) and * interface (http://interface.eyecon.ro) * * Copyright (c) 2006 Ramin Bozorgzadeh * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LECENSE.txt) lin...
boy-jer/santhathi-appointment
public/javascripts/rb_menu.js
JavaScript
mit
3,754
--- title: About layout: course_about --- <img src="{{site.baseurl}}{{site.data.course.image}}" class="img-responsive img-rounded span4 block-center"> ##### A 3ª Revolução Industrial começou! Bem Vindo à era *maker*! As impressoras 3D permitem aprodução de objetos que vão de vestidos a tecidos biológicos, de peças de...
Metamaquina/metamaquina.github.io
index.md
Markdown
mit
2,115
import DS from 'ember-data'; import DomainResource from 'ember-fhir/models/domain-resource'; const { attr, belongsTo, hasMany } = DS; export default DomainResource.extend({ identifier: hasMany('identifier', { async: true }), basedOn: hasMany('reference', { async: true }), status: attr('string'), category: bel...
davekago/ember-fhir
addon/models/diagnostic-report.js
JavaScript
mit
1,088
#!/bin/bash . $(dirname "$0")/tg_vars.cfg CURL_TG="${CURL} https://api.telegram.org/bot${TG_KEY}" TMP_DIR="/tmp/${ZBX_TG_PREFIX}" [ ! -d "${TMP_DIR}" ] && (mkdir -p ${TMP_DIR} || TMP_DIR="/tmp") TMP_COOKIE="${TMP_DIR}/cookie.txt" TMP_UIDS="${TMP_DIR}/uids.txt" TS="`date +%s_%N`_$RANDOM" LOG="/dev/null" IS_DEBUG ()...
ableev/Zabbix-in-Telegram
bash-old-version/zbxtg.sh
Shell
mit
5,749
// Copyright (c) 2012 Ecma International. All rights reserved. // Ecma International makes this code available under the terms and conditions set // forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the // "Use Terms"). Any redistribution of this code must retain the above // copyright and this n...
PiotrDabkowski/Js2Py
tests/test_cases/built-ins/Array/prototype/map/15.4.4.19-2-13.js
JavaScript
mit
1,120
module.exports = { __esModule: true, default: { plugins: ['esm-object'] } }
novemberborn/hullabaloo-config-manager
test/fixtures/js/esm-object/.babelrc.js
JavaScript
mit
86
# -*- encoding : utf-8 -*- # Read about factories at https://github.com/thoughtbot/factory_girl FactoryGirl.define do factory :postablr_entry_post, :class => 'Entry::Post' do body "" title "MyString" body "MyText" end end
michelson/postablr
spec/factories/postablr_entry_posts.rb
Ruby
mit
239
<!DOCTYPE html> <html lang="en" prefix="og: http://ogp.me/ns# fb: https://www.facebook.com/2008/fbml"> <head> <!-- ****** faviconit.com favicons ****** --> <link rel="shortcut icon" href="/favicon.ico"> <link rel="icon" sizes="16x16 32x32 64x64" href="/favicon.ico"> <link rel="icon" type="image/png" sizes="196x196...
NathanHarrington/NathanHarrington.github.io
posts/stage-four-value-propositions.html
HTML
mit
19,127
# ♦️ 5 实操 分别申明类型为 ```Number``` ```String``` ```Array``` ```Object``` 的 4 个变量 ## 栗子 ### Number ``` var num = 2017 ``` ### String ``` var str = "晓程序公开课" ``` ### Array ``` var arr = [num, str] ``` ### Object ``` var obj = { x: num, y: str, z: arr } ``` ## 小知识点 掌握了四大基本数据类型,便可以根据实际需求为数据选择一种最恰当的存储方式
joephon/open-lession
JavaScript/block/5.md
Markdown
mit
433
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>printf: 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.09.1-2.0.6/released/8.7.1/printf/1.0.2.html
HTML
mit
6,658
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>dpdgraph: 15 s</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="style...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.12.0-2.0.8/released/8.14.0/dpdgraph/1.0+8.14.html
HTML
mit
8,429
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>bertrand: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.06.1-2.0.5/released/8.14.1/bertrand/8.8.0.html
HTML
mit
7,539
class AddApprovedToTouts < ActiveRecord::Migration def change add_column :touts, :approved, :boolean, default:false add_index :touts, :approved end end
mpakus/toute
db/migrate/20130803082347_add_approved_to_touts.rb
Ruby
mit
164
all: cd src; qmake; make clean: cd src; qmake; make clean rm -f src/Makefile rm -f bin/CQPixmapEd
colinw7/CQPixmapEd
Makefile
Makefile
mit
103
MIME-Version: 1.0 Server: CERN/3.0 Date: Tuesday, 07-Jan-97 15:55:05 GMT Content-Type: text/html Content-Length: 4987 Last-Modified: Friday, 01-Mar-96 21:21:33 GMT <title> Network Security</title> <H1> Network Security</H1> <hr> To enhance the security of networked systems, we proposed a security architectu...
ML-SWAT/Web2KnowledgeBase
webkb/other/texas/http:^^www.cs.utexas.edu^users^lam^NRL^network_security.html
HTML
mit
5,159
package main import ( "time" "bytes" "fmt" ) const FreshPeriod = time.Minute * 10 type Location struct { id int Time time.Time Latitude float32 Longitude float32 } type ValuePair struct { loaded bool value string } // TODO: Don't change a value (or add squawk etc) if it already exists with t...
butlermatt/tamer
plane.go
GO
mit
8,477
$(document).ready(function() { var loading = $('#loading'); ['ceneo', 'allegro'].forEach(function(service) { $('#' + service + '-form').submit(function(e) { e.preventDefault(); var self = $(this); var resultsUl = $('#' + service + '-results'); resultsUl.e...
Alkemic/common_offers
static/main.js
JavaScript
mit
1,337
/* $Id: volume_wrap.h 454 2010-09-08 21:40:28Z anders.e.e.wallin $ * * Copyright 2010 Anders Wallin (anders.e.e.wallin "at" gmail.com) * * This file is part of OpenCAMlib. * * OpenCAMlib is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as publ...
play113/swer
opencamlib-read-only/src/cutsim/volume_wrap.h
C
mit
1,341
// Generated by CoffeeScript 1.4.0-beerscript (function() { var CoffeeScript, cakefileDirectory, existsSync, fatalError, fs, helpers, missingTask, oparse, options, optparse, path, printTasks, switches, tasks; fs = require('fs'); path = require('path'); helpers = require('./helpers'); optparse = require('...
falsecz/beer-script
lib/coffee-script/cake.js
JavaScript
mit
3,039
<template name="layout"> <div class="container"> {{> header}} {{> toasts}} {{> yield}} {{> footer}} </div> </template>
ImproveCoimbra/ceres
client/views/application/layout.html
HTML
mit
129
<head> <title>Commerces</title> </head> <body></body>
Menesys/camille_vasseur_partiel_meteor
client/main.html
HTML
mit
56
<form action="<?php echo URL_PREFIX; ?>admin/user/view" method="post" class="notice_box"> <strong>Enter a username to search for</strong> <label>Username</label> <input type="text" name="username" /> <p class="buttons"> <input type="submit" value="Load User" /> </p> </form>
mattbasta/Tinytape
views/v4/admin/user.php
PHP
mit
287
package org.magicnexus.classes.ui.cli.parser; import java.text.ParseException; import org.magicnexus.classes.ui.cli.MagicNexusCliApplication; import org.magicnexus.classes.ui.cli.command.AddPlayerCommand; import org.magicnexus.classes.ui.cli.command.BackToMainCommand; import org.magicnexus.classes.ui.cli.comma...
Anastaszor/magic-nexus
src/org/magicnexus/classes/ui/cli/parser/PlayGameSetupParser.java
Java
mit
1,481
import App from './container'; export default App;
IanCStewart/my-records
src/components/app/index.js
JavaScript
mit
52
namespace RangeIt.Ranges { using RangeStrategies.Ints; public static partial class Range { /// <summary> /// Generates a range containing a given number of sequential and distinct integers, /// starting with value 1. /// </summary> /// <param name="count">The number...
henrikfroehling/RangeIt
Source/Lib/RangeIt/Ranges/Extensions/Range_Ints.cs
C#
mit
2,996
<? include "config.php"; include "lib/function.php"; ?>
antonraharja/playvoip
web/init.php
PHP
mit
55
const path = require('path'); const { CheckerPlugin } = require('awesome-typescript-loader'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const baseConfig = require('./webpack.base'); const baseDevConfig = { ...baseConfig, devtool: ...
Jason-Rev/vscode-spell-checker
packages/_settingsViewer/webpack.dev.js
JavaScript
mit
1,972
/*global describe: false, it: false, expect: false */ 'use strict'; var apiFactory = require('../controller/apiFactory.js'); describe('will this work', function () { var method = apiFactory.get('session'); it('Default test case', function apiFactory1() { expect(method.create).toBe(require('../control...
stefanbrittain/central-bookmarks
services/spec/apiFactory-spec.js
JavaScript
mit
366
# This file contains bash aliases and functions. Sourcing this file doesn't # change the behavior of the system and just loads a few more handy aliases and # functions into the environment. alias fig='find . | grep --color=always -i' alias ll='ls -alrth' alias lsg='ls | grep' alias lsn="ls -l | awk '{k=0;for(i=0;i<=8;...
rushiagr/myutils
superutils/safe/etc.sh
Shell
mit
9,357
package com.surrattfamily.acsdash.action; /** * @author rsurratt * @since 6/6/15 */ public enum Format { HTML, CSV, DELTA_CSV }
rsurratt/ACSDashboard
src/main/java/com/surrattfamily/acsdash/action/Format.java
Java
mit
144
namespace Cake.Docker { /// <summary> /// Settings for docker build. /// </summary> public sealed class DockerComposeRmSettings: DockerComposeSettings { /// <summary> /// Don't ask to confirm removal /// </summary> public bool Force { get; set; } /// <summary...
MihaMarkic/Cake.Docker
src/Cake.Docker/Compose/Rm/DockerComposeRmSettings.cs
C#
mit
666
--- layout: post title: "Physical address validation on Python" excerpt: "A small war between EasyPost and SmartyStreets" cover_image: false comments: true --- Recently I and my pair had to implement a physical address validation functionality on our Python project at East Agile. We started off with [USPS Web Tool API...
tklarryonline/tklarryonline.github.io
_drafts/physical-address-validation-on-python.md
Markdown
mit
1,164
import functools from common.tornado_cookies import get_secure_cookie, generate_secure_cookie from core import cookies class Perms(object): NONE = None READ = 'r' WRITE = 'w' def _permission_level(user, room): """ `user`'s permission level on `room`, ignoring cookies """ if not user.is_au...
reverie/seddit.com
redditchat/core/permissions.py
Python
mit
2,122
--- sitemap: tags: changefreq: monthly priority: 0.4 --- Post which defines custom sitemap tags in YAML metadata.
kevinoid/jekyll-sitemap
spec/fixtures/_posts/2017-08-10-post-sitemap-tags.html
HTML
mit
125
require "rails_helper" RSpec.describe ConsensusGenomeConcatService, type: :service do let(:project) { create(:project) } let(:sample) { create(:sample, project: project) } let(:workflow_run_1) { create(:workflow_run, sample: sample, workflow: WorkflowRun::WORKFLOW[:consensus_genome]) } let(:workflow_run_2) { ...
chanzuckerberg/idseq-web
spec/services/consensus_genome_concat_service_spec.rb
Ruby
mit
2,562
using System; using System.Collections.Generic; using System.IO; using System.Linq; using TweetLib.Browser.Interfaces; using TweetLib.Core.Features.Plugins.Config; using TweetLib.Core.Features.Plugins.Enums; using TweetLib.Core.Features.Plugins.Events; using TweetLib.Core.Resources; using TweetLib.Utils.Data; namespa...
chylex/TweetDuck
lib/TweetLib.Core/Features/Plugins/PluginManager.cs
C#
mit
3,929
using System; using System.Collections.Generic; using System.Text; namespace FclEx { public static class NullableExtensions { /// <summary> /// Exactly same as GetValueOrDefault but with shorter name. /// </summary> /// <typeparam name="T"></typeparam> /// <param name="...
huoshan12345/FclEx
src/FclEx/FclEx/~Extensions/NullableExtensions.cs
C#
mit
877
require 'spec_helper' describe User do context "when is a contestant" do before { @contestant = Factory.create(:contestant) @contestant_role = Role.find_by_name("contestant") } it "should have contestant role" do @contestant.role.should == @contestant_role @contestant.role?("cont...
kennym/Nejupy-Ruby
spec/models/user_spec.rb
Ruby
mit
689
<?php /** * Configuration file for routes. */ return [ // Load these routefiles in order specified and optionally mount them // onto a base route. "routeFiles" => [ [ // Routers for the user parts mounts on user/ "mount" => "user", "file" => __DIR__ . "/route/co...
oenstrom/anax-user
config/MockRoute.php
PHP
mit
708
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
portchris/NaturalRemedyCompany
src/dev/tests/functional/tests/app/Mage/Catalog/Test/Handler/CatalogCategory/CatalogCategoryInterface.php
PHP
mit
1,164
package org.openforis.collect.android.gui.input; import android.content.Intent; import android.location.Location; import android.net.Uri; import android.text.Editable; import android.text.TextWatcher; import android.view.Gravity; import android.view.KeyEvent; import android.view.View; import android.view.ViewGroup; im...
openforis/collect-mobile
android/src/main/java/org/openforis/collect/android/gui/input/CoordinateAttributeComponent.java
Java
mit
18,793
<!doctype html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <title>Networks</title> <meta name="description" content=""> <meta name="author" content="Emily Stamey"> <meta name="apple-mobile-web-app-...
elstamey/elstamey.github.io
networks.html
HTML
mit
10,910
using Telerik.TestingFramework.Controls.KendoUI; using Telerik.WebAii.Controls.Html; using Telerik.WebAii.Controls.Xaml; using System; using System.Collections.Generic; using System.Text; using System.Linq; using ArtOfTest.Common.UnitTesting; using ArtOfTest.WebAii.Core; using ArtOfTest.WebAii.Controls.HtmlControls; u...
VitalyaKvas/MonkeyHelper
MonkeyTests/MonkeyHelper/Code/SearchOptionModel.tstest.cs
C#
mit
654
--- layout: post title: "Gsoc at Libreoffice : Week 1" date: 2016-05-30 18:06:23 categories: [gsoc] tags: [gsoc] --- So the first week has finally concluded. It was a week of balancing. Balancing between my exams and my project. I promised myself that I would focus on my exams and start my work from 7th . I ended ...
jvsg/joke
_posts/2016-05-31-Week-1-Libo.markdown
Markdown
mit
1,479
--- layout: default permalink: /long/index.html length: long --- <div class="grid grid-pad"> <div class="post"> {% for post in site.posts %} {% if post.length contains 'long' %} <div class="col-1-3 "> <a class="tile_link" href...
mooniak/colombore
long.html
HTML
mit
1,081
#pragma once #include <utility> #include <archie/container/ring_iterator.hpp> #include <archie/meta/model_of.hpp> namespace archie { template <typename Container> struct ring_adapter { private: struct is_valid_container { template <typename C> auto requires(C) -> decltype(std::declval<C const>().begin(), ...
attugit/sandbox
inc/archie/container/ring_adapter.hpp
C++
mit
2,334
<div> <form ng-submit="todoCtrl.update()"> <label> Title <input type="text" ng-model="todoCtrl.todo.title" placeholder="Input task"> </label> <label> Completed <input type="checkbox" ng-model="todoCtrl.todo.completed"> </label> <input type="submit" value="Upda...
melihovv/todos-laravel-angularjs
resources/assets/templates/tasks/show.html
HTML
mit
343
import { randomInt32 } from '@provably-fair/core'; /** * Shuffles an array based on the given seeds, using the given HMAC algorithm. * @param {[]} arr Array to be shuffled. * @param {string} hmacAlgorithm Algorithm used for computing the HMAC of the given seed pair. * @param {string|Buffer} secretSeed Secret seed ...
kripod/provably-fair
packages/shuffle/src/index.js
JavaScript
mit
1,465
from difflib import get_close_matches from thefuck.utils import sudo_support, get_all_executables, get_closest @sudo_support def match(command, settings): return 'not found' in command.stderr and \ bool(get_close_matches(command.script.split(' ')[0], get_all_executable...
mbbill/thefuck
thefuck/rules/no_command.py
Python
mit
580
import { ModuleWithProviders } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { LoginComponent } from './login.component'; import { LoggedInGuard } from './logged-in.guard'; import { TransactionComponent } from './transaction.component'; import { TransactionDetailComponent } from...
dmkent/cattrack-client
src/client/app/app.routing.ts
TypeScript
mit
1,182
package ninja.academy.vertx.market.seller.alternative.endpoint; import io.vertx.core.eventbus.EventBus; import io.vertx.core.eventbus.Message; import ninja.academy.vertx.market.seller.alternative.storage.GeneratedShapesStorage; import javax.inject.Inject; public class ShapeIdConfirmationEndpoint { private stati...
espeo/shape-market-factory
src/main/java/ninja/academy/vertx/market/seller/alternative/endpoint/ShapeIdConfirmationEndpoint.java
Java
mit
842
@extends('layouts.default', ['nav_login' => 'active']) @section('content') <div class="auth-form-container"> <form role="form" method="POST" action="{{ url('/password/reset') }}"> {!! csrf_field() !!} <input type="hidden" name="token" value="{{ $token }}"> <p> <label>E-Mail Ad...
njovin/mapil-web
resources/views/auth/passwords/reset.blade.php
PHP
mit
1,237
{% from 'macro/__frame__.html' import base_menu_navigation %} {% set article_navigation = [{'href':'article', 'caption':'Article'}, {'href':'new-article', 'caption':'New Article'}, {'href':'source', 'caption':'Source'}, {'href':'category', 'caption':'Category...
DreamWFJ/Everyeye
app/templates/macro/__article__.html
HTML
mit
549
\input{/Users/Claudius/Documents/PhD/THESIS/kks32/LaTeX/Appendix1/sRADprotocol/sRADprotocol} \input{/Users/Claudius/Documents/PhD/THESIS/kks32/LaTeX/Appendix1/RAD_double_dig_protocol}
claudiuskerth/PhDthesis
Appendix1/appendix1.tex
TeX
mit
184
package cu.rst.alg; import java.util.ArrayList; import java.util.Hashtable; import java.util.Map.Entry; import java.util.Set; import org.apache.log4j.Logger; import cu.rst.graph.*; import Jama.Matrix; /** * This version of ET takes a rep graph and outputs a rep graph * @author partheinstein * */ public class Ei...
tahalukmanji/reputationsystestbed
src/main/java/cu/rst/alg/EigenTrustPart1.java
Java
mit
3,529
#include "utils.h" // void timer_config(void){ // } void delay(uint16_t period_ms){ struct tcc_config tcc_cfg; tcc_get_config_defaults(&tcc_cfg, TCC1); tcc_cfg.counter.clock_prescaler = TCC_CLOCK_PRESCALER_DIV8; // 8MHz tcc_init(&tcc_instance, TCC1, &tcc_cfg); tcc_enable(&tcc_instance); ...
dalmago/embarcados
rgb_game_d21/rgb_game_d21/src/utils.c
C
mit
468
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace SedcServer { public enum RequestKind { Action, File, Error, } public class RequestParser { public string RequestString { get; priva...
sweko/SEDC-DataServer
DataServer/SedcServer.Core/RequestParser.cs
C#
mit
2,911
@defstruct ChannelPoolingLayer Layer ( name :: String = "channel-pooling", (bottoms :: Vector{Symbol} = Symbol[], length(bottoms) > 0), (tops :: Vector{Symbol} = Symbol[], length(tops) == length(bottoms)), (kernel :: Int = 1, kernel > 0), (stride :: Int = 1, stride > 0), (pad :: NTuple{2, Int} = (0,0), all(...
rened/Mocha.jl
src/layers/channel-pooling.jl
Julia
mit
4,529
/// ======================================================================= /// Class Definitions {messageName} /// ======================================================================= class {messageName}Message : public ProtoIO {{ public: {messageName}Message(); ~{messageNam...
ioants/pypi-packages
ioant/ioant/proto/templates/message_class.template.h
C
mit
646
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package model; import java.util.HashMap; import java.util.Iterator; import java.util.Map.Entry; /** * * @author Bram Gadeyne */ public class MorseCoder extends ICoder { HashMap<Character, String> morsemap; ...
gadeynebram/voetjeonline
tvoetje/src/model/MorseCoder.java
Java
mit
2,793
require 'mida/vocabulary' module Mida module SchemaOrg autoload :Thing, 'mida/vocabularies/schemaorg/thing' autoload :Event, 'mida/vocabularies/schemaorg/event' # Event type: A social dance. class DanceEvent < Mida::Vocabulary itemtype %r{http://schema.org/DanceEvent}i include_vocabular...
LawrenceWoodman/mida
lib/mida/vocabularies/schemaorg/danceevent.rb
Ruby
mit
412
#!/usr/bin/env python # File created on 09 Aug 2012 from __future__ import division __author__ = "Jon Sanders" __copyright__ = "Copyright 2014, Jon Sanders" __credits__ = ["Jon Sanders"] __license__ = "GPL" __version__ = "1.9.1" __maintainer__ = "Jon Sanders" __email__ = "jonsan@gmail.com" __status__ = "Development" ...
tanaes/decontaminate
decontaminate_unitary.py
Python
mit
40,011
<?php namespace PUGX\Godfather; interface StrategistInterface { /** * Add a strategy into the container. * * @param string $contextName the serviceId of the context * @param string $contextKey the key * @param string $strategyServiceId the service to obtain * * @ret...
PUGX/godfather
lib/PUGX/Godfather/StrategistInterface.php
PHP
mit
676
""" Load the CCGOIS datasets into a CKAN instance """ import dc import json import slugify import ffs def make_name_from_title(title): # For some reason, we're finding duplicate names name = slugify.slugify(title).lower()[:99] if not name.startswith('ccgois-'): name = u"ccgois-{}".format(name) ...
nhsengland/publish-o-matic
datasets/ccgois/load.py
Python
mit
3,287
package macaca.client.common; public enum Keycode implements CharSequence { NULL('\uE000'), CANCEL('\uE001'), HELP('\uE002'), BACK_SPACE('\uE003'), TAB('\uE004'), CLEAR('\uE005'), RETURN('\uE006'), ENTER('\uE007'), SHIFT('\uE008'), CONTROL('\uE009'), ALT('\uE00A'), PAUSE('\uE00B'), ESCAPE('\uE00C'), SPACE...
Yinxl/wd.java
src/main/java/macaca/client/common/Keycode.java
Java
mit
1,891
package PJC.hash; import PJC.map.hashMap.HashFunctions; import PJC.map.hashMap.TPrimitiveHash; abstract public class TDoubleIntHash extends TPrimitiveHash { static final long serialVersionUID = 1L; /** the set of #k#s */ public transient double[] _set; /** * key that represents null ...
mariaacha/PJC
hash/TDoubleIntHash.java
Java
mit
15,844
using System; using Leak.Common; using Leak.Events; using Leak.Extensions; using Leak.Networking.Core; using Leak.Peer.Coordinator.Core; using Leak.Peer.Receiver.Events; namespace Leak.Peer.Coordinator { public class CoordinatorService { private readonly CoordinatorContext context; public Coo...
amacal/leak
sources/Leak.Glue/CoordinatorService.cs
C#
mit
10,983
<?php /** * This source file is proprietary and part of Rebilly. * * (c) Rebilly SRL * Rebilly Ltd. * Rebilly Inc. * * @see https://www.rebilly.com */ namespace Rebilly\Tests\Api; use DomainException; use Rebilly\Entities\Session; use Rebilly\Tests\TestCase as BaseTestCase; /** * Class SessionTest. ...
Rebilly/rebilly-php
tests/Api/SessionTest.php
PHP
mit
2,133
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <!-- This file documents the GNU C Library. This is The GNU C Library Reference Manual, for version 2.21. Copyright (C) 1993-2015 Free Software Foundation, Inc. Permission is granted to copy, distribute and/...
elmerland/elmerland
gnu/File-Position-Primitive.html
HTML
mit
13,448
protoman 0.1a ================= Simple django app to help with prototyping. Running `newprototype` will set up a new TemplateView, and Url mapping along with a django template file for your prototype. This allows you to keep your prototypes inside of the django engine thus giving you all the django goodies, while kee...
ScottBarkman/django_protoman
README.md
Markdown
mit
1,204
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SmoONE.DTOs { /// <summary> /// 统计项的信息 /// </summary> public class ALStatisticsItems { /// <summary> /// 统计类型 /// </summary> public StatisticsType AL_Status { get; set; }...
comsmobiler/SmoONE
Source/SmoONE.DTOs/OutputDTO/ALStatisticsItems.cs
C#
mit
455
## Go These settings apply only when `--go` is specified on the command line. ``` yaml $(go) go: license-header: MICROSOFT_APACHE_NO_VERSION namespace: appconfiguration clear-output-folder: true ``` ### Go multi-api ``` yaml $(go) && $(multiapi) batch: - tag: package-2019-10-01 - tag: package-2019-02-01-p...
AppPlatPerf/azure-rest-api-specs
specification/appconfiguration/resource-manager/readme.go.md
Markdown
mit
1,111
'use strict'; const Flag = require('../src/Flag'); const expect = require('chai').expect; describe('flag.isShort', function () { it('(empty)', function () { const input = ''; const output = Flag.isShort(input); expect(output).to.be.false; }); it('-f', function () { const input = this.test.title...
zlargon/node-commander
test/flag.isShort.js
JavaScript
mit
1,374
/* normalize.css v3.0.2 | MIT License | git.io/normalize */ html { font-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ } body { margin: 0; } article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display...
susers/susers.github.io
css/main.css
CSS
mit
50,087
<!DOCTYPE html> <html> <head> <title>Leaflet Instagram Fancybox</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta property="og:image" content="route.png" /> <link rel="stylesheet" href="lib/leaflet/leaflet.css" /> <link rel="stylesheet" href="lib/fancybo...
turban/Leaflet.Instagram
examples/fancybox.html
HTML
mit
1,321
using System; using System.IO; using System.Linq; using System.Reflection; using System.Security.Cryptography; using System.Text; using System.Web.Security; namespace Common { public static class Function { #region 改动后的MD5 /// <summary> /// 改动后的MD5 /// </summary> /// <p...
Dasiys/mvcDapper
MobileSmw/Common/Function.cs
C#
mit
8,807
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>{% if page.title %}{{ page.title }} – {% endi...
fernandocortez/fernandocortez.github.io
_layouts/default.html
HTML
mit
2,159
/** * Created by Jairo Martinez on 8/15/15. */ var five = require("johnny-five"); var board = {}; var lcd = {}; var rly1 = {}; var rly2 = {}; var btnBack = {}; var btnMenu = {}; var btnHome = {}; var btnEntr = {}; var btnNvUp = {}; var btnNvDn = {}; var btnNvLt = {}; var btnNvRt = {}; function _btnsSetup() { btn...
Zenitram-Oriaj/RaspLinx
services/j5.js
JavaScript
mit
2,567
#ifndef GE_MESH_SETTINGS_ASSET_HPP #define GE_MESH_SETTINGS_ASSET_HPP #pragma once #include "ge/concept/asset.hpp" #include "ge/material_asset.hpp" #include "ge/mesh_asset.hpp" #include "ge/mesh_settings.hpp" namespace ge { /// Asset loader for mesh settings objects /// [asset.json /// spec](https://lbovet.github.io...
gentlemans/gentlemanly_engine
modules/renderer/include/ge/mesh_settings_asset.hpp
C++
mit
1,235
using System; using System.Reflection; using System.Windows.Forms; using Microsoft.Win32; using System.Runtime.InteropServices; using Extensibility; using Access = NetOffice.AccessApi; using Office = NetOffice.OfficeApi; namespace COMAddinRibbonExampleCS4 { [Guid("44665894-708B-45B2-B2D8-6D2C8D2CA0A6"), ProgId("Ac...
NetOfficeFw/Samples
Access/03 IDTExtensibility2 Access Sample/RibbonUI/Addin.cs
C#
mit
7,461
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__wchar_t_file_w32_execv_22a.c Label Definition File: CWE78_OS_Command_Injection.strings.label.xml Template File: sources-sink-22a.tmpl.c */ /* * @description * CWE: 78 OS Command Injection * BadSource: file Read input from a file * Go...
maurer/tiamat
samples/Juliet/testcases/CWE78_OS_Command_Injection/s08/CWE78_OS_Command_Injection__wchar_t_file_w32_execv_22a.c
C
mit
4,849
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() #include "catch.hpp" #include <memory> #include <utility> #include "LadderQueue.hpp" #include "Event.hpp" #include "mocks.hpp" TEST_CASE("Ladder Queue operations") { warped::LadderQueue q; std::shared_ptr<warped::Event> e; REQUIRE(q.begi...
wilseypa/warped2
test/test_LadderQueue.cpp
C++
mit
2,199
package com.maddog05.demoeasysqlite.application; import android.app.Application; import com.maddog05.demoeasysqlite.utils.DatabaseUtils; import com.maddog05.easysqlite.EasySQLite; /* * Created by maddog05 on 22/04/16. */ public class MaddogApplication extends Application { @Override public void onCreate() ...
maddog05/EasySQLite
DemoEasySQLite/app/src/main/java/com/maddog05/demoeasysqlite/application/MaddogApplication.java
Java
mit
489
{% if results %} <p> Mostrando <b>{{ results.items|length }}</b> de <b>{{ results.total }}</b> presupuestos{% if year != -1 %} del año {{ year }}{% endif %}{% if query %} con "<i>{{ query }}</i>"{% endif %} {% if results.pages > 1 %} {% if results.has_prev %} <a href="#" ...
dsloop/FranERP
app/templates/budgets_search_results.html
HTML
mit
1,654
from selenium import webdriver from selenium.webdriver.common.keys import Keys from .base import FunctionalTest class RecipeEditTest(FunctionalTest): def test_can_add_a_recipe(self): # Ben goes to the recipe website homepage self.browser.get(self.server_url) # He notices the page title m...
benosment/recipes
functional_tests/test_edit_recipe.py
Python
mit
8,273
<!DOCTYPE html> <html> <head> <title>Classe KFadeWidgetEffect</title> </head> <body> <p>Classe <b>KFadeWidgetEffect</b></p><p>Derivada de <a href='QWidget.html'>QWidget</a></p><p>Classes derivadas: <a href='.html'></a></p><p>Módulo <b>kdeui</b></p><p>Construtor: KFadeWidgetEffect():new(QWidget * )</p><p>Método:...
marcosgambeta/KDE4xHb
doc/classes/KFadeWidgetEffect.html
HTML
mit
388
// Dependencies var Enny = require("enny") , Deffy = require("deffy") ; /** * lineType * Returns the line type for given input. * * @name lineType * @function * @param {Element|SubElement} source The source (sub)element. * @param {Element|SubElement} target The target (sub)element. * @param {} target * @r...
jillix/engine-parser
lib/parsers/line-type.js
JavaScript
mit
959
package org.robolectric; import android.app.Application; import org.junit.Test; import org.junit.Before; import org.junit.runner.RunWith; import org.robolectric.annotation.Config; import android.content.res.Resources; import android.content.res.Configuration; import org.robolectric.internal.ParallelUniverse; import st...
gabrielduque/robolectric
robolectric/src/test/java/org/robolectric/ParallelUniverseTest.java
Java
mit
2,981
<?php class ErrorIndexAction extends CAction { public $view = 'index'; public function run() { Yii::app()->errorHandler->errorAction = 'error/index'; if ($error = Yii::app()->errorHandler->error) { if (Yii::app()->request->isAjaxRequest) { echo $error['message']; ...
nek-v/yii-min-app
protected/actions/ErrorIndexAction.php
PHP
mit
437
package com.github.acc15.glob.matchers; import org.junit.Test; import static org.assertj.core.api.Assertions.assertThat; /** * @author Vyacheslav Mayorov * @since 2016-12-01 */ public class MatchersTest { @Test public void testPattern() throws Exception { // pattern "abc?{xyz,yui}.zip" f...
acc15/glob
src/test/java/com/github/acc15/glob/matchers/MatchersTest.java
Java
mit
2,078
package com.shdwlf.boom.listeners; import com.shdwlf.boom.Boom; import net.md_5.bungee.api.ChatColor; import org.bukkit.GameMode; import org.bukkit.Material; import org.bukkit.Sound; import org.bukkit.block.Block; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; ...
dfanara/Boom
src/main/java/com/shdwlf/boom/listeners/InteractListener.java
Java
mit
3,529
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.IO; using System.Runtime.InteropServices; namespace System.Net.NetworkInformation.Tests { internal...
mafiya69/corefx
src/System.Net.NetworkInformation/tests/FunctionalTests/FileUtil.cs
C#
mit
1,218
var decode = require('base64-decode'); var crypto = require('crypto'); var ANTI_CHEAT_CODE = 'Fe12NAfA3R6z4k0z'; var SALT = 'af0ik392jrmt0nsfdghy0'; function parse(save) { if (save.indexOf(ANTI_CHEAT_CODE) > -1) { var result = save.split(ANTI_CHEAT_CODE); save = ''; for (var i = 0; i < result[0].length;...
KenanY/clickerheroes-save
index.js
JavaScript
mit
683
from flask import render_template from app import app, host, port, user, passwd, db from app.helpers.database import con_db, query_db from app.helpers.filters import * from app.helpers.filters import format_currency import jinja2 from flask import request, url_for # To create a database connection, add the following ...
MonicaHsu/truvaluation
app/static/temp.html
HTML
mit
3,588
import { Meteor } from 'meteor/meteor'; import { Accounts } from 'meteor/accounts-base'; /// /// LOGIN WITHOUT PASSWORD /// // Method called by a user to request a password reset email. This is // the start of the reset process. Meteor.methods({ loginWithoutPassword: function ({ email, username = null }) { if (...
studiointeract/accounts-ui
imports/api/server/loginWithoutPassword.js
JavaScript
mit
3,963
# SUS_3D Simulating thin film growth with 3-D Rod like particles: Using the Successive umbrella sampling Algorithm
Aieener/SUS_3D
README.md
Markdown
mit
115
// // ProductFilterResultTableAdapter.h // TianJiCloud // // Created by 朱鹏 on 2017/8/10. // Copyright © 2017年 TianJiMoney. All rights reserved. // #import <Foundation/Foundation.h> #import "ProductFilterResultConfigurateProtocol.h" @interface ProductFilterResultTableAdapter : NSObject<UITableViewDataSource,UITab...
BaoSeed/TianFuYun
ios/TianJiCloud/Sections/ProductFilter/Result/Disaggregate/ProductFilterResultTableAdapter.h
C
mit
570
<!DOCTYPE html> <html> <head> <title>Flashcards</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="css/bootstrap.css" rel="stylesheet" type="text/css"/> <link href="css/style.css" rel="stylesheet" type="text/css"...
ryanwcraig/INFSCI-1025-Flashcards
Flashcards/web/home.html
HTML
mit
1,699
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
m1001243/Linux_Projekt
html/struct_ircbot.html
HTML
mit
7,750
<?php namespace LSI\OrderBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity */ class TaxRate { /** * @ORM\Id * @ORM\Column(type="integer") * @ORM\GeneratedValue(strategy="AUTO") */ protected $id; /** * @ORM\Column(type="string", length=5, uni...
Storyitr8/LivingScripturesWS
src/LSI/OrderBundle/Entity/TaxRate.php
PHP
mit
987