repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
inutard/matrix-factor
html/block__diag__matrix_8h.html
6906
<!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...
mit
peterwurzinger/SamlOida
CONTRIBUTING.md
730
# Contributing We love contributions from everyone. To make collaboration as easy as possible please make sure to follow the following conventions. ## Contributing Code 1. Fork the repo from `master`. 2. If you've added code that should be tested, add tests. 3. If you've changed APIs, update the documentation. 4. En...
mit
scottcgi/Mojoc
Engine/Graphics/Utils/Image.c
6916
/* * Copyright (c) scott.cgi All Rights Reserved. * * This source code belongs to project Mojoc, which is a pure C Game Engine hosted on GitHub. * The Mojoc Game Engine is licensed under the MIT License, and will continue to be iterated with coding passion. * * License : https://github.com/scottcgi/Mojoc/blob/ma...
mit
hansl/angular
packages/router/test/integration.spec.ts
182197
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {CommonModule, Location} from '@angular/common'; import {SpyLocation} from '@angular/common/testing'; import ...
mit
asiboro/asiboro.github.io
vsdoc/toc--/topic_0000000000000AAC.html.js
374
var breadcrumbs=[['-1',"",""],['2',"SOLUTION-WIDE PROPERTIES Reference","topic_0000000000000C16.html"],['2977',"Tlece.Recruitment.Services.Company Namespace","topic_0000000000000A83.html"],['2978',"CompanyService Class","topic_0000000000000A84.html"],['2991',"Methods","topic_0000000000000A84_methods--.html"],['3066',"T...
mit
pblack/kaldi-hugo-cms-template
site/content/pages2/aer28.md
339
--- title: aer28 type: products image: /img/Screen Shot 2017-05-09 at 11.56.54 AM.png heading: r28 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:...
mit
cellanda/flexapi-core-js
lib/module.js
6246
/*global require module*/ var q = require('q'); var async = require('async'); var constants = require('./_constants'); var Logger = require('./logger'); var CompiledNode = require('./compiled-node'); var EvaluatedNode = require('./evaluated-node'); var _8a2a4f008c464f9b81b3b5f4e75772c5 = { evaluateValue: function...
mit
AccuSudarmin/efind_api
eventfinder.sql
4142
-- phpMyAdmin SQL Dump -- version 4.1.14 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Oct 12, 2015 at 07:43 PM -- Server version: 5.6.17 -- PHP Version: 5.5.12 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;...
mit
hassaanaliw/SocialHub
templates/home.html
2656
{% extends "base.html" %} <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> </head> {% block body %} <style type="text/css"> body { background-color: rgba(26, 109, 169, 0.99); font-size: 16px; } .bubble { width: 100%...
mit
coinbox/coinbox-mod-customer
setup.py
654
from setuptools import setup, find_packages setup( name="Coinbox-mod-customer", version="0.2", packages=find_packages(), zip_safe=True, namespace_packages=['cbmod'], include_package_data=True, install_requires=[ 'sqlalchemy>=0.7, <1.0', '...
mit
mikee385/RustRayTracer
src/scene/mod.rs
8545
use std::vec::{Vec}; use geometry::{Vector3D, Ray3D}; use color::{ColorRGB}; pub use self::scene_object::{SceneObject}; pub use self::scene_light::{SceneLight}; pub use self::plane::{Plane}; pub use self::sphere::{Sphere}; pub use self::camera::{Camera}; mod scene_object; mod scene_light; mod plane; mod sphere; mod ...
mit
maurer/tiamat
samples/Juliet/testcases/CWE78_OS_Command_Injection/s04/CWE78_OS_Command_Injection__char_file_w32_spawnv_82_bad.cpp
1190
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__char_file_w32_spawnv_82_bad.cpp Label Definition File: CWE78_OS_Command_Injection.strings.label.xml Template File: sources-sink-82_bad.tmpl.cpp */ /* * @description * CWE: 78 OS Command Injection * BadSource: file Read input from a fil...
mit
mrysav/familiar
app/assets/javascripts/application.js
102
//= require jquery3 //= require popper //= require bootstrap //= require turbolinks //= require_tree .
mit
CanopyFA/quovo-ruby
lib/quovo/models/iframe_token.rb
200
module Quovo module Models class IframeToken < Base fields %i( user token ) def url "https://embed.quovo.com/auth/#{token}" end end end end
mit
taragu/sharefile
sharefileclient/sendmessagedialog.cpp
2196
#include "sendmessagedialog.h" #include "ui_sendmessagedialog.h" #include "clientcommandmanager.h" #include "clientcommand.h" SendMessageDialog::SendMessageDialog(QWidget *parent) : QDialog(parent), ui(new Ui::SendMessageDialog) { ui->setupUi(this); errorPopup = new ErrorPopup(); attach(errorPopup)...
mit
eibertek/etek10
src/Etk/Bundle/AdminBundle/DependencyInjection/Configuration.php
909
<?php namespace Etk\Bundle\AdminBundle\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...
mit
MSAdministrator/PSRegistry
Tests/Public/New-RegistryKey.tests.ps1
1082
$here = Split-Path (Split-Path -Parent $MyInvocation.MyCommand.Path) -Parent $module = 'PSRegistry' $function = 'New-RegistryKey' Describe "$function" { It "when keypath includes keytype, it should throw" { { New-RegistryKey -KeyType HKLM -KeyPath 'HKLM:\SOFTWARE' } | Should throw } ...
mit
WCCG/wccg.github.io
index.html
3615
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="description" content="WCCG - Chennai Cyclists"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> <title>WCCG - Chennai Cyclists...
mit
sidemash/redson
doc/com/sidemash/redson/converter/Person.html
12127
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="fr"> <head> <!-- Generated by javadoc (1.8.0_45) on Sun Jul 12 01:26:01 CEST 2015 --> <title>Person</title> <meta name="date" content="2015-07-12"> <link rel="stylesheet" type="text/css" h...
mit
Morning-UI/morning-ui
docs/component/drawer.html
3098
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <title>Morning UI</title> <meta name="description" content="Morning UI是一套现代、高效、友善的桌面组件库"> <meta name="keywords" content="vue morning component ui-kit vue-components fontend javascript"> <meta property="og:type" content="article">...
mit
mikechernev/grumphp
spec/GrumPHP/Runner/TaskResultSpec.php
2248
<?php namespace spec\GrumPHP\Runner; use GrumPHP\Runner\TaskResult; use GrumPHP\Task\Context\ContextInterface; use GrumPHP\Task\TaskInterface; use PhpSpec\ObjectBehavior; class TaskResultSpec extends ObjectBehavior { const FAILED_TASK_MESSAGE = 'failed task message'; function it_creates_passed_task(TaskInte...
mit
dasantonym/nano-ticketron-xl
bin/import-booth.js
1688
#!/usr/bin/env node const fs = require('mz/fs'), path = require('path'), Promise = require('bluebird'), mongoose = require('mongoose'), uuid = require('uuid4') const config = require('../config/api_options.json') const MongoUtil = require('../dist/server/lib/mongo-util').default const Order = require('../di...
mit
jensoleg/aspnet5-angular2-typescript
README.md
5945
<h2>Cross-platform Single Page Applications using ASP.NET Core, Angular 2 and Typescript</h2> <a href="http://wp.me/p3mRWu-11L" rel="attachment wp-att-3961" target="_blank"><img src="https://chsakell.files.wordpress.com/2015/12/aspnet5-agnular2-03.png?w=700&amp;h=355" alt="aspnet5-agnular2-03" width="700" height="355"...
mit
ceph/go-ceph
rgw/admin/errors.go
4043
package admin import ( "encoding/json" "errors" "fmt" ) const ( // ErrUserExists - Attempt to create existing user ErrUserExists errorReason = "UserAlreadyExists" // ErrNoSuchUser - Attempt to create existing user ErrNoSuchUser errorReason = "NoSuchUser" // ErrInvalidAccessKey - Invalid access key specified...
mit
Brille24/Sylius
src/Sylius/Behat/Context/Ui/Admin/ManagingAdministratorsContext.php
10196
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Sylius\Behat\Context\Ui\Admin; use Behat\Behat\Context\Context; u...
mit
Anastaszor/yii1-currency
views/admin/rateToEur/view.php
474
<?php /* @var $this RateToEurController */ /* @var $model CurrencyRateToEur */ ?> <div class="col-sm-3"> <?php $this->renderPartial('_menu', array('model' => $model, 'action' => 'view')); ?> </div> <div class="col-sm-9"> <br> <h3 class="text-center"><?php echo Yii::t('CurrencyModule.view', 'Rate Data'); ?></h3...
mit
gale9010/f3f-timer
f3Ftimer/src/main/assets/public_html/index.html
1223
<!DOCTYPE html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="format-detection" content="telephone=no"> <title>...
mit
virtauniquecoin/virtauniquecoin-master
src/qt/locale/virtauniquecoin_tr.ts
124772
<?xml version="1.0" ?><!DOCTYPE TS><TS language="tr" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About virtauniquecoin</source> <translation>virtauniquecoin Hakkında</translation> </message> <messag...
mit
TheFlyingFiddle/TIER
examples/proto_phone_book.lua
2246
local tier = require"tier" local standard = tier.standard local primitive = tier.primitive local PhoneType = { [0] = "MOBILE", MOBILE = 0, [1] = "HOME", HOME = 1, [2] = "WORK" WORK = 2, } local PhoneNumber = standard.tuple { { key = "number", mapping = primitive.string }, { key = "type", mapping ...
mit
kieranjol/IFIscripts
loopline_repackage.py
12437
#!/usr/bin/env python ''' Retrospectively updates older FFV1/DV packages in order to meet our current packaging requirements. This should allow accession.py and makepbcore.py to run as expected. This script should work on files created by: makeffv1.py dvsip.py loopline.py ''' import argparse import sys import shutil im...
mit
OrhanOdabasi/weirdbutreal
story/migrations/0038_auto_20170405_1404.py
509
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-04-05 14:04 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('story', '0037_auto_20170405_1401'), ] operations = [ migrations.AlterField(...
mit
stoneflyop1/intro2algorithms
datastructs/deque.go
1068
package datastructs // Deque array implemented linked list type Deque struct { array []interface{} left, right int fixSize int } func NewDeque(capacity int) *Deque { d := new(Deque) if capacity <= 0 { panic("deque must have capacity") } d.array = make([]interface{}, capacity) d.fixSize = capacity ...
mit
ThomasBird1984/AngularJS
README.md
30
# AngularJS AngularJS Testing
mit
SmartRoutes/SmartRoutes
SmartRoutes/Scripts/ViewModels/ComboBoxViewModel.js
595
 // Currently unused, but don't want to delete it since // it might be useful later. //SmartRoutes.ComboBoxViewModel = function(data) { // // Private: // var comboboxChoices = ko.observableArray(); // var comboboxSelection = ko.observable(); // (function Init() { // if (data && Array.isArray(data...
mit
toddself/content-kit-editor
tests/helpers/dom.js
5235
const TEXT_NODE = 3; import { clearSelection } from 'content-kit-editor/utils/selection-utils'; import { walkDOMUntil } from 'content-kit-editor/utils/dom-utils'; import KEY_CODES from 'content-kit-editor/utils/keycodes'; import isPhantom from './is-phantom'; function selectRange(startNode, startOffset, endNode, endO...
mit
niquola/fhir
lib/fhir/handmade/code_system.rb
2903
class Fhir::CodeSystem attr_reader :symbolic, :display, :oid, :uris DECLARED_SYSTEMS = [{ symbolic: :unii, display: 'UNII', oid: '2.16.840.1.113883.4.9' }, { symbolic: :snomed, display: 'SNOMED', oid: '2.16.840.1.113883.6.96', uri: 'http://snomed.info/id' }, { ...
mit
enlo/jmt-projects
jmt-core/src/test/java/info/naiv/lab/java/jmt/infrastructure/SimpleServiceContainerTest.java
1965
/* * Copyright (c) 2015, enlo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * list of conditions and t...
mit
eulogix/cool-core-bundle
Bundle/CoreBundle/Resources/databases/core/sql/pre_sync/500_drop_stuff.sql
103
DROP TYPE IF EXISTS core.view_field_origin CASCADE; DROP VIEW IF EXISTS core.widget_rule_calc CASCADE;
mit
timgavin/tumblroauth
database.sql
659
CREATE TABLE IF NOT EXISTS `users_oauth` ( `uo_usr_id` int(11) unsigned NOT NULL COMMENT 'The user ID from your users table', `oauth_provider` varchar(10) NOT NULL COMMENT 'The provider: Twitter, Tumblr, LinkedIn, etc.', `oauth_provider_usr_id` varchar(99) NOT NULL COMMENT 'The user\'s ID from the provider', `o...
mit
FacemanFoothand/alphaapi
examples/callbacks/items.lua
1558
local mod = RegisterMod("AlphaAPI: Item Callbacks", 1) local alpha_mod local function killPlayer() local player = AlphaAPI.GAME_STATE.PLAYERS[1] player:Die() end local function updateSoyMilk() local player = AlphaAPI.GAME_STATE.PLAYERS[1] player:AddBlackHearts(1) end local function addHealth() lo...
mit
Dr4g0/TelerikForumSystem
Source/Web/ForumSystem.Web/Areas/Administration/Controllers/PostsController.cs
1157
using System.Collections; using ForumSystem.Data.Common.Repository; using ForumSystem.Data.Models; using ForumSystem.Web.Areas.Administration.ViewModels.Posts; using Kendo.Mvc.UI; using Kendo.Mvc.Extensions; using System; using System.Linq; using System.Web.Mvc; using AutoMapper.QueryableExtensions; namespace ForumSy...
mit
shoelzer/SharpDX
Source/SharpDX/Half4.cs
10134
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel // // 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,...
mit
maurer/tiamat
samples/Juliet/testcases/CWE78_OS_Command_Injection/s03/CWE78_OS_Command_Injection__char_environment_w32spawnl_53d.c
2165
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__char_environment_w32spawnl_53d.c Label Definition File: CWE78_OS_Command_Injection.strings.label.xml Template File: sources-sink-53d.tmpl.c */ /* * @description * CWE: 78 OS Command Injection * BadSource: environment Read input from an...
mit
tsvgeorgieva/AmAm
AmAm/NutritionRecommendationEngine/MyRandom.cs
670
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace NutritionRecommendationEngine { public static class MyRandom { private static Random random = new Random(); public static int Next(int max) { return random.Next(max); ...
mit
ohrite/view_zoo
spec/javascripts/helpers/spec_helper.js
2675
beforeEach(function () { jasmine.Clock.useMock(); jasmine.Clock.reset(); $.fx.off = true; if ($('.fake_dom').length) { $('.fake_dom').empty(); } this.addMatchers(new CustomMatchers()); }); afterEach(function () { $.fx.off = false; }); function printNode(node, depth, renderer) { renderer = rende...
mit
Szewek/Minecraft-Flux
src/api/java/reborncore/api/power/EnumPowerTier.java
673
package reborncore.api.power; /** * Created by modmuss50 on 08/03/2016. */ public enum EnumPowerTier { MICRO(8, 8, 0), LOW(32, 32, 1), MEDIUM(128, 128, 2), HIGH(512, 512, 3), EXTREME(2048, 2048, 4), INSANE(8192, 8192, 5), INFINITE(Integer.MAX_VALUE, Integer.MAX_VALUE, 6); private final int maxInput; privat...
mit
jonathanccalixto/devise_inactivatable
test/rails_app/db/migrate/20120508165529_create_tables.rb
2095
class CreateTables < ActiveRecord::Migration def self.up create_table :users do |t| t.string :username t.string :facebook_token ## Database authenticatable t.string :email, :null => false, :default => "" t.string :encrypted_password, :null => false, :default => "" ...
mit
tzmartin/gae-python.docset
Contents/Resources/Documents/classgoogle_1_1appengine_1_1api_1_1datastore__types_1_1_link-members.html
3017
<!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...
mit
pmeisen/gen-sbconfigurator
src/net/meisen/general/sbconfigurator/config/PropertyInjectorBean.java
1181
package net.meisen.general.sbconfigurator.config; import java.util.Map; import java.util.Properties; /** * A bean used to inject properties within the {@code SpringPropertyHolder} * during the configuration loading. * * @author pmeisen * */ public class PropertyInjectorBean { private final Properties proper...
mit
wyvernnot/react-datatables-example
webpack.config.js
599
var path = require('path'); module.exports = { entry: { entry:path.join(__dirname, 'src', 'entry.js'), toggle:path.join(__dirname, 'src', 'toggle.js'), }, output: { path: path.join(__dirname, 'dist'), publicPath: '/static/', filename: '[name].js' }, module: { loaders: [{ test: /\...
mit
mikeerickson/cd-messenger
webpack.config.prod.js
584
import merge from 'webpack-merge'; import chalk from 'chalk'; import pkgInfo from './package.json'; import BabiliPlugin from 'babili-webpack-plugin'; import WebpackShellPlugin from '@slightlytyler/webpack-shell-plugin'; import webpackConfigBase from './webpack.config.base'; const webpackConfigProd = { pl...
mit
goodbyecoin/goodbyecoin
src/qt/locale/bitcoin_hu.ts
106091
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hu" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="14"/> <source>About Bitcoin</source> <translation>A Bitcoinról</translation> </messag...
mit
briviere/keystone-realestate-template
routes/index.js
2560
/** * This file is where you define your application routes and controllers. * * Start by including the middleware you want to run for every request; * you can attach middleware to the pre('routes') and pre('render') events. * * For simplicity, the default setup for route controllers is for each to be * in its...
mit
DragonDTG/vex
lib/generator/request/public/static/scripts/pages/page/handler/request_handler.js
1223
/** * @license Copyright (c) {{year}}, {{author}} All Rights Reserved. * Available via MIT license. */ /** * A client {{page}} {{request}} handler. */ define([ 'framework/request/base_request_handler', '../{{request}}_request', 'framework/core/deferred/deferred', 'domain/request/{{page}}/{{requestServer}...
mit
OdeArmasSR/scsofficials.com
public/js/lib/audio.js
31933
// A cross-browser javascript shim for html5 audio (function(audiojs, audiojsInstance, container) { // Use the path to the audio.js file to create relative paths to the swf and player graphics // Remember that some systems (e.g. ruby on rails) append strings like '?1301478336' to asset paths var path = (function(...
mit
everbuild/f3db
src/math.cpp
1020
/*----------------------------------------------------------------------------*\ MODULE NAME: math.cpp PROJECT: F3DB AUTHOR: Evert Bauwens DATE: september 8 2003 DESCRIPTION: \*----------------------------------------------------------------------------*/ #include "math.h" #include <stdlib.h>...
mit
chinshr/foundry-node
node_modules/cf-autoconfig/node_modules/cf-runtime/lib/service.js
1115
/* * Cloud Foundry API module * Service connection module helper */ var app = require("./properties"); function ServiceClient () { } exports.ServiceClient = ServiceClient; ServiceClient.prototype.create = function () { if (!this.type) return false; var svcNames = app.serviceNamesOfType[this.type]; if (!sv...
mit
Wiredcraft/pipelines
pipelines/pipeline/utils.py
162
import string import random def random_secret(n=45): chars = string.ascii_letters + string.digits return ''.join(random.choice(chars) for _ in range(n))
mit
jorgemunoz8807/ociosos
src/Ociosos/UsuarioBundle/DependencyInjection/Configuration.php
877
<?php namespace Ociosos\UsuarioBundle\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://sym...
mit
fajarlabs/sucofindo
application/admin/log_monitoring/controllers/Log_monitoring.php
1129
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Log_monitoring extends MY_Controller { public function __construct() { parent::__construct(); $this->load->model(array("Log_monitoring_model")); $this->data['html_css'] = ''; $this->data['html_js'] = ' <script> $(docume...
mit
BirdBrainTechnologies/BirdBlox-Android-Support
app/src/main/java/com/birdbraintechnologies/birdblox/httpservice/RequestHandlers/RobotRequestHandler.java
27668
package com.birdbraintechnologies.birdblox.httpservice.RequestHandlers; import android.app.AlertDialog; import android.bluetooth.BluetoothGatt; import android.bluetooth.le.ScanFilter; import android.content.DialogInterface; import android.content.Intent; import android.net.Uri; import android.os.Handler; import androi...
mit
xdevs23/Cornowser
app/src/main/java/org/xdevs23/management/config/SharedPreferenceArray.java
1173
package org.xdevs23.management.config; public class SharedPreferenceArray { public static String getPreferenceString(String[] array) { if(array == null) return ""; if(array.length == 0) return ""; StringBuilder sb = new StringBuilder(); for ( String s : array) { Str...
mit
mohamedaliff/dpapps
www/reg_personal.html
2772
<div class="col-md-6 col-md-offset-3"> <div class="panel panel-default"> <div class="panel-body"> <form role="form" class="form-group" style=""> <!-- username --> <input type="text" id="user" class="form-control" placeholder="Username. (Exp: John13)" /> ...
mit
DDTH/djs-commons
src/main/java/com/github/ddth/djs/message/queue/TaskFinishMessage.java
3552
package com.github.ddth.djs.message.queue; import java.util.HashMap; import java.util.Map; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import com.fasterxml.jack...
mit
DemonWav/MinecraftDevIntelliJ
src/gradle-tooling-extension/java/com/demonwav/mcdev/platform/mcp/gradle/tooling/McpModelFG2.java
325
/* * Minecraft Dev for IntelliJ * * https://minecraftdev.org * * Copyright (c) 2020 minecraft-dev * * MIT License */ package com.demonwav.mcdev.platform.mcp.gradle.tooling; import java.util.Set; public interface McpModelFG2 extends McpModel { String getMinecraftVersion(); Set<String> getMappingFiles(...
mit
jayinton/FlaskDemo
simple/sessionTest.py
1407
#!/usr/bin/env python # coding=utf-8 __author__ = 'Jayin Ton' from flask import Flask, request, session, redirect, url_for app = Flask(__name__) host = '127.0.0.1' port = 8000 # 使用session 必须设置secret_key # set the secret key. keep this really secret: app.secret_key = 'A0Zr98j/3yX R~XHH!jmN]LWX/,?RT' @app.route('/...
mit
ignatandrei/stankins
stankinsV1/StanskinsImplementation/CommonData.cs
768
using StankinsInterfaces; using System; using System.Collections.Generic; using System.Text; namespace StanskinsImplementation { public class CommonData : ICommonData { public CommonData() { this.UTCDateReceived = DateTime.UtcNow; this.LocalDateReceived = DateTime.Now; ...
mit
maurer/tiamat
samples/Juliet/testcases/CWE78_OS_Command_Injection/s03/CWE78_OS_Command_Injection__char_environment_w32_spawnlp_66a.c
3510
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__char_environment_w32_spawnlp_66a.c Label Definition File: CWE78_OS_Command_Injection.strings.label.xml Template File: sources-sink-66a.tmpl.c */ /* * @description * CWE: 78 OS Command Injection * BadSource: environment Read input from ...
mit
joshwetzel/existence
lib/existence/true_class.rb
80
class TrueClass def present? true end def blank? false end end
mit
lfranchi/bangbangcon.github.io
stylesheets/stylesheet.css
8038
/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ 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...
mit
nucliweb/p5.js-editor
release-howto.md
1296
# Setup 1. Install wine (and xquartz), instructions [here](http://www.davidbaumgold.com/tutorials/wine-mac/). # How to make a release First, it's a good idea to download the latest build of p5 and examples: ``` gulp p5 gulp getExamples ``` Update the version number in `package.json` and `public/package.json` ``` "...
mit
Codeperitus/cms
src/ac/DataBundle/Controller/DefaultController.php
295
<?php namespace ac\DataBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; class DefaultController extends Controller { public function indexAction($name) { return $this->render('acDataBundle:Default:index.html.twig', array('name' => $name)); } }
mit
cormac-obrien/os-0
src/libc/include/stdlib.h
424
#ifndef _STDLIB_H #define _STDLIB_H 1 #include <stddef.h> /* for size_t */ #include <sys/cdefs.h> #ifdef __cplusplus extern "C" { #endif #define EXIT_FAILURE (1) #define EXIT_SUCCESS (0) #define NULL ((void *)0) void abort(void); void *malloc(const size_t size); void *calloc(const size_t num, const size_t size); v...
mit
liigo/liigo.github.io
tmp/rust/inline-sidebar-items/std/bool.t.html
317
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="refresh" content="0;URL=primitive.bool.html"> </head> <body> <p>Redirecting to <a href="primitive.bool.html">primitive.bool.html</a>...</p> <script>location.replace("primitive.bool.html" + location.search + location.hash);</script> </body> </html>
mit
frontrowed/stratosphere
library-gen/Stratosphere/Resources/ApplicationAutoScalingScalableTarget.hs
6217
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE StrictData #-} {-# LANGUAGE TupleSections #-} -- | http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html module Stratosphere.Resources.ApplicationAutoScalingScalableTarget w...
mit
cgonul/prototypes
material-start/app/tutorial_6.html
3197
<!DOCTYPE html> <html lang="en" > <head> <title>Angular Material - Starter App</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="description" content=""> <meta name="viewport" content="initial-scale=1" /> <link rel='stylesheet' href='http://font...
mit
cdnjs/cdnjs
ajax/libs/primereact/6.0.0/resources/themes/luna-green/theme.css
132211
@charset "UTF-8"; :root { --surface-a: #191919; --surface-b: #191919; --surface-c: #4c4c4c; --surface-d: #4b4b4b; --surface-e: #323232; --surface-f: #323232; --text-color: #dedede; --text-color-secondary: #888888; --primary-color: #C5E1A5; --primary-color-text: #212529; --font-family: -apple-syste...
mit
nadzins/riepas-react-redux
src/reducers/index.js
504
import {combineReducers} from 'redux'; import postValuesReducer from './post_values'; import ListReducer from './list_reducer'; import ForeignListReducer from './foreign_list_reducer'; import FuelReducer from './fuel_reducer'; import {reducer as formReducer} from 'redux-form'; const rootReducer = combineReducers({ ...
mit
bhicks/holiday_list
spec/holiday_list/params_spec.rb
2599
require 'spec_helper' describe HolidayList::Params do before(:all) do Time.zone = 'Central Time (US & Canada)' new_time = Time.zone.local(2014, 1, 29, 12, 0, 0) Timecop.freeze(new_time) end after(:all) do Timecop.return end subject { HolidayList::Params.new('12345', options) } let(:option...
mit
AnnArborTees/acts_as_warnable
app/validators/name_and_email_validator.rb
413
unless defined?(NameAndEmailValidator) class NameAndEmailValidator < ActiveModel::EachValidator def validate_each(record, attribute, value) unless value =~ /\A(.+)?\s<([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})?>\Z/i record.errors[attribute] << (options[:message] || "is not a valid email address. Proper ...
mit
robertpogue/SpacePirates
Time.h
160
#pragma once class Time { public: Time(); int frame(); // returns previous frame time in ms private: int lastFrame; // timestamp in ms };
mit
Webern/MusicXML-Class-Library
Sourcecode/private/mxtest/core/SystemLayoutTest.cpp
4339
// MusicXML Class Library // Copyright (c) by Matthew James Briggs // Distributed under the MIT License #include "mxtest/control/CompileControl.h" #ifdef MX_COMPILE_CORE_TESTS #include "cpul/cpulTestHarness.h" #include "mxtest/core/HelperFunctions.h" #include "mxtest/core/SystemLayoutTest.h" #include "mxtest/core/Sys...
mit
jleben/datavis
app/main_window.hpp
1907
#pragma once #include <QWidget> #include <QListWidget> #include <QMainWindow> #include <QMenu> #include "../data/array.hpp" #include "../data/data_source.hpp" #include "../json/json.hpp" #include <list> namespace datavis { using std::list; using nlohmann::json; class DataSet; class PlotView; class PlotGridView; c...
mit
yochem/kwik-build
examples/example_atom_package/README.md
52
# example_atom_package ### a project by: Yochem ---
mit
stripe/stripe-java
src/main/java/com/stripe/param/InvoiceItemListParams.java
11499
// File generated from our OpenAPI spec package com.stripe.param; import com.google.gson.annotations.SerializedName; import com.stripe.net.ApiRequestParams; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import lombok.Getter; @Getter public class InvoiceItemListPara...
mit
Pomona/Pomona
app/Pomona.Common/Serialization/DeserializerNodeOperation.cs
353
#region License // Pomona is open source software released under the terms of the LICENSE specified in the // project's repository, or alternatively at http://pomona.io/ #endregion namespace Pomona.Common.Serialization { public enum DeserializerNodeOperation { Default, Post, Patch, ...
mit
hotfix31/lumen-datatables
src/Helper.php
7124
<?php namespace Hotfix\Datatables; use DateTime; use Illuminate\Contracts\Support\Arrayable; use Illuminate\Filesystem\Filesystem; use Illuminate\Support\Str; use Illuminate\View\Compilers\BladeCompiler; class Helper { /** * Places item of extra columns into results by care of their order. * * @pa...
mit
mkchandler/bolf-tracker-mvc
src/BolfTracker.Infrastructure.EntityFramework/Configuration/PlayerGameStatisticsConfiguration.cs
874
using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.ModelConfiguration; using BolfTracker.Models; namespace BolfTracker.Infrastructure.EntityFramework { public class PlayerGameStatisticsConfiguration : EntityTypeConfiguration<PlayerGameStatistics> { public PlayerGame...
mit
PHPMessageBus/messagebus
tests/EventBus/EventBusMiddlewareTest.php
1196
<?php /** * Author: Nil Portugués Calderó <contact@nilportugues.com> * Date: 29/03/16 * Time: 23:03. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace NilPortugues\Tests\MessageBus\EventBus; use NilPortugues\MessageBus\Ev...
mit
PingPlusPlus/pingpp-php
lib/SettleAccount.php
3574
<?php namespace Pingpp; /** * 结算账户对象 * Class SettleAccount * @package Pingpp */ class SettleAccount extends UserBase { public static function classUrlWithUserId($user_id) { return User::instanceUrlWithId($user_id) . '/settle_accounts'; } public static function instanceUrlWithSettleAccount...
mit
John-Hart/autorest
src/generator/AutoRest.CSharp.Azure.Tests/Expected/AcceptanceTests/Head/AutoRestHeadTestService.cs
12059
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespa...
mit
GDGAracaju/gdg.ninjas
src/app/components/header/header.js
1252
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate...
mit
daltonbr/TopDownShooter
Assets/Scripts/IDamageable.cs
161
using UnityEngine; public interface IDamageable { void TakeHit(float damage, Vector3 hitPoint, Vector3 hitDirection); void TakeDamage(float damage); }
mit
px3l/yarn-slim-base
Dockerfile
324
FROM node:5.2.0-slim MAINTAINER px3l@tuta.io RUN \ curl -sS http://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \ echo "deb http://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \ apt-get update && \ apt-get install -y yarn && \ apt-get autoremove -y && \ apt-get clean...
mit
stephenscott/sscott2
site/content/posts/2016-08-21-type-20160821.md
192
--- categories: - ephemera - type date: 2016-08-21T20:29:20Z plugin: lightense tags: - type title: type 20160821 url: /2016/08/21/type-20160821/ --- ![type](/images/type20160821.jpg "type")
mit
chrisconley/houdini-gem
lib/houdini/postback_processor.rb
696
module Houdini module PostbackProcessor EnvironmentMismatchError = Class.new RuntimeError APIKeyMistmatchError = Class.new RuntimeError def self.process(class_name, model_id, params) task_manager = params.delete(:task_manager) || TaskManager if params[:environment] != Houdini.environment...
mit
arvyjaar/cv
src/AppBundle/Entity/UserEmployer.php
6131
<?php namespace AppBundle\Entity; use PUGX\MultiUserBundle\Validator\Constraints\UniqueEntity; use Symfony\Component\Validator\Constraints as Assert; use Vich\UploaderBundle\Mapping\Annotation as Vich; use Doctrine\Common\Collections\ArrayCollection; use Symfony\Component\HttpFoundation\File\File; use Doctrine\ORM\Ma...
mit
jcarlson23/sliderule
Classes/CustomSliderTheme.h
872
// // CustomSliderTheme.h // UIWork // // Created by Jared Carlson on 11/10/10. // Copyright 2010 GoToTheBoard. All rights reserved. // #import <UIKit/UIKit.h> typedef enum CustomSliderEnumerator { kCSThemeNone = 0, kCSThemeBlack, kCSThemeWhite, } CustomSliderEnumerator; @interface CustomSliderTheme : NSObjec...
mit
dominikr/libpara
README.md
56
libpara ======= library for parallel shell programming
mit
bentuckian/bentuckian.github.io
_posts/2014-3-3-Hello-World.md
148
--- layout: post title: Testing 1-2 --- Hot mic? Hot mic. Somewhere along the line this just kept going. Where to? This is down below the break.
mit