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
def get_related_fields(model): pass def get_table_size(model): pass def get_row_size(model): pass
unbracketed/snowbird
snowbird/analyzer.py
Python
mit
112
<!DOCTYPE html> <html> <head> <title>GrooveStomp</title> <link rel="stylesheet" type="text/css" href="/css/style.css"> </head> <body> <div id="navigation"> <ul> <li><a href="/">/home</a></li> <li><a href="/tags">/post_tags</a></li> <li><a href="/projects">/projects</...
GrooveStomp/groovestomp.github.io
tags/emulation/index.html
HTML
mit
870
<!--partial--> <style> /* SVG styles */ .page-container .clickme.clicked svg #circle-group #circle-one{ stroke:rgb(0,113,151); } .page-container .clickme.clicked svg #circle-group #circle-two{ stroke:rgb(0,113,151); } .page-container .clickme.clicked svg #circle-group #circle-plus{ fill:rgb(0,113,...
lorier/emag
app/partials/page5.html
HTML
mit
6,365
/***************************************************************************** * Z-Wave enabled Radiation, Temperature and Humidity Monitor with LCD Display ****************************************************************************** * 24 hour data logging class. It logs integer values in 3 different intervals: * -...
Drolla/ZUNO_RM80_RadiationMonitor
DataLog24H.cpp
C++
mit
3,536
// 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. #include <map> #include <openssl/obj_mac.h> #if (OPENSSL_VERSION_NUMBER < 0x10100000L) #include <openssl/ecdsa.h> #endif #in...
ghostlander/Orbitcoin
src/key.cpp
C++
mit
14,921
import os, requests, tempfile, time, webbrowser import lacuna.bc import lacuna.exceptions as err ### Dev notes: ### The tempfile containing the captcha image is not deleted until solveit() ### has been called. ### ### Allowing the tempfile to delete itself (delete=True during tempfile ### creation), or using the...
tmtowtdi/MontyLacuna
lib/lacuna/captcha.py
Python
mit
5,055
all: tex view tex: pdflatex solution.tex view: gnome-open solution.pdf
camilstaps/OO1415
Week9 Webshop/docs/Makefile
Makefile
mit
74
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ // ESLint configuration // http://eslint.org/docs/user-...
bmatthews/haze-lea
.eslintrc.js
JavaScript
mit
2,454
using Lib; using static XJS.Nodes; public partial class XJS { /// <param name="tok"> Token Stream to read from </param> /// <returns> Program node built from tokenizer stream </returns> /// <summary> /// <para> Program Nodes hold: </para> /// <para> import-export? - List of imports and exports </para> ///...
ninjapretzel/XtoJSON
XJS/XJSParser.cs
C#
mit
30,081
function getShortMessages(messages) { return messages.map(function(m) { return m.message; }).filter(function(message) { return message.length < 50; }) } module.exports = getShortMessages;
gothy/functional-javascript-workshop
task4.js
JavaScript
mit
197
'use strict'; angular.module('users').controller('AuthenticationController', ['$scope', '$http', '$location', 'Authentication', function($scope, $http, $location, Authentication) { $scope.authentication = Authentication; // If user is signed in then redirect back home if ($scope.authentication.user) $location....
ShreyKumar/MagicFlow
public/modules/users/controllers/authentication.client.controller.js
JavaScript
mit
1,113
/* ======================================================================== * DOM-based Routing * Based on http://goo.gl/EUTi53 by Paul Irish * * Only fires on body classes that match. If a body class contains a dash, * replace the dash with an underscore when adding it to the object below. * * .noConflict() * ...
erikkowalski/Horst-Buchanan-Architects
assets/scripts/main.js
JavaScript
mit
2,836
# pylint: disable=C0111,R0903 """Shows that debug is enabled""" import platform import core.module import core.widget import core.decorators class Module(core.module.Module): @core.decorators.every(minutes=60) def __init__(self, config, theme): super().__init__(config, theme, core.widget.Widget(sel...
tobi-wan-kenobi/bumblebee-status
bumblebee_status/modules/core/debug.py
Python
mit
503
package md.frolov.legume.client.gin; import javax.inject.Inject; import javax.inject.Singleton; import com.google.gwt.activity.shared.ActivityManager; import com.google.gwt.activity.shared.ActivityMapper; import com.google.gwt.inject.client.AbstractGinModule; import com.google.gwt.place.shared.PlaceController; import...
ivanfrolovmd/legume
legume/src/main/java/md/frolov/legume/client/gin/MVPModule.java
Java
mit
1,539
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>...
BuzzAcademy/idioms-moe-unformatted-data
all-data/14000-14999/14197-22.html
HTML
mit
1,330
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>...
BuzzAcademy/idioms-moe-unformatted-data
all-data/21000-21999/21013-22.html
HTML
mit
1,499
from ctypes import c_float, cast, POINTER import numpy as np import OpenGL.GL as gl import openvr from openvr.gl_renderer import OpenVrFramebuffer as OpenVRFramebuffer from openvr.gl_renderer import matrixForOpenVrMatrix as matrixForOpenVRMatrix from openvr.tracked_devices_actor import TrackedDevicesActor import g...
jzitelli/python-gltf-experiments
OpenVRRenderer.py
Python
mit
4,971
// Type definitions for Angular Protractor 1.5.0 // Project: https://github.com/angular/protractor // Definitions by: Bill Armstrong <https://github.com/BillArmstrong> // Definitions: https://github.com/borisyankov/DefinitelyTyped /// <reference path="../selenium-webdriver/selenium-webdriver.d.ts" /> declare module p...
RathaR/protractor-page-object
src/typings/angular-protractor/angular-protractor.d.ts
TypeScript
mit
69,732
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.MarkdownLite { using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; public class...
LordZoltan/docfx
src/Microsoft.DocAsCode.MarkdownLite/Tables/MarkdownNpTableBlockRule.cs
C#
mit
4,398
//{block name="backend/connect/store/import/local_products"} Ext.define('Shopware.apps.Connect.store.import.LocalProducts', { extend : 'Ext.data.Store', autoLoad: false, pageSize: 10, fields: [ { name: 'Article_id', type: 'integer' }, { name: 'Detail_number', type: 'string' }, ...
shopware/SwagConnect
Views/backend/connect/store/import/local_products.js
JavaScript
mit
969
import Microcosm from 'microcosm' describe('History node children', function() { const action = n => n it('can determine children', function() { const repo = new Microcosm() const a = repo.append(action) const b = repo.append(action) repo.checkout(a) const c = repo.append(action) expec...
vigetlabs/microcosm
test/unit/history/children.test.js
JavaScript
mit
1,022
\n static inline void mapping_set_error(struct address_space *mapping, int error) static inline void mapping_set_unevictable(struct address_space *mapping) static inline void mapping_clear_unevictable(struct address_space *mapping) static inline int mapping_unevictable(struct address_space *mapping) static inline void...
liker12134/my-kernel-dev-environment
code-readpad/kernel-schema/include_linux_pagemap.h.h
C
mit
5,473
package org.simpleflatmapper.util; public interface CheckedConsumer<T> { void accept(T t) throws Exception; //IFJAVA8_START default Consumer<T> toConsumer() { return t -> { try { accept(t); } catch (Exception e) { ErrorHelper.rethrow(e); ...
arnaudroger/SimpleFlatMapper
sfm-util/src/main/java/org/simpleflatmapper/util/CheckedConsumer.java
Java
mit
483
__author__ = 'shinyorke_mbp'
Shinichi-Nakagawa/xp2015_baseball_tools
service/__init__.py
Python
mit
29
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ErrlockConsole")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("ErrlockConsole")] [assembly: AssemblyCopyright("Copyright © 2015")] [assembl...
segrived/Errlock
Errlock.Console/Properties/AssemblyInfo.cs
C#
mit
561
// The algorithm used to determine whether a regexp can appear at a // given point in the program is loosely based on sweet.js' approach. // See https://github.com/mozilla/sweet.js/wiki/design import {Parser} from "./state" import {types as tt} from "./tokentype" import {lineBreak} from "./whitespace" export class To...
Berkmann18/Essencejs
1.0/node_modules/eslint/node_modules/espree/node_modules/acorn-jsx/node_modules/acorn/src/tokencontext.js
JavaScript
mit
3,109
from django.conf.urls import patterns, include, url from django.conf import settings from django.conf.urls.static import static from django.contrib import admin # not sure about line 7 admin.autodiscover() urlpatterns = patterns('', url(r'^admin/', include(admin.site.urls)), url(r'^dropzone-drag-drop/$', inc...
vdmann/cse-360-image-hosting-website
src/mvp_landing/urls.py
Python
mit
1,288
title: Background Images in React Native --- A [common question][1] amongst React Native developers is how to put a background image on a view. On the web, it’s a piece of cake: ``` <div style={{ backgroundImage: 'url(/my-image.png)' }}>...</div> ``` In React Native, there’s no `background-image` tag; instead, the `...
thekevinscott/Hero-test
source/background-images/index.md
Markdown
mit
4,682
import {eventMixin} from "./event" export class MarkedRange { constructor(from, to, options) { this.options = options || {} this.from = from this.to = to } clear() { this.signal("removed", this.from) this.from = this.to = null } } eventMixin(MarkedRange) class RangeSorter { constructor...
tecnogram888/prosemirror
src/edit/range.js
JavaScript
mit
3,568
<?php namespace App\Http\Controllers; use GuzzleHttp\Client; use GuzzleHttp\Exception\ConnectException; use Illuminate\Http\Request; use Remp\Journal\JournalException; class JournalProxyController extends Controller { private $journalClient; public function __construct(Client $journalClient) { $...
remp2020/remp
Beam/app/Http/Controllers/JournalProxyController.php
PHP
mit
1,374
--- layout: post date: '2016-03-27' title: "SWEET 16 Short Lace One Shoulder Prom Dress In Pink/White" category: SWEET 16 tags: [SWEET 16] --- ### SWEET 16 Short Lace One Shoulder Prom Dress In Pink/White Just **$426.99** ### &nbsp; <a href="https://www.eudances.com/en/sweet-16/2488-short-lace-one-shoulder-prom-dress...
lastgown/lastgown.github.io
_posts/2016-03-27-SWEET-16-Short-Lace-One-Shoulder-Prom-Dress-In-PinkWhite.md
Markdown
mit
1,332
<?php namespace Inferno\Foundation\Repositories; class AbstractRepository implements AbstractInterface { public function getById($id) { return $this->model->where('id', $id)->first(); } public function getAll($limit = 10) { return $this->model->select() ->orderBy('cre...
amitavdevzone/foundation
src/Repositories/AbstractRepository.php
PHP
mit
1,029
<!DOCTYPE html> <html> <head> <!-- Origin Trial Token, feature = WebVR (For Chrome M59+), origin = https://aframe.io, expires = 2017-07-28 --> <meta http-equiv="origin-trial" data-feature="WebVR (For Chrome M59+)" data-expires="2017-07-28" content="ArFv1ZeTwzkhjNE00uAE+XtiQB41fwqG/TqlFMLrepd9sforQSvQE/tgfIbUMYN...
KerPerr/website
node_modules/aframe/gh-pages/index.html
HTML
mit
600
# The set of languages for which implicit dependencies are needed: SET(CMAKE_DEPENDS_LANGUAGES "CXX" ) # The set of files for implicit dependencies of each language: SET(CMAKE_DEPENDS_CHECK_CXX "/Users/darrentsung/Documents/Personal/Coding/funky-terrain-generator/src/main.cpp" "/Users/darrentsung/Documents/Person...
DarrenTsung/ocean-breeze
CMakeFiles/Untitled.dir/DependInfo.cmake
CMake
mit
989
# General controller for the app class ApplicationController < ActionController::Base protect_from_forgery helper_method :current_user_session, :current_user, :admin? private def current_user_session return @current_user_session if defined?(@current_user_session) @current_user_session = UserSession.fi...
CSC322-Grinnell/notifications
app/controllers/application_controller.rb
Ruby
mit
1,465
import { moduleForComponent, test } from 'ember-qunit'; import hbs from 'htmlbars-inline-precompile'; moduleForComponent('receive-for', 'Integration | Component | receive for', { integration: true }); test('it renders', function(assert) { // Set any properties with this.set('myProperty', 'value'); // Handle any...
knownasilya/ember-receive
tests/integration/components/receive-for/component-test.js
JavaScript
mit
665
--- author: miky comments: true date: 2009-01-09 16:18:23+00:00 layout: post slug: pagaria-por-estar-alli title: Pagaría por estar allí categories: day-by-day --- Paseándome por el Maikelnai he descubierto el [post ](http://www.maikelnai.es/2008/10/24/conferencia-de-solvay-1927-la-mayor-aglomeracion-de-genios-de-la-hi...
figarocorso/figarocorso.github.io
_dosidiotas/2009-01-09-pagaria-por-estar-alli.markdown
Markdown
mit
1,299
// Invoke 'strict' JavaScript mode 'use strict'; var app = angular.module('dashboards', ['ngMaterial']); // Create the 'Dashboards' controller angular.module('dashboards').controller('DashboardsController', ['$scope','$http','$q','$mdDialog','$window','$timeout' ,'$routeParams', '$location', 'Authentication', 'Dash...
vibhatha/digitalocean_7
public/dashboards/controllers/dashboards.client.controller.js
JavaScript
mit
177,333
#-- # Copyright (c) 2010-2011 Engine Yard, Inc. # Copyright (c) 2007-2009 Sun Microsystems, Inc. # This source code is available under the MIT license. # See the file LICENSE.txt for details. #++ # This is a fake Rails config/environment file to be used during testing. RAILS_ROOT = ENV['RAILS_ROOT'] RAILS_ENV = ENV['...
atambo/jruby-rack
src/spec/ruby/rails/config/environment.rb
Ruby
mit
764
var process = function (json) { var x = 0, r = Raphael("chart", 2350, 550), labels = {}, textattr = {"font": '9px "Arial"', stroke: "none", fill: "#fff"}, pathes = {}, nmhldr = $("#name")[0], nmhldr2 = $("#name2")[0], lgnd = $("#legend")[0], usrnm = $(...
avoinministerio/avoinministerio
app/assets/javascripts/vote-flow/impact-code.js
JavaScript
mit
5,200
""" The following tests that db connections works properly. Make sure the default configurations match your connection to the database """ import pymysql import warnings warnings.filterwarnings("ignore") from StreamingSQL.db import create_connection, execute_command from StreamingSQL.fonts import Colors, Formats """D...
oshadmon/StreamingSQL
tests/test_db.py
Python
mit
4,584
<?php namespace Likeme\SystemBundle\Controller; use Symfony\Component\HttpFoundation\RedirectResponse; use Likeme\SystemBundle\Extension\GetLinksForImagine; use Likeme\SystemBundle\Entity\Pictures; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configura...
backender/likeme
src/Likeme/SystemBundle/Controller/AfterLoginController.php
PHP
mit
6,441
<?php namespace Bolt\Extension\Leskis\BoltSimpleCommentSystem; use Bolt\Asset\File\JavaScript; use Bolt\Asset\File\Stylesheet; use Bolt\Events\StorageEvent; use Bolt\Events\StorageEvents; use Bolt\Extension\Leskis\BoltSimpleCommentSystem\Controller\CommentController; use Bolt\Extension\Leskis\BoltSimpleCommentSystem\...
nbehier/bolt-simple-comment-system
src/BoltSimpleCommentSystemExtension.php
PHP
mit
12,695
import Vue from 'vue'; import Vuex from 'vuex'; import * as actions from './actions'; import mutations from './mutations'; import state from './state'; Vue.use(Vuex); export default () => new Vuex.Store({ actions, mutations, state, });
stoplightio/gitlabhq
app/assets/javascripts/releases/detail/store/index.js
JavaScript
mit
254
# Contributing to Electron Forge Electron Forge is a community-driven project. As such, we welcome and encourage all sorts of contributions. They include, but are not limited to: - Constructive feedback - [Questions about usage](#questions-about-usage) - [Bug reports / technical issues](#before-opening-bug-reportstec...
electron-userland/electron-forge
CONTRIBUTING.md
Markdown
mit
4,483
from app import app import argparse import os import routes if __name__ == '__main__': parser = argparse.ArgumentParser( description='Run the MightySpring backend server.') parser.add_argument('--debug', '-d', default=True) parser.a...
texuf/myantname
main.py
Python
mit
869
+++ Categories = ["开发工具", "Linux"] Description = "" Tags = ["程序员", "开发工具"] date = "2017-06-15T16:01:02+08:00" title = "优雅的使用 Linux" +++ # 起头 *Linux 是我最喜欢的操作系统之一,平时用的最多的是 CentOS,Linux 的强悍不是我只言片语能描述清楚的,这篇博文将以事件记录的形式随时收集记录我平时所遇到的一些工具、命令、故障等。* # 网络工具包 ## host、nslookup、dig 等 *平时经常用的几个命令 `host`,`nslookup`,`dig` 等,新装的 C...
idevz/idevz.org
content/tools/linux-tools.md
Markdown
mit
3,840
import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import java.io.IOException; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JScrollPane...
tcsiwula/java_code
classes/cs112/Projects/project4/src/MPlayerPanel.java
Java
mit
6,176
def clean_dict_repr(mw): """Produce a repr()-like output of dict mw with ordered keys""" return '{' + \ ', '.join('{k!r}: {v!r}'.format(k=k, v=v) for k, v in sorted(mw.items())) +\ '}'
npilon/planterbox
planterbox/util.py
Python
mit
236
/* * Copyright (c) 2020 Pedro Falcato * This file is part of Onyx, and is released under the terms of the MIT License * check LICENSE at the root directory for more information */ #ifndef _ONYX_CRED_H #define _ONYX_CRED_H #include <string.h> #include <sys/types.h> #include <onyx/groups.h> #include <onyx/rwlock.h>...
heatd/Onyx
kernel/include/onyx/cred.h
C
mit
2,207
<?php namespace Laranix\Auth\Listeners; use Laranix\Auth\Events\Settings; use Laranix\Support\Listeners\Listener; use Illuminate\Auth\Events\Registered as RegisteredEvent; class Registered extends Listener { /** * @var string */ protected $type = 'registration'; /** * Handle event * ...
samanix/laranix
src/Laranix/Auth/Listeners/Registered.php
PHP
mit
521
package com.simple.database.crud.base; import com.simple.database.dao.async.AsyncDAO; import java.util.HashMap; import java.util.Map; /** * 构建查询条件的基础类. * Created by mrsimple on 6/8/16. */ public abstract class BaseSQLBuilder<T> implements Executable { protected AsyncDAO<T> mAsyncDao; // 缓存异步的DAO类,避免重复创建与销...
hehonghui/simpledb
database/src/main/java/com/simple/database/crud/base/BaseSQLBuilder.java
Java
mit
1,025
Chansig/Router -------------- PHP Router for PHP5.4+ Built-in Server See http://php.net/manual/en/features.commandline.webserver.php Works on: - Wordpress - Symfony 2, - Laravel, - phpMyAdmin, - bolt, - etc. ## Features - Serve multiple domains with vhosts configuration - Allow different directory index (app_dev...
Chansig/Router
README.md
Markdown
mit
8,239
/**HEADER******************************************************************** * * Copyright (c) 2008, 2013 Freescale Semiconductor; * All Rights Reserved * * *************************************************************************** * * THIS SOFTWARE IS PROVIDED BY FREESCALE "AS IS" AND ANY EXPRESSED OR * ...
wesleyhunter/centaurian
Examples/Eclipse/FRDM-K64F/K64F_USB_CDC/SDK/usb/usb_core/include/usb_opt.h
C
mit
4,532
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM nsISecretDecoderRing.idl */ #ifndef __gen_nsISecretDecoderRing_h__ #define __gen_nsISecretDecoderRing_h__ #ifndef __gen_nsISupports_h__ #include "nsISupports.h" #endif /* For IDL files that don't want to include root IDL files. */ #ifndef NS_NO_VTABLE #define NS_NO_V...
SrivastavaConsultingGroup/DigitalSignature
Xmlsign/NetscapeUtil/allinclude/nsISecretDecoderRing.h
C
mit
8,045
package core import ( "bytes" "fmt" "github.com/BurntSushi/toml" "io/ioutil" "os" "path/filepath" "regexp" "strconv" "strings" ) type Settings struct { Current string Files []File } type File struct { Path string Prefix string Postfix string IsNumber bool } type Versions struct { Current st...
januswel/yangpao
core/core.go
GO
mit
5,900
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>stdpp: 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.06.1-2.0.5/released/8.7.1+2/stdpp/1.3.0.html
HTML
mit
8,045
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-ssreflect: 1 m 54 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.mi...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.06.1-2.0.5/released/8.11.2/mathcomp-ssreflect/1.10.0.html
HTML
mit
15,178
<div class="col-lg-4 col-lg-offset-4 col-md-offset-1 col-md-10"><?php echo validation_errors(); ?></div> <?php echo form_open('page/register'); ?> <div class="fill col-lg-6 col-lg-offset-3 col-md-offset-1 col-md-10 col-xs-12"> <ol class="breadcrumb"> <li><?=anchor(site_url(),'Home')?></li> <li class="active"...
Danonovsky/Projekt2017
application/views/page/register.php
PHP
mit
2,099
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fa_IR" version="2.0"> <defaueqkodec>UTF-8</defaueqkodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Equikoin</source> <translation>در مورد بیتکویین</translation> ...
KaSt/equikoin
src/qt/locale/bitcoin_fa_IR.ts
TypeScript
mit
107,441
/*--------------------------------------------------------*\ | | | hprose | | | | Official WebSite: https://hprose.com | | ...
hprose/hprose-dotnet
src/Hprose.IO/CharType.cs
C#
mit
936
<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="./css/bootstrap.min.css" /> <link rel="stylesheet" href="./css/styles.css" /> </head> <body> <div class="form-wrapper" id="form-wrapper"> <form class="form-horizontal" onsubmit="return false"> <div c...
psd401/js-vnc-demo-project
static/index.html
HTML
mit
1,617
// // PathController_Private.h // DropboxLib // // Created by Jesse Grosjean on 3/7/11. // Copyright 2011 Hog Bay Software. All rights reserved. // #import "PathController.h" @interface PathController (Private) - (NSString *)serverPathToLocal:(NSString *)serverPath; - (NSString *)localPathToServer:(NSString *)lo...
jessegrosjean/DropboxSync
Source/PathController_Private.h
C
mit
749
/* * ***** BEGIN LICENSE BLOCK ***** * Zimbra Collaboration Suite Server * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010 Zimbra, Inc. * * The contents of this file are subject to the Zimbra Public License * Version 1.3 ("License"); you may not use this file except in * compliance with the License. You may o...
nico01f/z-pec
ZimbraServer/src/java/com/zimbra/cs/client/soap/LmcBrowseResponse.java
Java
mit
851
 namespace GraphExec { public interface INode { INode Parent { get; set; } NodeExecutionState ExecutionState { get; } void Execute(); } public interface INode<T> : INode { T Value { get; set; } } public interface INode<T, TNodeInfo> : INode<T> where...
GraphExec/GraphExecNet
GraphExec/INode.cs
C#
mit
411
#include <core/reflection/dynamic/DynamicObject.h> #include <core/reflection/dynamic/DynamicObjectImplementation.h> #include <core/reflection/dynamic/DynamicReflectedObjectImplementation.h> #include <core/reflection/dynamic/DynamicMappedObject.h> #include <core.utility.h> #include <core/reflection/type/Argument.imple...
toeb/cpp.core
core/src/core/reflection/dynamic/DynamicObject.cpp
C++
mit
2,772
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'templates', 'km', { button: 'ពុម្ព​គំរូ', emptyListMsg: '(មិន​មាន​ពុម្ព​គំរូ​ត្រូវ​បាន​កំណត់)', insertOption: 'ជំនួស​ក្នុង​មាតិកា​បច្ចុប្...
webmasterETSI/web
web/ckeditor/plugins/templates/lang/km.js
JavaScript
mit
806
/* * * */ class Solution { public: vector<string> addOperators(string num, int target) { vector<string> res; addOperatorsDFS(num, target, 0, 0, "", res); return res; } void addOperatorsDFS(string num, int target, long long diff, long long curNum, string out, vector<string> &...
xpharry/Leetcode
leetcode/cpp/282.cpp
C++
mit
1,128
using System; using System.Threading.Tasks; using System.Linq; using System.Collections.Generic; using System.Globalization; using NUnit.Framework; using TimeAndDate.Services.Tests; using TimeAndDate.Services.DataTypes.Places; using TimeAndDate.Services.DataTypes.Time; namespace TimeAndDate.Services.Tests.IntegrationT...
timeanddate/libtad-net
TimeAndDate.Services.Tests/IntegrationTests/async/ConvertTimeServiceTests.cs
C#
mit
11,708
--- layout: page title: Mccall 15th Anniversary date: 2016-05-24 author: Natalie Bryant tags: weekly links, java status: published summary: Etiam dignissim rutrum nisi, et tristique. banner: images/banner/meeting-01.jpg booking: startDate: 02/11/2018 endDate: 02/16/2018 ctyhocn: CLLTEHX groupCode: M1A published...
KlishGroup/prose-pogs
pogs/C/CLLTEHX/M1A/index.md
Markdown
mit
2,760
#http://pandas.pydata.org/pandas-docs/stable/tutorials.html #file='pand.py' #exec(compile(open(file).read(), file, 'exec')) from pandas import DataFrame, read_csv import matplotlib.pyplot as plt import pandas as pd #import sys #import matplotlib names = ['Bob','Jessica','Mary','John','Mel'] births = [968, 155, 77, ...
nuitrcs/python-researchers-toolkit
scripts/pand.py
Python
mit
2,880
<!DOCTYPE html> <html> <head> <!-- --> <title>comfyinvestor - get comfy and learn to build wealth</title> <meta name="description" content="Use comfyinvestor's stock chart analysis tool and guides to build your understanding of price-volume charts and technical buy points." <meta charset="utf-8"> ...
comfyinvestor/ci
about.html
HTML
mit
6,362
--- uid: SolidEdgePart.TubeFeatures.Item(System.Object) summary: remarks: syntax: parameters: - id: Index description: Variant (input) index. ---
SolidEdgeCommunity/docs
docfx_project/apidoc/SolidEdgePart.TubeFeatures.Item.md
Markdown
mit
165
var twimap; twimap = require("twimap"); var Twit = require("twit"); var util = require("util"); var _current_index = -1; var _followers_list ; var thanks_temp; thanks_temp = [ "Dear %s, thank you for following :)", "%s = awesome. Me = grateful for following :)", "Is there no limit to your awesomeness %s? ...
rasouli/twimap
examples/thanker.js
JavaScript
mit
3,226
using System; namespace PCLExt.Network { /// <summary> /// /// </summary> public static class SocketClient { private static Exception NotImplementedInReferenceAssembly() => new NotImplementedException(@"This functionality is not implemented in the portable version of this asse...
Aragas/PCLExt.Network
src/PCLExt.Network/SocketClient.cs
C#
mit
1,802
import { expect } from 'chai'; import { validateRegister, validateLogin } from '../../src/universal/validation/authValidation'; describe('validation', () => { describe('validateRegister', () => { it('passes for acceptable details', () => { const username = 'username'; const password = 'password'; ...
YorkshireDigital/yorkshiredigital.com
test/validation/authValidation_spec.js
JavaScript
mit
3,536
require 'test_helper' class UserTest < ActiveSupport::TestCase # Username Test should validate_presence_of(:username) should validate_length_of(:username).is_at_least(5).is_at_most(32) should validate_uniqueness_of(:username).case_insensitive # Email Test should validate_presence_of(:email) should valid...
jeyavelnkl/jel_apps
todo-app-railsconf/test/models/user_test.rb
Ruby
mit
876
const NUM_HASHES = HASHES.length; function verify(id, accessCode) { var token = id.replace(/\s+/g, '').toLowerCase() + accessCode; for (var i = 0; i < NUM_HASHES; ++i) { var result = CryptoJS.AES.decrypt(HASHES[i], token).toString(CryptoJS.enc.Latin1); if (/^https?:\/\/[^\s]+$/.test(result)) { ...
ohjay/ohjay.github.io
js/flickering.js
JavaScript
mit
1,236
const Promise = require('bluebird'); const {expect} = require('chai'); const sinon = require('sinon'); const CMD = 'MODE'; describe(CMD, function () { let sandbox; const mockClient = { reply: () => Promise.resolve() }; const cmdFn = require(`../../../src/commands/registration/${CMD.toLowerCase()}`).handler...
trs/ftp-srv
test/commands/registration/mode.spec.js
JavaScript
mit
845
export { default } from './BottomNavigation'; export { default as BottomNavigationAction } from './BottomNavigationAction';
cherniavskii/material-ui
packages/material-ui/src/BottomNavigation/index.js
JavaScript
mit
124
package com.creatubbles.api.repository; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import com.creatubbles.api.ContentType; import com.creatubbles.api.model.CreatubblesResponse; import com.creatubbles.api.model.creation.Creation; import com.creatubbles.api.model.creation.Toy...
creatubbles/ctb-api-android
api/src/main/java/com/creatubbles/api/repository/CreationRepository.java
Java
mit
6,961
class RoomCalendar def initialize(room, url) interval = 2.months @calendar = RiCal.Calendar do |cal| cal.add_x_property 'x_wr_calname', "#{room.name} - bookIT" cal.add_x_property 'x_wr_caldesc', "Bokningar av #{room.name} ifrån bookIT" cal.add_x_property 'url', url cal.prodid = 'bookIT' room.booking...
cthit/bookIT
app/calendars/room_calendar.rb
Ruby
mit
589
class Delivery attr_accessor :day_of_week, :time_of_day, :selection_type attr_accessor :number_of_boxes def initialize(day_of_week=:Sat, time_of_day=:AM, selection_type=:RW, number_of_boxes=1) @day_of_week = day_of_week @time_of_day = time_of_day @selection_type = selection_type @number_of_boxes...
mazen555/vin
lib/vin/model/delivery.rb
Ruby
mit
495
// // TwitterDetailedViewController.h // BBCSherlock // // Created by B.H.Liu appublisher on 11-12-20. // Copyright (c) 2011年 __MyCompanyName__. All rights reserved. // #import <UIKit/UIKit.h> #import "OHAttributedLabel.h" #import "NSAttributedString+Attributes.h" #import "AsyncImageView.h" @interface TwitterDeta...
aceisScope/sherlockinfo
BBCSherlock_App Store_1.3/BBCSherlock/DetailControllers/TwitterDetailedViewController.h
C
mit
583
<h1>Actualizar Resguardo <?php echo $model->id; ?></h1> <?php $this->renderPartial('_formUpdate', array('model'=>$model)); ?>
Nesdf/upp_nes
protected/views/resguardo/update.php
PHP
mit
128
// Copyright (c) 2012-2014 Sharpex2D - Kevin Scholz (ThuCommix) // // 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,...
ThuCommix/Sharpex2D
Sharpex2D/Common/Extensions/AudioEffectExtension.cs
C#
mit
1,846
package communication; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import model.UserPOJO; import util.HttpUtil; import java.lang.reflect.Type; import java.util.*; /** * @author Jack Meyer (jackcmeyer@gmail.com) * * A wrapper for communicating with the user service */ public class UserS...
jackcmeyer/SmartSync
smartsync-communication-util/src/communication/UserServiceCommunication.java
Java
mit
2,920
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Coq bench</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet...
coq-bench/coq-bench.github.io-old
clean/Linux-x86_64-4.02.1-1.2.0/unstable/dev/contrib:firing-squad/8.4.dev/2014-12-17_17-32-45.html
HTML
mit
6,907
<?php namespace Grav\Common; use Grav\Common\Config\Config; use Grav\Common\File\CompiledYamlFile; use Grav\Common\Data\Blueprints; use Grav\Common\Data\Data; use RocketTheme\Toolbox\Event\EventDispatcher; use RocketTheme\Toolbox\Event\EventSubscriberInterface; use RocketTheme\Toolbox\ResourceLocator\UniformResourceLo...
lennerd/grav
system/src/Grav/Common/Themes.php
PHP
mit
9,430
<?php namespace Encore\Admin\Form\Field; use Encore\Admin\Facades\Admin; use Encore\Admin\Form\Field; use Illuminate\Contracts\Support\Arrayable; use Illuminate\Support\Str; class Select extends Field { protected static $css = [ '/packages/admin/AdminLTE/plugins/select2/select2.min.css', ]; prot...
elastosFans/larYbcy
src/Form/Field/Select.php
PHP
mit
4,489
module Sodascript ## # Token is used by Lexer to keep track of all the tokens it finds in the file. class Token # Token associated rule (Rule) attr_reader :rule # Token's lexeme (String) attr_reader :lexeme ## # Creates a token given a _rule_ (Rule) and a _lexeme_ (String). def i...
miguelfrde/sodascript
lib/sodascript/token.rb
Ruby
mit
785
// @flow import * as React from 'react' import {StyleSheet, Image, Alert} from 'react-native' import {Column, Row} from '../components/layout' import {ListRow, Detail, Title} from '../components/list' import type {StoryType} from './types' type Props = { onPress: string => any, story: StoryType, thumbnail: false |...
carls-app/carls
source/views/news/news-row.js
JavaScript
mit
1,225
{ var event = this.nativeEvent; if (!event) { return; } if (event.stopPropagation) { event.stopPropagation(); } else if (typeof event.cancelBubble !== "unknown") { event.cancelBubble = true; } this.isPropagationStopped = emptyFunction.thatReturnsTrue; }
stas-vilchik/bdd-ml
data/7759.js
JavaScript
mit
283
import numpy as np import itertools from scipy.misc import comb as bincoef import random ######################################################################### # GENERATORS ######################################################################### def sign_permutations(length): """ Memory efficient generator: ...
maebert/knyfe
knyfe/perm_test.py
Python
mit
8,835
<?php /** * Sage includes * * The $sage_includes array determines the code library included in your theme. * Add or remove files to the array as needed. Supports child theme overrides. * * Please note that missing files will produce a fatal error. * * @link https://github.com/roots/sage/pull/1042 */ $sage_incl...
git-e-up/saucy-theme
functions.php
PHP
mit
1,197
ReddWall ================ ReddWall sets your wallpaper to a random image from one of the many Reddit wallpaper subreddits. What it Does ------------ On the first run, ReddWall will find a random wallpaper from /r/wallpapers and minimize to the status bar. By default, it will select a new wallpaper every 1 hour. This...
matthewbauer/reddwall
README.md
Markdown
mit
1,480
/* * Author: Jon Trulson <jtrulson@ics.com> * Copyright (c) 2015 Intel Corporation. * * Thanks to Adafruit for supplying a google translated version of the * Chinese datasheet and some clues in their code. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and as...
malikabhi05/upm
src/zfm20/zfm20.hpp
C++
mit
11,256
package org.jabref.gui.util.component; import java.util.Objects; import java.util.function.Consumer; import java.util.function.Function; import javafx.beans.property.ObjectProperty; import javafx.beans.property.SimpleObjectProperty; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.scene.control...
zellerdev/jabref
src/main/java/org/jabref/gui/util/component/Tag.java
Java
mit
1,573
# confd [![Build Status](https://travis-ci.org/kelseyhightower/confd.svg?branch=master)](https://travis-ci.org/kelseyhightower/confd) `confd` is a lightweight configuration management tool focused on: * keeping local configuration files up-to-date using data stored in [etcd](https://github.com/coreos/etcd), [consu...
blippar/confd
README.md
Markdown
mit
1,454
require 'spec_helper' describe ETL::Parser::FixedWidthParser do it_should_behave_like 'ETL::Parser', 'fixed_width.ctl' end
activewarehouse/etl
spec/etl/parser/fixed_width_parser_spec.rb
Ruby
mit
126