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
use leetcode; select Id from Weather as a where Temperature > (select Temperature from Weather as b where a.Date=b.Date+1);
shaotao/Leetcode
coding/rising_temperature/rising_temperature.sql
SQL
mit
124
//@flow import EventEmitter from 'eventemitter2' import { ApiManager } from '../api-manager' import NetworkerFabric from '../networker' import { PureStorage } from '../../store' import TL from '../../tl' import configValidator from './config-validation' import generateInvokeLayer from './invoke-layer-generator' imp...
zerobias/telegram-mtproto
src/service/main/index.js
JavaScript
mit
3,269
INSERT [dbo].[ValuesStore] ([Id], [Value]) VALUES (N'lastuppdatedinasset', N'Oct 3 2016 9:04AM')
buzzfrog/annero-demo
sql/AnneroSqlDatabase/AnneroSqlDatabase/PopulateValueStore.sql
SQL
mit
101
var pieceJson = { type: 'pawn', color: Chess.Piece.Color.WHITE, 'displacementsNumber': 10 }; var getPieceObject = function() { var factory = new Chess.Piece.PieceFactory(); return factory.create('pawn', Chess.Piece.Color.WHITE, 10); }; test("importFromJson", function() { var jsonifier = new C...
Raphhh/chess-js
test/Chess/Piece/PieceJsonifierTest.js
JavaScript
mit
588
#!/bin/bash az=$1 if [[ -z "${az}" ]]; then echo "Provide availability zone as argument." exit 1 fi echo "Checking availability zone $az" region=$(echo $az | rev | cut -c 2- | rev) raw=$(aws ec2 describe-reserved-instances-offerings --filters "Name=availability-zone,Values=$az" --region $region) instance_ty...
flowerinthenight/.files
scripts/types-per-az.sh
Shell
mit
496
import React from 'react'; import ReactTestRenderer from 'react-test-renderer'; import 'styled-components-test-utils/lib/jest'; import getTheme from '../src/getTheme'; import Link from '../src/Link'; import * as utils from '../src/utils/'; const theme = getTheme({ font: { size: '16px', }, }); describe('Link',...
itsolutions-dev/react-styled-ui
test/Link.spec.js
JavaScript
mit
1,906
<!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="./ec63b60986307e0513b3f116597d2aa85e18f05446843bddabe2e5e5a2f6cbd8.html">Teleport</a> <hr> ...
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/98c15cfe88d709537a7e043c5d7fdc03588992e5e2987282d3715dd40a17df61.html
HTML
mit
550
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>18 --> 19</title> <link href="./../../assets/style.css" rel="stylesheet"> </head> <body> <h2>You have to be fast</h2> <a href="./c628d5d0952913465c250f8cd1c22753ebd6decf4d0fd747aeb08824290c1431.html">Teleport</a> <hr> ...
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/7795337916a5a23876e748b377ebcb057d80cf6d2129906b47b4969cd99bf33f.html
HTML
mit
550
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>18 --> 19</title> <link href="./../../assets/style.css" rel="stylesheet"> </head> <body> <h2>You have to be fast</h2> <a href="./5f9ade16a60a736e86d229898bc7b16f913cd809e28dedade65cda16ebe2451b.html">Teleport</a> <hr> ...
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/b44039996a823128e27d80145ed1f9006a01eebf69b6c38643fc5d1d44f70b6c.html
HTML
mit
550
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ var HotUpdateChunkTemplate = require("../HotUpdateChunkTemplate"); function NodeHotUpdateChunkTemplate(outputOptions) { HotUpdateChunkTemplate.call(this, outputOptions); } module.exports = NodeHotUpdateChunkTemplate; ...
sahat/webpack
lib/node/NodeHotUpdateChunkTemplate.js
JavaScript
mit
983
<?php declare(strict_types=1); /** * This file is part of Narrowspark Framework. * * (c) Daniel Bannert <d.bannert@anolilab.de> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Narrowspark\HttpStatus\Exception; class NotAcceptableExc...
narrowspark/http-status
src/Exception/NotAcceptableException.php
PHP
mit
492
export default { "hljs-comment": { "color": "#969896" }, "hljs-quote": { "color": "#969896" }, "hljs-variable": { "color": "#d54e53" }, "hljs-template-variable": { "color": "#d54e53" }, "hljs-tag": { "color": "#d54e53" }, "hljs-name": {...
conorhastings/react-syntax-highlighter
src/styles/hljs/tomorrow-night-bright.js
JavaScript
mit
1,821
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Unh...
Veninger/UnhappyPizza
UnhappyPizza/Properties/AssemblyInfo.cs
C#
mit
1,395
namespace SchoolTests { using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using School; [TestClass] public class SchoolTests { [TestMethod] public void SchoolShouldNotThrowException() { var school = new School("Telerik ...
GeorgiPetrovGH/TelerikAcademy
08.High-Quality-Code/Unit Testing Homework/Students and courses/StudentsAndCourses/SchoolTests/SchoolTests.cs
C#
mit
5,368
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Home extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('M_Login','minha_model'); $this->verifica_session(); } public function verifica_session() { if($this->session->userdata('loga...
michaelsilvapp/sgtcc
application/controllers/Home.php
PHP
mit
659
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Blog | TRVLNG</title> <link rel="apple-touch-icon" sizes="57x57" href="https://s3.amazonaws.com/gettrvlng/apple-touch-icon-57x57.png"> <link rel="apple-touch-icon...
getstronger/gettrvlng
dist/blog.html
HTML
mit
9,415
(function() { "use strict"; // no longer used // just serves up one particular file // should always be running // nohup node server& var fs = require('fs'); var http = require('http'); var url = require('url'); http.createServer(function(req, res) { var request = ur...
peterorum/functalbook
server.js
JavaScript
mit
844
/* * Copyright (C) 2015 Francois Doray <francois.doray@gmail.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; only * version 2.1 of the License. * * This library is distribu...
fdoray/lttng-profile
liblttng-profile-base/module_api.h
C
mit
1,815
#include "blockparameterint.h" #include <limits.h> #include <QDebug> libblockdia::BlockParameterInt::BlockParameterInt(const QString &name, QObject *parent) : BlockParameter(name, parent) { this->_minimum = INT_MIN; this->_maximum = INT_MAX; this->_value = this->_minimum; this->_defaultValue = this->_v...
Oinosseus/blockdia
src/libblockdia/blockparameterint.cpp
C++
mit
3,856
#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/gpu/gpu.hpp" #include <stdlib.h> #include <iostream> using namespace cv; using namespace std; int main( int argc, char** argv ) { Mat h_src; Mat h_sobel; int ddepth = CV_32F; if (argc < 2) { cout << "You must...
leiverandres/HPC_assignments
CUDA/convolution/with_opencv_cuda.cpp
C++
mit
957
package com.bitmechanic.barrister.conform; import com.bitmechanic.barrister.RpcException; import com.bitmechanic.barrister.RpcRequest; import com.bitmechanic.test.*; import com.bitmechanic.test.inc.MathOp; import com.bitmechanic.test.inc.Status; import java.util.List; import java.util.ArrayList; public class AImpl im...
coopernurse/barrister-java
src/test/java/com/bitmechanic/barrister/conform/AImpl.java
Java
mit
1,801
\section{Updating frequencies of subgraphs} \label{sec:upd} The main bottleneck of the method described in the previous section is computing the frequencies of subgraphs in every iteration, to estimate the energy of the current solution. In \cite{milo2002network}, an analogous operation was done recounting the frequen...
migueleps/paper-complenet17
Updating.tex
TeX
mit
6,183
/* Tomorrow Theme */ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ /* Original theme - https://github.com/chriskempson/tomorrow-theme */ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ .tomorrow-comment, pre .hljs-comment, pre .hljs-title { color: #8e908c; } .tomorro...
dancoates/frontend-starter
styleguide/assets/css/highlight.css
CSS
mit
1,596
<?php use Behat\Behat\Context\Context; use Behat\Gherkin\Node\PyStringNode; use Symfony\Component\Process\PhpExecutableFinder; use Symfony\Component\Process\Process; /** * Behat context class. * Based on: https://github.com/Behat/Behat/blob/master/features/bootstrap/FeatureContext.php */ class FeatureContext imple...
Codifico/phpspec-rest-view-extension
features/bootstrap/FeatureContext.php
PHP
mit
9,363
--- layout: archive title: "CV" permalink: /cv/ author_profile: true redirect_from: - /resume --- Here is my Academic CV in a pdf format (current as of March 2021): <embed src="https://sshkhr.github.io/files/Shashank_Shekhar_CV.pdf" type="application/pdf" width="600px" height="500px" />
sshkhrnwbie/sshkhrnwbie.github.io
_pages/cv.md
Markdown
mit
292
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
Azure/azure-sdk-for-python
sdk/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2018_01_01_preview/aio/operations/_permissions_operations.py
Python
mit
10,365
# jquery-area-select 省市县三级联动 ###[演示地址](http://hingsir.github.io/jquery-area-select/)
hingsir/jquery-area-select
README.md
Markdown
mit
108
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace LoginSystem { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void...
rohansen/Code-Examples
Security/WinFormsHashingSalting/LoginSystem/Program.cs
C#
mit
512
yii2-ueditor ====================== Yii2的百度UEditor扩展 根据crazydb的项目 进行修改 自用
crazydouble/yii2-ueditor
README.md
Markdown
mit
105
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"/><!-- using block title in layout.dt--><!-- using block ddox.defs in ddox.layout.dt--><!-- using block ddox.title in ddox.layout.dt--> <title>Enum Verbosity</title> <link rel="stylesheet" type="text/css" href="../../styles/ddox.css"/> <link rel="stylesheet" ...
Circular-Studios/Dash-Docs
api/v0.6.5/utility/output/Verbosity.html
HTML
mit
8,915
--- layout: lesson title: "Clone, Edit, Commit, and Sync" deck: "How to install the Github desktop app, make a local copy of your Github repo, manage and edit your webpage project on your own operating system, and sync with your Github repo." lesson_number: 4 image_url: 'https://www.flickr.com/photos/zokuga/8665431657/...
dannguyen/github-for-portfolios
lessons/clone-github-pages-repo.md
Markdown
mit
23,472
import React from 'react'; import CalculatorInput from './CalculatorInput.js'; import CalculatoResult from './CalculatoResult.js'; import styles from './Calculator.scss'; import withStyles from '../../decorators/withStyles'; @withStyles(styles) class Calculator { static propTypes = { }; render() { return ...
Batname/Yeoman_react_tests
src/components/Calculator/Calculator.js
JavaScript
mit
484
body { margin:0px; background-image:none; position:static; left:auto; width:540px; margin-left:0; margin-right:0; text-align:left; } #base { position:absolute; z-index:0; } #u0 { position:absolute; left:0px; top:50px; width:540px; height:960px; } #u0_img { position...
yanzhihong23/csyywx
psd/财神爷爷轻应用3.1版本迭代内容/轻应用迭代——html版/files/活期资产明细页/styles.css
CSS
mit
944
/** @preserve * jsPDF fromHTML plugin. BETA stage. API subject to change. Needs browser * Copyright (c) 2012 Willow Systems Corporation, willow-systems.com * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria * 2014 Diego Casorran, https://github.com/diegocr * 2014 ...
circplepix-demoapps/flyer-builder
flyerbuilder/src/assets/js/from_html.js
JavaScript
mit
36,301
# Be sure to restart your server when you modify this file. # Your secret key is used for verifying the integrity of signed cookies. # If you change this key, all old signed cookies will become invalid! # Make sure the secret is at least 30 characters and all random, # no regular words or you'll be exposed to diction...
ravensnowbird/twilio_conference
test/dummy/config/initializers/secret_token.rb
Ruby
mit
659
<?php namespace FTC\Bundle\CodeBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Validator\Constraints as Assert; use Doctrine\Common\Collections\ArrayCollection; use FTC\Bundle\CodeBundle\Entity\Choice\CodeEntryTypeChoices; /** * FTC\Bundle\CodeBundle\Entity\CodeEntry * * @ORM\Table() * @ORM...
rdohms/fixthatcode.com
src/FTC/Bundle/CodeBundle/Entity/CodeEntry.php
PHP
mit
6,420
package storagecache // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regene...
Azure/azure-sdk-for-go
services/storagecache/mgmt/2021-03-01/storagecache/caches.go
GO
mit
43,507
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core'; @Component({ selector: 'black-menu-component', templateUrl: './black-menu.component.html', styleUrls: ['./black-menu.component.scss'] }) export class BlackMenuComponent implements OnInit { @Input() private menuInfo; ...
jpush/jchat-web
src/app/components/black-menu/black-menu.component.ts
TypeScript
mit
735
namespace LightningDevelopment { public interface IActionsModule { bool ContainsAction(string txt); void RunAction(string action, string[] arguments); } }
mhgamework/LightningDevelopment
src/LightningDevelopment/IActionsModule.cs
C#
mit
182
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Security; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using ...
lindexi/lindexi_gd
WPF Pen Imc/DavudrerKutisnisHitoumalce/DavudrerKutisnisHitoumalce/MainWindow.xaml.cs
C#
mit
3,085
<?php // MyAppApBundle:Rdv:listerSeconde.html.twig return array ( '99471e3' => array ( 0 => array ( 0 => '@MyAppApBundle/Resources/public/js/phone.js', ), 1 => array ( ), 2 => array ( 'output' => '_controller/js/99471e3.js', 'name' => '99471e3', 'debug' =...
guillaumeduval64/test
app/cache/dev/assetic/config/a/ad44efac25e8c8c3d4690a0eb930a235.php
PHP
mit
1,341
#include <stdlib.h> #include <stdio.h> #include <sys/socket.h> #include <sys/types.h> #include <netinet/in.h> #include <signal.h> #include <string.h> #include <errno.h> #include <fcntl.h> #include <arpa/inet.h> #define IP_ADD "153.19.1.202" int main() { //definitions int sd, size, bits; int num = 0; struct soc...
dexiefy/Notatki
kontakt_z_serwer/klient.c
C
mit
1,307
// --------- Dependencies --------- let mongoose = require('mongoose'); /** * Saves the update for the user into the database or returns a general error * on failure. * @param {Object} user The user object * @param {Object} obj The object to return to the user * @param {string} message The message...
alanplotko/Dash
models/services/common.js
JavaScript
mit
3,909
import React from 'react'; import { Router, Route, IndexRoute, browserHistory } from 'react-router'; import { syncHistoryWithStore } from 'react-router-redux'; import App from './App'; import CurrentStatus from './CurrentStatus'; import History from './History'; import store from '../store'; const history = syncHistor...
GContaldi/water-my-plants
webClient/components/Router.js
JavaScript
mit
714
See https://test-flight.cundd.net [![Build Status](https://travis-ci.org/cundd/test-flight.svg?branch=master)](https://travis-ci.org/cundd/test-flight)
cundd/test-flight
README.md
Markdown
mit
152
package com.hilllander.khunzohn.gpstracker.util; import android.app.Activity; import android.content.DialogInterface; import android.support.v7.app.AlertDialog; /** *Created by khunzohn on 1/8/16. */ public class DialogUtil { public static void showErrorDialog(final Activity activity, String title, String messa...
khunzohn/Gps-tracker
app/src/main/java/com/hilllander/khunzohn/gpstracker/util/DialogUtil.java
Java
mit
1,153
/*.logo-1 { border: 1px dashed black; border-radius: 50%; width:10%; } body { background-repeat: repeat; } .byline-img { border: 1px dashed black; border-radius: 50%; width: 10%; padding: 5px; } .header-img { width:100%; }*/
krst15/Anax-Flat
htdocs/css/style.css
CSS
mit
280
# How to contribute I'm really glad you're reading this, because we need volunteer developers to help this project come to fruition. If you haven't already. We want you working on things you're excited about. ## Testing We have a handful of Cucumber features, but most of our testbed consists of RSpec examples. Plea...
Pr3d4dor/tcc
CONTRIBUTING.md
Markdown
mit
1,989
<div class="container"> <nav role="navigation" class="navbar g3c-navbar-white navbar-fixed-top"> <div class="container"> <!--Logo--> <div class="navbar-header navbar-left pull-left"> <a href="#/"> <img src="img/logo.png" class="g3c-navbar-logo" alt=""> </a> </div> <div class="...
vithonghcm/g3c
public/html/header/header.html
HTML
mit
5,113
netjs.collections.CollectionBase = (function (netjs, ListEnumerator) { 'use strict'; var CollectionBase = function CollectionBase() { // use _isBase to determine if this constructor is being invoked via chain or new if(!CollectionBase._isBase){ throw new Error("Can't instantiate abstract classes"); } else ...
alxkimball/NETJS
src/netjs/collections/CollectionBase.js
JavaScript
mit
3,688
# Flipboard Magazine Widget * Contributors: taupecat * Tags: flipboard, widget * Requires at least: 3.8.1 * Requires PHP: 5.3.0 * Tested up to: 5.4.2 * Stable tag: 2.0.0 * License: MIT * License URI: http://opensource.org/licenses/MIT Add a Flipboard magazine widget (https://share.flipboard.com/) to your sidebar ## ...
taupecat/flipboard-magazine-widget
README.md
Markdown
mit
1,186
# dblink\_error\_message dblink\_error\_message — gets last error message on the named connection ## Synopsis ```text dblink_error_message(text connname) returns text ``` ## Description `dblink_error_message` fetches the most recent remote error message for a given connection. ## Arguments _`connname`_ Name of ...
pgsql-tw/twpug-doc
tw/appendixes/additional-supplied-modules/dblink/dblink_error_message.md
Markdown
mit
894
<?php namespace ConradCaine\FrontendBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class DefaultControllerTest extends WebTestCase { public function testIndex() { $client = static::createClient(); $crawler = $client->request('GET', '/hello/Fabien'); $t...
robledogoncalves/shameBoard
src/ConradCaine/FrontendBundle/Tests/Controller/DefaultControllerTest.php
PHP
mit
409
{% extends 'layouts/layout.html' %} {% block body %} <div id="container-not-an-ad" class="media"> <div class="media-left pull-left" href="#"> <!-- REPLACE THE LOGO HERE WITH YOUR UNIVERSITY, LAB, or COMPANY --> <img id="adlogo" src="/static/images/university.png" alt="Lab Logo" /> </div> <div c...
NYUCCL/psiTurk
psiturk/example/templates/default.html
HTML
mit
1,160
#!/usr/bin/python # -*- coding: utf-8 -*- from numpy import array, zeros, linspace, meshgrid, ndarray, diag from numpy import uint8, float64, int8, int0, float128, complex128 from numpy import exp, sqrt, cos, tan, arctan from numpy import minimum, maximum from numpy import ceil, floor from numpy import matrix as npmat...
shersonb/brokenray
brokenray/polar.py
Python
mit
11,050
/* * The MIT License * * Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Jean-Baptiste Quenot, Tom Huybrechts * * 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 wi...
oleg-nenashev/jenkins
core/src/main/java/hudson/ClassicPluginStrategy.java
Java
mit
29,899
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Hola Mundo!</title> <link rel="stylesheet" href="bootstrap/css/bootstrap.css"> <link rel="stylesheet" href="http...
ulisesantana/DAW
DEW/tema1/ejercicio1/ejer2.html
HTML
mit
5,476
/* * CMS.js v1.0.0 * Copyright 2015 Chris Diana * www.cdmedia.github.io/cms.js * Free to use under the MIT license. * http://www.opensource.org/licenses/mit-license.php */ var CMS = { settings: { siteName: 'CMS.js', siteTagline: 'Your site tagline', siteEmail: 'your_email@example.com', siteAuthor: 'You...
msloth/bithappens.se
js/cms.js
JavaScript
mit
11,308
--- layout: post title: "MSI Train" date: 2015-02-14 10:13:12 -0600 tags: ["2015", X-T1, "XF35mmF1.4 R"] --- ![{{ page.title }} Image]({{ site.baseurl }}/images/2015/2015_0214_DSCF2490.jpg) {: .prettyprint} Train exhibit at the Museum of Science and Industry - Minature setting 1/40 sec, f/1.4, ISO 800 - Shutte...
PickOneClick/site
_posts/2015-02-14-MSITrain.md
Markdown
mit
342
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>#5 Mp3 Player</title> <script> var song = { name: "Walk This Way", artist: "Run-D.M.C.", minutes: 4, seconds: 3, genre: "80s", playing: false, play: function() { if (!this.playing) ...
reykjaviks/head-first-javascript
head-first-javascript/mp3player.html
HTML
mit
638
/* The filesystem package provides an http.FileSystem implementation that may contain file data not present in the host operating system. */ package filesystem
urandom/embed
filesystem/doc.go
GO
mit
160
<!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="./4fa07baa4d75c06b8e600f934a246879be998a96e5a427b74c67c6097d947a3a.html">Teleport</a> <hr> ...
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/de5bc987eb6ea4e97b9fff673f19b37a5caeb071795ca39de9aabd883029643c.html
HTML
mit
550
package net.seiko_comb.combS8214808.joiss2016; public class LinearClassifier { public Vector w; public LinearClassifier(Vector w) { this.w = w; } public double f(Vector x) { return w.product(x.addOne()); } public double signf(Vector x) { if (f(x) > 0) return 1; else return -1; ...
combS8214808/JOIss2016
src/main/java/net/seiko_comb/combS8214808/joiss2016/LinearClassifier.java
Java
mit
425
package commitstats import ( "testing" fixtures "github.com/src-d/go-git-fixtures" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "gopkg.in/src-d/go-git.v4" "gopkg.in/src-d/go-git.v4/plumbing" "gopkg.in/src-d/go-git.v4/plumbing/cache" "gopkg.in/src-d/go-git.v4/plumbing/object" "go...
gitql/gitql
internal/commitstats/file_test.go
GO
mit
7,310
package com.swfarm.biz.wish.dao.impl; import com.swfarm.biz.wish.bo.WishVariantTemplate; import com.swfarm.biz.wish.dao.WishVariantTemplateDao; import com.swfarm.pub.framework.dao.GenericDaoHibernateImpl; public class WishVariantTemplateDaoImpl extends GenericDaoHibernateImpl<WishVariantTemplate, Long> imple...
zhangqiang110/my4j
pms/src/main/java/com/swfarm/biz/wish/dao/impl/WishVariantTemplateDaoImpl.java
Java
mit
450
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - // **************************** - // ARITHMETIC CODING EXAMPLES - // ...
mtcheou/adsp
program/encode/src/arithmetic_codec.h
C
mit
8,608
var Adapter = require('../factory-girl').Adapter; var tests = require('./adapter-tests'); var should = require('should'); var context = describe; var TestModel = function(props) { this.props = props; }; var TestAdapter = function() { this.db = []; }; TestAdapter.prototype = new Adapter(); TestAdapter.prototype.sa...
celsomarques/factory-girl-amd
test/adapter-test.js
JavaScript
mit
861
import numpy arr = numpy.array(list(map(float, input().split()))) x = float(input()) value = numpy.polyval(arr, x) print(value)
avtomato/HackerRank
Python/_16_Numpy/_14_Polynomials/solution.py
Python
mit
130
--- title: E Re dhe e Rinovuar date: 14/02/2022 --- Krahasoni Hebrenjve 8: 10–12 me Ligjin e Përtërirë 6: 4–6; Ligjin e Përtërirë 30: 11–14 dhe Jeremia 31: 31–34. Çfarë na mëson kjo për natyrën e besëlidhjes së re? Premtimi i një besëlidhjeje të re tek Hebrenjtë i referohet Jeremias. Sipas Jeremias, premtimi i Perë...
Adventech/sabbath-school-lessons
src/sq/2022-01/08/03.md
Markdown
mit
2,769
<div ng-controller="PiecesCtrl"> <!--div class="col-xs-3 container"> <h1>Dummy</h1> <canvas id="doughnut" class="chart chart-doughnut" chart-data="chartData" chart-labels="chartLabels" chart-legend="true" chart-colours="colours" chart-options="chartOptions"> </canvas> </div--...
jbelloin/labelloinbox
app/pageTest.html
HTML
mit
1,232
require 'rails_helper' RSpec.describe Admin::ExportController do let(:plain_user) { create(:user) } let(:admin_user) { create(:admin) } describe 'GET row Export Positions to Org' do it 'runs the RowExportPositionsToOrgsJob class' do establish_current_user(admin_user) p1 = create(:position, posit...
ndoit/fenrir
old_spec/controllers/admin/export_controller_spec.rb
Ruby
mit
876
/* AngularJS v1.2.19 (c) 2010-2014 Google, Inc. http://angularjs.org License: MIT */ (function(T,V,s){'use strict';function v(b){return function(){var a=arguments[0],c,a="["+(b?b+":":"")+a+"] http://errors.angularjs.org/1.2.19/"+(b?b+"/":"")+a;for(c=1;c<arguments.length;c++)a=a+(1==c?"?":"&")+"p"+(c-1)+"="+enco...
MiniverCheevy/string-replicator
StringReplicator.Core/Web/js/angular.min.js
JavaScript
mit
106,614
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_31) on Wed Dec 17 20:48:28 PST 2014 --> <title>Uses of Class java.text.CollationElementIterator (Java Platform SE 8 )</title> <meta name="date"...
fbiville/annotation-processing-ftw
doc/java/jdk8/java/text/class-use/CollationElementIterator.html
HTML
mit
7,996
var express = require('express'); var router = express.Router(); var mongoose = require('mongoose'); var fs = require('fs'); /* GET home page. */ router.get('/', function(req, res) { res.render('index', { title: 'File from renamer' }); }); router.get('/#/Users', function(req, res) { res.send({"res":"gogo"}); }); ...
a-lavoie/BigData.Photos
bigd/routes/index.js
JavaScript
mit
1,782
#!/usr/bin/env bash # # bootstrap installs things. cd "$(dirname "$0")/.." DOTFILES_ROOT=$(pwd) set -e echo '' info () { printf " [ \033[00;34m..\033[0m ] $1" } user () { printf "\r [ \033[0;33m?\033[0m ] $1 " } success () { printf "\r\033[2K [ \033[00;32mOK\033[0m ] $1\n" } fail () { printf "\r\033[2...
maxcnunes/dotfiles
script/bootstrap.sh
Shell
mit
2,993
package com.tirthal.learning.langfeatures; import java.util.EnumMap; //--------------------------------------- //--- STEP 00 - WHAT IS ENUM? //--------------------------------------- ///* // * Java 1.5 - Language feature - Enum = This flexible object-oriented enumerated type facility allows you to create enumerated...
tirthalpatel/Learning-Java
Java5/src/com/tirthal/learning/langfeatures/Enum_TestDrive.java
Java
mit
4,758
<?php namespace BungieNetPlatform\Exceptions\Platform; use BungieNetPlatform\Exceptions\PlatformException; /** * TagsUnableToLoadPopularTagsFromDatabase */ class TagsUnableToLoadPopularTagsFromDatabaseException extends PlatformException { public function __construct($message, $code = 905, \Exception $...
dazarobbo/BungieNetPlatform
src/Exceptions/Platform/TagsUnableToLoadPopularTagsFromDatabaseException.php
PHP
mit
401
module.exports = function (grunt) { grunt.initConfig({ karma: { options: { configFile: 'tests/config/karma.conf.js' }, watch: { autoWatch: true }, singleRun: { singleRun: true }, ...
kwarkjes/responsive-site-view
Gruntfile.js
JavaScript
mit
641
using System; using Agiil.Domain.Capabilities; using Autofac; namespace Agiil.Bootstrap.Capabilities { public class CapabilitiesEnforcingInterceptorModule : Module { protected override void Load(ContainerBuilder builder) { builder.RegisterType<CapabilitiesEnforcingInterceptor>() ...
csf-dev/agiil
Agiil.Bootstrap/Capabilities/CapabilitiesEnforcingInterceptorModule.cs
C#
mit
1,687
/** * HatateHoutyouAlarm * * Copyright (c) 2014 @inujini_ (https://twitter.com/inujini_) * * This software is released under the MIT License. * http://opensource.org/licenses/mit-license.php */ package inujini_.hatate.adapter; import inujini_.hatate.R; import inujini_.hatate.data.SpellCard; import inujini_.hat...
tumbling-dice/Hatate
src/inujini_/hatate/adapter/SpellCardLibraryAdapter.java
Java
mit
4,306
require 'ffi' require 'singleton' class Simple # WARNING: this is not thread safe def initialize reset end def reset C.reset end def method_missing(name, *arguments) if arguments.size == 0 get(name) elsif arguments.size == 1 set(name, arguments.first) else super ...
tamc/excel_to_code
examples/simple/c/simple.rb
Ruby
mit
4,309
@if (@X)==(@Y) @end /* JScript comment @echo off setlocal for /f "tokens=* delims=" %%v in ('dir /b /s /a:-d /o:-n "%SystemRoot%\Microsoft.NET\Framework\*jsc.exe"') do ( set "jsc=%%v" ) if not exist "%~n0.exe" ( "%jsc%" /nologo /out:"%~n0.exe" "%~dpsfnx0" ) "%~n0.exe" %* del "%~n0.exe" endlocal & exit /b %er...
npocmaka/batch.scripts
hybrids/.net/setPrio.bat
Batchfile
mit
1,738
<?xml version="1.0" ?><!DOCTYPE TS><TS language="gu_IN" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About TLGCoin</source> <translation>બીટકોઈન વિષે</translation> </me...
TLGCoinProject/TLG-SourceCode
src/qt/locale/bitcoin_gu_IN.ts
TypeScript
mit
96,432
//Sort a linked list using insertion sort. //the wiki for insertion sort. //in-space, fake/dummy head. //45ms /** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode(int x) { val = x; } * } */ class Solution { public ListNode insertionSortLis...
tikael1011/leetcodejava
147. Insertion Sort List.java
Java
mit
2,294
extern crate stopwatch; use stopwatch::{Stopwatch}; fn main() { let timer = Stopwatch::start_new(); //digits are stored in reverse order (least significant first) as an optimization match expand(196, 100000) { Ok(iter) => println!("converged after {} iterations", iter), Err(max_iters) => pr...
jffry/rust-lychrel
src/main.rs
Rust
mit
2,560
<?php require_once 'Interface.php'; require_once realpath(dirname(__FILE__)) . '/../Exception.php'; if (!function_exists('json_decode')) { throw new Exception("Please install the PHP JSON extension"); } if (!function_exists('curl_init')) { throw new Exception("Please install the PHP cURL extension"); } /**...
paymill/paymill-oxid
modules/paymill/lib/Services/Paymill/Apiclient/Curl.php
PHP
mit
4,818
/* MIT License Copyright (c) 2016 Eren Okka Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dist...
erengy/chip-8
src/sdl.cpp
C++
mit
3,462
/** * @ngdoc directive * @name mdMenu * @module material.components.menu * @restrict E * @description * * Menus are elements that open when clicked. They are useful for displaying * additional options within the context of an action. * * Every `md-menu` must specify exactly two child elements. The first eleme...
welkinhealth/material
src/components/menu/js/menuDirective.js
JavaScript
mit
8,686
<?php namespace Fisharebest\Localization\Locale; use Fisharebest\Localization\Language\LanguageVo; /** * Class LocaleVo - Volapük * * @author Greg Roach <fisharebest@gmail.com> * @copyright (c) 2015 Greg Roach * @license GPLv3+ */ class LocaleVo extends AbstractLocale implements LocaleInterface { ...
fweber1/Annies-Ancestors
webtrees/vendor/fisharebest/localization/src/Locale/LocaleVo.php
PHP
mit
495
:import { -st-from: "../IconButton.st.css"; -st-default: TPAIconButton; } .root { -st-mixin: TPAIconButton( IconColor '"color(--iconColor)"' ); }
wix/wix-style-react
packages/wix-ui-tpa/src/components/IconButton/perf/IconButtonExtendedBad.st.css
CSS
mit
165
# Blendplot [![Travis CI Status](https://api.travis-ci.org/ExcaliburZero/blender-astro-visualization.svg)](https://travis-ci.org/ExcaliburZero/blender-astro-visualization) [![Coverage Status](https://coveralls.io/repos/github/ExcaliburZero/blender-astro-visualization/badge.svg?branch=master)](https://coveralls.io/githu...
ExcaliburZero/blender-astro-visualization
README.md
Markdown
mit
2,409
html { background-color: #ffffff; } body { color: #000080; font-size: 10px; } header { font-weight: bold; text-align: center; margin-bottom:0px; } h1 { text-transform:capitalize; font-variant:small-caps; font-weight:bold; font-size: 30px; } h2 { margin-top:0px; } h3 { font-size: 20px; mar...
torihuang/phase-0
week-3/stylesheets/my-berkshire-stylesheet.css
CSS
mit
2,211
import React, { PureComponent } from 'react' import PropTypes from 'prop-types' import { connect } from 'umi' import { Page } from 'components' import styles from './index.less' @connect(({ userDetail }) => ({ userDetail })) class UserDetail extends PureComponent { render() { const { userDetail } = this.props ...
zuiidea/antd-admin
src/pages/user/[id]/index.js
JavaScript
mit
834
""" WSGI config for photoboard project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_S...
photoboard/photoboard-django
photoboard/wsgi.py
Python
mit
398
/* * Paper.js - The Swiss Army Knife of Vector Graphics Scripting. * http://paperjs.org/ * * Copyright (c) 2011 - 2013, Juerg Lehni & Jonathan Puckey * http://lehni.org/ & http://jonathanpuckey.com/ * * Distributed under the MIT license. See LICENSE file for details. * * All rights reserved. */ /** * @name ...
Mitali-Sodhi/CodeLingo
Dataset/javascript/Item.js
JavaScript
mit
101,186
projetointegrador ================= Este é o projeto integrador do 3º semestre de BSI
mentalizador/projetointegrador
README.md
Markdown
mit
89
Should you wish to refer to this repository or any of its contents, please cite the url https://github.com/ryanmccrickerd/extended_rbergomi.
ryanmccrickerd/extended_rbergomi
CITATION.md
Markdown
mit
141
/*! * CanJS - 2.2.5 * http://canjs.com/ * Copyright (c) 2015 Bitovi * Wed, 22 Apr 2015 15:03:29 GMT * Licensed MIT */ /*can@2.2.5#control/route/route*/ steal('can/util', 'can/route', 'can/control', function (can) { // ## control/route.js // _Controller route integration._ can.Control.processors.route = func...
tka/goyangi
frontend/canjs/static/bower_components/canjs/steal/can/control/route/route.js
JavaScript
mit
1,070
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_92) on Wed Mar 01 10:26:34 ICT 2017 --> <title>Triple</title> <meta name="date" content="2017-03-01"> <link rel="stylesheet" type="text/css" hr...
Bubblebitoey/Softspec-Hw1-5810546056-5810546552
docs/com/history/Triple.html
HTML
mit
13,880
package gofakeit import ( "fmt" "reflect" "sort" "testing" "github.com/brianvoe/gofakeit/v6/data" ) func ExampleBool() { Seed(11) fmt.Println(Bool()) // Output: true } func ExampleFaker_Bool() { f := New(11) fmt.Println(f.Bool()) // Output: true } func BenchmarkBool(b *testing.B) { b.Run("package", fun...
brianvoe/gofakeit
misc_test.go
GO
mit
5,131