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
/* [Discuz!] (C)2001-2099 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: forum.js 33082 2013-04-18 11:13:53Z zhengqingpeng $ */ function saveData(ignoreempty) { var ignoreempty = isUndefined(ignoreempty) ? 0 : ignoreempty; var obj = $('postform') && (($('fwin_newthread') && $(...
zekewang918/QuitSmoking
bbs/static/js/forum.js
JavaScript
mit
22,328
<?php namespace InoOicClient\Oic\Exception; class InvalidErrorCodeException extends \RuntimeException { }
Yusuke-KOMIYAMA/aiv
binder/app/Vendor/ivan-novakov/php-openid-connect-client/src/InoOicClient/Oic/Exception/InvalidErrorCodeException.php
PHP
mit
115
/* File: ConditionalMacros.h Contains: Set up for compiler independent conditionals Version: Technology: Universal Interface Files Release: Universal Interfaces 3.4.1 Copyright: © 1993-2001 by Apple Computer, Inc., all rights reserved Bugs?: For bug ...
ATMakersOrg/OpenIKeys
original/IntelliKeys/WindowsOld/common/MoreFiles/CHeaders/ConditionalMacros.h
C
mit
72,327
<!DOCTYPE html> <html> <head> <!-- Site made with Mobirise Website Builder v4.0.9, # --> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="generator" content="Mobirise v4.0.9, #"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="shortcut ...
sc101111/sokay
kr-kcu/index.html
HTML
mit
20,336
/*jslint node: true */ 'use strict'; var npm = require('npm'); module.exports = Npm; function Npm (callback) { var conf = { jobs: 1 }; npm.load(conf, callback); } Npm.prototype.search = function (searchTerms, callback) { npm.commands.search(searchTerms, true, callback); }; Npm.prototype.view = function...
webjay/npm-search-store
lib/npm-api.js
JavaScript
mit
382
import { EmailTemplate } from 'email-templates' import Promise from 'bluebird' const sendgrid = require('sendgrid')(process.env.SENDGRID_MAILER_KEY) const sendEmail = Promise.promisify(sendgrid.send, { context: sendgrid }) const DEVELOPMENT = process.env.NODE_ENV === 'development' const sanitize = DEVELOPMENT ? require...
LeadGrabr/api
src/services/email/mailers/helpers.js
JavaScript
mit
1,611
import React, { useState } from 'react'; import { StyleSheet, ImageStyle, LayoutChangeEvent } from 'react-native'; import { Gesture, GestureDetector } from 'react-native-gesture-handler'; import Animated, { useAnimatedStyle, useDerivedValue, useSharedValue, withSpring, } from 'react-native-reanimated'; import {...
kmagiera/react-native-gesture-handler
example/src/new_api/chat_heads/index.tsx
TypeScript
mit
5,897
<?php namespace Extraload\Extractor; interface ExtractorInterface extends \Iterator { public function extract(); }
umpirsky/Extraload
src/Extraload/Extractor/ExtractorInterface.php
PHP
mit
121
<!DOCTYPE html> <html> <head lang="en"> <base href="/"> <meta charset="UTF-8"> <title>WebStorm Angular unit-test templates test app</title> <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css"> </head> <body data-ng-app="aw.test" data-ng-controller="TestController as ctrl"> <h3>{{ct...
burdiuz/webstorm-angular-unittest-templates
tests/1.3/index.html
HTML
mit
1,295
--- title: afa28 type: products image: /img/Screen Shot 2017-05-09 at 11.56.54 AM.png heading: a28 description: lksadjf lkasdjf lksajdf lksdaj flksadj flksa fdj main: heading: Foo Bar BAz description: |- ***This is i a thing***kjh hjk kj # Blah Blah ## Blah![undefined](undefined) ### Baah image1:...
pblack/kaldi-hugo-cms-template
site/content/pages2/afa28.md
Markdown
mit
339
// Copyright (c) 2011-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "sendcoinsdialog.h" #include "ui_sendcoinsdialog.h" #include "init.h" #include "walletmodel.h" #include "addresstabl...
coinkeeper/2015-06-22_19-13_florincoin
src/qt/sendcoinsdialog.cpp
C++
mit
18,849
""" Copyright (c) 2016 Genome Research Ltd. 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, distr...
jeremymcrae/denovoFilter
denovoFilter/missing_symbols.py
Python
mit
5,967
// Copyright (c) 2009-2015 The Bitcoin Core developers // Copyright (c) 2018-2020 The Ion Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_NETBASE_H #define BITCOIN_NETBASE_H #if defined(HAVE_CONF...
ionomy/ion
src/netbase.h
C
mit
2,739
/* globals __dirname */ 'use strict'; var autoprefixer = require('autoprefixer-core'); var Webpack = require('webpack'); var HtmlWebpack = require('html-webpack-plugin'); var path = require('path'); var npmPath = path.resolve(__dirname, 'node_modules'); var config = { sassOptions : ( ...
synapsestudios/react-stepper
webpack.config.demo.js
JavaScript
mit
1,531
#main > .container-fluid { width: 100%; } .row-content { display: flex; flex-wrap: wrap; min-height: 100%; } .row-content > [class*=col] { display: flex; flex-direction: column; } .row-screen { text-align: right; margin-right: 50px; margin-bottom: 40px; width: 100%; } #renderer { transform-origin: left t...
elelay/meteor-blaze-styleguide
client/sg_layout.css
CSS
mit
355
MD.Keyboard = function(){ const keys = { "v": { name: "Select tool", cb: ()=> state.set("canvasMode", "select") }, "q": { name: "Freehand tool", cb: ()=> state.set("canvasMode", "fhpath") }, "l": { name: "Line tool", cb: ()=> state.set("canvasMode", "fhplineath")}, "r": { name...
duopixel/Method-Draw
src/js/Keyboard.js
JavaScript
mit
7,291
using System; using System.Linq; using System.Windows.Media; using ICSharpCode.AvalonEdit.Document; using ICSharpCode.AvalonEdit.Rendering; using SolutionsUtilities.UI.WPF.Highlighting; namespace Barings.Controls.WPF.CodeEditors.Highlighting { public class HighlightMatchingWords : DocumentColorizingTransformer ...
Barings/Barings.Controls.WPF
Barings.Controls.WPF/CodeEditors/Highlighting/HighlightMatchingWords.cs
C#
mit
2,681
// // NSDate+Helper.h // YMDPickerVIewDemo // // Created by ronaldo on 7/24/14. // Copyright (c) 2014 ronaldo. All rights reserved. // #import <Foundation/Foundation.h> @interface NSDate (YMDExtensions) + (NSDate *)dateWithYear:(NSInteger)year month:(NSInteger)month day:(NSInteger)day; - (NSInteger)year; - (NSI...
xiekunRonaldo/YMDPickerView
YMDPickerView/NSDate+YMDExtensions.h
C
mit
409
<!-- Map --> <section id="contact" class="map"> <div class="container"> <div class="row text-left"> <div class="col-lg-12 "> <div class="row"> <div class="col-lg-12"> <h4 style="color:#006e89"><?php echo $kelas[0]['TRAINING']?></h4> <div ...
dodolangus/rep_bnv_app
application/views/event/eval_ins_nps.php
PHP
mit
2,357
<?php /** * SalesChannel * * PHP version 5 * * @category Class * @package BrightpearlApiClient * @author http://github.com/swagger-api/swagger-codegen * @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2 * @link https://github.com/swagger-api/swagger-codegen */ /** * Copyright 2016...
annex-apps/tenant-bundle
BrightpearlApiClient/lib/Model/SalesChannel.php
PHP
mit
9,169
const path = require('path') const sassTrue = require('sass-true') const sassFile = path.join(__dirname, 'flex-columns.test.scss') sassTrue.runSass({ file: sassFile }, describe, test)
mike3run/manila-mixins
mixins/flex-columns/flex-columns.test.js
JavaScript
mit
186
<div class="row"> <div id="base_url" data-base="<?php echo base_url(); ?>"></div> <div class="col-lg-4 col-md-6"> <div class="x_panel"> <div class="x_title"> <h2><i class="fa fa-file"></i> Edit Form</h2> <div class="clearfix"></div> </div> ...
bworkman1/lapp
application/views/forms/edit-form.php
PHP
mit
24,529
<?php class dmFrontWebController extends sfFrontWebController { /** * @see sfFrontWebController */ public function redirect($url, $delay = 0, $statusCode = 302) { $this->dispatcher->notify(new sfEvent($this, 'dm.controller.redirect')); return parent::redirect($url, $delay, $statusCode); } }
Symfony-Plugins/diemPlugin
dmCorePlugin/lib/controller/dmFrontWebController.php
PHP
mit
319
import mock from tests.compat import unittest from tests.utils import APITestCase import evelink.eve as evelink_eve class EVETestCase(APITestCase): def setUp(self): super(EVETestCase, self).setUp() self.eve = evelink_eve.EVE(api=self.api) def test_character_names_from_ids(self): sel...
Morloth1274/EVE-Online-POCO-manager
tests/test_eve.py
Python
mit
20,398
// React app import React from 'react' import {render} from 'react-dom' import App from './components/base_layout/App.jsx' // Redux state manager import { Provider } from 'react-redux' import { createStore } from 'redux' import reducers from './state_manager/reducers' // Electron IPC communication events import ipcRe...
pastahito/remus
src/renderer_process/app/entry.js
JavaScript
mit
1,603
torch.setdefaulttensortype('torch.FloatTensor') ---------- library ---------- require 'torch' require 'image' require "lib/getfilename" require "lib/window" require "lib/patch" require "lib/calc_rsme" -- read dataset: ---------- functions ---------- function load_imgs(folderpath) filepaths = getFilename(folder...
toshi-k/Kaggle-Denoising-Dirty-Documents
1_data.lua
Lua
mit
1,267
/* Reset */ html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,e...
jrichardlai/jrichardlai.github.io
assets/css/style.css
CSS
mit
11,839
var mongoose = require('mongoose'), bcrypt = require('bcrypt'), userSchema = mongoose.Schema({ fullName: { type: String }, email: { type: String, required: true, unique: true, lowercase: true }, password: { type: String, required: true }, user_avatar...
goodheads/yourtube
server/models/user.server.model.js
JavaScript
mit
984
try: from calais import Calais except ImportError: # pragma: no cover Calais = None # NOQA if Calais is not None: def process_calais(content, key): calais = Calais(key) response = calais.analyze(content) people = [entity["name"] for entity in getattr(response, "entities", []) if...
prologic/spyda
spyda/processors.py
Python
mit
385
import datetime day = datetime.datetime.now().weekday() def get_sunday(): return "Today it's Sunday" def get_monday(): return "Today it's Monday" def get_tuesday(): return "Today it's Tuesday" def get_wednesday(): return "Today it's Wednesday" def get_thursday(): return "Today it's Thursday" def g...
vickyi/scoala
pachong/pythonClass/switch.py
Python
mit
685
# Teamwork API Client
poweredbysearch/pbs-tw-api
README.md
Markdown
mit
22
<?php /** * DropColumnSpecificationStatement class file. * * @author Anastaszor */ class DropColumnSpecificationStatement extends CachalotObject implements IDropColumnSpecificationStatement { /** * The name of the column to drop * * @var string */ private $_column_name = null; /** * Sets the ...
Anastaszor/Cachalot
classes/statements/parts/specifications/DropColumnSpecificationStatement.php
PHP
mit
961
Ext.define('sisprod.view.MobileUnit.UpdateMobileUnit', { extend: 'sisprod.view.base.BaseDataWindow', alias: 'widget.updateMobileUnit', messages: { basicDataTitle: 'Basic Data', componentsTitle: 'Allocation of Components', featuresTitle: 'Additional Features', equipment...
jgin/testphp
web/bundles/hrmpayroll/app/view/MobileUnit/UpdateMobileUnit.js
JavaScript
mit
15,982
from django.conf.urls import url from timeline import views urlpatterns = [ url(r'^$', views.timelines, name='timelines'), ]
fredwulei/fredsneverland
fredsneverland/timeline/urls.py
Python
mit
130
<svg version="1.1" class="o-icon__camera" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 277.3 203" style="enable-background:new 0 0 277.3 203;" xml:space="preserve"> <style type="text/css"> .st0{fill:#302D33;} .st1{fill:none;stroke:#302D33;st...
kfriedgen/friedgen-starter
templates/icons/camera.php
PHP
mit
2,037
// 对字符串头尾进行空格字符的去除、包括全角半角空格、Tab等,返回一个字符串 function trim(str) { var regex1 = /^\s*/; var regex2 = /\s*$/; return (str.replace(regex1, "")).replace(regex2, ""); } // 给一个element绑定一个针对event事件的响应,响应函数为listener function addEvent(element, event, listener, isCorrect) { if (element.addEventListener) { el...
hellozts4120/IFE-2016
task2/serial5/task32-zts/task.js
JavaScript
mit
6,127
/* 125.valid_palindrome */ public class Solution { public int[] twoSum(int[] nums, int target) { for (int i = 0; i < nums.length; i++) { int ni = nums[i]; for (int j = i + 1; j < nums.length; j++) { int nj = nums[j]; if (ni + nj == target) { return new int[] {i, j...
aenon/OnlineJudge
leetcode/1.Array_String/125.valid_palindrome.java
Java
mit
423
#import <Foundation/Foundation.h> #import "ERNResourceFactory.h" @interface ERNNullResourceFactory : NSObject <ERNResourceFactory> +(instancetype)create; @end
ernstsson/ErnKit
Source/ErnKit/ResourceFactories/ERNNullResourceFactory.h
C
mit
160
import * as React from 'react'; import {px2rem} from '@bizfe/biz-mobile-ui/build/util/util'; import { Button, LinearProgress, CircleProgress } from '@bizfe/biz-mobile-ui'; const styles = { progress: { width: '90%', margin: '20px auto 0', }, } export default class Progress extends Re...
tangjinzhou/biz-mobile-ui
examples/App/temp/Progress.js
JavaScript
mit
1,718
/* Copyright (C) 2012 Kory Nunn 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, distribute, subli...
cdnjs/cdnjs
ajax/libs/crel/4.1.0/crel.js
JavaScript
mit
4,862
const fs = require('fs'); const dns = require('dns'); const argv = require('yargs').argv; const Seismometer = require('./seismometer'); const Communicator = require('./communicator'); function assertOnline() { return new Promise((fulfill, reject) => { dns.resolve('www.google.com', err => { if (err) { ...
jmptable/earthquake-converter
src/index.js
JavaScript
mit
1,275
<nav class="navigation"> <section class="container"> <ul class="left-section sites"> <li> <a href="{{site.baseurl}}">SearchDemo</a> </li> <li> <a href="{{site.baseurl}}">Auto</a> </li> </ul> <div class="right-section float-right"> <ul class="navigation-list"> <li class="navigation-item">...
skunkworks002/SearchDemo
_includes/header.html
HTML
mit
949
export class Item { constructor(public title: string) { } }
ritzau/end-of-stuff
src/app/item.ts
TypeScript
mit
69
module SharedAnalysisFetch extend ActiveSupport::Concern def analysis inventory_id = params[:inventory_id] id = params[:analysis_id] || params[:id] @analysis = Analysis.where('inventory_id = ? AND (analyses.id = ? OR analyses.share_token = ?)', inventory_id.to_i, id.to_i, id).first unless @analysis...
MobilityLabs/pdredesign-server
app/controllers/concerns/shared_analysis_fetch.rb
Ruby
mit
527
namespace Conejo { partial class Asociado { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param na...
EduardAl/Proyectos-Visual-Studio
Editando/Conejo/Conejo/Asociado.Designer.cs
C#
mit
28,967
package in.iamkelv.balances.alarms; import android.app.IntentService; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.support.v4.app.Notificati...
kz/balances-android
app/src/main/java/in/iamkelv/balances/alarms/SchedulingService.java
Java
mit
5,935
# Start Project Euler ## Run specific unit test ``` go test -timeout 30s github.com/fenglyu/projecteuler/golang/common -run ^\(TestTailFib\)$ ``` ## Go pprof ``` > https://github.com/campoy/go-tooling-workshop/blob/master/3-dynamic-analysis/3-profiling/2-pprof.md > http://www.graphviz.org/ go tool pprof 27.prof ...
fenglyu/projecteuler
README.md
Markdown
mit
471
<?php /** * @package axy\fs\ifs * @author Oleg Grigoriev <go.vasac@gmail.com> */ namespace axy\fs\ifs; /** * The file stream meta data * * @SuppressWarnings(PHPMD.CamelCasePropertyName) */ class MetaData { /** * The file name * * @var string */ public $filename; /** * TRUE...
axypro/fs-ifs
MetaData.php
PHP
mit
1,647
package com.thecodeinside.easyfactory.core; /** * A factory's attribute. * * @author Wellington Pinheiro <wellington.pinheiro@gmail.com> * * @param <T> type of the attribute */ public class Attribute<T> { private String id; private T value; public String getId() { return this.id; } ...
wrpinheiro/easy-factory
core/src/main/java/com/thecodeinside/easyfactory/core/Attribute.java
Java
mit
795
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './App'; import IncredibleOffersContainer from './IncredibleOffers/IncredibleOfferContainer'; export default ( <Route path="/" component={App}> <IndexRoute component={IncredibleOffersContainer} /> <Route path="/spec...
mamal72/dgkala-web
src/routes.js
JavaScript
mit
470
using System; using Csla; namespace ParentLoadROSoftDelete.Business.ERLevel { public partial class E05_SubContinent_ReChild { #region OnDeserialized actions /*/// <summary> /// This method is called on a newly deserialized object /// after deserialization is comple...
CslaGenFork/CslaGenFork
trunk/Samples/DeepLoad/ParentLoadROSoftDelete.Business/ERLevel/E05_SubContinent_ReChild.cs
C#
mit
904
package com.syntacticsugar.vooga.gameplayer.objects.items.bullets; import com.syntacticsugar.vooga.gameplayer.event.implementations.SlowEvent; import com.syntacticsugar.vooga.gameplayer.objects.GameObjectType; public class SlowBullet extends AbstractBullet { public SlowBullet(BulletParams params, double speedDecrea...
nbv3/voogasalad_CS308
src/com/syntacticsugar/vooga/gameplayer/objects/items/bullets/SlowBullet.java
Java
mit
465
<?php use Illuminate\Auth\Reminders\RemindableInterface; use Illuminate\Auth\Reminders\RemindableTrait; use Illuminate\Auth\UserInterface; use Illuminate\Auth\UserTrait; /** * User * * @property-write mixed $password * @property-read \Illuminate\Database\Eloquent\Collection|\Role[] $roles * @property-read \Ill...
matrixdevelopments/laravelVentas
app/models/User.php
PHP
mit
904
## Guidance on Selecting Inputs * **Hospitalized COVID-19 Patients:** The number of patients currently hospitalized with COVID-19 **at your hospital(s)**. This number is used in conjunction with Hospital Market Share and Hospitalization % to estimate the total number of infected individuals in your region. * **...
CodeForPhilly/chime
src/chime_dash/app/templates/en/definitions.md
Markdown
mit
2,769
from contextlib import contextmanager from functools import wraps from werkzeug.local import LocalProxy, LocalStack _additional_ctx_stack = LocalStack() __all__ = ("current_additions", "Additional", "AdditionalManager") @LocalProxy def current_additions(): """ Proxy to the currently added requirements ...
justanr/flask-allows
src/flask_allows/additional.py
Python
mit
5,469
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="GENERATOR" content="VSdocman - documentation generator; htt...
asiboro/asiboro.github.io
vsdoc/topic_000000000000069D.html
HTML
mit
11,754
console.style('<css="color: rgba(0, 0, 0, 0.6);font-size: 30px;background-color: rgb(110, 110, 110);text-shadow: rgba(255, 255, 255, 0.2) 3px 2px 3px; padding-left:10px;">Welcome to Ivy Theme</css>');
IvanSostarko/ivy-theme
src/scripts/console.js
JavaScript
mit
200
using System; using Aop.Api.Domain; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: koubei.marketing.data.customreport.delete /// </summary> public class KoubeiMarketingDataCustomreportDeleteRequest : IAopRequest<KoubeiMarketingDataCustom...
erikzhouxin/CSharpSolution
OSS/Alipay/F2FPayDll/Projects/alipay-sdk-NET20161213174056/Request/KoubeiMarketingDataCustomreportDeleteRequest.cs
C#
mit
2,427
function normalizePort(val) { var port = parseInt(val, 10); if (isNaN(port)) { // named pipe return val; } if (port >= 0) { // port number return port; } return false; } var port = normalizePort(process.env.PORT || '3000'); module.exports = { port: port, db: 'mongodb://'+proce...
Mohamed-Abo-El-Soud/NexusJS
config/env/development.js
JavaScript
mit
341
/* * Copyright (c) 2018 Algolia * http://www.algolia.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 * to use, copy, modify...
algolia/algoliasearch-client-csharp
src/Algolia.Search/Models/Rules/Rule.cs
C#
mit
3,092
(function() { 'use strict'; angular .module('lcRegistration') .config(["$routeProvider", function($routeProvider) { $routeProvider .when("/", { templateUrl: "/client/app/regForm/regForm.html", controller: "registrationControlle...
PShatalov/LC-registration
web/client/app/app.route.js
JavaScript
mit
580
// The MIT License (MIT) // Copyright (c) 2014 Ben Abelshausen // 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...
Smartrak/GTFS
GTFS.IO.Desktop/GTFSDirectorySource.cs
C#
mit
5,420
--- layout: api title: "v2.2.3 JavaScript Library: L.mapbox.sanitize(string)" categories: api version: v2.2.3 permalink: /api/v2.2.3/l-mapbox-sanitize --- <h2 id="section-l-mapbox-sanitize">L.mapbox.sanitize(string)</h2> <p>A HTML sanitization function, with the same effect as the default value of the <code>sanitizer</...
jackhummah/bootles
vendor/mapbox/mapbox.js-2.4.0/docs/_posts/api/v2.2.3/0200-01-01-l-mapbox-sanitize.html
HTML
mit
831
using System; using System.Runtime.CompilerServices; namespace DotJEM.AspNetCore.FluentRouting.Invoker.MSInternal { /* This class originates from the https://github.com/aspnet/Common project, as it is * internal a slightly modified version of the code has been copied into this source, * the license of t...
dotJEM/aspnetcore-fluentrouting
src/DotJEM.AspNetCore.FluentRouting/Invoker/MSInternal/LambdaExecutorAwaitable.cs
C#
mit
3,756
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON https://guides.rubyonrails.org.** Upgrading Ruby on Rails ======================= This guide provides steps to be followed when you upgrade your applications to a newer version of Ruby on Rails. These steps are also available in individual release guides. --...
yahonda/rails
guides/source/upgrading_ruby_on_rails.md
Markdown
mit
100,984
<?php namespace Almendra\Http\Psr\Messages; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\StreamInterface; /** * Represents a response * * @package Almendra\Http */ class Response extends Message implements ResponseInterface { /** * HTTP Response codes. * */ const HTTP_CONTINUE...
RickyNRoses87/almendra-psr7
src/Psr/Messages/Response.php
PHP
mit
8,925
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _180117_Lectures { class Program { static void Main(string[] args) { int numbersToAdd = int.Parse(Console.ReadLine()); decimal totalNumbers = 0M...
Koceto/SoftUni
Old Code/Programming Fundamentals/Data Types and Variables/Exact Sum of Real Numbers/Exact Sum of Real Numbers/Program.cs
C#
mit
552
export{C as CreateGameReducer,G as Game}from"./reducer-b8b81041.js";import"immer";export{I as InitializeGame}from"./initialize-2ee3d05a.js";export{A as Async}from"./base-c99f5be2.js";
cdnjs/cdnjs
ajax/libs/boardgame-io/0.39.4/esm/internal.min.js
JavaScript
mit
183
-- https://wiki-bsse.ethz.ch/display/ITDOC/Check+size+of+tables+and+objects+in+PostgreSQL+database SELECT relname as "Table", pg_size_pretty(pg_total_relation_size(relid)) As "Size", pg_size_pretty(pg_total_relation_size(relid) - pg_relation_size(relid)) as "External Size" FROM pg_catalog.pg_statio_user_tables...
imtiaz-rahi/scripts
scripts/sql/pg-disk-use-tables-size.sql
SQL
mit
366
var express = require('express'); var http = require('http'); var path = require('path'); var app = express(); app.use(express.bodyParser()); app.use(app.router); app.use(express.static(__dirname + '/public')); // Simple REST server. var users = []; app.post('/user', function(req, res) { users[req.body.name] = ...
rla/xhr-json
tests/server.js
JavaScript
mit
1,686
package com.tommytony.war.job; import org.bukkit.block.Block; import org.bukkit.block.BlockFace; import com.tommytony.war.War; import com.tommytony.war.volume.BlockInfo; public class ResetCursorJob implements Runnable { private final Block cornerBlock; private final BlockInfo[] originalCursorBlocks; private fina...
grinning/war-tommybranch
war/src/main/java/com/tommytony/war/job/ResetCursorJob.java
Java
mit
2,006
=begin Copyright (c) 2011-2012 VMware, Inc. All Rights Reserved. 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,...
socialcast/glyph_filter
spec/views/glyph_filter/_glyph.html_spec.rb
Ruby
mit
1,535
/** * This file was generated by cmake, do NOT modify. */ #ifndef DUI_UIBUILDCONFIG_H_ #define DUI_UIBUILDCONFIG_H_ /* #undef HAVE_STRICMP */ #define HAVE_STRCASECMP #endif // !DUI_UIBUILDCONFIG_H_
MXWXZ/DuiMini
DuiMini/include/UIBuildConfig.h
C
mit
203
# Be sure to restart your server when you modify this file. GeoForms::Application.config.session_store :cookie_store, key: '_geo-forms_session'
shaunakv1/geo-forms
config/initializers/session_store.rb
Ruby
mit
145
using System.Web.Mvc; using System.Web.Routing; namespace Microsoft.Azure.Blast.Web { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapMvcAttributeRoutes(); r...
smith1511/AzureBlast
AzureBlast.Web/App_Start/RouteConfig.cs
C#
mit
555
{% if not missions %} <div class="modal fade in" id="modal-dialog" style="display: block; padding-right: 15px;"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h4 class=...
camieac/bits-and-bobs
django_modal.html
HTML
mit
896
<!DOCTYPE html> <!--[if IE 9]><html class="lt-ie9" lang="fr"><![endif]--> <!--[if !IE]><!--><html lang="fr"><!--<![endif]--> <head> <title>Ed, Edd n Eddy - Série (1999) - Danny Antonucci - SensCritique</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> ...
dieng444/smart-search
web/docs/series/2015-11-10/ed-edd-n-eddy/index.html
HTML
mit
80,059
--- title: avx18 type: products image: /img/Screen Shot 2017-05-09 at 11.56.54 AM.png heading: x18 description: lksadjf lkasdjf lksajdf lksdaj flksadj flksa fdj main: heading: Foo Bar BAz description: |- ***This is i a thing***kjh hjk kj # Blah Blah ## Blah![undefined](undefined) ### Baah image1:...
pblack/kaldi-hugo-cms-template
site/content/pages2/avx18.md
Markdown
mit
339
using FlatBuffers; using FlatBuffers.Schema; using Synchronica.Examples.Schema; using Synchronica.Replayers; using Synchronica.Schema; using System; using System.Collections.Generic; using System.IO; using System.Net.Sockets; using System.Threading; using UnityEngine; namespace Synchronica.Unity.Examples { class ...
wuyuntao/Synchronica
SynchronicaUnityExamples/Assets/Scripts/SynchronicaUnityExamples/SimpleClient.cs
C#
mit
5,149
## Navbar 导航栏 ### 使用指南 ``` javascript import { NavBar } from 'icui'; Vue.component(NavBar.name, NavBar); ``` ### 代码演示 #### :::demo ```html <ic-navbar title="NavBar" leftContent="返回" leftIcon rightIcon ></ic-navbar> ``` ::: ### Options | 参数 | 说明 | 类型 | 默认值 | |-----------|--...
icloudcity/iCUi
examples/docs/navbar.md
Markdown
mit
528
'use strict'; function getBetterUpgradeMessage(foundVersion) { let version = (foundVersion && foundVersion[1]) ? `(${foundVersion[1]}) ` : ''; return `A new version of Ghost Core ${version}is available! Hot Damn. \ <a href="http://support.ghost.org/how-to-upgrade/" target="_blank">Click here</a> \ to learn mor...
felixrieseberg/Ghost-Desktop
main/preload/upgrade-notification.js
JavaScript
mit
1,100
using System.Threading; using MonoTouch.Foundation; using MonoTouch.UIKit; using iOS.Client.Screens; using iOS.Client.MonoTouch.Dialog; using MonoTouch.Dialog; using System.Drawing; namespace iOS.Client { // The UIApplicationDelegate for the application. This class is responsible for launching the // User In...
claudiosanchez/QBank
iOS.Client/AppDelegate.cs
C#
mit
2,075
import { Component } from '@angular/core'; @Component({ selector: 'formly-demo-home', template: ` <div class="container markdown github"> <div [innerHtml]="contnent"></div> </div> `, }) export class HomeComponent { contnent = require('!!raw-loader!!highlight-loader!markdown-loader!./../../../READ...
formly-js/ng-formly
demo/src/app/home.component.ts
TypeScript
mit
331
require "route_cow/version" module RouteCow # Your code goes here... end
killthekitten/route_cow
lib/route_cow.rb
Ruby
mit
76
namespace RemindMe { partial class MaterialPopup { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <p...
Stefangansevles/RemindMe
RemindMe/Forms/MaterialForms/MaterialPopup.Designer.cs
C#
mit
13,938
require 'test_helper' class NotificationTest < ActionMailer::TestCase # replace this with your real tests test "the truth" do assert true end end
pugnusferreus/wamlibrary
test/functional/notification_test.rb
Ruby
mit
157
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE416_Use_After_Free__malloc_free_char_11.c Label Definition File: CWE416_Use_After_Free__malloc_free.label.xml Template File: sources-sinks-11.tmpl.c */ /* * @description * CWE: 416 Use After Free * BadSource: Allocate data using malloc(), initialize memory bl...
maurer/tiamat
samples/Juliet/testcases/CWE416_Use_After_Free/CWE416_Use_After_Free__malloc_free_char_11.c
C
mit
5,310
'use strict' var PassThrough = require('stream').PassThrough var statistics = require('vfile-statistics') var fileSetPipeline = require('./file-set-pipeline') module.exports = run // Run the file set pipeline once. // `callback` is invoked with a fatal error, or with a status code (`0` on // success, `1` on failure)...
wooorm/unified-engine
lib/index.js
JavaScript
mit
4,229
# Hand Signaling for WebRTC WebRTCのシグナリングを手動で行うサンプルです こちらから実際に試すことができます。 https://mganeko.github.io/hand/ ## Hand signaling vanilla ICE https://mganeko.github.io/hand/signaling_vanilla.html ### 使い方 * Chrome または Firefoxで、リンク先のページを2つ開きます * この際に別ウィンドウで開き、横に並べるのがオススメです * 両方のウィンドウで、[Start video]ボタンをクリックし、カメラを取得します * 許可を求...
mganeko/hand
README.md
Markdown
mit
1,567
require 'puppet' require 'json' require 'erb' Puppet::Reports.register_report(:upguard) do VERSION = "v1.5.6" CONFIG_FILE_NAME = "upguard.yaml" VERSION_TAG = "Added by #{File.basename(__FILE__)} #{VERSION}" desc "Create a node (if not present) and kick off a node scan in UpGuard if changes were made." conf...
ScriptRock/content
automation/puppet/upguard.rb
Ruby
mit
14,212
'use strict'; import {should as should_} from 'chai'; const should = should_(); import {spy, stub} from 'sinon'; import {setCanvas, canvas, context} from '../src/canvas'; import draw from '../src/draw'; // import {Sprite} from '../../../script/src/sprite'; describe('draw.js', () => { let ctx; before(() => { ...
OinkIguana/tactical-rpg
public_html/script/test/draw.js
JavaScript
mit
29,943
--- title: anq44 type: products image: /img/Screen Shot 2017-05-09 at 11.56.54 AM.png heading: q44 description: lksadjf lkasdjf lksajdf lksdaj flksadj flksa fdj main: heading: Foo Bar BAz description: |- ***This is i a thing***kjh hjk kj # Blah Blah ## Blah![undefined](undefined) ### Baah image1:...
pblack/kaldi-hugo-cms-template
site/content/pages2/anq44.md
Markdown
mit
339
using System; using Csla; using SelfLoadSoftDelete.DataAccess.ERLevel; namespace SelfLoadSoftDelete.DataAccess.Sql.ERLevel { public partial class G09_Region_ReChildDal { } }
CslaGenFork/CslaGenFork
trunk/Samples/DeepLoad/DAL-DTO/SelfLoadSoftDelete.DataAccess.Sql/ERLevel/G09_Region_ReChildDal.cs
C#
mit
197
<?php declare(strict_types=1); /* * This file is part of the Sonata Project package. * * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sonata\DoctrineORMAdminBundl...
pulzarraider/SonataDoctrineORMAdminBundle
tests/Block/AuditBlockServiceTest.php
PHP
mit
2,855
<?php namespace Demo\TaskBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class DefaultControllerTest extends WebTestCase { public function testIndex() { $client = static::createClient(); $crawler = $client->request('GET', '/hello/Fabien'); $this->assert...
prabhucomo/symfonytask
src/Demo/TaskBundle/Tests/Controller/DefaultControllerTest.php
PHP
mit
398
|操作 |Windows |Mac | Note | |--------------------|--------------------------|-------------------------|--------------------------| |開啟檔案 |`Ctrl + P` |`Cmd + P` | | |複製行 ...
2tvnow/tech_docs
atom/shortcuts.md
Markdown
mit
1,580
# require '/Users/Helen/Documents/Rails/hangman_twitter_bot/lib/hangman_twitter_bot' require './lib/hangman_twitter_bot' require 'pry' controller = MainController.new controller.start
lemonlimester/hangman_twitter_bot
main.rb
Ruby
mit
184
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <HTML> <HEAD> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> <meta http-equiv="Content-Language" content="pl"> <style type="text/css"> body {font-family: arial; background: #ffffff; font-size: 8px color: white;} td { font-family: verdana;...
developerTajul/eshoper
assets/backEnd/img/ios-style-checkboxes/slider_right-63584.html
HTML
mit
2,255
package org.beryl.app; /** Convenience class for retrieving the current Android version that's running on the device. * * Code example on how to use AndroidVersion to load a multi-versioned class at runtime for backwards compatibility without using reflection. * <pre class="code"><code class="java"> import org.bery...
jeremyje/android-beryl
beryl/src/org/beryl/app/AndroidVersion.java
Java
mit
6,414
/** * HTML5 ✰ Boilerplate * * style.css contains a reset, font normalization and some base styles. * * Credit is left where credit is due. * Much inspiration was taken from these projects: * - yui.yahooapis.com/2.8.1/build/base/base.css * - camendesign.com/design/ * - praegnanz.de/weblog/htmlcssjs-kickstart *...
btford/socialjam
css/style.css
CSS
mit
11,196