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.Numerics; class CatalanNumbers { static void Main() { BigInteger n = BigInteger.Parse(Console.ReadLine()); BigInteger NCheck = 2 * n; BigInteger NPlusOneCheck = n + 1; BigInteger twoTimesN = 2 * n; BigInteger nPlusOne = n + 1; BigInt...
ilievv/Telerik
Homework/C#/C# Part One/06. Loops/08. CatalanNumbers/CatalanNumbers.cs
C#
mit
977
import express from 'express'; import helpers from '../helpers'; import controller from '../controllers/voteController'; const router = express.Router(); router.get('/', helpers.isAuth, controller.initialize, controller.canVoteUT100, (req, res) => { res.locals.moduleTitle = 'Votar'; res.locals.module = ()...
MaanuVazquez/MuWeb
src/routes/vote.js
JavaScript
mit
547
var dbm = global.dbm || require('db-migrate'); var type = dbm.dataType; var fs = require('fs'); var path = require('path'); exports.up = function(db, callback) { var filePath = path.join(__dirname + '/sqls/20160708081226-readme-in-versions-up.sql'); fs.readFile(filePath, {encoding: 'utf-8'}, function(err,data){ ...
datacamp/rdocumentation-app
migrations/20160708081226-readme-in-versions.js
JavaScript
mit
894
package com.spring.example.concurrency.locks; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Semaphore; import java.util.concurrent.TimeUnit; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReadWriteLock; import java.util.concur...
mmazurkevich/sping-examples
concurrency/src/main/java/com/spring/example/concurrency/locks/ReentrantReadWrite.java
Java
mit
2,352
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2013 The Jgcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef JGCOIN_DB_H #define JGCOIN_DB_H #include "serialize.h" #include "sync.h" #...
cptecdfi/jgcoins
src/db.h
C
mit
8,265
'use strict'; var Primus = require('primus') , emitter = require('../') , http = require('http').Server , expect = require('expect.js') , opts = { transformer: 'websockets' } , primus , srv; // creates the client function client(srv, primus, port){ var addr = srv.address(); var url = 'http://' + addr....
Xitstrategies/general
node_modules/feathers/node_modules/primus-emitter/test/test.js
JavaScript
mit
6,029
from math import floor, log10 def round_(x, n): """Round a float, x, to n significant figures. Caution should be applied when performing this operation. Significant figures are an implication of precision; arbitrarily truncating floats mid-calculation is probably not Good Practice in almost all cases. Rounding...
corriander/python-sigfig
sigfig/sigfig.py
Python
mit
2,902
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> START_ATF_NAMESPACE namespace vc_attributes { #pragma pack(push, 4) template<> struct event_sourceAttribute { templa...
goodwinxp/Yorozuya
library/ATF/__event_sourceAttribute.hpp
C++
mit
700
<!DOCTYPE html> <html lang="ko-kr"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="generator" content="Hugo 0.15" /> <title>#Ludens</title> <meta property=...
ludens/ludens.kr
tags/jekyll/index.html
HTML
mit
10,500
<template name="highFatPercentFood"> {{#each highFatPercentFood}} <a href="/food/{{_id}}"><img src="{{imageSource}}" class="imageSet"></a> {{/each}} </template>
quanbinn/healthygeek
client/templates/high_Fat_Percent_Food.html
HTML
mit
185
package main import ( "log" "net/http" restfulspec "github.com/emicklei/go-restful-openapi/v2" "github.com/emicklei/go-restful/v3" "github.com/go-openapi/spec" ) type UserResource struct { // normally one would use DAO (data access object) users map[string]User } func (u UserResource) WebService() *restful.W...
emicklei/go-restful-openapi
examples/user-resource.go
GO
mit
5,503
import React from 'react'; import styled from 'styled-components'; const Emoji = ({ className, svg }) => ( <span className={className} dangerouslySetInnerHTML={{ __html: svg }} /> ); const StyledEmoji = styled(Emoji)` display: inline-block; width: 1.5em; `; export default StyledEmoji;
mucsi96/w3c-webdriver
packages/website/src/components/content/Emoji.js
JavaScript
mit
295
package com.is_gr8.imageprocessor.ui; import java.util.HashMap; import org.apache.log4j.Logger; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets...
schocco/pgm-processor
com.is-gr8.image-processing/src/main/java/com/is_gr8/imageprocessor/ui/ImageInfoComposite.java
Java
mit
2,925
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Kusto::Mgmt::V2020_09_18 module Models # # Defines values for State # module State Creating = "Creating" Unavail...
Azure/azure-sdk-for-ruby
management/azure_mgmt_kusto/lib/2020-09-18/generated/azure_mgmt_kusto/models/state.rb
Ruby
mit
549
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for CESA-2013:1034 # # Security announcement date: 2013-07-10 15:50:41 UTC # Script generation date: 2017-01-01 21:10:47 UTC # # Operating System: CentOS 5 # Architecture: x86_64 # # Vulnerable packages fix on version: # - kernel-doc.noarch:2.6.18-348.12.1.el5 # ...
Cyberwatch/cbw-security-fixes
CentOS_5/x86_64/2013/CESA-2013:1034.sh
Shell
mit
1,715
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Data; using USTA.Model; using USTA.Dal; using USTA.Common; using System.Configuration; using USTA.PageBase; public p...
skyaspnet/usta
USTA.WebApplication/Administrator/EditNotifyInfo.aspx.cs
C#
mit
6,086
<?php namespace common\asset; use yii\web\AssetBundle; use yii\web\View; /** * AdminHui AssetBundle * @since 0.1 */ class AdminHuiAsset extends AssetBundle { public $sourcePath = '@common/asset/static/adminhui'; public $css = [ 'css/style.min862f.css', 'css/animate.css', ]; public $...
JeanWolf/plat
common/asset/AdminHuiAsset.php
PHP
mit
830
var opener = require("opener"); module.exports = { run : function (){ opener(packageJson.docs); } }
fabiorogeriosj/mockapp
bin/command/command_docs.js
JavaScript
mit
117
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Un...
imanushin/CheckContracts
NuGet/InstallTests/UniversalApp/Properties/AssemblyInfo.cs
C#
mit
1,044
/****************************************************************************** * Compilation: javac Queue.java * Execution: java Queue < input.txt * Dependencies: StdIn.java StdOut.java * Data files: http://algs4.cs.princeton.edu/13stacks/tobe.txt * * A generic queue, implemented using a linked list. ...
dkindler/School-Work
CS1501/dak160-Assignment4/Queue.java
Java
mit
4,848
declare var math: any; class Utils { static scopeClone(scope): any { var newScope = {}; _.each(scope, function (value, name) { if (value instanceof Function) { newScope[name] = value; } else { newScope[name] = math.clone(value); ...
arthot/calque
src/Calque/core/utils.ts
TypeScript
mit
386
package com.auto.test.controller; import java.io.File; import java.net.URLDecoder; import java.util.List; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import org.apache.commons.io.FileUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework...
hackzhou/AutoPlatform
src/main/java/com/auto/test/controller/ApiUploadController.java
Java
mit
3,198
[![npm package](https://badge.fury.io/js/httpr.svg)](https://badge.fury.io/js/httpr) [![Build Status](https://travis-ci.org/RecuencoJones/httpr.png?branch=develop)](https://travis-ci.org/RecuencoJones/httpr) # httpr A simple library for working with HTTP requests in any environment, independent of the implementation....
RecuencoJones/httpr
README.md
Markdown
mit
1,949
// // RITLTabBarItem.h // XiaoNongDingClient // // Created by YueWen on 2017/5/4. // Copyright © 2017年 ryden. All rights reserved. // #import "RITLButton.h" NS_ASSUME_NONNULL_BEGIN /// 自定义的UITabBarItem @interface RITLButtonItem : RITLButton /// 保证图片的带下,默认为(23,23) //保证最小的 @property (nonatomic, assign)CGSize imag...
gs01md/ColorfulWoodUIBase
ColorfulWoodUIBase/Pods/RITLKit/RITLKit/View/Button/RITLButtonItem.h
C
mit
1,665
/* * This file is part of the TREZOR project. * * Copyright (C) 2014 Pavol Rusnak <stick@satoshilabs.com> * * This library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the ...
ohadcn/embbededCoin
signing.c
C
mit
12,925
/******************************************************************************* * * MIT License * * Copyright 2017-2021 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal *...
ROCmSoftwarePlatform/Tensile
HostLibraryTests/KernelArguments_test.cpp
C++
mit
7,393
# frozen_string_literal: true require 'spec_helper' describe Svelte::RestClient do let(:test_url) { 'http://example.com/' } let(:verb) { :get } let(:error_message) { 'This is an error message' } it 'should return an http response' do stub_request(verb, test_url) .to_return(status: 404, body: '', he...
notonthehighstreet/svelte
spec/lib/svelte/rest_client_spec.rb
Ruby
mit
2,027
import _curry3 from './internal/_curry3'; /** * `o` is a curried composition function that returns a unary function. * Like [`compose`](#compose), `o` performs right-to-left function composition. * Unlike [`compose`](#compose), the rightmost function passed to `o` will be * invoked with only one argument. Also, u...
paldepind/ramda
source/o.js
JavaScript
mit
1,136
package fr.dopse.maildump.model; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; /** * Created by fr27a86n on 11/04/2017. */ @Entity @Table(name = "RECIPIENT") public class RecipientEntity implement...
dopse/maildump
src/main/java/fr/dopse/maildump/model/RecipientEntity.java
Java
mit
1,485
<?php /** * */ class Cprendascortadas extends CI_Controller { function __construct() { parent::__construct(); $this->load->model('Mpedidos'); } public function index(){ $nombres['nombres']=$this->session->userdata('nombres'); $this->load->view('layou/header',$nombres); $this->load->view...
javis920320/creaciones
application/controllers/Cprendascortadas.php
PHP
mit
550
class Solution { public List<String> addOperators(String num, int target) { List<String> results = new LinkedList<>(); if (num == null || num.length() == 0) { return results; } this.dfs(0, num, (long) target, 0l, 0l, new StringBuilder(), results); return results; ...
FeiZhan/Algo-Collection
answers/leetcode/Expression Add Operators/Expression Add Operators.java
Java
mit
1,571
module RestArea VERSION = "2.4.3" end
bguest/rest_area
lib/rest_area/version.rb
Ruby
mit
40
--- layout: post title: Python 환율 계산 Forex 라이브러리 알아보기 --- 오늘은 Python에서 환율을 계산할 수 있는 라이브러리인 Forex 패키지에 대하여 간단히 알아보려 합니다. ## Forex 설치 우선 virtualenv로 파이썬 환경을 분리해줍니다. ``` pip3 install virtualenv ``` ``` virtualenv -mvenv env ``` env라는 이름의 가상 환경을 생성합니다. ``` source env/bin/activate ``` 가상환경을 폴더에서 활성화합니다. ``` pip3 in...
minwook-shin/minwook-shin.github.com
_posts/2019-05-06-python-foreign-exchange-rates-using-forex.md
Markdown
mit
2,385
using System; using System.Threading; using System.Threading.Tasks; namespace GettingBackTheFreeLunch { class Program { static void Main() { Console.WriteLine($"Number of logical processor: {Environment.ProcessorCount}"); for (int concurrencyLevel = 1; concurrencyLevel...
alonf/DevGeekWeek2016
DevGeekWeek2016Demos/TPL/GettingBackTheFreeLunch/Program.cs
C#
mit
2,722
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>18 --> 19</title> <link href="./../../assets/style.css" rel="stylesheet"> </head> <body> <h2>You have to be fast</h2> <a href="./10d2800d86b45f1d5406352d02c98b5fbb36e5d286e17081f0dd1791b32b17f4.html">Teleport</a> <hr> ...
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/8528105f5423529d5649326168b9b2b0369c23c88b635d46a5ac3e0dfb7c4c68.html
HTML
mit
550
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>18 --> 19</title> <link href="./../../assets/style.css" rel="stylesheet"> </head> <body> <h2>You have to be fast</h2> <a href="./6bf0a09c900b2ff17a0e51390b2e842f3db0fba2f4be7aad840d3a074919b07a.html">Teleport</a> <hr> ...
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/8a9a0c9b9fc17b874b7b4a3ba7271ba30c17a38742562dd1830ae732a5b628c5.html
HTML
mit
550
namespace YanZhiwei.DotNet.Core.WebApi { using System; using YanZhiwei.DotNet2.Utilities.Common; using YanZhiwei.DotNet2.Utilities.Encryptor; using YanZhiwei.DotNet2.Utilities.Result; /// <summary> /// WebApi 签名辅助类 /// </summary> public sealed class SignatureHelper { #regi...
YanZhiwei/DotNet.Utilities
YanZhiwei.DotNet.Core.WebApi/SignatureHelper.cs
C#
mit
2,391
<html ng-app="tabsTest"> <head> <meta charset="utf-8"> <title>Tab Bars</title> <meta name="viewport" content="width=device-width,initial-scale=1, maximum-scale=1, user-scalable=no"> <link rel="stylesheet" href="../../../../dist/css/ionic.css"> <style> .fade-out > .ng-enter, .fade-out...
Web5design/ionic
js/ext/angular/test/tabs.html
HTML
mit
6,973
/* * The MIT License (MIT) * * Copyright (c) 2014-2015 Christian Schudt * * 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 r...
jeozey/XmppServerTester
xmpp-extensions/src/test/java/rocks/xmpp/extensions/muc/MultiUserChatTest.java
Java
mit
5,192
<?php /* * This file is part of the Persian Framework. * * (c) Farhad Zandmoghadam <farhad.pd@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Core\MVC; use Core\PF\Lib\Database\Adapter; class BaseModel { /...
zandfarhad/PF1
core/framework/src/Illuminate/Model/Model.php
PHP
mit
504
/* The MIT License (MIT) Copyright (c) 2015 Sebastian Schöner Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, mer...
JapaMala/Skylines-FineRoadHeights
Detour branch/FineRoadHeights/RedirectionHelper.cs
C#
mit
8,095
/* *-------------------------------------------------------------------- * jQuery-Plugin "lookupreferer -config.js-" * Version: 3.0 * Copyright (c) 2018 TIS * * Released under the MIT License. * http://tis2010.jp/license.txt * ------------------------------------------------------------------- */ jQuery.noCon...
TIS2010/jslibs
kintone/plugins/lookupreferer/js/config.js
JavaScript
mit
3,267
#! /bin/bash if (($# > 1)) then echo "Usage: ${0##*/} [cscope-prefix]" fi if (($# == 1)) then NAME=$1 else NAME=cscope fi REPOSITORY=$(cat <CVS/Repository) if [ "${REPOSITORY##/}" = $REPOSITORY ] then # Make relative path absolute REPOSITORY=$(cat <CVS/Root)/$REPOSITORY fi if [ -z "$REPOSITORY" ] then echo 1>&2 "...
shindochan/bashenv
scripts/cvsmkcscope.bash
Shell
mit
751
<h2>My Heroes</h2> <div> <label>Hero name:</label> <input #heroName /> <button (click)="add(heroName.value); heroName.value=''"> Add </button> </div> <ul class="heroes"> <li *ngFor="let hero of heroes" [class.selected]="hero === selectedHero" (click)="onSelect(hero)"> <span class="badge">{{h...
prerial/angular2.nongo.myheroes
src/html/heroes.component.html
HTML
mit
672
class PagesController < ApplicationController before_action :build_referral, only: [:about] def about end end
raderj89/refcodes
app/controllers/pages_controller.rb
Ruby
mit
117
<?php include 'inc/array-to-csv.php'; if (!empty($_GET['json'])) { $json = $_GET['json']; echo '<pre>'; var_dump($json); echo '</pre>'; $data = json_decode($json,true); echo '<pre>'; var_dump($data); echo '</pre>'; str_putcsv($data); // Create an instace of the class $csv = new arrayToCsv(); // Conv...
simondahla/ab-test-calcu
app/csv.php
PHP
mit
1,129
#!/usr/bin/env python3 # Copyright (c) 2009-2019 The Bitcoin Core developers # Copyright (c) 2014-2019 The DigiByte Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test fee estimation code.""" from decimal import...
digibyte/digibyte
test/functional/feature_fee_estimation.py
Python
mit
11,548
// calculate the area of a circle based on its radius function calcCircleArea(r) { var area = Math.PI * Math.pow(r, 2); // area is pi times radius squared return area; } console.log(calcCircleArea(35))
GTC-JS/classExamples
ch7-oop/07a-math.js
JavaScript
mit
209
#pragma checksum "D:\Έγγαφα\Visual Studio 2015\Projects\SecureUWPChannel\SecureUWPChannel\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "AF7F446B304564E65518E1A000E13F24" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a t...
PanagiotisDrakatos/Universal-Encryption-Channel
SecureUWPChannel/SecureUWPChannel/obj/x64/Debug/MainPage.g.cs
C#
mit
3,471
/*jslint node: true */ 'use strict'; var dotenv = require ( 'dotenv' ).config(), Promise = require ( 'bluebird' ), _ = require ( 'lodash' ), sprintf = require ( 'sprintf' ), mysql = require ( 'mysql' ), chalk = require ( 'chalk' ); // ////////////////////////////////////////...
gaccettola/mortis
server_restapi/source/controller/account.js
JavaScript
mit
10,594
#include "CoordinateSparseMatrix.h" #include <cassert> #include <algorithm> #include <mkl_spblas.h> #include "FloatMatrix.h" ////////////////////////////////////////////////////////////////////////// // Public ////////////////////////////////////////////////////////////////////////// template< typename T > Coordin...
jiawen/libcgt
math/src/CoordinateSparseMatrix.cpp
C++
mit
11,755
<!DOCTYPE html> <html lang="en-us"> <head> <meta charset="UTF-8"> <title>redis &middot; Nice To Know IT</title> <link rel="stylesheet" href="https://nicetoknow.github.io/IT/css.css" type="text/css" > </head> <body > ...
NiceToKnow/IT
public/database--storage/key-value/redis/index.html
HTML
mit
1,352
The design is an homage to the Nuka-Cola beverage in the Fallout Universe. Nuka-Cola was invented in 2044 by John-Caleb Bradberton. Its unique taste gained widespread popularity, quickly becoming the most popular soft drink in the United States with an extremely dedicated following. The name of the Nuka-Cola creator ...
nathanrosspowell/00keys
contents/keyinfo/nukacola.md
Markdown
mit
510
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="A fully featured admin theme which can be used to build CRM, CMS, etc."> <meta name="author" content="Coderthemes"> ...
konzuk/BIS_Web_School_Version1
app/template/all_pages.html
HTML
mit
20,461
#import <UIKit/UIKit.h> @interface UIFont (Marvel) + (instancetype)marvelRegularFontOfSize:(CGFloat)size; + (instancetype)marvelItalicFontOfSize:(CGFloat)size; + (instancetype)marvelBoldFontOfSize:(CGFloat)size; + (instancetype)marvelBoldItalicFontOfSize:(CGFloat)size; @end
parakeety/GoogleFontsiOS
Pod/Classes/marvel/UIFont+Marvel.h
C
mit
278
insert into users (name, phone, address) values ('Brenda Cruz', '4-(274)217-6171', '4 Lake View Road'); insert into users (name, phone, address) values ('Sarah Perry', '1-(849)702-7373', '2951 Cambridge Plaza'); insert into users (name, phone, address) values ('Catherine Washington', '8-(997)439-0704', '03 Stang Circle...
nguyentamvinhlong/ajax-rails-datatables-example
docs/users_30.sql
SQL
mit
107,248
<?php namespace Dotdigitalgroup\Email\Model\Sync; interface SyncInterface { /** * Run this sync * @param \DateTime|null $from A date to sync from (if supported) * @return void */ public function sync(\DateTime $from = null); }
dotmailer/dotmailer-magento2-extension
Model/Sync/SyncInterface.php
PHP
mit
259
package com.ignis.com.ignis.gui; public class ResourceStrings { public String imagePath(int ref){ String imagePath = ""; if(ref == 0){ imagePath = "C:\\Users\\Peter Hansen\\Pictures\\Resources\\Programs\\Ignis\\Login Screen\\loginBackgroundE.png"; } else if(ref == 1){...
peterhansen1198/Ignis
src/com/ignis/com/ignis/gui/ResourceStrings.java
Java
mit
633
package com.github.lunatrius.dod; import com.github.lunatrius.dod.reference.Reference; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import net.minecraft.block.Block; import net.minecraft.client.Minecraft; import net.minecraft.item.Item; import net.minecraft.item.ItemBlock; import net.minecraft.item...
Lunatrius/Dump-OreDictionary
src/main/java/com/github/lunatrius/dod/DumpOreDictionary.java
Java
mit
5,485
package com.eulerian.android.demo.activity; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import com.eulerian.android.demo.R; import com.eulerian.android.sdk.Action; import com.eulerian.android.sdk.CurrencyISO; import com.eulerian.android....
EulerianTechnologies/eanalytics-android
app/src/main/java/com/eulerian/android/demo/activity/MainActivity.java
Java
mit
6,738
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Function template read_info</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="../../../index.html...
djsedulous/namecoind
libs/boost_1_50_0/doc/html/boost/property_tree/info_parser/read_info_id1098655.html
HTML
mit
6,012
#!/bin/sh . ${BUILDPACK_TEST_RUNNER_HOME}/lib/test_utils.sh testSuccess() { capture ${BUILDPACK_HOME}/bin/release ${BUILD_DIR} assertCapturedSuccess }
andjosh/nchan-buildpack
test/release_test.sh
Shell
mit
163
package hu.kazocsaba.math.matrix; import hu.kazocsaba.math.matrix.backbone.VectorOp; /** * * @author Kazó Csaba */ class CoredVectorImpl extends CoredMatrixImpl implements Vector { CoredVectorImpl(MatrixCore core) { super(core); } @Override public int getDimension() { return getRowCount(); } @Override ...
kazocsaba/matrix
src/main/java/hu/kazocsaba/math/matrix/CoredVectorImpl.java
Java
mit
1,272
My try to recreate Atari's Asteroids. Done for trigonometry practice.
nikitindiz/asteroids-game
README.md
Markdown
mit
69
//============================================================================= // This file is part of The Scripps Research Institute's C-ME Application built // by InterKnowlogy. // // Copyright (C) 2006, 2007 Scripps Research Institute / InterKnowlogy, LLC. // All rights reserved. // // For information about this ...
kobush/ModernMoleculeViewer
wpf/MoleculeViewer/Residue.cs
C#
mit
23,805
package cmcc.iot.onenet.javasdk.response.device; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; @JsonIgnoreProperties(ignoreUnknown = true) public class NewDeviceResponse { @JsonProperty(value="device_id") private String deviceId; @Js...
cm-heclouds/JAVA-HTTP-SDK
javaSDK/src/main/java/cmcc/iot/onenet/javasdk/response/device/NewDeviceResponse.java
Java
mit
649
--- layout: post title: python 调用Linux的Shell命令 tags: - python - linux - shell - 研发实践 categories: - code - archives UUID: 201301251427 date: 2013-01-25 08:27:22 images: ["/assets/images/python/486px-Python_logo.png"] --- <a href="{{site.url}}/assets/images/python/486px-Python_logo.png" alt="python" target="_bank"> <i...
denghp/denghp.github.com
_posts/python/2013-01-25-python-shell-command.md
Markdown
mit
4,185
require 'gems' require 'highline/import' require 'clipboard' require 'rainbow/ext/string' require 'gems-cli/version.rb' require 'gems-cli/paginator.rb'
chaserx/gems-cli
lib/gems-cli.rb
Ruby
mit
152
#!/usr/bin/env python # -*- coding: utf-8 -*- import SocketServer import time HOST = '' PORT = 1234 ADDR = (HOST, PORT) class MyRequestHandler(SocketServer.StreamRequestHandler): def handle(self): print('...connected from: {}'.format(self.client_address)) self.wfile.write('[{}] {}'.format(time....
Furzoom/learnpython
app/test/TsTservSS.py
Python
mit
553
<!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.4.2_05) on Thu Sep 30 22:15:56 GMT+01:00 2004 --> <TITLE> Uses of Package org.springframework.remoting.rmi (Spring Framework) </TITLE> <LINK REL ="styl...
dachengxi/spring1.1.1_source
docs/api/org/springframework/remoting/rmi/package-use.html
HTML
mit
7,908
<div id="title"></div> <nav> <a routerLink="/dashboard">Dashboard</a> <a routerLink="/heroes">Heroes</a> <a routerLink="/about-me">About Me</a> </nav> <router-outlet></router-outlet>
LaurentColoma/urshi
src/app/html/app.component.html
HTML
mit
188
- [x] Folders-by-feature structure - [How to define a highly scalable folder structure for your Angular project](https://itnext.io/choosing-a-highly-scalable-folder-structure-in-angular-d987de65ec7) - [angular.io - Folders-by-feature structure](https://angular.io/guide/styleguide#folders-by-feature-structure) ...
meumobi/meumobi.github.io
_drafts/follow-angular-guidelines-ionic-project.md
Markdown
mit
1,261
// // GlossyButton.h // MarathonMegan // // Created by Jennifer Duffey on 2/23/13. // // #import <UIKit/UIKit.h> @interface GlossyButton : UIButton @property (nonatomic, strong) UIColor *buttonBackgroundColor, *buttonTextColor; @property (nonatomic, assign) MarathonMeganColor meganColor; - (id)initWithBackground...
jenduf/MarathonMegan
MarathonMegan/GlossyButton.h
C
mit
394
 using ChakraCore.NET.API; using System; using System.Collections.Generic; using System.Text; using System.Threading; namespace ChakraCore.NET { public class ContextSwitchService :ServiceBase, IContextSwitchService,IDisposable { JavaScriptContext context; public EventWaitHandle Handle { get; p...
JohnMasen/ChakraCore.NET
source/ChakraCore.NET.Core/Service/ContextSwitchService.cs
C#
mit
2,056
<!DOCTYPE html> <html> <head> <title>submergence.submergence:Configuration.&quot;Links&quot;~summary documentation</title> <link rel="stylesheet" type="text/css" href="../../../../../../../../../../index.css" /> <link rel="stylesheet" type="text/css" href="../../../../../../../../../../highlight.css" /> ...
shenanigans/node-sublayer
static/docs/generated/module/submergence/property/submergence/module/configuration/property/_links_/spare/summary/index.html
HTML
mit
1,983
import uiRouter from 'angular-ui-router'; import ngRoute from 'angular-route'; import ContactController from './contact.controller'; import ContactResourceService from './contact-resource.service'; import ConfirmClick from '../directives/confirm-click'; export default angular.module('Contact', [ uiRouter, ng...
SpookyCorridor/milton
client/app/contact/index.js
JavaScript
mit
504
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
ProfilerTeam/Profiler
protected/vendors/Zend/Pdf/Resource/Font/Simple/Standard/TimesRoman.php
PHP
mit
19,171
class Repositext class Subtitle class Operation # Represents a content change operation (not really a subtitle operation!) class ContentChange < Operation def inverse_operation Subtitle::Operation.new_from_hash( affected_stids: inverse_affected_stids, operat...
imazen/repositext
lib/repositext/subtitle/operation/content_change.rb
Ruby
mit
746
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "main.h" #include "bitcoinrpc.h" using namespace json_spirit; using namespace...
hotcoin/hotcoin
src/rpcblockchain.cpp
C++
mit
11,223
Compiled example ---------------- ![Example](2d-chi-squared-pdf.png)
MartinThoma/LaTeX-examples
tikz/2d-chi-squared-pdf/README.md
Markdown
mit
69
var common = require('../common'); var assert = common.assert; var SandboxedModule = require(common.dir.lib + '/sandboxed_module'); (function testRequire() { var foo = SandboxedModule.load('../fixture/foo').exports; assert.strictEqual(foo.foo, 'foo'); assert.strictEqual(foo.bar, 'bar'); })();
tristanls/node-sandboxed-module-strict-mode
test/integration/test-basic.js
JavaScript
mit
301
<html> <head> <title>Shingai Shoniwa's panel show appearances</title> <script type="text/javascript" src="../common.js"></script> <link rel="stylesheet" media="all" href="../style.css" type="text/css"/> <script type="text/javascript" src="../people.js"></script> <!--#include virtual="head.txt" --> </head> <body> <!...
slowe/panelshows
people/qvfyfsq4.html
HTML
mit
1,645
<!DOCTYPE html> <html> <head> <title>[% title %]</title> <link href="/css/bootstrap.css" rel="stylesheet" media="screen"> <link href="/css/dev.css" rel="stylesheet" media="screen"> </head> <body> <div class="navbar navbar-inverse navbar-fixed-top"> <div class="container"> <div class="navbar-header"> ...
mfrager/note-dev
template/layout/dev.html
HTML
mit
731
package ch.chrissharkman.accessibility.rcp.application.poc; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.StringReader; import java.net.URI; import java.net.URISyntaxExcep...
chrissharkman/accessibility
ch.chrissharkman.accessibility.rcp.application.poc/src/ch/chrissharkman/accessibility/rcp/application/poc/ContentManager.java
Java
mit
4,974
require 'ansible/vault/util' module Ansible class Vault # The module that decrypting an vault text module TextDecryptor # Decrypts the ciphertext # # @param text [String] The encrypted text # @param password [String] The password for the text # @return [String] The plaintext con...
tpickett66/ansible-vault-rb
lib/ansible/vault/text_decryptor.rb
Ruby
mit
969
// The file contents for the current environment will overwrite these during build. // The build system defaults to the dev environment which uses `environment.ts`, but if you do // `ng build --env=prod` then `environment.prod.ts` will be used instead. // The list of which env maps to which file can be found in `.angul...
joshdcar/session-success-gauge-azure-functions
session-gauge-web/src/environments/environment.ts
TypeScript
mit
484
{% extends "base.html" %} {% block content %} <div class='row' id='entry-list'> {% for entry in entry_list %} {% include "blog/_entry.html" %} {% endfor %} </div> {% endblock content %}
wlonk/django-basic-blog
blog/templates/blog/entry_list.html
HTML
mit
211
class HomeController < ApplicationController def index return redirect_to(social_contents_path) if @channel_type == 'social' result = cb_session.home_contents(context: [:channel, :sections], page: params[:page]) @contents = result[:result] @channel = result[:channel] @sections = result[:sections...
contentbird/contentbirdme
app/controllers/home_controller.rb
Ruby
mit
545
# VERBOSE := 1 SINGLE_THREAD := 1 USE_PREBUILD := 1 EA_DIR := C:/Users/nari/AppData/Local/Arduino15/packages/esp8266/ HLIB_DIR := $(EA_DIR)/hardware/esp8266/2.3.0/libraries ULIB_DIR := C:/Users/nari/documents/Arduino/libraries LIBS := $(HLIB_DIR)/SPI LIBS += $(HLIB_DIR)/ESP8266WiFi LIBS += $(ULIB_DIR)/Adafruit-GFX-Li...
h-nari/HSES_LCD24_Sample_programs
WiFiScan/Makefile
Makefile
mit
462
<!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_27) on Wed Nov 21 16:03:52 EST 2012 --> <TITLE> org.pentaho.di.trans.steps.mailinput </TITLE> <META NAME="date" CONTENT="2012-11-21"> <LINK REL ="s...
ColFusion/PentahoKettle
kettle-data-integration/docs/api/org/pentaho/di/trans/steps/mailinput/package-frame.html
HTML
mit
1,324
// **************************************************************************** // <copyright file="LocationServicePosition.cs" company="Pedro Lamas"> // Copyright © Pedro Lamas 2013 // </copyright> // **************************************************************************** // <author>Pedro Lamas</author> // <emai...
Cimbalino/Cimbalino-Phone-Toolkit
src/Cimbalino.Phone.Toolkit.Location (WP71)/Services/LocationServicePosition.cs
C#
mit
10,056
package com.example.design.patterns.interpreter.xml; import java.util.ArrayList; import java.util.Collection; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.w3c.dom.Element; /** * 元素作为非终结符对应的解释器,解释并执行中间元素 */ public class ElementExpression extends AbstractElementExpression { private static...
yuweijun/learning-programming
design-patterns/src/main/java/com/example/design/patterns/interpreter/xml/ElementExpression.java
Java
mit
2,282
package com.linstid.energydashws.entities; import java.io.Serializable; import java.util.Date; import org.bson.types.ObjectId; import com.google.code.morphia.annotations.Entity; import com.google.code.morphia.annotations.Id; import com.google.code.morphia.annotations.Property; @Entity(value = "envir_reading", noCla...
clinstid/energydashws
src/main/java/com/linstid/energydashws/entities/ReadingEntity.java
Java
mit
1,891
<?php namespace BH\API\Entity; use DateTime; class Timeslot implements TimeslotInterface { /** * * @var int */ protected $id; /** * * @var DateTime */ protected $startsAt; /** * * @var DateTime */ protected $endsAt; /** * * @var CustomerInterface */ protected $customer; /** * ...
flemeur/bhapi-php-client
src/Entity/Timeslot.php
PHP
mit
1,535
import {{ NgModule }} from '@angular/core'; import {{ Routes, RouterModule }} from '@angular/router'; import {{ {Resource}EditComponent }} from './{resources}-edit.component'; const routes: Routes = [ {{ path: '', component: {Resource}EditComponent }} ]; @NgModule({{ imports: [RouterModule.forChil...
Leo-g/Flask-Scaffold
scaffold/app/templates/module/edit/module-routing.module.ts
TypeScript
mit
411
'use strict'; /* global describe it */ // core modules var assert = require('assert'); // local modules var makeValueFullResult = require('../../lib/consumers/makeValueFullResult.js'); var single = require('../../lib/consumers/single.js'); var Stream = require('../../lib/streams/stream.js'); describe('makeValueFull...
voltrevo/parser
test/consumers/makeValueFullResult.js
JavaScript
mit
846
FROM ubuntu:latest ARG redis_version=5.0.8 ARG redis_home=/opt/redis WORKDIR ${redis_home} RUN mkdir -p ${redis_home} RUN cd /opt && \ apt-get update && \ apt-get install -y vim \ sudo \ curl \ gcc \ make && \ ap...
kazuhira-r/dockerfiles
redis-cluster/Dockerfile
Dockerfile
mit
1,272
Version 0.2 =========== First stable version. * Add tests with 70% coverage * Add command line options (help & version) * Refactor internal variables and function names * Refactor error handling Version 0.1 =========== * First implementation with all the main gauges and informations display: host system, CPUs, BIO...
miniwark/tyu
CHANGELOG.md
Markdown
mit
426
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <folly/portability/GMock.h> #include <quic/dsr/frontend/PacketBuilder.h> namespace quic::test { class Mo...
facebookincubator/mvfst
quic/dsr/frontend/test/Mocks.h
C
mit
682
// *************************************************************************** // BamReader.h (c) 2009 Derek Barnett, Michael Str�mberg // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 18 November 2012 (DB) // ----------...
pezmaster31/bamtools
src/api/BamReader.h
C
mit
3,806