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
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.freteplanejado.entity; /** * * @author 43596980895 */ public class Frete { private int id; private String orige...
5devs/web-project-m1
FretePlanejado/src/java/com/freteplanejado/entity/Frete.java
Java
mit
2,066
module.exports = require( "./src/LRUCache" );
eventEmitter/ee-lru-cache
index.js
JavaScript
mit
49
Kloj le Grand ============= Clojure bot for [vindinium](http://vindinium.org) ## Usage ``` $ lein repl ``` ```clojure > ; (re)load the code > (require 'vindinium.core :reload) > ; run a training game with 80 turns > (vindinium.core/-main "training" secretkey 80) > ; run 50 arena games > (vindinium.core/-main "are...
chrisghost/kloj-le-grand
README.md
Markdown
mit
343
<html> <head> <title>User agent detail - Mozilla/5.0 (Linux; U; Android 2.2.2; bg-bg; U8800 Pro Build/HuaweiU8800Pro) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min...
ThaDafinser/UserAgentParserComparison
v4/user-agent-detail/ad/03/ad03a2d6-a5c9-45b1-9a63-5381ec942da9.html
HTML
mit
46,539
package com.martijndashorst.euler; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import org.junit.Test; /** * The sequence of triangle numbers is generated by adding the natural numbers. * So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. The first * ten ...
dashorst/project-euler
src/test/java/com/martijndashorst/euler/Euler12.java
Java
mit
1,853
'use strict'; angular.module('sportzCast') .controller('FooterCtrl', function ($scope) { $('#footer').hide(); $(function () { $(window).scroll(function () { // set distance user needs to scroll before we start fadeIn if ($(this).scrollTop() > 500) { $('.na...
AriGonzo/SportzCast
src/components/footer/footerController.js
JavaScript
mit
439
# Changelog ## Unreleased - Removed `kp get` and `kp set` commands, basically we removed the global config. Config can only be done via `kanpai.json` or the `kanpai` field in `package.json`. ## 0.10.1 - Support `HTTPS` git URL. ## 0.10.0 - Move `npm publish` and `kp gh-release` to a standalone command: `kp releas...
egoist/kanpai
CHANGELOG.md
Markdown
mit
1,366
/* crypto/bf/blowfish.h */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non-...
OnurVar/TestProject
Pods/Vialer-pjsip-iOS/VialerPJSIP.framework/Versions/A/Headers/openssl/blowfish.h
C
mit
5,363
package ru.otus.l51.tests; /** * Created by tully. */ @SuppressWarnings("unused") public class TestClass { private int a = 0; private String s = ""; public TestClass() { } public TestClass(Integer a) { this.a = a; } public TestClass(Integer a, String s) { this.a = a; ...
artem-gabbasov/otus_java_2017_04_L1
L5.1/src/test/java/ru/otus/l51/tests/TestClass.java
Java
mit
502
{% extends "adventure/views/templates/layout.html" %} {% block content %} <div class="post"> <div class="post_inner"> <div class="the_post format-text"> <ul> {% for adventure in adventures %} <li> <a href="/adventure/{{ adventure.id }}">{{ adventure.title }}</a> <div class="addition...
inchingforward/adventure
src/adventure/views/templates/home.html
HTML
mit
1,133
<?php namespace Blogger\BlogBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; //\Blogger\BlogBundle\Entity\Client class ClientController extends Controller{ ...
PavelKovalchuk/symblog
src/Blogger/BlogBundle/Controller/ClientController.php
PHP
mit
901
<?php namespace mle86\Value; /** * The interface of all value classes, * i.e. AbstractValue and AbstractSerializableValue. * * It just specifies that Value classes should have a 'value' method * and a one-argument constructor, although those classes have another * important requirement: being immutable. But...
mle86/php-value
src/Value.php
PHP
mit
536
package main import ( "fmt" "log" "net" "os" "github.com/kennylevinsen/g9p" "github.com/kennylevinsen/g9ptools/fileserver" "github.com/kennylevinsen/g9ptools/ramfs/ramtree" ) func main() { if len(os.Args) < 5 { fmt.Printf("Too few arguments\n") fmt.Printf("%s service UID GID address\n", os.Args[0]) fmt...
joushou/g9ptools
ramfs/server.go
GO
mit
857
/** * Usuario Controller Test Suite * * @author Thiago Paes <mrprompt@gmail.com> * @license MIT */ 'use strict'; var connection = require('../test'); var Usuario = require('../../src/controllers/UsuarioController'); var sinon = require('sinon'); var assert = require('assert'); var request = require('request'); ...
mrprompt/expressjs-api-skel
test/controllers/UsuarioControllerTest.js
JavaScript
mit
2,672
#!/usr/bin/env ts-node import * as Path from 'path' import * as Fs from 'fs' import Ajv, { ErrorObject } from 'ajv' function handleError(error: string) { console.error(error) process.exit(-1) } function formatErrors(errors: ErrorObject[]): string { return errors .map(error => { const { dataPath, mes...
desktop/desktop
script/validate-changelog.ts
TypeScript
mit
1,979
<?php namespace TheScienceTour\DocumentBundle\Document; use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB; use Doctrine\Bundle\MongoDBBundle\Validator\Constraints\Unique as MongoDBUnique; use Gedmo\Mapping\Annotation as Gedmo; use Symfony\Component\Validator\Constraints as Assert; use TheScienceTour\MediaBundle\...
assemblee-virtuelle/science-tour
src/TheScienceTour/DocumentBundle/Document/Document.php
PHP
mit
1,916
define([ ], function () { 'use strict'; return function (req, res, next) { function filterParams(req, action) { var paramsWhitelist = action.params, whitelistParam, paramValue, type, filteredParams = {}; // check a...
KillerCodeMonkey/handmade
middleware/validation.js
JavaScript
mit
2,697
module Em module Systemcommand VERSION = "2.0.10" end end
leoc/em-systemcommand
lib/em-systemcommand/version.rb
Ruby
mit
66
use std::env; use std::process; use minigrep::Config; fn main() { let args: Vec<String> = env::args().collect(); let config = Config::new(&args).unwrap_or_else(|err| { eprintln!("Problem parsing arguments: {}", err); process::exit(1); }); if let Err(e) = minigrep::run(config) { ...
jekhokie/scriptbox
rust--learnings/12/minigrep/src/main.rs
Rust
mit
396
// Copyright (c) 2018 Slack Technologies, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #ifndef SHELL_COMMON_GIN_UTIL_H_ #define SHELL_COMMON_GIN_UTIL_H_ #include "gin/converter.h" #include "gin/function_template.h" namespace gin_util { template <typename T...
the-ress/electron
shell/common/gin_util.h
C
mit
829
{% extends "images/base.html" %} {% block content %} <h2>{{ resource }}</h2> <p><strong>Tags: </strong> {% for tag in resource.tags.all %} <a href={% url 'tag' tag %}>{{ tag }}</a> {% endfor %} <p><strong>Similar Images: </strong> {% for resource in resource.tags.similar_objects %} <a href="{% url 'resource' resourc...
bdunnette/pima
images/templates/images/resource.html
HTML
mit
435
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - DoCoMo/2.0 P90liS(c100;TB;W20H10)</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> <link href="https://fonts.googleap...
ThaDafinser/UserAgentParserComparison
v5/user-agent-detail/ba/2e/ba2efb11-d9a9-4489-8474-c5e519c9d172.html
HTML
mit
46,068
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using SourceSchemaParser.DOTA2; using System; using System.Collections.Generic; using System.Reflection; namespace SourceSchemaParser.JsonConverters { internal class SchemaItemToDotaHeroJsonConverter : JsonConverter { public override void WriteJson(Js...
babelshift/SourceSchemaParser
src/SourceSchemaParser/JsonConverters/SchemaItemToDotaHeroJsonConverter.cs
C#
mit
1,860
<!doctype html> <html lang="en-gb"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="robots" content="noindex, nofollow"> <!--[if lt IE 9]> <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script> ...
suffolklibraries/sljekyll
_site/new-suggestions/young-adult/wing-jones-by-katherine-webber/index.html
HTML
mit
21,399
Express ES6 boilerplate ======================= [![Code Climate](https://codeclimate.com/github/RomanovSci/express-es6-boilerplate/badges/gpa.svg)](https://codeclimate.com/github/RomanovSci/express-es6-boilerplate) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/RomanovSci/express-es6-boilerplate/badges/qual...
RomanovSci/express-es6-boilerplate
README.md
Markdown
mit
803
--- layout: page title: Sanchez Township Air Trade Fair date: 2016-05-24 author: Pamela Simon tags: weekly links, java status: published summary: Fusce sem justo, feugiat in commodo eu, vulputate at augue. banner: images/banner/meeting-01.jpg booking: startDate: 10/02/2016 endDate: 10/07/2016 ctyhocn: ALOIAHX g...
KlishGroup/prose-pogs
pogs/A/ALOIAHX/STATF/index.md
Markdown
mit
2,950
<?php /* * This file is part of the Quantum Unit Solutions development package. * * (c) Quantum Unit Solutions <http://github.com/dmeikle/> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Gossamer\Tehuti\Routing; ...
dmeikle/tehuti
src/framework/Gossamer/Tehuti/Routing/ServerContext.php
PHP
mit
417
<html> <head> <meta content="HTML Tidy for HTML5 for Linux version 5.2.0" name="generator"/> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> <meta content="Describes the xSemaphoreCreateBinaryStatic() RTOS API function which is part of the RTOS semaphore API source code function set....
hmbar/epd-embedded-web
freertos/xSemaphoreCreateBinaryStatic.html
HTML
mit
19,919
require 'test_helper' class ActsAsSurveyTest < ActiveSupport::TestCase # Called before every test method runs. Can be used # to set up fixture information. def setup # Do nothing end # Called after every test method runs. Can be used to tear # down fixture information. def teardown # Do nothin...
globalimpact/surveyable
test/acts_as_survey_test.rb
Ruby
mit
397
<?php /** Protein Engineering Analysis Tool Structure Analysis (PEATSA) Copyright (C) 2010 Michael Johnston & Jens Erik Nielsen Author: Michael Johnston This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free S...
dmnfarrell/peat
PEATSA/WebApp/Interface/Pages/JSGetCalculationData.php
PHP
mit
3,887
from django.contrib import admin # Register your models here. from rcps.models import * class IngredientToRecipeInline(admin.TabularInline): model = Ingredient.recipes.through verbose_name = 'Ингредиент' verbose_name_plural = 'Ингредиенты' class EquipmentInline(admin.TabularInline): model = Equipme...
ADKosm/Recipes
Recipes/rcps/admin.py
Python
mit
1,503
var gulp = require('gulp'), webserver = require('gulp-webserver'), htmlreplace = require('gulp-html-replace'); //gulp.task('default', function() { // gulp.run('watcher', 'webserver'); //}); gulp.task('webserver', function() { gulp.src('build') .pipe(webserver({ livereload: true ...
julia-reutskaya/julia.reutskaya.tasks.github.com
gulpfile.js
JavaScript
mit
1,333
# Stop and remove swift containers and image if any docker stop SWIFT_AIO docker rm SWIFT_AIO docker rm SWIFT_DATA #docker rmi swift-aio
vtfuture/SwiftClient
tools/docker-swift/down.ps1
PowerShell
mit
139
<!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...
TabitaPL/Pasjans
Angel-3.2/Code/Angel/Libraries/FTGL/unix/docs/html/FTOutlineGlyph_8cpp_source.html
HTML
mit
9,853
# 2017-11-08 - Release 0.1.7 - Add passing in agent user id and group id # 2017-10-09 - Release 0.1.6 - Change resource name for group to avoid collisions - Add ulimit settings to init template # 2017-05-17 - Release 0.1.2 - merge PR from [Jess Reynolds](https://github.com/knuedge/bamboo_agent/pull/1) - add ability t...
knuedge/bamboo_agent
CHANGELOG.md
Markdown
mit
400
/// <reference types="chai" /> declare module "chai-bytes" { function chaiBytes(chai: any, utils: any): void; export = chaiBytes; } declare namespace Chai { // For BDD API interface Assertion extends LanguageChains, NumericComparison, TypeComparison { equalBytes(expected: string | Array<...
MiSchroe/klf-200-api
types/chai-bytes/index.d.ts
TypeScript
mit
364
<?php namespace TemperatureBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Equipement * * @ORM\Table(name="equipement") * @ORM\Entity(repositoryClass="TemperatureBundle\Repository\EquipementRepository") */ class Equipement { /** * @var int * * @ORM\Column(name="id", type="integer") ...
aabasse/otacos
src/TemperatureBundle/Entity/Equipement.php
PHP
mit
2,286
<?php namespace AppBundle\Admin; use Sonata\UserBundle\Admin\Entity\UserAdmin as BaseUserAdmin; class UserAdmin extends BaseUserAdmin { /** * {@inheritdoc} */ protected $datagridValues = array( '_page' => 1, // display the first page (default = 1) '_sort_order' => 'ASC', ...
sgomez/sf2-behat-skel
src/AppBundle/Admin/UserAdmin.php
PHP
mit
427
using System; using System.IO; using Aspose.Pdf; using Aspose.Pdf.Facades; namespace Aspose.Pdf.Examples.CSharp.AsposePDF.Images { public class CGMImageToPDF { public static void Run() { // ExStart:CGMImageToPDF // The path to the documents directory. string ...
aspose-pdf/Aspose.Pdf-for-.NET
Examples/CSharp/AsposePDF/Images/CGMImageToPDF.cs
C#
mit
776
<head> <meta charset="utf-8"> <title>{% if page.title %}{{ page.title }} |{% endif %} {{ site.theme.title }}</title> <meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.theme.description }}{% endif %}"> <meta name="viewport" conten...
vnctaing/blog
_includes/head.html
HTML
mit
1,719
#!/usr/bin/perl package GrabzItPDFOptions; use GrabzIt::GrabzItBaseOptions; @ISA = qw(GrabzItBaseOptions); sub new { my $class = shift; my $self = GrabzItBaseOptions->new(@_); $self->{"browserWidth"} = 0; $self->{"includeBackground"} = 1; $self->{"pagesize"} = "A4"; $self->{...
GrabzIt/grabzit
perl/GrabzIt/GrabzItPDFOptions.pm
Perl
mit
11,627
#include "HelloWorldScene.h" #include ".\Scene\LevelScene.h" #include ".\Entity\Umbrella.h" #include "SimpleAudioEngine.h" #include ".\Scene\SceneManager.h" USING_NS_CC; Scene* HelloWorld::createScene() { // 'scene' is an autorelease object auto scene = Scene::create(); // 'layer' is an autorelease o...
1452712/DP-Project
Umbrella/Classes/HelloWorldScene.cpp
C++
mit
2,881
module Lesson08 where -- Now let's have some real fun: a two player, online five card stud game, -- with a full betting system. The betting system is actually the biggest -- addition versus what we've done previously, so most of our attention -- will be focused on that. Most of the other code will be very similar -- t...
snoyberg/haskell-impatient-poker-players
src/Lesson08.hs
Haskell
mit
5,286
/** * Created by siddharthsharma on 5/21/16. */ var React = require('react'); var Contact = require('./contact/app-catalog'); var Cart = require('./cart/app-cart'); var Router = require('react-router-component'); var CatalogDetail = require('./product/app-catalogdetail'); var Template = require('./app-template.js');...
hearsid/react-contacts-manager
app/js/components/app.js
JavaScript
mit
772
package com.project.library.utils; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import org.springframework.stereotype.Component; @Component public class MyDateUtil { public Date calculateDate(String currentDate...
rtashev/University-Projects
library/webapplibraryproject/src/main/java/com/project/library/utils/MyDateUtil.java
Java
mit
667
<?php /* * Sendanor SimpleREST PHP Framework * Copyright 2017-2020 Jaakko-Heikki Heusala <jheusala@iki.fi> */ namespace SimpleREST\Legacy\Database; /* Security check */ if(!defined('REST_PHP')) { die("Direct access not permitted\n"); } /** Database interface */ interface iDatabaseTable { public function __const...
sendanor/php-rest
lib/SimpleREST/Legacy/Database/iDatabaseTable.interface.php
PHP
mit
955
<?php /* * This file is part of Laravel HTTP Adapter. * * (c) Hidde Beydals <hello@hidde.co>, Mark Redeman * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace HiddeCo\HttpAdapter\Adapters; use Symfony\Component\EventDispat...
hiddeco/laravel-http-adapter
src/Adapters/AbstractEventDispatcher.php
PHP
mit
4,428
class UsersController < ApplicationController load_and_authorize_resource def index end def update if params[:admins].present? @new_admins = User.not_admins.where(:id => params[:admins]) @new_admins.map {|user| user.admin = true} @no_longer_admins = User.admins.where('id NOT IN (?)', par...
belighted/bennett
app/controllers/users_controller.rb
Ruby
mit
945
"use strict"; var gulp = require('gulp'); var clean = require('gulp-clean'); var cleanTask = function() { return gulp.src('dist', { read: false }) .pipe(clean()); }; gulp.task('clean', cleanTask); module.exports = cleanTask;
troykinsella/junkie
tasks/clean.js
JavaScript
mit
233
scripts ======= Some scripts
gdelpierre/scripts
README.md
Markdown
mit
30
<!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <link rel="apple-touch-icon" sizes="76x76" href="assets/img/apple-icon.png"> <link rel="icon" type="image/png" href="assets/img/favicon.png"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <title>Material Kit by Creative Tim</title...
zhouxinyong/code-demo
demoHouse/material_kit/index.html
HTML
mit
58,219
import os class Config(object): DEBUG = False TESTING = False CSRF_ENABLED = True SECRET_KEY = "super_secret_key" SQLALCHEMY_DATABASE_URI = os.environ['DATABASE_URL'] class ProductionConfig(Config): DEBUG = False SECRET_KEY = os.environ['SECRET_KEY'] class DevelopmentConfig(Config): D...
jiangtyd/crewviewer
project/config.py
Python
mit
404
<div id="about"> <header class="twelve columns"> <h1>My background</h1> <p class="opening">I'm a programmer, entrepreneur, speaker, designer, and trail runner among other things. As an engineer I've worked across the stack in backend, web, and mobile. I live and work in Los Angeles and studied at UC...
aleross/alexross.codes
src/html/pages/about.html
HTML
mit
2,831
var scroller = angular.module("scroller", ["ngTouch", "angular-websql"]);
jouk0/Scroller
js/index.js
JavaScript
mit
73
/****************************************************************************** QtAV: Multimedia framework based on Qt and FFmpeg Copyright (C) 2012-2016 Wang Bin <wbsecg1@gmail.com> * This file is part of QtAV (from 2014) This library is free software; you can redistribute it and/or modify it unde...
fuyanzhi1234/DevelopQt
QtAV-master/src/filter/LibAVFilter.cpp
C++
mit
17,637
r""" Create MapServer class diagrams Requires https://graphviz.gitlab.io/_pages/Download/Download_windows.html https://stackoverflow.com/questions/1494492/graphviz-how-to-go-from-dot-to-a-graph For DOT languge see http://www.graphviz.org/doc/info/attrs.html cd C:\Program Files (x86)\Graphviz2.38\bin dot -Tpng D:\Git...
geographika/mappyfile
docs/scripts/class_diagrams.py
Python
mit
3,102
import { get_definition } from './../base'; export const push_link = ( oid, linkurl, linkname, onmenu='true', instance_name, when, additional_args, description ) => get_definition({ oid, linkurl, linkname, onmenu, instance_name }, { label: 'VersionOne - P...
walkerrandolphsmith/VersionOne.JavaScript.PipelineBuilder
src/plugins/v1/push_link.js
JavaScript
mit
457
#region License /* The MIT License * * Copyright (c) 2011 Red Badger Consulting * * 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 limitatio...
redbadger/XPF
XPF/RedBadger.Xpf/Graphics/ITexture.cs
C#
mit
1,630
<?php namespace fufudao\base; use yii\behaviors\TimestampBehavior; //use yii\behaviors\AttributeBehavior; use yii\db\ActiveRecord as ar; use yii\db\Expression; class ActiveRecord extends ar { public function behaviors() { return [ 'timestamp' => [ 'class' => TimestampB...
fufudao/yii2-base
base/ActiveRecord.php
PHP
mit
1,074
SET DEFINE OFF; CREATE SEQUENCE AFW_07_AUDIT_STRUC_APLIC_SEQ START WITH 1 MAXVALUE 9999999999999999999999999999 MINVALUE 1 NOCYCLE CACHE 20 NOORDER /
lgcarrier/APEXFramework
5.2.3/Database/Sequences/AFW_07_AUDIT_STRUC_APLIC_SEQ.sql
SQL
mit
162
# # Cookbook Name:: dokku # Spec:: plugins # # Copyright (c) 2015 Nick Charlton, MIT licensed. require "spec_helper" describe "dokku::plugins" do context "when all attributes are default" do let(:chef_run) do runner = ChefSpec::ServerRunner.new runner.converge(described_recipe) end before d...
nickcharlton/dokku-cookbook
spec/unit/recipes/plugins_spec.rb
Ruby
mit
2,604
'use strict'; // Load the application's configuration const config = require('../server/config'); const url = config.express_host + '/api'; // Required modules const async = require('async'); const colors = require('colors'); const request = require('request'); // Counter for the Measurements let counter = 1; /...
mrunde/WoT-Vertical-Approach
server/demo/demoSensorController.js
JavaScript
mit
5,051
import React from 'react' import {HOC, Link} from 'cerebral-view-react' import PageProgress from '../PageProgress' // View class AutoReload extends React.Component { constructor (props) { super(props) this.state = { secondsElapsed: 0 } this.onInterval = this.onInterval.bind(this) } compone...
burning-duck/twibral
src/ui/components/AutoReload/index.js
JavaScript
mit
3,914
#!/bin/bash #SBATCH --partition=mono #SBATCH --ntasks=1 #SBATCH --time=4-0:00 #SBATCH --mem-per-cpu=8000 #SBATCH -J Deep-RBM_DBM_4_inc_bin_PARAL_base #SBATCH -e Deep-RBM_DBM_4_inc_bin_PARAL_base.err.txt #SBATCH -o Deep-RBM_DBM_4_inc_bin_PARAL_base.out.txt source /etc/profile.modules module load gcc module load matla...
aciditeam/matlab-ts
jobs/deepJobs_RBM_DBM_4_inc_bin_PARAL_base.sh
Shell
mit
619
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Task Management System</title> ...
rudiliu/task_management
application/views/frame/header_view.php
PHP
mit
2,394
<!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/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> <title>Test U...
johnroberts/thecity-admin-php
test/test-users-roles-demote.php
PHP
mit
861
# coffeehaus A coffeescript shop for JVM locals. ## /!\ Extraction in progress This library is the extraction of the coffeescript compiler used in [coffeescripted-sbt](https://github.com/softprops/coffeescripted-sbt) for use as a standalone library ## install (todo) ## usage This library provides scala interface...
softprops/coffeehaus
README.md
Markdown
mit
1,727
# Author: John Elkins <john.elkins@yahoo.com> # License: MIT <LICENSE> from common import * if len(sys.argv) < 2: log('ERROR output directory is required') time.sleep(3) exit() # setup the output directory, create it if needed output_dir = sys.argv[1] if not os.path.exists(output_dir): os.makedirs(ou...
soulfx/gmusic-playlist
ExportLists.py
Python
mit
3,890
require "./test/test_helper" require "pinker/rule" include Pinker regarding "remember helps gather up things that get returned if the rule is valid." do class Request def initialize(path_info, query_string=nil) @path_info = path_info @query_string = query_string end end test "stick things ...
sconover/pinker
test/remember_test.rb
Ruby
mit
3,447
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-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. // // Why base-58 instead of standard base-64 encoding? // - Don't want 0OIl char...
basecoin/basecoin
src/base58.h
C
mit
13,111
/* Client-side router settings */ Router.configure({ layoutTemplate:"layout", notFoundTemplate:"page_not_found", loadingTemplate:"loading" }); Router.route("/", { name:"home", template:"home" }); Router.route("/profile", { name:"profile", template:"profile" }); Router.route("/admin", { name:"admin",...
RadioRevolt/DABelFish
client/router.js
JavaScript
mit
494
/*--------------------------------------------------------------------------------- Name : amixer.c Author : Marvin Raaijmakers Description : Plugin for keyTouch that can change the volume (using amixer). Date of last change: 24-Sep-2006 History : 24-Sep-2006 Added two new pl...
paulmadore/G-Keymap
Reference Code/keymap/keytouch-2.2.4/plugins/amixer.c
C
mit
13,098
<?php namespace S327at\L51blog\Models; use Illuminate\Database\Eloquent\Model; class Group extends Model { }
s327at/l51blog
src/Models/Group.php
PHP
mit
114
# Dokumenttien laatiminen Tämän ohjesivun sisältö: - Dokumentoinnin periaatteet - Uuden sivudokumentin laatiminen, muokkaaminen ja päivittäminen - Taulukoiden tekeminen piazzalla - Uuden tiedostodokumentin laatiminen, tiedoston nostaminen piazzalle, muokkaaminen ja päivittäminen - Dokumenttien linkitys - Kuvan liitt...
netmiller/piazzadoc
sivut/dokumentin_tekeminen.md
Markdown
mit
12,723
package com.calebmeyer.bettercrafting.creativetab; import com.calebmeyer.bettercrafting.constants.Project; import com.calebmeyer.bettercrafting.initialization.ModItems; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; public class CreativeTabBCT { public static final CreativeTabs BE...
calebmeyer/Better-Crafting-Tables
src/main/java/com/calebmeyer/bettercrafting/creativetab/CreativeTabBCT.java
Java
mit
907
//Change class of "Home" and "About" function setActive() { document.getElementById("about").className += "active" document.getElementById("home").setAttribute('class','no') }
losko/CodeNameSite
public/js/helper.js
JavaScript
mit
184
<?php class PostModel extends CI_Model { public $id; public $title; public $content; public $date; public $author; public $upvotes = 0; public $downvotes = 0; public $voters; public function __construct() { parent::__construct(); } public function GetAll() ...
vonderborch/CS483
final/application/models/PostModel.php
PHP
mit
1,606
--- title: 'PB &#038; Homemade J' author: lbjay layout: post permalink: /2007/10/05/pb-homemade-j/ categories: - "What's for Lunch" --- <abbr class="unapi-id" title=""><!-- &nbsp; --></abbr> <div style="float: right; margin-left: 10px; margin-bottom: 10px;"> <a href="http://www.flickr.com/photos/37849137@N00/1490...
lbjay/lbjay.github.io
_posts/2007-10-05-pb-homemade-j.md
Markdown
mit
1,285
--- layout: default --- <h2>{{ page.title }}</h2> <div class="post"> {{ content }} </div>
jiko/stopabadcure
_layouts/post.html
HTML
mit
90
body { color: #ffffff; font-family: Monospace, sans-serif; font-size: 13px; text-align: center; font-weight: bold; background-color: #000000; margin: 0; overflow: hidden; cursor: none; -webkit-touch-callout: none; /* iOS Safari */ -webkit-user-select: none; /* Chrome/Safari...
Devoxx4KidsDE/workshop-maze-vr
app/css/style.css
CSS
mit
1,806
<html><body> <h4>Windows 10 x64 (18362.329)</h4><br> <h2>_CM_UOW_SET_VALUE_KEY_DATA</h2> <font face="arial"> +0x000 PreparedCell : Uint4B<br> +0x004 OldValueCell : Uint4B<br> +0x008 NameLength : Uint2B<br> +0x00c DataSize : Uint4B<br> </font></body></html>
epikcraw/ggool
public/Windows 10 x64 (18362.329)/_CM_UOW_SET_VALUE_KEY_DATA.html
HTML
mit
296
/// <reference types="xrm" /> export declare function findIndex(handlers: Xrm.Events.ContextSensitiveHandler[], handler: Xrm.Events.ContextSensitiveHandler): number;
camelCaseDave/xrm-mock
dist/xrm-mock-generator/helpers/array.helper.d.ts
TypeScript
mit
166
<?php namespace Vilks\DataObject; use Vilks\DataObject\Exception\DirectPropertySetException; use Vilks\DataObject\Exception\PropertyNotFoundException; use Vilks\DataObject\Exception\PropertyValidationFailedException; use Vilks\DataObject\Exception\WrongEvolutionInheritanceException; use Vilks\DataObject\Validator\Data...
igrizzli/data-object
src/Vilks/DataObject/DataObject.php
PHP
mit
5,163
import _plotly_utils.basevalidators class ShowexponentValidator(_plotly_utils.basevalidators.EnumeratedValidator): def __init__( self, plotly_name="showexponent", parent_name="scatterpolar.marker.colorbar", **kwargs ): super(ShowexponentValidator, self).__init__( ...
plotly/plotly.py
packages/python/plotly/plotly/validators/scatterpolar/marker/colorbar/_showexponent.py
Python
mit
554
<?php namespace Midnight\Crawler\Plugin\TestData; class MuryoTestData extends AbstractTestData { /** * @var string **/ protected $rss_name = 'muryo.xml'; /** * @var array **/ protected $html_paths = array( 'muryo/71340.html', 'muryo/71370.html', 'muryo/7...
togusafish/app2641-_-AdultMidnight
src/Midnight/Crawler/Plugin/TestData/MuryoTestData.php
PHP
mit
397
using System; using Argus.Extensions; namespace Argus.Data { /// <summary> /// Contains a string name/value pair seperated by an equals sign. The values can be set via the properties or by passing in a /// delimited string. E.g. FirstName=Blake. /// </summary> /// <remarks></remarks> public...
blakepell/Argus
Argus/Argus.Core/Data/Parameter.cs
C#
mit
3,083
__author__ = 'miko' from Tkinter import Frame class GameState(Frame): def __init__(self, *args, **kwargs): self.stateName = kwargs["stateName"] self.root = args[0] self.id = kwargs["id"] Frame.__init__(self, self.root.mainWindow) self.config( background="gold" ) self.place(relwidth=1, relheight=1)
FSI-HochschuleTrier/hacker-jeopardy
de/hochschuletrier/jpy/states/GameState.py
Python
mit
319
<!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_24) on Fri Feb 22 14:06:12 EET 2013 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> javalabra.chess.core.impl.state (...
nfrolov/useless-chess
javadoc/javalabra/chess/core/impl/state/package-summary.html
HTML
mit
7,218
<!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="./4ac3f45b236dfce453c7b08f66748497144da944c805dd71a7d9c6d6ff5efcff.html">Teleport</a> <hr> ...
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/596deaa0ccc1e29ccba1a93b711a57943231695e12a907a1b27bc4e377c328de.html
HTML
mit
550
from csacompendium.csa_practice.models import PracticeLevel from csacompendium.utils.pagination import APILimitOffsetPagination from csacompendium.utils.permissions import IsOwnerOrReadOnly from csacompendium.utils.viewsutils import DetailViewUpdateDelete, CreateAPIViewHook from rest_framework.filters import DjangoFilt...
nkoech/csacompendium
csacompendium/csa_practice/api/practicelevel/practicelevelviews.py
Python
mit
2,046
export const ADD_COCKTAIL = 'ADD_COCKTAIL'; export const LOAD_COCKTAILS = 'LOAD_COCKTAILS'; export const ADD_SPIRIT = 'ADD_SPIRIT'; export const REMOVE_SPIRIT = 'REMOVE_SPIRIT'; export const UPDATE_HUE = 'UPDATE_HUE';
Jack95uk/HappyHour
src/actions/types.js
JavaScript
mit
218
#include <algorithm> #include <iostream> #include "RustyFist/DrawMe.h" #include "RustyFist/TouchSink.h" #include "OpenGLLayer.h" using namespace cocos2d; using namespace std; OpenGLLayer::OpenGLLayer() { } OpenGLLayer::~OpenGLLayer() { } bool OpenGLLayer::init() { return Layer::init(); } cocos2d::Scene* OpenGLLay...
Ingener74/Lost-Foot
RustyFist/src/OpenGLLayer.cpp
C++
mit
2,225
// // PASConnectionTransformation.h // ximber // // Created by Paul Samuels on 15/09/2014. // Copyright (c) 2014 Paul Samuels. All rights reserved. // @import Foundation; /** * The connection transformation is a basic data structure that holds a block that is * executed on each node found at the xpath */ @inte...
paulsamuels/ximber
ximber/Models/PASConnectionTransformation.h
C
mit
639
/* icon */ .ico-file{width: 32px;height: 32px;display: inline-block;vertical-align: middle;background: url(../img/spr-icon.png) -384px 0 no-repeat;} .ico-bt-file{background-position: 0 0} .ico-bt-link{background-position: -32px 0} .ico-chm{background-position: -64px 0} .ico-xls{background-position: -96px 0} .ico-...
xunleif2e/vue-lazy-component
demo/assets/css/icon.css
CSS
mit
5,332
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ #include "tcp_socket.h" using namespace easynet; //TCPSocket 已连接的服务器 TCPSocket::TCPSocket(EPOLLSvrPtr s) { socket_handler_...
PickMio/NetEase
olds/network/src/tcp_socket.cc
C++
mit
5,843
{% extends 'base.html' %} {% block content %} <div class="row"> <div class="col-md-12"> <form action="/login" method="post"> {{ form.csrf_token }} {{ form.next(value=next) }} <div class="form-group"> {{ form.username.label }} {{ form.usern...
douglasstarnes/vfcake2015-complete
vfcake2015app/templates/login.html
HTML
mit
971
using Android.OS; using Android.Text; using Android.Util; using REKT.Graphics; using REKT.Graphics.Unsafe; using REKT.DI; using SkiaSharp; using System; using System.Text; using D = System.Diagnostics.Debug; using NativeActivity = Android.App.Activity; using NativeBitmap = Android.Graphics.Bitmap; using NativeBitmapFac...
marzer/REKT
REKT.Droid/Extensions.cs
C#
mit
16,165
// animating the scroll effect $('.screenshots').on('click', function(e){ e.preventDefault(); $("html, body").animate({ scrollTop: "950px", duration: 500 }); });
PersonifyJS/PersonifyApp
app/public/javascripts/application.js
JavaScript
mit
167
#include "strm.h" #include <math.h> static int num_plus(strm_stream* strm, int argc, strm_value* args, strm_value* ret) { strm_value x, y; strm_get_args(strm, argc, args, "NN", &x, &y); if (strm_int_p(x) && strm_int_p(y)) { *ret = strm_int_value(strm_value_int(x)+strm_value_int(y)); return STRM_OK; } ...
matz/streem
src/number.c
C
mit
4,205
<html> <head> </head> <body> <h2> Their Antiquity </h2> <span class="oldenglish"> Who </span> <span class="oldenglish"> were </span> <span class="oldenglish"> the </span> originall <span class="oldenglish"> writers </span> <span class="oldenglish"> of </span> <span class...
charlesreid1/wordswordswords
etymology/html/leviathan465.html
HTML
mit
4,204