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 strict'; const chalk = require('chalk'); const inquirer = require('inquirer'); const labels = require('./labels'); module.exports = { multipleWordsInput: (input) => { // node index.js add Super Mario World returns Super Mario World return input.splice(3).join(' '); }, calculateGames: (games) => { return...
patrickkraaij/gamecollection-cli
utils.js
JavaScript
mit
1,960
<?php namespace OpenFuego; /** * Do not run this file directly. * Edit config.php to set up the application. * Then run fetch.php at the command line. * * This file must be included in scripts. * * Gracias. **/ if (!defined('PHP_VERSION_ID') || PHP_VERSION_ID < 50300) { die(__NAMESPACE__ . '...
BBGInnovate/bbgWPFuego
init.php
PHP
mit
2,810
/** * \file * \author Guillaume Papin <guillaume.papin@epitech.eu> * * This file is distributed under the GNU General Public License. See * COPYING for details. */ #include "Irony.h" #include "Command.h" #include "support/CommandLineParser.h" #include <cassert> #include <cstdlib> #include <fstream> #include <i...
helloziki/linux_set
.emacs.d/elpa/irony-0.1.2/server/src/main.cpp
C++
mit
4,730
package com.m12i.regex; /** * 正規表現パターンの字句解析器. */ final class Lexer { private final int len; private final char[] chars; private int pos = 0; private boolean bracket = false; /** * パターン文字列により字句解析器を初期化する. * @param input パターン文字列 */ Lexer(final String input) { chars = input.toCharArray(); len = chars.l...
mizukyf/regex
src/com/m12i/regex/Lexer.java
Java
mit
1,619
namespace Qowaiv.Conversion; /// <summary>Provides a conversion for a month span.</summary> public class MonthSpanTypeConverter : NumericTypeConverter<MonthSpan, int> { /// <inheritdoc/> [Pure] protected override MonthSpan FromRaw(int raw) => MonthSpan.FromMonths(raw); /// <inheritdoc/> [Pure] ...
Qowaiv/Qowaiv
src/Qowaiv/Conversion/MonthSpanTypeConverter.cs
C#
mit
530
var os = require('os'); var url = require('url'); var http = require('http'); var attempt = require('attempt'); var log4js = require('log4js'); var logger = log4js.getLogger(); var healthcheck = require('serverdzen-module'); var config = require('config'); var argv = process.argv.slice(2); if (!argv || argv....
serverdzen/daemon
index.js
JavaScript
mit
3,171
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'str_to_hash'
hiroaki-iwase/str_to_hash
spec/spec_helper.rb
Ruby
mit
81
def represents_int(value): try: int(value) return True except ValueError: return False def bytes_to_gib(byte_value, round_digits=2): return round(byte_value / 1024 / 1024 / float(1024), round_digits) def count_to_millions(count_value, round_digits=3): return round(count...
skomendera/PyMyTools
providers/value.py
Python
mit
359
<!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" lang="zh-CN"> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>大CC</title> <link rel...
me115/me115.github.io
wp-content/cache/wp-cache-efade4f118b7327aaeb8c0bd5e3c6380.html
HTML
mit
31,332
<?php return [ /* |-------------------------------------------------------------------------- | Validation Language Lines |-------------------------------------------------------------------------- | | The following language lines contain the default error messages used by | the validator c...
iluminar/goodwork
resources/lang/fr-FR/validation.php
PHP
mit
7,316
import { expect } from 'chai'; import config from 'config'; import gqlV2 from 'fake-tag'; import sinon from 'sinon'; import { verifyJwt } from '../../../../../server/lib/auth'; import emailLib from '../../../../../server/lib/email'; import { randEmail } from '../../../../stores'; import { fakeUser, randStr } from '../...
OpenCollective/opencollective-api
test/server/graphql/v2/mutation/GuestMutations.test.ts
TypeScript
mit
6,962
var formatLocale = d3_format.formatLocale({decimal: ".", thousands: " ", grouping: [3], currency: ["R", ""]}); var formats = { currency: formatLocale.format("$,.0f"), percent: function(n) { if (n === null) return ""; else return formatLocale.format(",.1f")(n) + "%"; }, num: function(n, name...
Code4SA/municipal-data
scorecard/static/js/charts.js
JavaScript
mit
12,813
#ifndef NEWCONNECTIONDIALOG_H #define NEWCONNECTIONDIALOG_H #include <QDialog> #include <QCanBusDeviceInfo> #include <QSerialPortInfo> #include <QDebug> #include <QUdpSocket> #include "canconnectionmodel.h" #include "connections/canconnection.h" namespace Ui { class NewConnectionDialog; } class NewConnectionDialog :...
collin80/SavvyCAN
connections/newconnectiondialog.h
C
mit
1,213
// Copyright 2015 The Gogs Authors. All rights reserved. // Copyright 2016 The Gitea Authors. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. // Package v1 Gitea API. // // This documentation describes the Gitea API. // // Schemes: http, ...
vdbt/gitea
routers/api/v1/api.go
GO
mit
37,722
import mmap import os.path import re from collections import OrderedDict from .base_handler import BaseHandler from .iso9660 import ISO9660Handler from utils import MmappedFile, ConcatenatedFile class GDIParseError(ValueError): pass class GDIHandler(BaseHandler): def test(self): if not re.match('^.*...
drx/rom-info
handlers/dreamcast.py
Python
mit
4,779
package org.jabref.model; import java.util.ArrayList; import java.util.Comparator; import java.util.List; import java.util.Objects; import java.util.Optional; import java.util.function.Consumer; import javafx.collections.FXCollections; import javafx.collections.ObservableList; /** * Represents a node in a tree. * ...
bartsch-dev/jabref
src/main/java/org/jabref/model/TreeNode.java
Java
mit
21,094
package com.foxrouter.api; import com.yunhuwifi.RouterContext; import com.yunhuwifi.handlers.JsonCallBack; import android.accounts.NetworkErrorException; import android.content.Context; import android.net.wifi.WifiManager; import android.text.format.Formatter; public class RouterModuleDetect extends Router...
yunhuwifi/yunhuwifi-android-client
src/com/foxrouter/api/RouterModuleDetect.java
Java
mit
1,674
# frozen_string_literal: true require 'spec_helper' describe Gitlab::Analytics::CycleAnalytics::StageEvents::IssueCreated do it_behaves_like 'cycle analytics event' end
stoplightio/gitlabhq
spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_created_spec.rb
Ruby
mit
173
using System; namespace CSML { public delegate float Easer(float t); public enum EaseType { Linear = 0, QuadIn, QuadOut, QuadInOut, CubeIn, CubeOut, CubeInOut, BackIn, BackOut, BackInOut, ExpoIn, ExpoOut, ExpoInOut, SineIn, SineOut, SineInOut, Elasti...
ChevyRay/CSML
CSML/Source/Math/Ease.cs
C#
mit
4,160
// // Created by agondek on 12/01/16. // #ifndef GUT_MONTE_CARLO_TREE_SEARCH_WITHUCTSORTROOTPARALLELIZATION_H #define GUT_MONTE_CARLO_TREE_SEARCH_WITHUCTSORTROOTPARALLELIZATION_H #include "../MctsCommon.h" #include "../games/IGameState.h" #include "../tree/Node.h" #include "../utils/OmpHelpers.h" namespace Mcts { ...
AleksanderGondek/GUT_Monte_Carlo_Tree_Search
source/playouts/WithUctSortRootParallelization.h
C
mit
587
<?php class Demomap { protected $_db; public function __construct(Database $db) { $this->_db = $db; } public function getEffectsByDemo($id) { $params = array( ':id' => $id); $sql = "SELECT * FROM demos_has_effects WHERE demo_id = :id"; $data = $this->_db->select(...
gopeter/demomap
frontend/lib/php/demomap.class.php
PHP
mit
1,706
# XeroAPI\XeroPHP\IdentityApi All URIs are relative to *https://api.xero.com* Method | HTTP request | Description ------------- | ------------- | ------------- [**deleteConnection**](IdentityApi.md#deleteConnection) | **DELETE** /Connections/{id} | Deletes a connection for this user (i.e. disconnect a tenant) [**getC...
unaio/una
modules/boonex/xero/plugins/xeroapi/xero-php-oauth2/doc/identity/Api/IdentityApi.md
Markdown
mit
3,577
#!/bin/bash # # Generate the announce template # # Completely copy/paste of Xorg/util/modular/release.sh: # # Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (th...
cvuchener/libratbag
release.sh
Shell
mit
18,923
// change these variables var data_source_name = ""; // end changes if(a=="view"){ (function (u,c,p,a,r,q) { if (!utag.ut) utag.ut = {}; r = function (w, x, y, z) { // read cookie x = w + "="; y = document.cookie.split(';'); for (var i = 0; i < y...
runfaj/inteliquant
Tealium TMS/percent_page_viewed.js
JavaScript
mit
3,974
<!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_20) on Mon May 02 10:23:15 CEST 2011 --> <TITLE> Uses of Class play.libs.F.Tuple (Play! API) </TITLE> <META NAME="date" CONTENT="2011-05-02"> <LINK...
lafayette/JBTT
framework/documentation/api/play/libs/class-use/F.Tuple.html
HTML
mit
9,616
<?php /* * Go! AOP framework * * @copyright Copyright 2013, Lisachenko Alexander <lisachenko.it@gmail.com> * * This source file is subject to the license that is bundled * with this source code in the file LICENSE. */ namespace Go\Console\Command; use Go\Core\AspectKernel; use Symfony\Component\Console\Command...
mokuben/project_one
fuel/vendor/goaop/framework/src/Console/Command/BaseAspectCommand.php
PHP
mit
1,564
<!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...
v8-dox/v8-dox.github.io
9f73df5/html/classv8_1_1Module-members.html
HTML
mit
6,330
<?php namespace MandarinMedien\MMCmfContentBundle\Form\Type; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\ChoiceType; use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class HeadlineType extends AbstractTy...
Mandarin-Medien/MMCmfContentBundle
Form/Type/HeadlineType.php
PHP
mit
758
--- layout: post title: Feminism and gender equality bestof: true --- I've been thinking a lot over the last few months about equality, specifically gender equality. There's been so much talk about it in the tech-sphere that's it's been difficult to avoid. I've been thinking about how close we are to gender equality an...
samhutchins/samhutchins.github.io
_posts/2015-06-12-feminism-and-gender-equality.md
Markdown
mit
3,316
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="description" content=""> <meta name="author" content="Oleksandr Vladymyrov"> <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> <link rel="shortcut icon" href="img/favi...
OleksandrVladymyrov/FBShareDialog
index.html
HTML
mit
3,709
#!/usr/bin/env bash coverage run manage.py test --keepdb \ && coverage html \ && coverage report
iMerica/django-react-uncool
test.sh
Shell
mit
97
<?php /* * This file is part of PHPExifTool. * * (c) 2012 Romain Neutron <imprec@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\RealRA4; use JMS\Serializer\Annotation\ExclusionPolicy;...
romainneutron/PHPExiftool
lib/PHPExiftool/Driver/Tag/RealRA4/Copyright.php
PHP
mit
817
<a name="eFileType"></a> ## eFileType : <code>enum</code> Enum with a `type` value, no individual property descriptions. **Kind**: global enum **Read only**: true **Properties** | Name | Type | Default | | --- | --- | --- | | NOEXIST | <code>number</code> | <code>0</code> | | FILE | <code>number</code> | <code>...
jsdoc2md/testbed
build/jsdoc/global/enum/3-dmd.md
Markdown
mit
1,098
using UnityEngine; using System.Collections; public class DialoguePlayer : MonoBehaviour { public DialogueConversation conversation = null; public TextMesh displayMesh = null; public Transform ModelTransfrom; public int lineIndex = -1; void Start() { nextLine(); } void Updat...
289997171/UnityCustomEditorSeriesExamples
Assets/Examples/D) Custom Assets/Scripts/DialoguePlayer.cs
C#
mit
1,285
import ValidationHandler from 'src/handler/ValidationHandler.js' import { EventMapping } from 'src/helper/EventMapping.js' //import jquery from 'jquery' import jquery from 'libs/jquery-3.4.1.dev.js'; import { CharacterClassOptions } from 'src/model/page/CharacterClassOptions.js' import { ArraySet } from 'src/model/Ar...
TheDarrenJoseph/AberWebMUD
server/js-files/src/model/page/CharacterDetails.js
JavaScript
mit
12,092
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc on Wed Jun 18 10:17:06 PDT 2003 --> <TITLE> PropertySuffix (JSP 2.0 Expression Language Implementation (Version 1.0)) </TITLE> <LINK REL ="stylesheet" TYPE="te...
kennetham/LTA-Traffic-Demo
commons-el-1.0/docs/api/org/apache/commons/el/PropertySuffix.html
HTML
mit
16,231
<?php echo form_open($this->config->item('admin_folder').'/customers/SaveCharges'); ?> <div class="row"> <div class="form-group"> <label>GST(%)</label> <?php $data = array('name'=>'servicetax', 'value'=>set_value('servicetax', $servicetax), 'class'=>'form-control'); echo form_input($data); ?> </div> ...
virendrayadav/grazzyweb
application/views/admin/charges_form.php
PHP
mit
1,826
const watson = require('watson-developer-cloud'); const API_KEY = '1b72f2aaaf9d29cd93d4805592c8991c828f9169'; // Put API key here // Connect to Watson Alchemy Language service if (API_KEY) { var alchemy = watson.alchemy_language({ api_key: API_KEY }); } else { console.error('Could not connect to A...
lysfibe/ThePrejudiceLeague
services/alchemy.js
JavaScript
mit
1,240
<!DOCTYPE html> <!--[if IE]><![endif]--> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>제어되는 input 내의 null 값 | React</title> <meta name="viewport" content="width=device-width"> <meta property="og:title" content="제어되는 input 내의 null 값 | React"> <meta...
voorhoede/fastatic
examples/react-gh-pages/tips/controlled-input-null-value-ko-KR.html
HTML
mit
16,469
const webpack = require('webpack') const express = require('express') const path = require('path') const webpackDevMiddleware = require('webpack-dev-middleware') const webpackConfig = require('../build/webpack.config.js') const config = require('../project.config.js') const compiler = webpack(webpackConfig) const ser...
Ollo/shell
server/index.js
JavaScript
mit
817
<?HH use HackFastAlgos\DataStructure as DataStructure; class AdjListTest extends \PHPUnit_Framework_TestCase { public function testCanSetToWeightedList() { $adjList = new DataStructure\AdjList(); $adjList->setWeighted(); $this->assertTrue($adjList->isWeighted()); } public function testCanSetToNotWeightedLi...
cozylife/hackfastalgos
tests/datastructure/adjlist.php
PHP
mit
4,498
module Neo4j module Rails module NestedAttributes extend ActiveSupport::Concern extend TxMethods def update_nested_attributes(rel_type, attr, options) allow_destroy, reject_if = [options[:allow_destroy], options[:reject_if]] if options begin # Check if we want to destr...
mneedham/neo4j-1
lib/neo4j/rails/nested_attributes.rb
Ruby
mit
3,768
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>difference</title> <link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../../../index.html" title=...
davehorton/drachtio-server
deps/boost_1_77_0/libs/geometry/doc/html/geometry/reference/algorithms/difference/difference_3.html
HTML
mit
23,185
<?php // Load all application files and configurations require($_SERVER[ 'DOCUMENT_ROOT' ] . '/../includes/application_includes.php'); // Include the HTML layout class require_once(FS_TEMPLATES . 'Layout.php'); require_once(FS_TEMPLATES . 'News.php'); // Connect to the database $db = new Database(DB_HOST, DB_US...
ConSeanery/CSC206_Green
public/createAudio.php
PHP
mit
5,320
.PHONY: get clean nw: nw.go go build -o nw get: go get -v ./... clean: rm -f nw
robbiev/numberwang
Makefile
Makefile
mit
86
frame_len = .1 keys = { 'DOWN': 0x42, 'LEFT': 0x44, 'RIGHT': 0x43, 'UP': 0x41, 'Q': 0x71, 'ENTER': 0x0a, } apple_domain = 1000 food_values = { 'apple': 3, } game_sizes = { 's': (25, 20), 'm': (50, 40), 'l': (80, 40), } initial_size = 4
tancredi/python-console-snake
snake/config.py
Python
mit
282
<!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_101) on Sat Jul 08 21:03:43 CEST 2017 --> <title>YarnType (jarn 1.0.0 API)</title> <meta name="date" content="2017-07-08"> <link rel="styleshee...
mini2Dx/jarn
docs/javadoc/1.0.0/org/mini2Dx/yarn/types/YarnType.html
HTML
mit
13,105
package ic2.api.energy.tile; /** * Tile entities which conduct energy pulses without buffering (mostly cables) have to implement this * interface. * * See ic2/api/energy/usage.txt for an overall description of the energy net api. */ public interface IEnergyConductor extends IEnergyAcceptor, IEnergyEmitter { ...
AgileMods/MateriaMuto
src/api/java/ic2/api/energy/tile/IEnergyConductor.java
Java
mit
1,482
#ifndef FSL_CACHE_H #define FSL_CACHE_H #define FSL_IO_CACHE_ENTS 512 /* 16KB */ //#define FSL_IO_CACHE_ENTS (4097) #define FSL_IO_CACHE_BYTES 32 #define FSL_IO_CACHE_BITS (FSL_IO_CACHE_BYTES*8) #define byte_to_line(x) ((x)/FSL_IO_CACHE_BYTES) #define bit_to_line(x) ((x)/FSL_IO_CACHE_BITS) #define byte_to_cache_addr...
chzchzchz/fsl
src/runtime/rt-pread/cache.h
C
mit
913
package com.manuelmaly.hn; import android.app.Activity; import android.app.AlertDialog; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; im...
tuyendothanh/baohiendai
app/src/main/java/com/manuelmaly/hn/CategoryChildActivity.java
Java
mit
17,715
# hello-world Learning Geihub Dr.Richard please meet Rosemary from NetOne who we want to launch the Haraka application with. Rosemary please can you introduce your Technical guys to Dr. Richard so we can start with the integration process of the Haraka app with NetOne.
cap101986/hello-world
README.md
Markdown
mit
271
import Expr from './Expr' export default class ColorByWavelengthExpr extends Expr { constructor(value, $loc) { super('colorByWavelength', $loc) this.value = value } _evaluateInternal(e) { return e.evalColorByWavelength(this) } }
mezzario/color-math
src/nodes/ColorByWavelengthExpr.js
JavaScript
mit
265
<?php namespace Clue\Tests\React\HttpProxy; use Clue\React\Block; use Clue\React\HttpProxy\ProxyConnector; use React\EventLoop\Loop; /** @group internet */ class FunctionalTest extends AbstractTestCase { public function testNonListeningSocketRejectsConnection() { $proxy = new ProxyConnector('127.0.0....
clue/php-http-proxy-react
tests/FunctionalTest.php
PHP
mit
2,903
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("Da...
alandixon/DarkWeather
DarkWeather/DarkWeather.WinPhone/Properties/AssemblyInfo.cs
C#
mit
1,086
package main import ( "encoding/json" "io" "log" "net/http" "sort" "strings" "google.golang.org/appengine/v2" ) // allowMethods is a comman-separated list of allowed HTTP methods, // suitable for Allow or CORS allow-methods header. var allowMethods = "GET, HEAD, OPTIONS" // ServeObject writes object o to w, ...
goadesign/goa.design
appengine/handle.go
GO
mit
2,581
#!/bin/bash echo "parsing 08_speedup" strindex() { x="${1%%$2*}" [[ $x = $1 ]] && echo -1 || echo ${#x} } declare -a files=`find /dissertation_output/08_speedup -name pge_errs.log -exec ls -d {} \;` rm -f table.txt rm -f headers2.txt printf "problem " > table2.txt for file in ${files[@]}; do if [ ! -f "...
verdverm/pypge
experiments/post_process/08_speedup/parse.sh
Shell
mit
1,295
# PowerShell-Things I am a lazy Microsoft Windows admin. These scripts make my work life easier. Just a collection of powershell scripts to help me with day to day tasks.
nethomas/PowerShell-Things
README.md
Markdown
mit
175
td { border:solid 1px grey; padding: 20px; text-align: center; text-decoration: none; } td:hover { background: aqua; } .selected{ background: aqua; } .notSelected{ background: #f8f8f8; } body { font: 400 16px 'Muli', sans-serif; } .inner { padding: 30px; } /*Table*/ table{ margin...
ivanshen/Se7en
css/main.css
CSS
mit
709
using Newtonsoft.Json; namespace NadekoBot.Core.Common { public class CmdStrings { public string[] Usages { get; } public string Description { get; } [JsonConstructor] public CmdStrings( [JsonProperty("args")]string[] usages, [JsonProperty("desc")]strin...
ShadowNoire/NadekoBot
NadekoBot.Core/Common/CmdStrings.cs
C#
mit
441
import React, { Component, PropTypes } from 'react'; /*** Third Party Components ***/ import Dialog from 'react-toolbox/lib/dialog'; import { Button, IconButton } from 'react-toolbox/lib/button'; import Icon from 'react-fa'; import style from './style.scss'; class NavButton extends Component { constructor(props)...
natac13/vegan-recipe-app-redux
app/components/NavButton/NavButton.js
JavaScript
mit
1,674
import clone from "clone"; const initialState = { busy: false }; export default function(state = initialState, action) { const { type, payload } = action; switch (type) { case "BUSY": { const newState = clone(state); newState.busy = payload; const stateCopy = { ...state }; return newState; } } re...
holyman2k/react-starter-kit
src/app/reducers/busyReducer.js
JavaScript
mit
334
require 'fluent/test' require 'fluent/test/driver/input' require 'fluent/plugin/in_jmx'
niyonmaruz/fluent-plugin-jmx
spec/spec_helper.rb
Ruby
mit
88
# frozen_string_literal: true require "hanami/helpers/html_helper/html_builder" module Hanami module Helpers # HTML builder # # By including <tt>Hanami::Helpers::HtmlHelper</tt> it will inject one private method: <tt>html</tt>. # This is a HTML5 markup builder. # # Features: # # * ...
hanami/helpers
lib/hanami/helpers/html_helper.rb
Ruby
mit
5,702
// Too much stuff for one sketch... #include "mu.h" #include <string> #include <iostream> #define EXAMPLES_DIRECTORY "/Users/r/Projects/Mu/examples/sounds/" // #define THUMPS_AND_SCRATCHES_DIRECTORY "/Users/r/Projects/Mu/SoundSets/TAS/" // #define PLUCKED_NOTE_DIRECTORY "/Users/r/Projects/Mu/SoundSets/A/" void wait_...
rdpoor/mu
examples/mu_16.cpp
C++
mit
10,718
namespace DP.Tinast.Controls { using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml;...
daparker2/Tinast_Public
src/lib/Controls/TemperatureControl.xaml.cs
C#
mit
5,466
module TestApi module ApplicationHelper end end
ali-hassan/test_api
app/helpers/test_api/application_helper.rb
Ruby
mit
52
/*====================================================================* - Copyright (C) 2001 Leptonica. All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - 1. Redistributions of source c...
BonexGu/Blik2D-SDK
Blik2D/addon/openalpr-2.3.0_for_blik/openalpr-windows-2.2.0/tesseract-ocr/dependencies/liblept/src/spixio.c
C
mit
13,532
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var ObjectId = Schema.Types.ObjectId; /** * Connect Mongodb */ mongoose.connect('mongodb://localhost/speedyfx'); /** * Schemas */ var UserSchema = new Schema({ uid: { type: String, required: true, trim: true, index: { unique: true, dropDups: ...
johnsmith17th/SpeedyFx
lib/dataaccess/handler/mongo/model.js
JavaScript
mit
2,917
from distutils.core import setup import sslserver setup(name="django-sslserver", version=sslserver.__version__, author="Ted Dziuba", author_email="tjdziuba@gmail.com", description="An SSL-enabled development server for Django", url="https://github.com/teddziuba/django-sslserver", pa...
mapennell/django-sslserver
setup.py
Python
mit
759
# encoding: utf-8 module Pulo class Water #def self.bulk_modulus #BulkModulus.new(2.15*10**9) #end #def self.expansion_coefficient # Dimensionless.n(0.000088) #end #def self.enthalpy_of_vaporization # 40680 #end def self.standard_density Density.kilograms_per_cubic_meter(1...
AndyFlem/pulo
lib/pulo/material/water.rb
Ruby
mit
1,182
package cronapi.odata.server; import cronapi.ErrorResponse; import cronapi.RestClient; import cronapi.database.TransactionManager; import javax.persistence.EntityManagerFactory; import javax.persistence.FlushModeType; import org.apache.olingo.odata2.api.ODataService; import org.apache.olingo.odata2.api.edm.EdmEntityS...
technecloud/cronapi-java
src/main/java/cronapi/odata/server/JPAODataServiceFactory.java
Java
mit
2,529
FROM kbase/kbase:sdkbase2.latest MAINTAINER KBase Developer [Dylan Chivian (DCChivian@lbl.gov)] # ----------------------------------------- # In this section, you can install any system dependencies required # to run your App. For instance, you could place an apt-get update or # install line here, a git checkout to d...
dcchivian/kb_gblocks
Dockerfile
Dockerfile
mit
930
<?php namespace Bricks\SiteBundle\Entity; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\ORM\Mapping as ORM; use DoctrineExtensions\Taggable\Taggable; use Gedmo\Mapping\Annotation as Gedmo; use Eko\FeedBundle\Item\Writer\RoutedItemInterface; use Bricks\SiteBundle\Model\Resource; /** * Bricks\SiteBun...
inmarelibero/SymfonyBricks
src/Bricks/SiteBundle/Entity/ExternalResource.php
PHP
mit
8,954
body { background: url(img/brickwall.png) repeat 0 0; } header { margin-bottom: 2em; } header a { width: 100%; height: auto; margin: 45px auto 0; display: block; } #userss { border:3px solid black; position:absolute; background:url(img/witewall_3.png) repeat 0 0; top:10%; left:6...
aravindkk/Single-room-chat-application
style.css
CSS
mit
1,036
import 'rxjs/add/operator/combineLatest'; import 'rxjs/add/operator/take'; import 'rxjs/add/operator/skip'; import 'rxjs/add/operator/withLatestFrom'; import 'rxjs/add/operator/concat'; import 'rxjs/add/operator/share'; export default function(...observables) { return source => { const published = source.share()...
kelly-shen/canigraduate.uchicago.edu
vue-frontend/src/lib/with-latest-from-blocking.js
JavaScript
mit
467
<!--========== START COMPONENT TEAM PRODUCT LIST ==========--> <div class="component-team-product-list"> <div class="product-list-wrapper"> <div class="title-primary"> <p class="left-title"> <span class="left-top-title">anteposuerit </span> <span class="left-bottom-title">ullamcorper</span> ...
easy-development/meith-html-template
php-version/parts/team/team-style-list.php
PHP
mit
16,270
(function ($, window) { $.fn.twitterify = function (options) { return this.each(function () { new window.twitterify.Twitterifier(this, options) .init() .load(); }); }; }(jQuery, window));
bradgignac/jquery-twitterify
lib/jquery.twitterify.js
JavaScript
mit
224
using System; using System.Collections.Generic; namespace NetSpec { public sealed class ExampleGroup { internal ExampleGroup parent; internal ExampleHooks hooks = new ExampleHooks(); internal HooksPhase phase = HooksPhase.nothingExecuted; private string internalDescription { ...
petester42/NetSpec
src/netspec/ExampleGroup.cs
C#
mit
3,897
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("Co...
rdelhommer/MainPower.Com0com.Redirector
examples/Com0Com.CSharp.Examples/Properties/AssemblyInfo.cs
C#
mit
1,422
module Sastrawi module Morphology module Disambiguator class DisambiguatorPrefixRule31b def disambiguate(word) contains = /^peny([aiueo])(.*)$/.match(word) if contains matches = contains.captures return "s#{matches[0]}#{matches[1]}" end ...
meisyal/sastrawi-ruby
lib/sastrawi/morphology/disambiguator/disambiguator_prefix_rule31b.rb
Ruby
mit
353
#ifndef _CVECTOR_H_ #define _CVECTOR_H_ ////////////////////////////////////////////////////////////////////////////////// // INCLUDES / LIBS /////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////// #pragma comment ( lib, "d3dx9...
LeeBamberTGC/Dark-Basic-Pro
Dark Basic Public Shared/Dark Basic Pro SDK/Shared/Vectors/cVectorC.h
C
mit
18,803
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import <SAObjects/SASettingGetBool.h> @interface SASettingGetDoNotDisturb : SASettingGetBool { } + (id)getDoNotDisturbWithDictionary:(id)arg1 context:(id)arg2; + (id)getDoNotD...
matthewsot/CocoaSharp
Headers/PrivateFrameworks/SAObjects/SASettingGetDoNotDisturb.h
C
mit
409
<template name="mysoPage"> <h1>My Love</h1> </template>
andrewlintz/LifeMngr
client/views/320_love/myso/myso.html
HTML
mit
56
// Generated by xsd compiler for ios/objective-c // DO NOT CHANGE! #import <Foundation/Foundation.h> #import "PicoClassSchema.h" #import "PicoPropertySchema.h" #import "PicoConstants.h" #import "PicoBindable.h" #import "Finding_BaseFindingServiceRequest.h" @class Finding_ProductId; @class Finding_ItemFilter; /** ...
maxep/PicoKit
Examples/eBayDemoApp/eBayDemoApp/com/ebay/marketplace/search/v1/services/Finding_FindItemsByProductRequest.h
C
mit
2,356
""" Dump Mapper This script acts as a map/function over the pages in a set of MediaWiki database dump files. This script allows the algorithm for processing a set of pages to be spread across the available processor cores of a system for faster analysis. This script can also be imported as a module to expose the ...
maribelacosta/wikiwho
wmf/dump/map.py
Python
mit
7,155
/* * Copyright (c) 2015-2021, Antonio Gabriel Muñoz Conejo <antoniogmc at gmail dot com> * Distributed under the terms of the MIT License */ package com.github.tonivade.claudb.command.server; import static com.github.tonivade.resp.protocol.RedisToken.array; import static com.github.tonivade.resp.protocol.RedisToken...
tonivade/tiny-db
src/test/java/com/github/tonivade/claudb/command/server/RoleCommandTest.java
Java
mit
1,964
#include "mdns.h" #include "commonservices.h" #include "mem.h" #include "c_types.h" #include "user_interface.h" #include "ets_sys.h" #include "osapi.h" #include "espconn.h" #include "mystuff.h" #include "ip_addr.h" #define MDNS_BRD 0xfb0000e0 static char * MDNSNames[MAX_MDNS_NAMES]; static struct espconn *pMDNSServer...
jonshouse1/esp8266ws2812i2s_JA
common/mdns.c
C
mit
11,981
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AdminAutobody Modals</title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <!...
takahashi56/auto-repair
bower_components/AdminLTE/pages/UI/modals.html
HTML
mit
35,891
// // ARNLiveBlurView.h // ARNLiveBlurView // // Created by Airin on 2014/05/22. // Copyright (c) 2014 Airin. All rights reserved. // #import <UIKit/UIKit.h> @class ARNLiveBlurView; typedef void (^ARNObservingScrollViewBlock) (ARNLiveBlurView *blurredView, UIScrollView *observingView); @interface ARNLiveBlurVie...
xxxAIRINxxx/ARNLiveBlurView
ARNLiveBlurView/ARNLiveBlurView.h
C
mit
691
#include "../h/PaqueteDatagrama.h" #include "../h/SocketDatagrama.h" #include "../h/header.h" #include <iostream> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <stdio.h> #include <sys/types.h> #include <sys/wait.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> using namespace s...
DSD-TELCEL-ESCOM/INE-Votation-Distributed-System
sqlite/src/cliente.cpp
C++
mit
1,180
from __future__ import absolute_import from __future__ import unicode_literals import collections import jsonschema DEFAULT_GENERATE_CONFIG_FILENAME = 'generate_config.yaml' GENERATE_OPTIONS_SCHEMA = { 'type': 'object', 'required': ['repo', 'database'], 'properties': { 'skip_default_metrics': ...
ucarion/git-code-debt
git_code_debt/generate_config.py
Python
mit
1,667
* PySeq version: * Python version: * Operating System: ### Description Describe what you were trying to get done. Tell us what happened, what went wrong, and what you expected to happen. ### What I Did ``` Paste the command(s) you ran and the output. If there was a crash, please include the traceback here. ```
tintoy/seqlog
.github/ISSUE_TEMPLATE.md
Markdown
mit
316
# Sequel Pro dump # Version 254 # http://code.google.com/p/sequel-pro # # Host: localhost (MySQL 5.0.67) # Database: reznap_development # Generation Time: 2009-01-02 19:18:43 +0200 # ************************************************************ # Dump of table categories # ----------------------------------------------...
jimeh/zynapse
db/zynapse_development.sql
SQL
mit
2,695
<!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...
EricChenC/quark_engine
media/doc/html/classqe_1_1core_1_1_quark_behaviour-members.html
HTML
mit
24,928
package org.squiddev.cctweaks.api; import net.minecraft.util.BlockPos; import net.minecraft.world.IBlockAccess; import javax.annotation.Nonnull; /** * Helper interface for blocks that provide a position */ public interface IWorldPosition { /** * Get the world the block lies in * * @return The block's world ...
SquidDev-CC/CC-Tweaks
src/api/java/org/squiddev/cctweaks/api/IWorldPosition.java
Java
mit
481
// Copyright (c) 2019 Philipp Weber // Use of this source code is governed by the MIT license // which can be found in the repositorys LICENSE file. /* Package hibpgo provides access to the "Have I been Pwned?" API from Troy Hunt (https://haveibeenpwned.com). It supports all the RESTful service endpoints and parameter...
phlipse/hibpgo
doc.go
GO
mit
358
# Tidbits :bulb: A website to collect tidbits of knowledge from experience. View it here: http://jake.burgy.me/tidbits/ Powered by [Jekyll](https://jekyllrb.com/) and [GitHub Pages](https://pages.github.com/). ## Source To view the source, [switch to the `gh-pages` branch](https://github.com/qJake/tidbits/tree/gh-...
qJake/tidbits
README.md
Markdown
mit
417
'use strict'; /** * Module dependencies */ var flipflopsPolicy = require('../policies/flipflops.server.policy'), flipflops = require('../controllers/flipflops.server.controller'); module.exports = function(app) { // Flipflops Routes app.route('/api/flipflops').all(flipflopsPolicy.isAllowed) .get(flipflops...
tonymullen/flipflop
modules/flipflops/server/routes/flipflops.server.routes.js
JavaScript
mit
1,121
<?php /* Plugin Name: Trusona Plugin URI: https://wordpress.org/plugins/trusona/ Description: Login to your WordPress with Trusona’s FREE #NoPasswords plugin. This plugin requires the Trusona app. View details for installation instructions. Version: 1.5.5 Author: Trusona Author URI: https:/...
trusona/wp-trusona
trusona-openid.php
PHP
mit
21,499
package com.toyshop.www.views; import com.toyshop.data.entity.Product; public class ProductView { private Product product=new Product(); public Product getProduct() { return product; } }
icoolno1/toyshop
toyshop/src/com/toyshop/www/views/ProductView.java
Java
mit
211