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
// // partial2js // Copyright (c) 2014 Dennis Sänger // Licensed under the MIT // http://opensource.org/licenses/MIT // "use strict"; var glob = require('glob-all'); var fs = require('fs'); var path = require('path'); var stream = require('stream'); var htmlmin = require('html-minifier').minify; var escape...
ds82/partial2js
index.js
JavaScript
mit
4,307
--- layout: post title: Creating a gem with bundler date: 2013-11-26 10:48:31 disqus: n --- A trick I am learning since 2 years ago : splitting up even more of the main code base into smaller parts. The ideas behind this are numerous : from speeding up tests to keeping things simple. Defining sub parts of the product...
mcansky/mcansky.github.io
_posts/2013-11-26-Creating-a-gem-with-minitest.md
Markdown
mit
10,874
<?php /* Cachekey: cache/stash_default/doctrine/doctrinenamespacecachekey[dc2_b1b70927f4ac11a36c774dc0f41356a4_]/ */ /* Type: array */ $loaded = true; $expiration = 1425255999; $data = array(); /* Child Type: integer */ $data['return'] = 1; /* Child Type: integer */ $data['createdOn'] = 1424843731;
imyuvii/concrete
application/files/cache/0fea6a13c52b4d47/25368f24b045ca84/38a865804f8fdcb6/57cd99682e939275/2ddb27c5cdf0b672/745d4c64665be841/6a8ae9bbe8c71756/ee7cd192ca4a73e0.php
PHP
mit
307
<!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Blocks &amp; Guidelines</title> <link rel="stylesheet" type="text/css" href="./css/ui.css"> <script...
OSU-Infovis/BlocksAndGuides
ui.html
HTML
mit
1,378
<?php class AsuransiForm extends CFormModel { public $stringNIM; public $arrayNIM; public function rules() { return array( array('stringNIM', 'required'), ); } public function attributeLabels() { return array( 'stringNIM' => Yii::t('app','NIM'), ); } protected function beforeValidate() { p...
ata/kkn
protected/models/AsuransiForm.php
PHP
mit
910
# The MIT License (MIT) Copyright (c) 2017 Eric Scuccimarra <skooch@gmail.com> > 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 >...
escuccim/LaraBlog
LICENSE.md
Markdown
mit
1,136
function main() while true do print('Hello') end end live.patch('main', main) live.start(main)
zentner-kyle/lua-live
example/hello1.lua
Lua
mit
105
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. #nullable disable namespace StyleCop.Analyzers.OrderingRules { using System; using System.Collections.Immutable; using Microsoft.CodeAnalysis;...
DotNetAnalyzers/StyleCopAnalyzers
StyleCop.Analyzers/StyleCop.Analyzers/OrderingRules/SA1203ConstantsMustAppearBeforeFields.cs
C#
mit
6,370
// // Created by Kévin POLOSSAT on 14/01/2018. // #ifndef LW_TCP_SERVER_SOCKET_H #define LW_TCP_SERVER_SOCKET_H #include <memory> #include <type_traits> #include "Socket.h" #include "Reactor.h" #include "Buffer.h" #include "Operation.h" #include "SSLSocket.h" namespace lw_network { template<typename Sock = Socket> ...
polosskevin/zia
src/modules/server/lw_network/ReactiveSocketBase.h
C
mit
5,070
var testLogin = function(){ var username = document.getElementById("username").value; var password = document.getElementById("password").value; alert("username="+username+" , password="+password); } window.onload = function (){ }
Xcoder1011/OC_StudyDemo
OC与JS互调/WebView-JS/WebView-JS/加载本地的js,html,css/js/test.js
JavaScript
mit
248
from __future__ import absolute_import, division, print_function, unicode_literals # Statsd client. Loosely based on the version by Steve Ivy <steveivy@gmail.com> import logging import random import socket import time from contextlib import contextmanager log = logging.getLogger(__name__) class StatsD(object): ...
smarkets/smk_python_sdk
smarkets/statsd.py
Python
mit
2,824
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Profiler.cs" company="Kephas Software SRL"> // Copyright (c) Kephas Software SRL. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root ...
quartz-software/kephas
src/Kephas.Core/Diagnostics/Profiler.cs
C#
mit
19,835
using System; using System.Collections.Generic; using System.Runtime.InteropServices; namespace Examples { class Program { [STAThread] static void Main(string[] args) { SolidEdgeFramework.Application application = null; SolidEdgePart.PartDocument partDocument = ...
SolidEdgeCommunity/docs
docfx_project/snippets/SolidEdgePart.RevolvedCutout.TopCap.cs
C#
mit
1,741
class MySessionsController < ApplicationController prepend_before_filter :stop_tracking, :only => [:destroy] def stop_tracking current_user.update_attributes(:current_sign_in_ip => nil) end end
jaylane/nycdispensary
app/controllers/my_sessions_controller.rb
Ruby
mit
206
using System.ComponentModel; namespace LinqAn.Google.Metrics { /// <summary> /// The total number of completions for the requested goal number. /// </summary> [Description("The total number of completions for the requested goal number.")] public class Goal19Completions: Metric<int> { /// <summary> /// Inst...
kenshinthebattosai/LinqAn.Google
src/LinqAn.Google/Metrics/Goal19Completions.cs
C#
mit
490
using Silk.NET.Input; using Silk.NET.Maths; using Silk.NET.Windowing; namespace WemkuhewhallYekaherehohurnije { class Program { private static IWindow _window; private static void Main(string[] args) { //Create a window. var options = WindowOptions.Default; ...
lindexi/lindexi_gd
WemkuhewhallYekaherehohurnije/WemkuhewhallYekaherehohurnije/Program.cs
C#
mit
2,129
FILE(REMOVE_RECURSE "CMakeFiles/polynomialutils_4.dir/polynomialutils.cpp.o" "polynomialutils_4.pdb" "polynomialutils_4" ) # Per-language clean rules from dependency scanning. FOREACH(lang CXX) INCLUDE(CMakeFiles/polynomialutils_4.dir/cmake_clean_${lang}.cmake OPTIONAL) ENDFOREACH(lang)
cmeon/Simplex
lib/unsupported/test/CMakeFiles/polynomialutils_4.dir/cmake_clean.cmake
CMake
mit
297
--- title: Overdose Fatality Review Teams Literature Review _template: publication area: - Criminal Justice System pubtype: - Research Report pubstatatus: 'true' summary: States and localities across the United States have implemented overdose fatality review teams to address the impact of the opioid crisis on thei...
ICJIA/icjia-public-website
_content/55-publications/2021-03-15-overdose-fatality-review-teams-literature-review.html
HTML
mit
1,987
<?php namespace Libreame\BackendBundle\Helpers; use Libreame\BackendBundle\Controller\AccesoController; use Libreame\BackendBundle\Repository\ManejoDataRepository; use Libreame\BackendBundle\Entity\LbIdiomas; use Libreame\BackendBundle\Entity\LbUsuarios; use Libreame\BackendBundle\Entity\LbEjemplares; use Libreame...
BaisicaSAS/LibreameBE
src/Libreame/BackendBundle/Helpers/GestionEjemplares.php
PHP
mit
38,081
/** * marked - a markdown parser * Copyright (c) 2011-2014, Christopher Jeffrey. (MIT Licensed) * https://github.com/chjj/marked */ ;(function() { /** * Block-Level Grammar */ var block = { newline: /^\n+/, code: /^( {4}[^\n]+\n*)+/, fences: noop, hr: /^( *[-*_]){3,} *(?:\n+|$)/, heading: /^ *(#{1,6}...
jhelbig/postman-linux-app
app/resources/app/node_modules/8fold-marked/lib/marked.js
JavaScript
mit
29,680
// Unit Test (numerical differentiation) #include <gtest/gtest.h> #include <cmath> #include "diff.h" #include "matrix.h" using namespace nmlib; static double f_11(double x){ return cos(x); } static double f_n1(const Matrix& x){ return cos(x(0))*cos(2*x(1)); } static Matrix f_nm(const Matrix& x){ Matrix y(3); y(0)=...
nmakimoto/nmlib
test/gtest_diff.cpp
C++
mit
2,456
import React from "react"; import { Message } from "semantic-ui-react"; import Bracket from "./Bracket"; import "./index.scss"; import parseStats from './parseStats'; export default class Brackets extends React.PureComponent { constructor(props) { super(props); this.state = { data: this.updateStats(p...
socialgorithm/ultimate-ttt-web
src/components/Lobby/Tournament/types/Brackets/index.js
JavaScript
mit
1,151
<!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="./41814c947891496a1acc2233f71c55d6d8d51db20b34ea7b2815cc76b4bf13c8.html">Teleport</a> <hr> ...
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/b27a49775c444cb482bdd5ad724ef29021224f933713fb663dba33bd34c415e1.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="./d2fe18e71c8455c6ae9719209877704ba01fd0b8a3641bcff330a4d9c8a66210.html">Teleport</a> <hr> ...
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/37b93c337d764afc6c82c4a0e3a29ac3eb67cfb701bc613645d1067f200bb816.html
HTML
mit
550
define([ 'backbone', 'metro', 'util' ], function(Backbone, Metro, Util) { var MotivationBtnView = Backbone.View.extend({ className: 'motivation-btn-view menu-btn', events: { 'click': 'toggle', 'mouseover': 'over', 'mouseout': 'out', }, initialize: function(){ //ensure correct scope _....
AjaxJackjia/TGA
WebContent/module/view/tools/MotivationBtnView.js
JavaScript
mit
4,112
<!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 (version 1.7.0_11) on Wed Mar 06 13:52:23 HST 2013 --> <title>S-Index</title> <meta name="date" content="2013-03-06"> <link rel="stylesheet" type="tex...
justinslee/robocode-jsl-EasyKillBot
doc/index-files/index-9.html
HTML
mit
6,055
// Copyright (c) 2009-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_NETADDRESS_H #define BITCOIN_NETADDRESS_H #include "compat.h" #include "serialize.h" #include <stdint.h> #i...
neutroncoin/neutron
src/netaddress.h
C
mit
6,442
<?php /** * Switch shortcode * * @category TacticalWP-Theme * @package TacticalWP * @author Tyler Kemme <dev@tylerkemme.com> * @license MIT https://opensource.org/licenses/MIT * @version 1.0.4 * @link https://github.com/tpkemme/tacticalwp-theme * @since 1.0.0 */ /** * Outputs an switch when the [twp-switc...
tpkemme/tacticalwp-theme
library/shortcode/switch.php
PHP
mit
1,075
from setuptools import setup, find_packages from codecs import open from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() setup( name='fcit', # Versions...
kjchalup/dtit
setup.py
Python
mit
2,610
import pandas as pd import os import time from datetime import datetime import re from time import mktime import matplotlib import matplotlib.pyplot as plt from matplotlib import style style.use("dark_background") # path = "X:/Backups/intraQuarter" # for Windows with X files :) # if git clone'ed then use relative path...
PythonProgramming/Support-Vector-Machines---Basics-and-Fundamental-Investing-Project
p10.py
Python
mit
4,949
/* * App Actions * * Actions change things in your application * Since this boilerplate uses a uni-directional data flow, specifically redux, * we have these actions which are the only way your application interacts with * your application state. This guarantees that your state is up to date and nobody * messes ...
madHEYsia/Muzk
app/containers/App/actions.js
JavaScript
mit
1,581
# oninput-fix >Fix input event in jquery, support low version of ie. ### Introduction: Default is CommonJS module If not CommonJS you must do this: >1.Remove first and last line of the code > >2.Wrap code useing: ```js (function ($){ // the code of remove first and last line }(jQuery)); ``` ### API: Sample: > ``...
nuintun/oninput-fix
README.md
Markdown
mit
587
package cmd import ( "errors" "github.com/cretz/go-safeclient/client" "github.com/spf13/cobra" "log" "os" ) var lsShared bool var lsCmd = &cobra.Command{ Use: "ls [dir]", Short: "Fetch directory information", RunE: func(cmd *cobra.Command, args []string) error { if len(args) != 1 { return errors.New("...
cretz/go-safeclient
cmd/ls.go
GO
mit
804
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>rb-aem manual | 3. Packing and unpacking data</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" ...
mattgraham/play-graham
vendor/gems/ruby/1.8/gems/rb-appscript-0.6.1/doc/aem-manual/03_packingandunpackingdata.html
HTML
mit
4,487
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <base data-ice="baseUrl"> <title data-ice="title">Home | incarnate</title> <link type="text/css" rel="stylesheet" href="css/style.css"> <link type="text/css" rel="stylesheet" href="css/prettify-tomorrow.css"> <script src="script/prettify/prettify.js"></sc...
resistdesign/incarnate
docs/index.html
HTML
mit
7,614
const simple_sort = (key, a, b) => { if (a[key] < b[key]) return -1 if (a[key] > b[key]) return 1 return 0 } const name_sort = (a, b) => simple_sort('name', a, b) const skill_sort = (a, b) => simple_sort('skill', a, b) const speed_sort = (a, b) => simple_sort('speed', a, b) export { simple_sort, name_sort, ...
stevegood/tython
util/sorting.js
JavaScript
mit
348
export { default } from './EditData';
caspg/datamaps.co
src/pages/Editor/pages/MapEditor/pages/EditData/index.js
JavaScript
mit
38
<footer id="footer" role="contentinfo"> <a href="#" class="gotop js-gotop"><i class="icon-arrow-up2"></i></a> <div class="container"> <div class=""> <div class="col-md-12 text-center"> <p>{{ with .Site.Params.footer.copyright }}{{ . | markdownify }}{{ end }}</p> </div> </div> <div cla...
saey55/hugo-elate-theme
layouts/partials/footer.html
HTML
mit
647
using System.Xml.Linq; namespace Lux.Serialization.Xml { public interface IXmlConfigurable { void Configure(XElement element); } }
LazyTarget/Lux
src/Lux/Serialization/Xml/Interfaces/IXmlConfigurable.cs
C#
mit
154
<?php /* Section: signup Language: Hungarian Translator: uno20001 <regisztralo111@gmail.com> */ $translations = array( 'h1' => 'Regisztráció', 'mysql-db-name' => 'MySQL adatbázis név', 'mysql-user-name' => 'MySQL felhasználónév', 'mysql-user-password' => 'MySQL jelszó', 'mysql-user-password-ver...
mpopp75/db4free-net-l10n
hu/signup.php
PHP
mit
3,111
// ========================================================================== // DG.ScatterPlotModel // // Author: William Finzer // // Copyright (c) 2014 by The Concord Consortium, Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may no...
concord-consortium/codap
apps/dg/components/graph/plots/scatter_plot_model.js
JavaScript
mit
31,775
const Koa = require('koa') const screenshot = require('./screenshot') const app = new Koa() app.use(async ctx => { var url = ctx.query.url console.log('goto:', url) if (!/^https?:\/\/.+/.test(url)) { ctx.body = 'url 不合法' } else { if (!isNaN(ctx.query.wait)) { ctx.query.wait = ~~ctx.query.wait ...
lwdgit/chrome-automator
examples/screenshot/index.js
JavaScript
mit
710
// Test get machiens var fs = require('fs'); try { fs.accessSync('testdb.json', fs.F_OK); fs.unlinkSync('testdb.json'); // Do something } catch (e) { // It isn't accessible console.log(e); } var server = require('../server.js').createServer(8000, 'testdb.json'); var addTestMachine = function(name)...
sdierauf/laundrytime
spec/getMachinesSpec.js
JavaScript
mit
4,145
require "administrate/field/base" class EnumField < Administrate::Field::Base def to_s data end end
MontrealNewTech/website
app/fields/enum_field.rb
Ruby
mit
109
require('./loader.jsx');
arjunmehta/react-frontend-template
src/index.js
JavaScript
mit
25
Imports System Imports System.Drawing Imports System.Windows.Forms Public Class PaintToolBar '¦¹Ãþ§O©w¸qÃö©ó¤u¨ã¦C¥~Æ[¤Î¦æ¬° Inherits PaintWithRegistry Protected ToolBarCommand As Integer = 7 '¨Ï¥ÎªÌ¤u¨ã¦C©R¥O¿ï¾Ü Protected LastCommand As Integer '¤W¤@­Ó©R¥O Protecte...
neville1/MSPaint
MsPaint Sub/PaintToolbar.vb
Visual Basic
mit
4,078
Vous êtes invité par {{ $user->name }} à rejoindre le projet {{$kanban->title}} sur <a href="google.com">kaban.com</a>
Smart-Pix/Kanban
resources/views/emails/subscribe.blade.php
PHP
mit
121
--- title: 代码构建 taxonomy: category: docs --- 代码构建获取源码、编译、打包,最终生成docker镜像。 代码构建之前需要做好如下准备工作: 1. 代码已经托管在“代码托管平台”(目前平台支持github、bitbucket) 2. 源代码中包含项目对应的[Dockerfile](../dockerfile)。 ## 创建构建 ## 1. 打开“代码构建“子页面 2. 点击“创建构建” 3. 选择代码源(github、bitbucket等),点击“获取代码列表” 4. 假定选定的bitbucket,此时可能会跳出bitbucket的登录页面,登陆之后会跳出如下页面。点击Gran...
naturecloud/docs
pages/02.img/02.imgBuild/01.sourceBuild/docs.md
Markdown
mit
1,037
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>sudoku: 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.11.2-2.0.7/released/8.11.1/sudoku/8.8.0.html
HTML
mit
6,861
from __future__ import absolute_import from .base import WhiteNoise __version__ = '2.0.3' __all__ = ['WhiteNoise']
KnockSoftware/whitenoise
whitenoise/__init__.py
Python
mit
118
game.PlayerEntity = me.Entity.extend ({ //builds the player class init: function(x, y, settings){ this.setSuper(x, y); this.setPlayerTimer(); this.setAttributes(); this.type="PlayerEntity"; this.setFlags(); me.game.viewport.follow(this.pos, me.game.viewport.AXIS.BOTH); //locks camera on the character thi...
romulus1/FinalAwesomauts
js/entities/entities.js
JavaScript
mit
8,421
<!DOCTYPE html> <html xmlns:msxsl="urn:schemas-microsoft-com:xslt"> <head> <meta content="en-us" http-equiv="Content-Language" /> <meta content="text/html; charset=utf-16" http-equiv="Content-Type" /> <title _locid="PortabilityAnalysis0">.NET Portability Report</title> <style> ...
kuhlenh/port-to-core
Reports/ne/netcdf-ikvm.4.1.0/IKVM.OpenJDK.Beans-Net40.html
HTML
mit
15,187
//-*-c++-*- /****************************************************************/ /** ** @file errors.h ** @brief Header file for CHILD error-handling routines. ** ** Created Dec. 97 ** $Id: errors.h,v 1.11 2004-01-07 10:53:25 childcvs Exp $ */ /****************************************************************/ #ifn...
childmodel/child
src/errors/errors.h
C
mit
492
package uk.gov.dvsa.ui.pages.vehicleinformation; import org.openqa.selenium.Keys; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import uk.gov.dvsa.domain.model.vehicle.Make; import uk.gov.dvsa.domain.navigation.PageNavigator; import uk.gov.dvsa.framework.config.webdriver.MotAppDrive...
dvsa/mot
mot-selenium/src/main/java/uk/gov/dvsa/ui/pages/vehicleinformation/VehicleMakePage.java
Java
mit
1,635
# New Format site for Reiker Seiffe ### A simple resume site build off of SCSS, running on a Node.JS server with express and twig.
Reikerseiffe/Website-New-Format
README.md
Markdown
mit
131
<?php namespace Tecnokey\ShopBundle\Controller\Frontend\User; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; use Tecnokey\S...
mqmtech/Tecnokey
src/Tecnokey/ShopBundle/Controller/Frontend/User/OrderController.php
PHP
mit
6,501
import {Component, ViewChild} from '@angular/core'; import { Platform, MenuController, NavController} from 'ionic-angular'; import { StatusBar } from '@ionic-native/status-bar'; import { SplashScreen } from '@ionic-native/splash-screen'; import { HomeComponent } from './pages/home-page/home.component'; import {CityLis...
zhuzhiqiang/tianyingqing
src/app/app.component.ts
TypeScript
mit
1,412
import { Log } from './log'; //import Url = require('./url'); import { Url } from './url'; import { HashString } from './lib'; /** * Делаем HTTP (Ajax) запрос. * * @param settings A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with $.ajaxSetup(...
96467840/AspNetCore
src/AspNetCore/PublishOutput/wwwroot/lib/unobtrusive-typescript/dist/utils/ajax.ts
TypeScript
mit
1,767
<div class="all_levels_area_of_interest @if($from == "account") account_listing_skills @endif"> @if(count($firstBox_areaOfInterest) > 0) <div class="hierarchy_parent"> <select name="title" id="area_of_interest_firstbox" class="first_level hierarchy" size="5" data-number="1"> @for...
javulorg/javul
resources/views/admin/partials/area_of_interest_browse.blade.php
PHP
mit
1,334
# frozen_string_literal: true describe ContactController, type: :controller do include AuthHelper let!(:ada) { create(:published_profile, email: "ada@mail.org", main_topic_en: 'math') } describe 'create action' do it 'when profile active' do get :create, params: { id: ada.id, message: { name: "Maxi"}...
rubymonsters/speakerinnen_liste
spec/controllers/contact_controller_spec.rb
Ruby
mit
1,042
<?php namespace LCoder\Bundle\BlogBundle\DependencyInjection; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; /** * This is the class that validates and merges configuration from your app/config files * * To learn more see {@link http://...
latviancoder/blog
src/LCoder/Bundle/BlogBundle/DependencyInjection/Configuration.php
PHP
mit
885
// Copyright (c) 2011-2014 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_QT_MACNOTIFICATIONHANDLER_H #define BITCOIN_QT_MACNOTIFICATIONHANDLER_H #include <QObject> /** Macintosh-sp...
thelazier/dash
src/qt/macnotificationhandler.h
C
mit
806
package tsmt import ( "encoding/xml" "github.com/fgrid/iso20022" ) type Document01800105 struct { XMLName xml.Name `xml:"urn:iso:std:iso:20022:tech:xsd:tsmt.018.001.05 Document"` Message *FullPushThroughReportV05 `xml:"FullPushThrghRpt"` } func (d *Document01800105) AddMessage() *FullPushThroug...
fgrid/iso20022
tsmt/FullPushThroughReportV05.go
GO
mit
5,855
namespace Kondor.Data.Migrations { using System; using System.Data.Entity.Migrations; public partial class ExampleChangedEntityChanged : DbMigration { public override void Up() { AddColumn("dbo.Cards", "RowStatus", c => c.Int(nullable: false)); AddColumn("dbo...
odises/kondor
src/Kondor.Data/Migrations/201610060535379_ExampleChangedEntityChanged.cs
C#
mit
1,810
# frozen_string_literal: true class Dummy::Ui::CardListCell < ApplicationCell def show render if model.present? end end
sinfin/folio
test/dummy/app/cells/dummy/ui/card_list_cell.rb
Ruby
mit
129
# frozen_string_literal: true # :nocov: class UniqueJobWithoutUniqueArgsParameter include Sidekiq::Worker sidekiq_options backtrace: true, lock: :until_executed, queue: :customqueue, retry: true, lock_args_method: :unique_args def perform(...
mhenrixon/sidekiq-unique-jobs
spec/support/workers/unique_job_without_unique_args_parameter.rb
Ruby
mit
450
import struct ''' Refer to docs for all the exact formats. There are many so check them out before converting things yourself ''' ''' If there's a specific offset you want to do things from, use pack_into and unack_into from the docs ''' #Integer to string i1= 1234 print "Int to string as 8 byte little endian", repr(...
arvinddoraiswamy/LearnPython
17.py
Python
mit
867
\begin{figure}[H] \centering \includegraphics[width=6in]{figs/run_1/run_1_turb_visc_reynolds_vs_r_meshscatter} \caption{Scatter plot of $ u_T$ reynolds stress term vs radius at $z/c$=5.37, $V_{free}$=15.22, station 1.} \label{fig:run_1_turb_visc_reynolds_vs_r_meshscatter} \end{figure}
Jwely/pivpr
texdocs/figs/run_1/run_1_turb_visc_reynolds_vs_r_meshscatter.tex
TeX
mit
288
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module MobileCenterApi module Models # # Model object. # # class Event # @return [String] attr_accessor :id ...
ewgenius/fastlane-plugin-mobile_center
lib/generated/mobile_center_api/models/event.rb
Ruby
mit
2,868
## About This Project This Software licensed under the [MIT license](http://opensource.org/licenses/MIT). This is developed as a part of home automation system. This project addesses the user management capability of that project.
AyeshJayasekara/User-Management-System
readme.md
Markdown
mit
235
require 'helper' class TestLicenseeMatcher < Minitest::Test should "match the license without raising an error" do assert_nil Licensee::Matcher.match(nil) end end
JuanitoFatas/licensee
test/test_licensee_matcher.rb
Ruby
mit
172
import Helper from '@ember/component/helper'; import { inject as service } from '@ember/service'; import { get } from '@ember/object'; export default class MediaHelper extends Helper { @service() media; constructor() { super(...arguments); this.media.on('mediaChanged', () => { this.recompute(); ...
freshbooks/ember-responsive
addon/helpers/media.js
JavaScript
mit
395
Enum = { BarDrawDirect: { Horizontal: "Horizontal", Vertical: "Vertical" }, PowerType: { MP: 0, Angery: 1 }, EffectType: { StateChange: "StateChange", HpChange: "HpChange", Timing: "Timing", Control: "Control" }, EffectControlT...
mt830813/code
Project/HTML5Test/Test1/Scripts/Customer/Setting/Enum.js
JavaScript
mit
1,263
package io.prajesh.config; import io.prajesh.domain.HelloWorld; import io.prajesh.service.HelloWorldService; import io.prajesh.service.HelloWorldServiceImpl; import io.prajesh.service.factory.HelloWorldFactory; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configurat...
prajesh-ananthan/spring-playfield
spring-core/src/main/java/io/prajesh/config/HelloConfig.java
Java
mit
980
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Copyright (c) 2011-2013 The PPCoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "checkpoints.h" #include...
Magicking/neucoin
src/main.cpp
C++
mit
146,265
'use strict'; console.log('TESTTTT'); var mean = require('meanio'); exports.render = function (req, res) { function isAdmin() { return req.user && req.user.roles.indexOf('admin') !== -1; } // Send some basic starting info to the view res.render('index', { user: req.user ? { ...
mottihoresh/nodarium-web
packages/custom/nodarium/server/controllers/index.js
JavaScript
mit
627
/* concatenated from client/src/app/js/globals.js */ (function () { if (!window.console) { window.console = {}; } var m = [ "log", "info", "warn", "error", "debug", "trace", "dir", "group", "groupCollapsed", "groupEnd", "time", "timeEnd", "profile", "profileEnd", "dirxml", "assert", "count", "mar...
nbarrett/ekwg
dist/app/js/ekwg.js
JavaScript
mit
405,222
angular.module('MEANcraftApp', ['ngRoute', 'MEANcraftApp.login', 'MEANcraftApp.overview', 'btford.socket-io'/*,'socket-io', 'flow'*/]) .config(function ($httpProvider, $routeProvider) { $httpProvider.interceptors.push('TokenInterceptor'); $routeProvider .when('/login', { templateUrl: '...
frotunato/MEANcraft
client/app/app.js
JavaScript
mit
1,953
var GridLayout = require("ui/layouts/grid-layout").GridLayout; var ListView = require("ui/list-view").ListView; var StackLayout = require("ui/layouts/stack-layout").StackLayout; var Image = require("ui/image").Image; var Label = require("ui/label").Label; var ScrapbookList = (function (_super) { global.__e...
mikebranstein/NativeScriptInAction
AppendixB/PetScrapbook/app/views/shared/scrapbook-list/scrapbook-list.js
JavaScript
mit
3,048
<?php /** * @package toolkit */ /** * The Datasource class provides functionality to mainly process any parameters * that the fields will use in filters find the relevant Entries and return these Entries * data as XML so that XSLT can be applied on it to create your website. In Symphony, * there are four Datasou...
jdsimcoe/symphony-boilerplate
symphony/lib/toolkit/class.datasource.php
PHP
mit
19,238
NAME = airdock/redis VERSION = dev-2.8 .PHONY: all clean build tag_latest release debug run run_client all: build clean: @CID=$(shell docker ps -a | awk '{ print $$1 " " $$2 }' | grep $(NAME) | awk '{ print $$1 }'); if [ ! -z "$$CID" ]; then echo "Removing container which reference $(NAME)"; for container in $(CID)...
airdock-io/docker-redis
2.8/Makefile
Makefile
mit
1,137
#include <cstdio> #include <cstring> #include <cmath> #include <algorithm> using namespace std; const double EPS = 1e-9; inline char DBLCMP(double d) { if (fabs(d) < EPS) return 0; return d>0 ? 1 : -1; } struct spoint { double x, y, z; spoint() {} spoint(double xx, double yy, double zz): x(xx), y(yy), z(zz) {} ...
jffifa/algo-solution
ural/1093.cpp
C++
mit
2,211
<?php /** * Examples of ShareCouners usage * @author Dominik Bułaj <dominik@bulaj.com> */ include '../src/SharesCounter.php'; include '../src/Networks.php'; include '../src/Exception.php'; $url = 'http://www.huffingtonpost.com'; // 1. return shares from Facebook and Twitter $shares = new \SharesCounter\SharesCount...
dominikbulaj/shares-counter-php
examples/index.php
PHP
mit
1,282
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCharactersLangTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { // Create the characters_lang table Schema::create('characters_lang', function($table) ...
Truemedia/regeneration-character
src/database/migrations/2015_05_16_174527_create_characters_lang_table.php
PHP
mit
981
<!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' xml:lang='en' lang='en'><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> <title>124-10-7.smi.png.html</title> </head> <...
andrewdefries/ToxCast
Figure3/Tox21_nnm/WorkHere/124-10-7.smi.png.html
HTML
mit
1,675
import React, {Component} from 'react'; import {Typeahead} from 'react-bootstrap-typeahead'; import {inject, observer} from 'mobx-react'; import {action, toJS, autorunAsync} from 'mobx'; import myClient from '../agents/client' require('react-bootstrap-typeahead/css/ClearButton.css'); require('react-bootstrap-typeahead...
haniotak/oscars-frontend
src/main/js/components/eroTypeahead.js
JavaScript
mit
3,673
'use strict'; var convert = require('./convert'), func = convert('lt', require('../lt')); func.placeholder = require('./placeholder'); module.exports = func; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2NsaWVudC9saWIvbG9kYXNoL2ZwL2x0LmpzIl0sIm5hbWVzIjpbXSwibW...
justin-lai/hackd.in
compiled/client/lib/lodash/fp/lt.js
JavaScript
mit
778
<?php /** * UserAccount * * This class has been auto-generated by the Doctrine ORM Framework * * @package blueprint * @subpackage model * @author Your name here * @version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $ */ class UserAccount extends BaseUserAccount { }
zenkovnick/pfr
lib/model/doctrine/UserAccount.class.php
PHP
mit
299
# Rounded Button Twitch Chat ![alt text](https://raw.githubusercontent.com/WolfgangAxel/Random-Projects/master/Streaming/RoundButtonExample.png) This CSS file overrides the Twitch chat popout window to make the chat slightly more visually appealing. It was created to be used with the OBS plugin Linux Browser, and pre...
WolfgangAxel/Random-Projects
Streaming/Rounded Button Twitch Chat/README.md
Markdown
mit
1,418
purescript-three ================ Purescript bindings for Threejs # Build purescript-three ``` bower install pulp build bower link ``` # Build examples ``` cd examples/ bower link purescript-three pulp browserify --main Examples.CircleToSquare --to output/circleToSquare.js pulp browserify --main Examples.LineArray...
anthoq88/purescript-three
README.md
Markdown
mit
615
TOP_DIR = ../.. LIB_DIR = lib/ DEPLOY_RUNTIME ?= /kb/runtime TARGET ?= /kb/deployment include $(TOP_DIR)/tools/Makefile.common SPEC_FILE = handle_mngr.spec SERVICE_NAME = HandleMngr SERVICE_CAPS = HandleMngr SERVICE_PORT = 9001 SERVICE_DIR = handle_mngr SERVICE_CONFIG = HandleMngr ifeq ($(SELF_URL),) SELF_U...
kbase/handle_mngr
Makefile
Makefile
mit
13,184
<?php use PDFfiller\OAuth2\Client\Provider\Token; $provider = require_once __DIR__ . '/../bootstrap/initWithFabric.php'; $e = Token::one($provider, 3329); dd($e);
pdffiller/pdffiller-php-api-client
examples/token/3_get_token.php
PHP
mit
164
package sql.fredy.sqltools; /** XLSExport exports the result of a query into a XLS-file. To do this it is using HSSF from the Apache POI Project: http://jakarta.apache.org/poi Version 1.0 Date 7. aug. 2003 Author Fredy Fischer XLSExport is part of the Admin-Suite Once instantiated there are the ...
hulmen/SQLAdmin
src/fredy/sqltools/XLSExport.java
Java
mit
23,048
# -*- coding: utf-8 -*- # Copyright (c) 2016 Jérémie DECOCK (http://www.jdhp.org) # 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 right...
jeremiedecock/tictactoe-py
jdhp/tictactoe/player/greedy.py
Python
mit
1,951
/* * Copyright (c) 2015. Vin @ vinexs.com (MIT License) * * 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, co...
vinexs/extend-enhance-base
eeb-core/src/main/java/com/vinexs/view/ScalableLinearLayout.java
Java
mit
3,281
/* ******* TAGS ******* */ body { margin: 0; padding: 32px; font-family: Arial, Helvetica, sans-serif; font-size: 13px; color: #333333; } /* ******* COMPONENTS ******* */ /* Gridlist */ .gridlist { margin: 0; } .gridlist .control .icon { vertical-align: top; }
SerDIDG/BattlelogServersBlacklist
src/styles/options.css
CSS
mit
293
// // DRHMotorUnitData.h // TAFPlotter // // Created by Lee Walsh on 9/01/2014. // Copyright (c) 2014 Lee Walsh. All rights reserved. // #import <Foundation/Foundation.h> @interface DRHMotorUnitData : NSObject <NSCoding>{ NSNumber *unitNumber; NSNumber *unitSet; NSString *unitType; NSNumber *onset...
Tanglo/TAFPLOTer
TAFPlotter/DRHMotorUnitData.h
C
mit
1,203
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("Do...
alphaCoder/DollarTracker
DollarTracker.Net/DollarTracker.Core/Properties/AssemblyInfo.cs
C#
mit
1,412
__author__ = 'besta' class BestaPlayer: def __init__(self, fichier, player): self.fichier = fichier self.grille = self.getFirstGrid() self.best_hit = 0 self.players = player def getFirstGrid(self): """ Implements function to get the first grid. :retur...
KeserOner/puissance4
bestaplayer.py
Python
mit
9,518
# Game Over screen. class GameOver def initialize(game) end def udpate end def draw end end
PhilCK/mermaid-game
game_over.rb
Ruby
mit
102