repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
BroBeurKids/brobeurkidsdotcom
cache/posts/whaiout.html
273770
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>Notebook</title> <script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> <style type="text/css"> /*! * * Twitter Bootstra...
mit
apollo-utn-frd/apollo
client/src/app/app.exports.ts
2209
import {storeFreeze} from "ngrx-store-freeze"; import {localStorageSync} from "ngrx-store-localstorage"; import {combineReducers, StoreModule} from "@ngrx/store"; import {appReducers} from "./shared/store/reducers/app.reducer"; import {AgmCoreModule} from "angular2-google-maps/core"; import {RouterStoreModule} from "@...
mit
letsgoexploring/beapy-package
beapy.py
25953
import datetime import requests import numpy as np import pandas as pd import sys # August 3, 2015: Updated the getNipa() method to accomodate possible differences in data availability for series in tables. # Cleaned up and organized the code substantially. class initialize: def __init__(self,a...
mit
bkahlert/seqan-research
raw/pmsb13/pmsb13-data-20130530/sources/qhuulr654q26tohr/2013-04-10T10-48-27.899+0200/sandbox/PMSB13/apps/5.0/5.0.cpp
1130
#include <iostream> #include <seqan/align.h> using namespace seqan; using namespace std; int main() { typedef String<char> TSequence; // sequence type typedef Align<TSequence,ArrayGaps> TAlign; // align type typedef Row<TAlign>::Type TRow; // gapped sequence type ...
mit
zielmicha/satori
satori.events/satori/events/api.py
2752
# vim:ts=4:sts=4:sw=4:expandtab """The public API of satori.events. """ import hashlib import random import traceback from satori.objects import Object from satori.events.misc import Namespace from .dispatcher import Dispatcher from .protocol import KeepAlive, Disconnect, Attach, Detach, Map, Unmap, Send, Receive ...
mit
dabbler0/seq2seq-comparison
s2sa/beam.lua
28044
require 'nn' require 'string' require 'nngraph' require 'cutorch' require 'cunn' require 's2sa.models' require 's2sa.data' require 's2sa.scorer' path = require 'pl.path' stringx = require 'pl.stringx' local sent_id = 0 local opt = {} local cmd = torch.CmdLine() -- file location cmd:option('-model', 'seq2seq_lstm_a...
mit
fandisus/SSBIN
php/view/common/speciesmap.php
3611
<?php if (!isset($login) || $login->validated != '1') { include DIR."/php/controller/403.php"; die(); } else { function htmlHead() { ?> <script src="http://maps.google.com/maps/api/js"></script> <script src="/jslib/gmaps.js"></script> <style> #map, #panorama { height:450px; background:#6699cc; } ...
mit
tracersoft/mediadrawer-rails
lib/mediadrawer/rails/version.rb
66
module Mediadrawer module Rails VERSION = "0.0.2" end end
mit
davedx/lustro
examples/auto-atlassing.js
1618
var Square = UI.component({ components: [Animator, KeyInput], animationMap: { moveLeft: { transform: [-50, 0, 0], time: 200, easing: "linear" }, moveRight: { transform: [50, 0, 0], time: 200, easing: "linear" } }, handleKeyPress: function(e) { if(e.keyCode === 37) { this.Animator.an...
mit
andrew2net/sitescan_common
db/migrate/20160315133239_rename_table_attributes_option_to_attribute_list.rb
488
class RenameTableAttributesOptionToAttributeList < ActiveRecord::Migration def change rename_table :attributes_options, :attribute_lists rename_table :attribute_class_options_attributes_options, :attribute_class_options_attribute_lists rename_column :attribute_class_options_attribute_lists, :attributes_op...
mit
andyjko/whyline
edu/cmu/hcii/whyline/bytecode/Instantiation.java
383
package edu.cmu.hcii.whyline.bytecode; /** * @author Andrew J. Ko * */ public abstract class Instantiation extends Instruction { public Instantiation(CodeAttribute method) { super(method); } public String getReadableDescription() { return "new"; } public String getAssociatedName() { return null; } publi...
mit
rzane/baby_squeel
README.md
9744
# BabySqueel 🐷 ![Build](https://github.com/rzane/baby_squeel/workflows/Build/badge.svg) ![Version](https://img.shields.io/gem/v/baby_squeel) Have you ever used the [Squeel](https://github.com/activerecord-hackery/squeel) gem? It's a really nice way to build complex queries. However, Squeel monkeypatches Active Recor...
mit
go63/BenzGorokuSearch
GorokuEdit/Properties/AssemblyInfo.cs
2757
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("GorokuEdit")] [assembly: AssemblyDescription("")] [assem...
mit
stopstalk/stopstalk-deployment
views/problems/trending.html
560
{{extend 'layout.html'}} {{block head}} <title>{{=T("Trending Problems")}}</title> <meta name="description" content="List of problems trending amongst your friends and others"> <script> var userLoggedIn = ("{{=auth.is_logged_in()}}" === "True"); var friendsTableURL = "{{=URL('problems', 'friends_trending'...
mit
stivalet/PHP-Vulnerability-test-suite
XSS/CWE_79/unsafe/CWE_79__object-classicGet__whitelist_using_array__Use_untrusted_data_propertyValue_CSS-quoted_Property_Value.php
1677
<!-- Unsafe sample input : get the field userData from the variable $_GET via an object SANITIZE : use in_array to check if $tainted is in the white list File : unsafe, use of untrusted data in a quoted property value (CSS) --> <!--Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agree...
mit
glauber-barboza/crescer-2015-1
eclipse/MestreCucaAntigo/src/MestreCuca/Medidas.java
88
package MestreCuca; public enum Medidas { grama, unidade, xicara, colher_sopa }
mit
biblepay/biblepay
src/test/script_p2pk_tests.cpp
2196
// Copyright (c) 2018-2020 The DÃSH Core Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <script/script.h> #include <test/test_biblepay.h> #include <boost/test/unit_test.hpp> BOOST_FIXTURE_TEST_SUITE(scrip...
mit
neggro/angularjs_firebase
client/app/core/core.constants.js
183
(function myAppCoreConstants() { 'use strict'; angular .module('myApp.core') .constant('FIREBASE_URL', 'https://blistering-heat-2473.firebaseio.com'); })();
mit
bugknightyyp/blog
it/color/color-spaces.md
5847
# 颜色空间 tags: [color] 看了好多关于颜色文章,感觉还是似懂非懂,只能边积累,边理解了。 ## 人类视觉系统 > 人类对光的感知是依靠视网膜(retina)细胞。cones(视锥细胞)负责感知光度(较强光)和色彩, rods(视杆细胞)仅能感知光度,不能感知颜色,但其对光的敏感度是cones的一万倍。 在微弱光环境下rods起主要作用,因此我们不能在暗环境中分辨颜色。一些数码相机的夜光拍摄模式也模拟了这一特性。 ----[百度百科-人类视觉系统][12] ## 色彩 > 色彩并不存在于外部世界,就像重力和质子那样,相反,颜色产生在我们的脑海中,我们的大脑将一定范围的电磁波光谱转化成颜色, 我能够测量出辐射...
mit
BuzzAcademy/idioms-moe-unformatted-data
all-data/3000-3999/3903-34.html
2273
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="layoutclass_pic"><div class="layoutclass_first_pic"><table class="ztable"><tr><th class="ztd1"><b>...
mit
stefda/drsync
bin/drsync.js
2107
#!/usr/bin/env node const fs = require('fs'); const yaml = require('js-yaml'); const cli = require('../lib/cli'); // define cli options const optionList = [ { name: 'help', type: Boolean, description: 'show this help' }, { name: 'host', alias: 'h', type: String, description: 'host name' }, { name: 'port', alias:...
mit
Falkirks/TeamShog
src/session/SessionStore.php
1586
<?php namespace water\session; /* * This class will manage session cookied and allow the opening a session via * a user object and getting a user by there session ID. */ use water\database\Users; class SessionStore{ public static function hasSession(){ if(isset($_SESSION['login-data'])){ $da...
mit
lohool/OLA
assets/Recite/FileOpener.xml.lua
453
function initiate() Log:d('initiate','initiate execute...') end function switch() Log:d("UI","switch to testLua.xml") ui:switchView("testLua1.xml","callback('file opener returned param')","file opener params") Log:d("UI","switched to testLua.xml") end function reload() Log:d("reload","Lua reload is executed.....
mit
alykoshin/require-dir-all
demo/21_gulp_advanced/gulp/tasks-enabled/task2.js
371
/** * Created by alykoshin on 20.01.16. */ 'use strict'; var gulp = require('gulp'); module.exports = function(config) { // Define test task gulp.task('task21', function () { console.log('task21 is running, config:', config); }); // Define test task gulp.task('task22', function () { console.lo...
mit
enotio/Tempest
docs/html/struct_tempest_1_1_model_bounds.html
7293
<!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
NirBenTalLab/proorigami-cde-package
cde-root/usr/lib64/python2.4/site-packages/Bio/PDB/Polypeptide.py
11950
# Copyright (C) 2002, Thomas Hamelryck (thamelry@binf.ku.dk) # This code is part of the Biopython distribution and governed by its # license. Please see the LICENSE file that should have been included # as part of this package. from types import StringType from Bio.Alphabet import ProteinAlphabet from Bio.Seq import...
mit
atsushieno/managed-midi
tools/Makefile
245
SUBDIRS = \ managed-midi-player-console \ mmk \ bulkdump \ module-database-importer .PHONY: subdirs $(SUBDIRS) subdirs: $(SUBDIRS) $(SUBDIRS): $(MAKE) -C $@ clean: for subdir in $(SUBDIRS); do cd $$subdir; $(MAKE) clean; cd ..; done;
mit
zipang/markdown-bundle
src/remark/bundle/fuse.js
348
const { FuseBox, QuantumPlugin, UglifyJSPlugin } = require("fuse-box"); const fuse = FuseBox.init({ target: "browser@es5", homeDir: ".", output: "dist/$name.js", plugins: [ QuantumPlugin({ treeshake: true, target: "browser", }), UglifyJSPlugin({ }) ], }); fuse.bundle("remark-bundle").instructions(...
mit
jbsouvestre/challengr
Challengr/public/js/routes/controller.js
619
import { Controller } from 'marionette'; import Layout from '../commons/layout'; import MainPage from '../pages/mainPage'; import ImportPage from '../pages/importPage'; import ProfileView from '../pages/profileView'; export default Controller.extend({ defaultRoute(){ Layout.main.show( new MainPage() ); ...
mit
kitlangton/pairity
lib/pairity/google_sync.rb
4194
require 'pp' require "google_drive" require "ruby-progressbar" ENV['SSL_CERT_FILE'] = Gem.loaded_specs['google-api-client'].full_gem_path+'/lib/cacerts.pem' module Pairity class GoogleSync CONFIG_FILE = Dir.home + "/.pairity_google.json" attr_reader :sheet_url def initialize(matrix) @matrix = m...
mit
pdx-code/teampro
src/reducers/TimelogReducer.js
1374
import{ FETCH_TIMELOGS } from '../actions/TimelogActions'; function ajax(url, callback) { var data; var fetch; fetch = new XMLHttpRequest(); fetch.onreadystatechange = function() { if (fetch.readyState == XMLHttpRequest.DONE ) { if(fetch.status == 200){ var data = JSON.parse(fetch.responseTe...
mit
modesttree/Projeny
Source/prj/plugins/ExamplePlugin.py
745
# This is an example of adding a custom plugin to Projeny # If you uncomment this then initialize a new project (for eg. "prj -p MyProject -bf") # Then after that completes there should be a new file at UnityProjects/MyProject/MyP-win/MyExampleFile.txt #import mtm.ioc.Container as Container #from mtm.ioc.Inject impor...
mit
d-fischer/twitch
docs/examples/chat/basic-bot.md
8724
In this example, you learn how to set up a basic bot that reacts to a few commands, and also automatically thanks everyone that subscribes, resubscribes or gifts a subscription. We will achieve authorization by fetching an initial access token from Twitch and then refreshing that token using the refreh token provided ...
mit
sensepost/yeti
src/main/java/com/sensepost/yeti/gui/ReverseLookupInit.java
11627
package com.sensepost.yeti.gui; import java.awt.event.ActionEvent; import java.util.ArrayList; import java.util.HashSet; import com.sensepost.yeti.common.JIPCalc; import com.sensepost.yeti.persistence.DataStore; /** * * @author willemmouton */ public class ReverseLookupInit extends BaseDlg { private String bu...
mit
ewasow/learning-cs
MessParser/MessParser/MainWindow.xaml.cs
1583
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using ...
mit
roadhump/eslint
tests/lib/cli-engine.js
28534
/** * @fileoverview Tests for cli. * @author Ian Christian Myers */ //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ var assert = require("chai").assert, CLIEngine = require("../../l...
mit
jmhibben/MuD-Notes
src/css/master.css
82
html, body { background: #191618; color: #C8C1C7; } h1 { color: #D4C9E6; }
mit
skarfacegc/FlowTrack2
www/js/flowListController.js
836
/* global angular, moment */ var app = angular.module('flowList', ['ui.grid']); app.controller('flowListCtrl', function($scope, $http) { 'use strict'; $http.get('/json/rawFlowsForLast/5/minutes') .success(function(data) { var retList = []; data.forEach(function(element) { ...
mit
prabhuramkumar/ThoughtPool
config/routes.js
3415
require('date-utils'); var sendgrid = require('sendgrid')("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"); module.exports = function(app, config, passport, mongoose, fs, path){ var isAuthenticated = function(req, res, next){ if(req.isAuthenticated()){ return next(); } else { ...
mit
rushiagr/npf
themes/hyde/layouts/chrome/head.html
1610
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us"> <head> <link href="https://gmpg.org/xfn/11" rel="profile"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <!-- Enable responsiveness on mobile devices--> <meta name="viewport" content="width=device-width...
mit
v8-dox/v8-dox.github.io
a0f8faa/html/classv8_1_1CpuProfileNode.html
23676
<!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
a358003542/expython
docs/image.md
1084
# image 图形处理支持模块,提供的命令行有: - resize_image - convert_image 具体请使用 `--help` 来查看使用信息,更多信息下面详细说明之。 ## resize_image 缩小你的图片尺寸: ``` resize_image *.png ``` ``` :param inputimgs: :param width: :param height: :param outputdir: :param outputname: ``` width和height必须指定一个,如果两个都指定,程序会选择一个。 output...
mit
WallK/odin_project_curriculum
google_homepage_front/easy.html
1256
<!DOCTYPE html> <html> <head> <title>Google</title> <link rel="stylesheet" type="text/css" href="style/easy.css"> <!-- Should've used reset, but now everything will be broken with it --> <link rel="icon" href="img/favicon.ico"> </head> <body> <nav> <ul> <li id="userpic"><a href="#"></a></li> <!-- Using ...
mit
quitejonny/tangram-es
platforms/android/tangram/src/main/java/com/mapzen/tangram/LabelPickResult.java
1122
package com.mapzen.tangram; import android.support.annotation.Keep; import java.util.Map; /** * {@code LabelPickResult} represents labels that can be selected on the screen */ @Keep public class LabelPickResult { /** * Options for the type of LabelPickResult */ public enum LabelType { IC...
mit
dcsg/phplx-how-to-build-console-app
examples/Helpers/progress.php
795
<?php require_once __DIR__ . '/../../vendor/autoload.php'; use Symfony\Component\Console\Application; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\ArrayInput; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class Progres...
mit
Radigeco/webapi-jwt-angular-boilerplate
Context/ITrackableEntity.cs
273
using System; namespace Infrastructure.Interface { public interface ITrackableEntity { DateTime CreatedDate { get; set; } string CreatedBy { get; set; } DateTime UpdatedDate { get; set; } string UpdatedBy { get; set; } } }
mit
joren/recipes
app/models/recipe.rb
498
class Recipe < ActiveRecord::Base acts_as_taggable validates :name, presence: true validates :people, presence: true validates :duration, presence: true validates :instructions, presence: true belongs_to :user has_many :ingredient_groups, dependent: :destroy has_many :links, dependent: :destroy ac...
mit
camsys/transam_transit
db/data_migrations/20200528175309_add_rail_safety_features.rb
1076
class AddRailSafetyFeatures < ActiveRecord::DataMigration def up [ {name: 'Event Data Recorders', description: 'Report the total number of fleet vehicles equipped with event data recorders according to IEEE 1482.1 standard.', active: true}, {name: 'Emergency Lighting', description: 'Report the tot...
mit
bradyhouse/house
fiddles/angular/fiddle-0016-PhoneCatStep12/setup.sh
835
#!/usr/bin/env bash source script.sh function catch() { case $1 in 0) echo "setup succeeded" ;; 1) echo "script.sh: failed @ clonePhoneCatRepo@14()"; ;; 2) echo "script.sh: failed @ checkoutPhoneCatRepoStep12()"; ;; 4) echo "script.sh: failed...
mit
mauroBus/angular-panels-app
src/app/theme/directives/trackWidth.js
752
(function () { 'use strict'; angular.module('AngularPanelsApp.theme') .directive('trackWidth', trackWidth); /** @ngInject */ function trackWidth() { return { scope: { trackWidth: '=', minWidth: '=', }, link: function (scope, element) { scope.trackWidth = $(e...
mit
BernardChina/BCPlayer
BCPlayerVideo/VideoDetailViewController.h
284
// // VideoDetailViewController.h // // // Created by 刘勇强 on 16/12/2. // Copyright © 2016年 BernardChina. All rights reserved. // #import "ViewController.h" @interface VideoDetailViewController : ViewController @property (nonatomic, copy) NSString *videoUrlStr; @end
mit
brycelelbach/asl
documentation/html/structadobe_1_1iter-members.html
16852
<!-- Copyright 2005-2008 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://stlab.adobe.com/licenses.html) Some files are held under additional license. Please see "http://stlab.adobe.com/licenses.html" for more information. -->...
mit
shiftcode/dynamo-easy
snippets/store-requests/put.snippet.ts
341
import { DynamoStore } from '@shiftcoders/dynamo-easy' import { Person } from '../models' const objectToPut: Person = { id: 'vogelsw', name: 'Werner Hans Peter Vogels', yearOfBirth: 1958, } // object literal or new Person(...) new DynamoStore(Person) .put(objectToPut) .ifNotExists() .exec() .then(() => ...
mit
swaplicado/siie32
src/erp/mtrn/form/SDialogRepDpsList.java
25545
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * SDialogRepDpsList.java * * Created on 11/08/2010, 10:49:56 AM */ package erp.mtrn.form; import erp.data.SDataConstants; import erp.data.SDataConstantsSys; import erp.data.SDataUtilities; import erp.lib.SLibCo...
mit
devicehive/IoT-framework
devicehive-gpio/DBUS-SPEC.md
4346
# DeviceHive GPIO DBus Spec ### Interface com.devicehive.gpio.GpioService Bus Name: `com.devicehive.gpio` Path: `/com/devicehive/gpio` #### Methods: `list()` - returns list of available gpio pins `add(pin, port)` - Register pin to expose a physical port `rm(pin)` - Unregister exposed pin `clear()` - Unregister all...
mit
gregorybesson/playground
module/Saas/config/module.config.php
1171
<?php return array( 'controllers' => array( 'factories' => array( \Saas\Controller\Frontend\SaasController::class => \Saas\Controller\Frontend\SaasControllerFactory::class, ), ), 'bjyauthorize' => array( 'guards' => array( 'BjyAuthorize\Guard\Controller' => arra...
mit
univ-of-utah-marriott-library-apple/management_tools
management_tools/slack.py
10760
#### # # This module allows for easy integration with Slack (https://slack.com/). The # messages are sent via JSON over plaintext, so don't use them for transmitting # anything sensitive. # #### ## Imports import json import urllib2 #### # # API Description # # These are all of the Slack API fields supported in this ...
mit
alin256/MultiZoneNew
src/pkjs/js/pebble-js-app.js
3399
function testRequest(place) { //Pebble.sendAppMessage({"status": "Initiated"}); var req = new XMLHttpRequest(); req.open('GET', 'http://maps.googleapis.com/maps/api/geocode/json?address='+ place + '&sensor=false', true); req.onload = function(e) { if (req.readyState == 4 && req.status == 200) { ...
mit
yogeshsaroya/new-cdnjs
ajax/libs/yasgui/0.0.6/yasgui.min.js
131
version https://git-lfs.github.com/spec/v1 oid sha256:91f5e00183c2613cc249e316de2c35c08d8068c7e57cf90d3d4ea7b0179ef7cf size 651743
mit
vladimirgamalian/gulp-img2js
README.md
3411
# gulp-img2js > A [Gulp plugin](http://gulpjs.com/) for embedding images to javascript sources [![Build Status](https://travis-ci.org/vladimirgamalian/gulp-img2js.svg?branch=master)](https://travis-ci.org/vladimirgamalian/gulp-img2js) [![NPM version](https://img.shields.io/npm/v/gulp-img2js.svg)](https://www.npmjs.co...
mit
ybert/alloparty
src/Alloparty/UserBundle/DependencyInjection/Configuration.php
883
<?php namespace Alloparty\UserBundle\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://symf...
mit
dnlml/myvc
src/assets/scripts/parts/animations.js
9136
'use strict'; const inView = require('in-view'); const forEach = require('lodash/forEach'); require('gsap'); class Animations { constructor () { this.root = document; this.h1 = this.root.querySelector('[data-hat-title] h1'); this.curtainH1 = this.root.querySelector('[data-curtain-goRight]'); this.g...
mit
Elfhir/quoty
src/Quoty/QuoteBundle/Entity/Category.php
903
<?php namespace Quoty\QuoteBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Category * * @ORM\Table() * @ORM\Entity(repositoryClass="Quoty\QuoteBundle\Entity\CategoryRepository") */ class Category { /** * @var integer * * @ORM\Column(name="id", type="integer") * @ORM\Id * @ORM\GeneratedValue(str...
mit
polygon-city/citygml-visual-debugger
gulp/util/handleErrors.js
560
"use strict"; var notify = require("gulp-notify"); module.exports = function(error) { if( !global.isProd ) { var args = Array.prototype.slice.call(arguments); // Send error to notification center with gulp-notify notify.onError({ title: "Compile Error", message: "<%= error.message %>" ...
mit
desparoz/desparoz.github.io
_site/2008/07/29/t871355172.html
1658
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>T871355172</title> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,600"> <link rel="stylesheet" href="/style.css"> <link rel="sty...
mit
Olegf13/jivochat-webhooks-api
src/Request/Chat.php
1516
<?php namespace Olegf13\Jivochat\Webhooks\Request; use Olegf13\Jivochat\Webhooks\PopulateObjectViaArray; /** * Holds data on completed chatting (chat rank and messages list). * * @package Olegf13\Jivochat\Webhooks\Request */ class Chat { use PopulateObjectViaArray; /** * @var Message[] Messages lis...
mit
jmcomets/tropical-escape
lib/lwjgl/javadoc/org/lwjgl/opencl/class-use/CLNativeKernel.html
8665
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_14) on Sun Nov 04 20:19:18 CET 2012 --> <TITLE> Uses of Class org.lwjgl.opencl.CLNativeKernel (LWJGL API) </TITLE> <META NAME="date" CONTEN...
mit
SolidEdgeCommunity/docs
docfx_project/apidoc/SolidEdgeDraft.CuttingPlane.GetCaptionPosition.md
129
--- uid: SolidEdgeDraft.CuttingPlane.GetCaptionPosition(System.Boolean,System.Double@,System.Double@) summary: remarks: ---
mit
wileam/wileam.github.io
css/demo.css
2194
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 300; src: local('Lato Light'), local('Lato-Light'), url('/fonts/Lato-Light.woff') format('woff'); } @font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; src: local('Lato Regular'), local('Lato-Regular'), url('/fonts/La...
mit
Overdriven-Labs/Mexicoen140
app_server/public/js/colorstrip.js
3808
/* colorstrip.js, a plugin for jQuery Copyright (C) 2011 John Watson <john@flagrantdisregard.com> flagrantdisregard.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, includ...
mit
bbartels/K8055Simulator
K8055Simulator.Tests/Properties/AssemblyInfo.cs
641
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("K8055Simulator.Tests")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("K8055Simulator.Tests")] [assembly...
mit
gavinelliott/gysp
app/views/notes/dobweek4.html
1361
<div class="grid-row"> <div class="column-one-third"> <dl> <dt class="heading-small">Date of release</dt> <dd>July 2017</dd> </dl> </div> <div class="column-one-third"> <dl> <dt class="heading-small">Feature</dt> <dd>Requesting documents</dd> </dl> </div> <div class="...
mit
OpenBuildings/functest
config/userguide.php
464
<?php defined('SYSPATH') OR die('No direct script access.'); return array( // Leave this alone 'modules' => array( // This should be the path to this modules userguide pages, without the 'guide/'. Ex: '/guide/modulename/' would be 'modulename' 'functest' => array( // Whether this modules userguide pages sho...
mit
garymabin/YGOMobile
Classes/ocgcore/scriptlib.h
24956
/* * scriptlib.h * * Created on: 2009-1-20 * Author: Argon.Sun */ #ifndef SCRIPTLIB_H_ #define SCRIPTLIB_H_ #include "common.h" #include "interpreter.h" class scriptlib { public: static int32 check_param(lua_State* L, int32 param_type, int32 index, BOOL retfalse = FALSE); static int32 check_param_count(...
mit
ttimt/startupweek
calender/admin/DEVELOPER/HTML_version/applayout.html
52108
<!DOCTYPE html> <html lang="en-us"> <head> <meta charset="utf-8"> <title> SmartAdmin </title> <meta name="description" content=""> <meta name="author" content=""> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <!-- #CSS Links --> <!-- Ba...
mit
stomppah/KAOS-Engine
Dependencies/MataliPhysicsBasic/MataliPhysicsOpenTK/Mono/MataliPhysicsDemo/MataliPhysicsDemo/Objects/Menu.cs
15509
/* Matali Physics Demo Copyright (c) 2013 KOMIRES Sp. z o. o. */ using System; using System.Collections.Generic; using OpenTK; using OpenTK.Graphics.OpenGL; using Komires.MataliPhysics; namespace MataliPhysicsDemo { /// <summary> /// This is the main type for your game /// </summary> public cl...
mit
stevendborrelli/chef-init
bootstrap.sh
2345
#!/bin/bash #bootstrap a minimal chef enviroment # installs: # chef # berkshelf #reference: http://gettingstartedwithchef.com DOTCHEF=~/.chef #Git repo for your cookbooks REPODIR=~/chef-repo #Location of ruby install RUBY_HOME=/opt/chef/embedded function set_redhat { PLATFORM="redhat" PKG_INSTALLER="yum" P...
mit
jessicaliuCW/assets_new
dfp_js/channel/channel_12_test.js
3235
googletag.cmd.push(function () { googletag.defineSlot('/423694368/test_Environment_728x90_3', [728, 90], 'div-gpt-ad-1437711610911-0').addService(googletag.pubads()); googletag.defineSlot('/423694368/test_Environment_300x600', [300, 600], 'div-gpt-ad-1437711610911-1').addService(googletag.pubads()); goog...
mit
KallynGowdy/ReactiveUI.Routing
src/UseCases/ReactiveUI.Routing.UseCases.WPF/Properties/Resources.Designer.cs
2821
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
mit
x1nes/x1nes.github.io
source/_posts/2018-02-25-react组件编写非最佳实践.md
3889
--- title: react组件编写非最佳实践 layout: post tags: react category: javaScript comments: true abbrlink: 3705f364 --- > 如果问我2018年最想掌握的东西是什么,第一个是webgl,第二个就是react.js全家桶了。之前也写了一些demo,也不经意间总结了一些东西,可能不是最好的写法,在这里做一些记录。 ## 语法篇 1 灵活使用箭头函数 在给组件绑定类似`onClick`事件的时候,组件内定义的函数里面的this在执行的时候会变成全局,但是es6默认严格模式不允许全局,因此一般会用`bind`函数绑定this,当然,用箭头...
mit
pacordovad/project3
app/cache/dev/assetic/config/5/5ea803aa63bdc4efbcdc7be159654a7b.php
2903
<?php // FrontendBundle:Pedido:reporteGeneral.html.twig return array ( 'b9ccb8c' => array ( 0 => array ( 0 => 'bundles/frontend/css/jquery.dataTables.css', ), 1 => array ( 0 => 'cssrewrite', ), 2 => array ( 'output' => '_controller/css/b9ccb8c.css', 'name...
mit
jriehn/jsondb
README.md
9
# jsondb
mit
awagener/iwanttolearnruby
_posts/2013-10-09-codewars.html
509
--- layout: default title: Codewars link: http://www.codewars.com/ categories: [ruby, puzzles] level: [beginner, intermediate, advanced] instruction: [puzzles, code] price: [free] image: codewars.png --- Achieve code mastery through challenge. Codewars is a collective effort by its users. They are creators - authorin...
mit
sue445/rubicure_api
public/css/style.css
180
ul.menubar-right { margin-top: 10px; padding-right: 60px; } ul.menubar-right li { margin-top: 5px; margin-left: 10px; } th.number, td.number { text-align: right; }
mit
vestlirik/apple-style-controls
src/combobox/code.js
2304
asc.component('asc-combobox', function(){ this.afterInit = function (combobox) { var div = eDOM.el('div.dropdown-list'); while (combobox.children.length) { var item = combobox.children[0]; if (item.tagName === "ITEM") { item.innerText += item.getAttribute("tex...
mit
planetguy32/TurboCraftingTable
src/api/java/ic2/api/item/ElectricItem.java
1731
package ic2.api.item; import net.minecraft.item.ItemStack; import java.util.ArrayList; import java.util.List; /** * Allows for charging, discharging and using electric items (IElectricItem). */ public final class ElectricItem { /** * IElectricItemManager to use for interacting with IElectricItem ItemStacks. *...
mit
zhongmingmao/rabbitmq_demo
basic-tutorial/src/main/java/me/zhongmingmao/connection/ConnectionTest.java
556
package me.zhongmingmao.connection; import com.rabbitmq.client.Connection; import com.rabbitmq.client.ConnectionFactory; import java.io.IOException; import java.util.concurrent.TimeoutException; public class ConnectionTest { private static final String HOST = "localhost"; public static void main(St...
mit
autumn009/TanoCSharpSamples
Chap2/キャプチャされるのは変数という問題/キャプチャされるのは変数という問題/Properties/AssemblyInfo.cs
1748
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("キャプチャされるのは変数という問題")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assemb...
mit
ewichern/carCompany
ContactUs.html
3867
<!doctype html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Contact Ampere Autos</title> <link rel="stylesheet" type="text/css" href="css/normalize.css"> <link rel="stylesheet" type="text/css" href="css/Site.css"> <link rel='shortcut ico...
mit
wvanbergen/chunky_png
spec/chunky_png/datastream_spec.rb
6371
require "spec_helper" describe ChunkyPNG::Datastream do describe ".from_io" do it "should raise an error when loading a file with a bad signature" do filename = resource_file("damaged_signature.png") expect { ChunkyPNG::Datastream.from_file(filename) }.to raise_error(ChunkyPNG::SignatureMismatch) ...
mit
platformsh/platformsh-cli
tests/Service/FilesystemServiceTest.php
6295
<?php namespace Platformsh\Cli\Tests\Service; use Platformsh\Cli\Service\Filesystem; use Platformsh\Cli\Tests\HasTempDirTrait; class FilesystemServiceTest extends \PHPUnit_Framework_TestCase { use HasTempDirTrait; /** @var Filesystem */ protected $fs; /** * @{inheritdoc} */ public fun...
mit
aspnetboilerplate/aspnetboilerplate-samples
SqliteDemo/aspnet-core/src/Volo.SqliteDemo.Application/Users/Dto/UserMapProfile.cs
474
using AutoMapper; using Volo.SqliteDemo.Authorization.Users; namespace Volo.SqliteDemo.Users.Dto { public class UserMapProfile : Profile { public UserMapProfile() { CreateMap<UserDto, User>(); CreateMap<UserDto, User>().ForMember(x => x.Roles, opt => opt.Ignore()); ...
mit
hickerson/bbn
fable/fable_sources/libtbx/command_line/list_modules.py
194
from __future__ import division def run () : import libtbx.load_env # import dependency for module in libtbx.env.module_list : print module.name if (__name__ == "__main__") : run()
mit
bigeasy/packet
test/generated/literal/single.parser.inc.js
2627
module.exports = function ({ $lookup }) { return { object: function () { return function (object, $step = 0) { let $_, $bite return function $parse ($buffer, $start, $end) { switch ($step) { case 0: ...
mit
rtillery/html5demos
draw/index.js
2482
var context; var plainCanvas; var log; var pointerDown = {}; var lastPositions = {}; var colors = ["rgb(100, 255, 100)", "rgb(255, 0, 0)", "rgb(0, 255, 0)", "rgb(255, 0, 0)", "rgb(0, 255, 100)", "rgb(10, 255, 255)", "rgb(255, 0, 100)"]; var onPointerMove = function(evt) { if (pointerDown[evt.pointerId]) {...
mit
gardoroman/yick
config/environment.rb
1495
# Set up gems listed in the Gemfile. # See: http://gembundler.com/bundler_setup.html # http://stackoverflow.com/questions/7243486/why-do-you-need-require-bundler-setup ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) # Require ge...
mit
sjp/Schematic
src/SJP.Schematic.PostgreSql.Tests/Integration/PostgreSqlDatabaseQueryViewProviderTests.cs
10531
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Nito.AsyncEx; using NUnit.Framework; using SJP.Schematic.Core; using SJP.Schematic.Core.Extensions; using SJP.Schematic.Tests.Utilities; namespace SJP.Schematic.PostgreSql.Tests.Integration {...
mit
yonglehou/Bolt
src/Bolt.Sources/StringExensions.cs
387
namespace Bolt { internal static class StringExensions { public static bool EqualsNoCase(this string first, string second) { if (Equals(first, second)) { return true; } return string.CompareOrdinal(first?.ToLowerInvariant() ?? fir...
mit
OCExercise/UXExercises
src/main/objc/ios/page_based/PageBased_iOS/DataViewController.h
357
// // DataViewController.h // PageBased_iOS // // Created by Presley Cannady on 1/11/15. // Copyright (c) 2015 Universal Secure Registry. All rights reserved. // #import <UIKit/UIKit.h> @interface DataViewController : UIViewController @property (strong, nonatomic) IBOutlet UILabel * dataLabel; @property (stron...
mit
recharts/recharts
src/shape/Cross.tsx
1177
/** * @fileOverview Cross */ import React, { PureComponent, SVGProps } from 'react'; import classNames from 'classnames'; import { isNumber } from '../util/DataUtils'; import { filterProps } from '../util/types'; interface CrossProps { x?: number; y?: number; width?: number; height?: number; top?: number; ...
mit