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
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ASPPatterns.Chap7.Library.Services.Views; namespace ASPPatterns.Chap7.Library.Services.Messages { public class FindMembersResponse : ResponseBase { public IEnumerable<MemberView> MembersFound { get; set; } ...
liqipeng/helloGithub
Book-Code/ASP.NET Design Pattern/ASPPatternsc07/ASPPatterns.Chap7.Library/ASPPatterns.Chap7.Library.Services/Messages/FindMembersResponse.cs
C#
mit
327
let _ = require('underscore'), React = require('react'); class Icon extends React.Component { render() { let className = "icon " + this.props.icon; let other = _.omit(this.props.icon, "icon"); return ( <span className={className} role="img" {...other}></span> ...
legendary-code/chaos-studio-web
app/src/js/components/Icon.js
JavaScript
mit
433
using System.IO; namespace Mandro.Utils.Setup { public class DirectoryHelper { public DirectoryHelper() { } public static void CopyDirectory(string sourceDirName, string destDirName, bool copySubDirs) { // Get the subdirectories for the specified directory....
mandrek44/Mandro.Utils
Mandro.Utils/Setup/DirectoryHelper.cs
C#
mit
1,605
import { NotificationType } from 'vscode-languageclient' export enum Status { ok = 1, warn = 2, error = 3 } export interface StatusParams { state: Status } export const type = new NotificationType<StatusParams>('standard/status')
chenxsan/vscode-standardjs
client/src/utils/StatusNotification.ts
TypeScript
mit
241
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class ChevronDown extends React.Component { render() { if(this.props.bare) { return <g> <path d="M256,298.3L256,298.3L256,298.3l174.2-167.2c4.3-4.2,11.4-4.1,15.8,0.2l30.6,29.9c4.4,4.3,4.5,11.3,0.2,15.5L264.1,380.9 ...
fbfeix/react-icons
src/icons/ChevronDown.js
JavaScript
mit
819
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const WatchMissingNodeModulesPlugin = require('react-dev-utils/WatchMissingNodeModulesPlugin'); const webpack = require('webpack'); const paths = require('./tools/paths'); const en...
hn3etta/VS2015-React-Redux-Webpack-Front-end-example
webpack.config.js
JavaScript
mit
3,928
// // SA_DiceEvaluator.h // // Copyright (c) 2016 Said Achmiz. // // This software is licensed under the MIT license. // See the file "LICENSE" for more information. #import <Foundation/Foundation.h> @class SA_DiceBag; @class SA_DiceExpression; /************************************************/ #pragma mark SA_Dice...
achmizs/SA_Dice
SA_DiceEvaluator.h
C
mit
763
// This file is automatically generated. package adila.db; /* * Alcatel POP 2 (5) * * DEVICE: alto5 * MODEL: 7043K */ final class alto5_7043k { public static final String DATA = "Alcatel|POP 2 (5)|"; }
karim/adila
database/src/main/java/adila/db/alto5_7043k.java
Java
mit
213
<?php namespace BackOfficeBundle\Entity; use Doctrine\ORM\EntityRepository; /** * PosteCollaborateurRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class PosteCollaborateurRepository extends EntityRepository { }
elmabdgrub/azplatform
src/BackOfficeBundle/Entity/PosteCollaborateurRepository.php
PHP
mit
284
/* database.h Author: Pixel Flash Server database.h contains the class definition for the database class used by the cuCare server to store data persistently */ #ifndef DATABASE_H #define DATABASE_H #include <QtSql> #include <QDebug> class Database { public: Database(); ~Database(); QSqlQuery que...
jmehic/cuCare
server/database.h
C
mit
438
// ========================================================================== // snd_app // ========================================================================== // Copyright (c) 2006-2012, Knut Reinert, FU Berlin // All rights reserved. // // Redistribution and use in source and b...
bkahlert/seqan-research
raw/pmsb13/pmsb13-data-20130530/sources/130wu1dgzoqmxyu2/2013-04-09T10-23-18.897+0200/sandbox/my_sandbox/apps/snd_app/snd_app.cpp
C++
mit
6,165
% % Primera página del documento \begin{titlepage} \begin{scriptsize}\noindent Facultad de Informática.\\ Ingeniería en Informática.\\ Ingeniería del Software.\\ Proyecto: Everywhere House Control. \end{scriptsize}\\ \vfill \begin{center} \begin{Large} \textbf...
EverywhereHouseControl/Documentation
3.Analisis/Analisis.tex
TeX
mit
1,176
<?php /** * @file * Contains \Drupal\shortcut\ShortcutSetStorageControllerInterface. */ namespace Drupal\shortcut; use Drupal\Core\Entity\EntityStorageControllerInterface; use Drupal\shortcut\ShortcutSetInterface; /** * Defines a common interface for shortcut entity controller classes. */ interface ShortcutSet...
augustash/d8.dev
core/modules/shortcut/lib/Drupal/shortcut/ShortcutSetStorageControllerInterface.php
PHP
mit
2,130
using System; using System.Collections.Generic; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using MS.Core; namespace System.Runtime.Remoting.Contexts { public static class __ContextAttribute { public static IObservable<System.Boolean> IsNewContextOK( this IObservable<...
RixianOpenTech/RxWrappers
Source/Wrappers/mscorlib/System.Runtime.Remoting.Contexts.ContextAttribute.cs
C#
mit
3,328
# -*- coding: utf-8 -*- # # Copyright (C) 2008 John Paulett (john -at- paulett.org) # Copyright (C) 2009, 2011, 2013 David Aguilar (davvid -at- gmail.com) # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. """Python libr...
arnavd96/Cinemiezer
myvenv/lib/python3.4/site-packages/music21/ext/jsonpickle/__init__.py
Python
mit
5,049
require 'spec_helper' describe "beings/show" do before(:each) do @being = FactoryGirl.create(:being) @being.randomize! end end
slabgorb/populinator-0
spec/views/beings/show.html.haml_spec.rb
Ruby
mit
142
import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Set; class ProteinTranslator { private static final Integer CODON_LENGTH = 3; private static final Map<String, String> CODON_TO_PROTEIN = Map.ofEntries( Map.entry("AUG", "Methionine"), Map.entry("UUU...
rootulp/exercism
java/protein-translation/src/main/java/ProteinTranslator.java
Java
mit
1,679
# -*- coding: utf-8 -*- """ Created on Wed Sep 09 13:04:53 2015 * If TimerTool.exe is running, kill the process. * If input parameter is given, start TimerTool and set clock resolution Starts TimerTool.exe and sets the clock resolution to argv[0] ms Ex: python set_clock_resolution 0.5 @author: marcus """ ...
marcus-nystrom/share-gaze
sync_clocks/test_clock_resolution.py
Python
mit
1,930
<?php use Illuminate\Database\Seeder; use jeremykenedy\LaravelRoles\Models\Permission; class PermissionsTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { /* * Add Permissions * */ if (Permis...
jeremykenedy/larablog
database/seeds/PermissionsTableSeeder.php
PHP
mit
3,481
#------------------------------------------------------------------------------- # osx.cmake # Fips cmake settings file for OSX target platform. #------------------------------------------------------------------------------- set(FIPS_PLATFORM OSX) set(FIPS_PLATFORM_NAME "osx") set(FIPS_MACOS 1) set(FIPS_OSX 1...
floooh/fips
cmake-toolchains/osx.cmake
CMake
mit
4,722
# maton 👀 Watch a machine's load and display it beautifully ✨ Even if this project is originally a technical test for an interview, I used it to try some tools that either I never had the chance to experiment with, or I wanted to know better. ## ⚒ Tools ### NodeJS and express I never used them in a big project, only...
thibthib/maton
README.md
Markdown
mit
3,314
# MpiSyncManager Aplikasi Mpi Sync Manager
trogalko/MpiSyncManager
README.md
Markdown
mit
43
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; namespace TrueSync.Physics2D { // Original Code by Steven Lu - see http://www.box2d.org/forum/viewtopic.php?f=3&t=1688 // Ported to Farseer 3.0 by Nicolás Hormazábal internal struct ShapeData { pu...
Xaer033/YellowSign
YellowSignUnity/Assets/ThirdParty/Networking/TrueSync/Physics/Farseer/Common/PhysicsLogic/RealExplosion.cs
C#
mit
16,308
<?php /* * This file is part of the Sonata project. * * (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\MediaBundle\Tests\Validator; use Sonata\MediaBundle\Pr...
DevKhater/YallaWebSite
vendor/sonata-project/media-bundle/Tests/Validator/FormatValidatorTest.php
PHP
mit
2,647
--- layout: page title: "2016Google校招笔试-Not So Random" subheadline: teaser: "今天参加宣讲会模拟面试的题目,来源Google APAC 2016 University Graduates Test Round E Problem C。Google开始校招了,而我还是这么弱鸡..." categories: - share - algorithm tags: - Algorithm header: no image: thumb: gallery-example-4-thumb.jpg title: gallery...
goudan-er/goudan-er.github.io
_posts/Algorithm/2016-05-09-Google-APAC-2016-RoundE-Problem-C.md
Markdown
mit
4,098
require "rails_helper" describe Linter::Shellcheck do it_behaves_like "a linter" do let(:lintable_files) { %w(foo.sh foo.zsh foo.bash) } let(:not_lintable_files) { %w(foo.js) } end describe "#file_review" do it "returns a saved and incomplete file review" do commit_file = build_commit_file(fil...
thoughtbot/hound
spec/models/linter/shellcheck_spec.rb
Ruby
mit
1,185
-- This query extracts dose+durations of neuromuscular blocking agents -- Note: we assume that injections will be filtered for carevue as they will have starttime = stopttime. -- Get drug administration data from CareVue and MetaVision -- metavision is simple and only requires one temporary table with drugmv as ( se...
MIT-LCP/mimic-code
mimic-iii/concepts/durations/neuroblock_dose.sql
SQL
mit
9,203
cryptocurrency-market-data ========================== Experiments in cryptocurrency market data parsing/processing
rnicoll/cryptocurrency-market-data
README.md
Markdown
mit
116
#ifndef ABB_VALUE_H #define ABB_VALUE_H #include <type_traits> #include <tuple> namespace abb { class und_t {}; class pass_t {}; const und_t und; const pass_t pass; template<typename Value> struct is_und : std::is_same<Value, und_t> {}; template<typename Value> struct is_pass : std::is_same<Value, pass_t> {}; ...
rusek/abb-cpp
include/abb/value.h
C
mit
3,236
//================================================================================================= /*! // \file blazemark/blaze/TDVecSMatMult.h // \brief Header file for the Blaze transpose dense vector/sparse matrix multiplication kernel // // Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved // // Th...
camillescott/boink
include/goetia/sketches/sketch/vec/blaze/blazemark/blazemark/blaze/TDVecSMatMult.h
C
mit
3,056
/* * Copyright 2015 Google Inc. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
lacker/universe
vr_webpack/webvr-polyfill/src/pose-predictor.js
JavaScript
mit
8,628
<?php namespace Kuxin\Helper; /** * Class Collect * * @package Kuxin\Helper * @author Pakey <pakey@qq.com> */ class Collect { /** * 获取内容 * * @param $data * @return bool|mixed|string */ public static function getContent($data, $header = [], $option = []) { if (is_str...
pakey/PTFrameWork
kuxin/helper/collect.php
PHP
mit
11,227
/** * JS for the player character. * * * * */ import * as Consts from './consts'; var leftLeg; var rightLeg; var leftArm; var rightArm; const BODY_HEIGHT = 5; const LEG_HEIGHT = 5; const HEAD_HEIGHT = Consts.BLOCK_WIDTH * (3/5); const SKIN_COLORS = [0xFADCAB, 0x9E7245, 0x4F3F2F]; const BASE_MAT = new THREE.MeshL...
Bjorkbat/tetratower
js/src/player.js
JavaScript
mit
6,258
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_112-google-v7) on Fri Jul 21 13:02:32 PDT 2017 --> <title>Resetter</title> <meta name="date" content="2017-07-21"> <link rel="stylesheet" type=...
robolectric/robolectric.github.io
javadoc/3.4/org/robolectric/annotation/Resetter.html
HTML
mit
5,317
blocklevel = ["blockquote", "div", "form", "p", "table", "video", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "details", "article", "header", "main"] def normalizeEnter(src): #Deletes all user defined for readability reason existing line breaks that are issues for the HTML output for elem in blocklevel: while src.fin...
ValorNaram/isl
inputchangers/002.py
Python
mit
1,044
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class DataQuestionnaire extends Model { protected $fillable = ['game_question', 'game_opponent_evaluation', 'study_evaluation']; /** * Relationship with parent DataParticipant. * * @return \Illuminate\Database\Eloquent\Rela...
mihaiconstantin/game-theory-tilburg
app/Models/DataQuestionnaire.php
PHP
mit
460
# riemann-stream Stream events from Riemann on CLI
alexforrow/riemann-stream
README.md
Markdown
mit
51
_rm: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xfffffff0,%esp 6: 83 ec 20 ...
tzulang/xv6_4
rm.asm
Assembly
mit
40,983
--- layout: page title: About Us permalink: /about/ --- Just started in 2015, we bring passion and energy to the industry backed by years of real-world experience. We strive to make our software both useful and usable, which can often be a fun challenge in today's fast-paced world. We are woman-owned small busines...
eve-corp/eve-corp.github.io
about.md
Markdown
mit
688
# Editing a document with Vim Today was the first time I used Vim to edit a text file. I'd previously install Vim and attempted to play around with it, but I had no clue what I was doing and abandoned it until now. My issue was that I couldn't figure out how to actually add or edit the contents of a text file. Silly,...
kingbryan/til
vim/editing-doc-with-vim-021116.md
Markdown
mit
1,299
<?php namespace Tests\Map\Gazzetta; use PHPUnit\Framework\TestCase; use FFQP\Map\Gazzetta\GazzettaMapSince2013; class GazzettaMapSince2013Test extends TestCase { public function testExtractRows() { $map = new GazzettaMapSince2013(); $this->assertInternalType('int', 3); $rows = $map->e...
astronati/fantasy-football-quotations-parser
tests/Map/Gazzetta/GazzettaMapSince2013Test.php
PHP
mit
2,877
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013, 2014 Damien P. George * Copyright (c) 2015 Daniel Campora * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation...
SHA2017-badge/micropython-esp32
lib/timeutils/timeutils.h
C
mit
2,785
<?php namespace ObjectStorage\Test\Adapter; use ObjectStorage\Adapter\PlaintextStorageKeyEncryptedStorageAdapter; use ObjectStorage\Adapter\StorageAdapterInterface; use ParagonIE\Halite\KeyFactory; use ParagonIE\Halite\Symmetric\Crypto; use ParagonIE\HiddenString\HiddenString; use PHPUnit\Framework\Constraint\Logical...
linkorb/objectstorage
tests/Adapter/PlaintextStorageKeyEncryptedStorageAdapterTest.php
PHP
mit
2,076
package com.github.kolandroid.kol.model.elements.basic; import com.github.kolandroid.kol.model.elements.interfaces.ModelGroup; import java.util.ArrayList; import java.util.Iterator; public class BasicGroup<E> implements ModelGroup<E> { /** * Autogenerated by eclipse. */ private static final long se...
Kasekopf/kolandroid
kol_base/src/main/java/com/github/kolandroid/kol/model/elements/basic/BasicGroup.java
Java
mit
1,193
import Ember from 'ember'; import { module, test } from 'qunit'; import startApp from 'superhero/tests/helpers/start-app'; import characterData from '../fixtures/character'; var application, server; module('Acceptance: Character', { beforeEach: function() { application = startApp(); var character = char...
dtt101/superhero
tests/acceptance/character-test.js
JavaScript
mit
1,790
#ifndef CAVALIERI_RULE_TESTER_UTIL_H #define CAVALIERI_RULE_TESTER_UTIL_H #include <vector> #include <common/event.h> #include <external/mock_external.h> typedef std::pair<time_t, Event> mock_index_events_t; std::vector<Event> json_to_events(const std::string json, bool & ok); std::string results(std::vector<mock_i...
juruen/cavalieri
include/rule_tester_util.h
C
mit
425
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34014 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
pgourlain/VsXmlDesigner
BaseEditors/Properties/Resources.Designer.cs
C#
mit
4,105
#!/usr/bin/perl -w use strict; use Getopt::Long; use FindBin qw($Bin $Script); use File::Basename qw(basename dirname); use Data::Dumper; use lib "/home/zhoujj/my_lib/pm"; use bioinfo; &usage if @ARGV<1; #open IN,"" ||die "Can't open the file:$\n"; #open OUT,"" ||die "Can't open the file:$\n"; sub usage { m...
zhoujj2013/lncfuntk
bin/NetworkConstruction/bk/CalcConfidentScore.pl
Perl
mit
2,170
<table> <thead> <tr> <th>Nombre</th> <th>RUT</th> <th>Sexo</th> <th>Dirección</th> <th>Ciudad/Comuna</th> </tr> </thead> <tbody> </tbody> </table>
lgaticaq/info-rut
test/replies/person-fail.html
HTML
mit
196
\begin{tikzpicture} \begin{axis}[ width=9cm,height=6cm, ymin=0, ytick align=outside, axis x line*=bottom,axis y line*=left, tick label style={ /pgf/number format/assume math mode=true, /pgf/number format/1000 sep={} }, ylabel={\# citations}, % enlargelimits=0.15, ybar...
jdferreira/vitae
images/histogram-citations.tex
TeX
mit
715
.podcast-channel-header{width:100%;clear:both;display:inline-block;border-bottom:3px solid #000}.podcast-channel-image{width:25%;float:left;display:inline-block;border:1px solid #000}.channel-meta{width:74%;float:left;display:inline-block}.channel-meta h1{text-align:center;margin:0}.channel-meta h2{text-align:center}.c...
floede/freeplay-blog
user/plugins/podcast/assets/css/podcast.css
CSS
mit
992
#!/usr/bin/env node (function () { var DirectoryLayout = require('../lib/index.js'), program = require('commander'), options; program .version('1.0.2') .usage('[options] <path, ...>') .option('-g, --generate <path> <output-directory-layout-file-path>', 'Generate directo...
ApoorvSaxena/directory-layout
bin/index.js
JavaScript
mit
1,267
--- layout: post title: "Seek for Sole External Sponsor" date: 2017-08-08 18:00:00 isStaticPost: false --- We are seeking for one more sponsor except ShanghaiTech University to cover the expenses of awarding excellent presenters. Note that you cannot title the event, you can only show here at the website and in the...
xiongzhp/FoGG2017
_posts/2017-08-08-seek-for-sole-sponsor.markdown
Markdown
mit
345
var class_snowflake_1_1_game_1_1_game_database = [ [ "GameDatabase", "class_snowflake_1_1_game_1_1_game_database.html#a2f09c1f7fe18beaf8be1447e541f4d68", null ], [ "AddGame", "class_snowflake_1_1_game_1_1_game_database.html#a859513bbac24328df5d3fe2e47dbc183", null ], [ "GetAllGames", "class_snowflake_1_1_ga...
SnowflakePowered/snowflakepowered.github.io
doc/html/class_snowflake_1_1_game_1_1_game_database.js
JavaScript
mit
745
--- layout: api_index title: api breadcrumbs: true --- {% include api_listing.html %}
tempusjs/tempus-js.com
api/index.html
HTML
mit
85
package org.winterblade.minecraft.harmony.api.questing; import org.winterblade.minecraft.scripting.api.IScriptObjectDeserializer; import org.winterblade.minecraft.scripting.api.ScriptObjectDeserializer; /** * Created by Matt on 5/29/2016. */ public enum QuestStatus { INVALID, ACTIVE, LOCKED, COMPLETE, CLOSED; ...
legendblade/CraftingHarmonics
api/src/main/java/org/winterblade/minecraft/harmony/api/questing/QuestStatus.java
Java
mit
697
package leetcode11_20; /**Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1->2->3->4->5, and n = 2. After removing the second node from the end, the linked list becomes 1->2->3->5. Note: Given n will always be valid. Try to do this in one pass. */ ...
Ernestyj/JStudy
src/main/java/leetcode11_20/RemoveNthFromEnd.java
Java
mit
1,586
package org.kohsuke.github; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.net.URLEncoder; import java.util.Collections; import java.util.Date; import java.util.Lis...
kohsuke/github-api
src/main/java/org/kohsuke/github/GHRelease.java
Java
mit
8,107
import cairo from gi.repository import Gtk from gi.repository import Gdk from pylsner import plugin class Window(Gtk.Window): def __init__(self): super(Window, self).__init__(skip_pager_hint=True, skip_taskbar_hint=True, ) ...
mrmrwat/pylsner
pylsner/gui.py
Python
mit
2,624
<!DOCTYPE html> <html> <head> <title>likeness:Configuration#children~details documentation</title> <link rel="stylesheet" type="text/css" href="../../../../../../../../index.css" /> <link rel="stylesheet" type="text/css" href="../../../../../../../../highlight.css" /> <script type="text/javascript" src=...
shenanigans/node-sublayer
static/docs/generated/module/likeness/module/configuration/member/children/spare/details/index.html
HTML
mit
1,754
<?php $t = $a->getThing(); ?> <div class="linkitem item-flavour-<?php echo $a->getFlavour() ?>" id="link-item-<?php echo $a->getId(); ?>"> <?php if (isset($nopos)): ?> <span class="itempos">&nbsp;</span> <?php else: ?> <span class="itempos"><?php echo $pos; ?></span> <?php endif; ?> <div class="votebt...
sanjeevan/codelovely
apps/frontend/modules/article/templates/_article.php
PHP
mit
5,279
import { Physics as EightBittrPhysics } from "eightbittr"; import { FullScreenPokemon } from "../FullScreenPokemon"; import { Direction } from "./Constants"; import { Character, Grass, Actor } from "./Actors"; /** * Physics functions to move Actors around. */ export class Physics<Game extends FullScreenPokemon> ex...
FullScreenShenanigans/FullScreenPokemon
src/sections/Physics.ts
TypeScript
mit
4,204
import {Model} from '../../models/base/Model'; import {Subject} from 'rxjs/Subject'; import {BaseService} from '../BaseService'; import {ActivatedRoute, Router} from '@angular/router'; import {UserRights, UserService} from '../../services/UserService'; import {ListTableColumn} from './ListTableColumn'; import {Behavior...
BioWareRu/Admin
src/core/lists/ListProvider.ts
TypeScript
mit
2,898
# Given the list values = [] , write code that fills the list with each set of numbers below. # a.1 2 3 4 5 6 7 8 9 10 list = [] for i in range(11): list.append(i) print(list)
futurepr0n/Books-solutions
Python-For-Everyone-Horstmann/Chapter6-Lists/R6.1A.py
Python
mit
203
using System; using System.IO; using System.ServiceProcess; using InEngine.Core; //using Mono.Unix; //using Mono.Unix.Native; namespace InEngine { class Program { public const string ServiceName = "InEngine.NET"; public static ServerHost ServerHost { get; set; } static void Main(strin...
InEngine-NET/InEngine.NET
src/InEngine/Program.cs
C#
mit
2,105
// JavaScript Document $(document).ready(function() { $('form input[type="file"]').change(function() { var filename = $(this).val(); $(this).prev('i').text(filename); }); $('.input-file').click(function() { $(this).find('input').click(); }); /* * Previene doble click en boton submit de envio de datos de...
rguezque/enlaces
web/res/js/jquery-functions.js
JavaScript
mit
4,483
# 插件 Vuex 的 store 接受 `plugins` 选项,这个选项暴露出每次 mutation 的钩子。Vuex 插件就是一个函数,它接收 store 作为唯一参数: ``` js const myPlugin = store => { // 当 store 初始化后调用 store.subscribe((mutation, state) => { // 每次 mutation 之后调用 // mutation 的格式为 { type, payload } }) } ``` 然后像这样使用: ``` js const store = new Vuex.Store({ // ... ...
LIZIMEME/vuex-shopping-cart-plus
docs/zh-cn/plugins.md
Markdown
mit
3,574
<?php namespace App\Jobs; use App\Jobs\Job; use App\Models\API\Outpost; use DB; use Illuminate\Queue\SerializesModels; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Log; use Pheal\Pheal; class UpdateOutpostsJob extends Job implements ShouldQueue { use InteractsWithQueue, S...
msims04/eve-buyback
app/Jobs/UpdateOutpostsJob.php
PHP
mit
1,614
using System; using System.Net; using Jasper.Configuration; using Jasper.Runtime; using Jasper.Transports; using Jasper.Transports.Sending; using Jasper.Util; namespace Jasper.Tcp { public class TcpEndpoint : Endpoint { public TcpEndpoint() : this("localhost", 2000) { } public ...
JasperFx/jasper
src/Jasper.Tcp/TcpEndpoint.cs
C#
mit
2,840
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>TITLE</title> <style type="text/css" media="screen"> body { font-family: sans-serif; } </style> </head> <body> <p>HELLO</p> <script type="text/javascript"> </script> </body> </html>
felixhummel/skeletons
html-inline/index.html
HTML
mit
298
// // KontaktSDK // Version: 3.0.4 // // Copyright (c) 2015 Kontakt.io. All rights reserved. // @import Foundation; #import "KTKNearbyDevice.h" NS_ASSUME_NONNULL_BEGIN @protocol KTKDevicesManagerDelegate; #pragma mark - External Constants extern NSTimeInterval const KTKDeviceInvalidationAgeNever; #pragma mark ...
Artirigo/react-native-kontaktio
ios/KontaktSDK.framework/Headers/KTKDevicesManager.h
C
mit
6,213
<div class="ui right aligned grid"> <div class="right aligned column"> <span *ngIf="currentState == 'save as' && endPointForm.valid"> <a mat-mini-fab routerLink="." color='primary' (click)="createEndPoint()"><mat-icon>content_copy</mat-icon></a> &nbsp;save as&nbsp; </span> ...
catalogicsoftware/Angular-4-Plus-Dashboard-Framework
src/app/configuration/tab-endpoint/endpointDetail.html
HTML
mit
4,391
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Palestrantes_model extends CI_Model { private $id; private $nome; private $foto; public function __construct() { parent::__construct(); } public function setId($id) { $this->id = $id; } public function getId() { return $th...
tucanowned/congressouniapac
application/models/Palestrantes_model.php
PHP
mit
5,283
Thanks for reading. You can put me down now.
robhumphries/Shopify-Theme
README.md
Markdown
mit
45
<?php namespace Acast; /** * 中间件 * @package Acast */ abstract class Middleware { /** * 存储中间件回调函数 * @var array */ protected static $_middleware = []; /** * 注册中间件 * * @param string $name * @param callable $callback */ static function register(string $name, calla...
CismonX/Acast
src/Middleware.php
PHP
mit
917
clean "/tmp" do copy "*.*", to: "/test" end
akatakritos/rcleaner
spec/fixtures/rfiles/copyfile.rb
Ruby
mit
46
using System; using System.CodeDom; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; namespace EmptyKeys.UserInterface.Generator.Types { /// <summary> ...
EmptyKeys/UI_Generator
UIGenerator/Types/ListBoxGeneratorType.cs
C#
mit
1,638
/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */ /* * Copyright (c) 2008 litl, LLC * * 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 witho...
mtwebster/cjs
gi/union.cpp
C++
mit
16,293
/* Project Orleans Cloud Service SDK ver. 1.0 Copyright (c) Microsoft Corporation All rights reserved. MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, inc...
yaronthurm/orleans
src/Orleans/Runtime/Constants.cs
C#
mit
6,677
// // FastTemplate // // The MIT License (MIT) // // Copyright (c) 2014 Jeff Panici // 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 ...
jeffpanici75/FastTemplate
PaniciSoftware.FastTemplate/Common/UIntType.cs
C#
mit
11,872
<?xml version="1.0" ?><!DOCTYPE TS><TS language="bs" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About phreak</source> <translation type="unfinished"/> </message> <message> <location line="+...
qtvideofilter/streamingcoin
src/qt/locale/bitcoin_bs.ts
TypeScript
mit
107,835
<?php /** * Created by PhpStorm. * User: phpNT * Date: 24.07.2016 * Time: 21:57 */ namespace phpnt\cropper\assets; use yii\web\AssetBundle; class DistAsset extends AssetBundle { public $sourcePath = '@vendor/phpnt/yii2-cropper'; public $css = [ 'css/crop.css' ]; public $images = [ ...
phpnt/yii2-cropper
assets/DistAsset.php
PHP
mit
343
本文的目的是为了探索通过genkins来打包不同target(DEBUG,PRE_RELEASE等) ## 在github上创建repo ## 在本地创建工程 ``` git remote add origin url_to_your_git_repo git branch --set-upstream master origin/master #track local master branch to origin/master git add * git commit -m 'first commit' git pull origin master git push origin master ``` ## 蒲公英中创建应用...
pingguoilove/MultiTarget
README.md
Markdown
mit
449
--- layout: post date: 2015-08-29 title: "Alessandro Angelozzi 101 Sleeveless Chapel Train Sheath/Column" category: Alessandro Angelozzi tags: [Alessandro Angelozzi,Alessandro Angelozzi ,Sheath/Column,One shoulder,Chapel Train,Sleeveless] --- ### Alessandro Angelozzi 101 Just **$309.99** ### Sleeveless Chapel Train S...
HOLEIN/HOLEIN.github.io
_posts/2015-08-29-Alessandro-Angelozzi-101-Sleeveless-Chapel-Train-SheathColumn.md
Markdown
mit
1,023
require 'vcr' require 'vcr/rspec' VCR.config do |c| c.cassette_library_dir = 'spec/vcr' c.http_stubbing_library = :webmock c.default_cassette_options = { :record => :new_episodes } end RSpec.configure do |c| c.extend VCR::RSpec::Macros end
compactcode/recurly-client-ruby
spec/support/vcr.rb
Ruby
mit
249
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NonVisitorPatternExample { public class Loan { public int Owed { get; set; } public int MonthlyPayment { get; set; } } }
jasonlowder/DesignPatterns
NonVisitorPatternExample/Loan.cs
C#
mit
279
--- layout: post published: true title: Why we switched from AWS Lightsail to EC2 for Gitlab imagefeature: blog/aws-lightsail-create-gitlab.png mathjax: false featured: true comments: false description: AWS Lightsail vs AWS EC2 categories: - aws tags: ec2 aws lightsail vpc canonical: https://www.transfon.com/blog/Li...
doubaokun/devopszen
_posts/2017-12-15-why-not-aws-lightsail.md
Markdown
mit
2,879
// BASE64压缩接口 #ifndef _INCLUDE_BASE64_H #define _INCLUDE_BASE64_H #include <stdio.h> #include <stdlib.h> #include "sqlite3.h" // 标准Base64编码表 static char encoding_table[] = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', ...
wangwang4git/SQLite3-ICU
FTSJNI4/jni/include/base64.h
C
mit
1,077
Application.class_eval do get '/' do if current_user @sites = ABPlugin::API.sites( :include => { :envs => true, :categories => { :include => { :tests => { :include => { :variants => { :methods => :...
winton/a_b_front_end
lib/a_b_front_end/controller/front.rb
Ruby
mit
867
<?php namespace Wahlemedia\Showroom\Updates; use Schema; use October\Rain\Database\Schema\Blueprint; use October\Rain\Database\Updates\Migration; class add_short_description_to_items_table extends Migration { public function up() { Schema::table('wahlemedia_showroom_items', function (Blueprint $table...
wahlemedia/oc-showroom-plugin
updates/add_short_description_to_items_table.php
PHP
mit
492
#### Integrations ##### Google Cloud SCC - Updated the Docker image to: *demisto/google-api-py3:1.0.0.27143*. - Fixed an issue where the ***test-module*** command would fail when using a custom certificate.
demisto/content
Packs/GoogleCloudSCC/ReleaseNotes/2_0_6.md
Markdown
mit
208
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <header class="entry-header" role="heading"> <h1 class="entry-title"> <?php if( !is_single() ) : ?> <a href="<?php the_permalink(); ?>"> <?php the_title(); ?> </a> <?php else: ?> <?php the_title(); ?> ...
purzlbaum/cs-bootstrap
content-quote.php
PHP
mit
1,925
module Days class App < Sinatra::Base get "/admin/users", :admin_only => true do @users = User.all haml :'admin/users/index', layout: :admin end get "/admin/users/new", :admin_only => true do @user = User.new haml :'admin/users/form', layout: :admin end post "/admin/users...
sorah/days
lib/days/app/admin/users.rb
Ruby
mit
1,446
""" Tests for L{monotone}. """ from hypothesis import given, strategies as st import errno from monotone import get_clock_info, monotonic from monotone import _api, _bindings import os import platform import pytest needs_posix = pytest.mark.skipif( os.name == "posix" and platform.system() == "Darwin", reas...
mrwsr/monotone
test/test_monotone.py
Python
mit
7,143
import require from 'require'; function getDescriptor(obj: Record<string, unknown>, path: string) { let parts = path.split('.'); let value: unknown = obj; for (let i = 0; i < parts.length - 1; i++) { let part = parts[i]!; // NOTE: This isn't entirely safe since we could have a null! value = (value as...
emberjs/ember.js
packages/internal-test-helpers/lib/confirm-export.ts
TypeScript
mit
2,277
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="theme-color" content="#000000"> <link rel="manifest" href="%PUBLIC_URL%/manifest.json"> <link rel="shortcut icon" href="%PUBLIC_URL%/fav...
gmmendezp/generator-nyssa-fe
generators/app/templates/public/index.html
HTML
mit
692
<?php namespace TenUp\Doze\v1_0_0; use PHPUnit_Framework_TestResult; use Text_Template; use WP_Mock; use WP_Mock\Tools\TestCase as BaseTestCase; class TestCase extends BaseTestCase { public function run( PHPUnit_Framework_TestResult $result = null ) { $this->setPreserveGlobalState( false ); return parent::run( ...
ericmann/doze
tests/test-tools/TestCase.php
PHP
mit
2,024
<?php namespace Oro\Bundle\CalendarBundle\Form\EventListener; use Doctrine\Common\Collections\Collection; use Oro\Bundle\CalendarBundle\Entity\Attendee; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\Form\FormEvent; use Symfony\Component\Form\FormEvents; /** * Makes sure index...
orocrm/OroCalendarBundle
Form/EventListener/AttendeesSubscriber.php
PHP
mit
2,088
package com.lynx.service; import java.util.Collection; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Sort; import org.springframework.stereotype.Service; import com.lynx.domain.User; import com.lynx.repository.UserRepository; import ...
6o1/lynx-server
src/main/java/com/lynx/service/UserService.java
Java
mit
978
var _ = require('underscore'); var colors = require('colors'); var sprintf = require('sprintf-js').sprintf; /** * used to decode AIS messages. * Currently decodes types 1,2,3,4,5,9,18,19,21,24,27 * Currently does not decode 6,7,8,10,11,12,13,14,15,16,17,20,22,23,25,26 * Currently does not support the USCG E...
Royhb/aivdmDecode
bin/aivdmDecode.js
JavaScript
mit
69,382