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
import logging from abc import ABCMeta, abstractmethod from collections import deque from typing import List, Union, Iterable, Sequence log = logging.getLogger(__name__) class NoSensorsFoundException(RuntimeError): pass class Controller(metaclass=ABCMeta): @abstractmethod def run(self): raise N...
vrga/pyFanController
pyfc/common.py
Python
mit
4,243
import { injectable, inject } from "inversify"; import { TYPES } from "../ioc/types"; const cacheKey = "AleksaDiscordServerSelection"; @injectable() export class ServerSelectorService { constructor( @inject(TYPES.IConfig) private _config: IConfig, @inject(TYPES.Logger) private _logger: ILogger, @inject(...
arijoon/vendaire-discord-bot
src/aleksa/server-selector.service.ts
TypeScript
mit
1,262
// PS4Macro (File: Forms/MainForm.cs) // // Copyright (c) 2018 Komefai // // Visit http://komefai.com for more information // // 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 witho...
komefai/PS4Macro
PS4Macro/Forms/MainForm.cs
C#
mit
23,676
# 2016_Facebook_Test
kendall-lewis/2016_Facebook_Test
README.md
Markdown
mit
21
TAG?=latest .PHONY: build build: ./build.sh .PHONY: build-gateway build-gateway: (cd gateway; ./build.sh latest-dev) .PHONY: test-ci test-ci: ./contrib/ci.sh .PHONY: ci-armhf-build ci-armhf-build: (cd gateway; ./build.sh $(TAG) ; cd ../auth/basic-auth ; ./build.sh $(TAG)) .PHONY: ci-armhf-push ci-armhf-push: ...
rgee0/faas
Makefile
Makefile
mit
624
let fs = require("fs"); let path = require("path"); let cp = require("child_process"); function runCommand(folder, args) { cp.spawn("npm", args, { env: process.env, cwd: folder, stdio: "inherit" }); } function getPackages(category) { let folder = path.join(__dirname, category); return fs .readdirSync(folder...
pshrmn/curi
examples/updateCategory.js
JavaScript
mit
1,046
// // AppDelegate.h // wufeng_cocoapods // // Created by tomodel on 2017/3/4. // Copyright © 2017年 tomodel. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
wufeng880707/wufeng_test
wufeng_cocoapods/AppDelegate.h
C
mit
283
// download the contents of a url package main import ( "fmt" "io/ioutil" "log" "net/http" ) func main() { res, err := http.Get("http://www.google.com/robots.txt") if err != nil { log.Fatal(err) } robots, err := ioutil.ReadAll(res.Body) res.Body.Close() if err != nil { log.Fatal(err) } fmt.Printf("%s...
andrew/go-experiments
get.go
GO
mit
333
# DOMHooks Hooks functions' execution to DOM queries. DOMHooks is an utility function meant for DOM contextual scripting. By using it you can pair a specific DOM selector (or HTML class selector) with a function which needs to be executed just on that context. Example: ```javascript //old pattern jQuery(document).r...
dwightjack/domhooks
README.md
Markdown
mit
3,560
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule } from '@angular/router'; import { BrowserModule } from '@angular/platform-browser'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { ColorPickerModule } from 'angular2-color-picker...
vijayantkatyal/svg-bits
src/module.ts
TypeScript
mit
1,406
--- layout: post author: Luís Cruz title: 16 Guidelines for Effective Data Visualizations in Academic Papers summary: "This article presents basic guidelines to help create effective visualizations. There are no golden rules, but there are some basic guidelines that I find useful based on my experience as an academic...
luiscruz/luiscruz.github.io
_posts/2021-03-01-effective-visualizations.md
Markdown
mit
13,619
<?php $_pluginInfo=array( 'name'=>'Inet', 'version'=>'1.0.3', 'description'=>"Get the contacts from a Inet account", 'base_version'=>'1.8.0', 'type'=>'email', 'check_url'=>'http://inet.ua/index.php', 'requirement'=>'email', 'allowed_domains'=>array('/(inet.ua)/i','/(fm.com.ua)/i'), ); /** * Inet P...
mbrung/lcOpenInviterPlugin
lib/extern/openInviter/plugins/inet.plg.php
PHP
mit
5,581
package org.workcraft.plugins.circuit; import org.workcraft.annotations.DisplayName; import org.workcraft.annotations.Hotkey; import org.workcraft.annotations.SVGIcon; import org.workcraft.dom.Node; import org.workcraft.dom.visual.BoundingBoxHelper; import org.workcraft.dom.visual.DrawRequest; import org.workcraft.for...
tuura/workcraft
workcraft/CircuitPlugin/src/org/workcraft/plugins/circuit/VisualFunctionContact.java
Java
mit
13,140
/*++ Copyright (c) 2011 Microsoft Corporation Module Name: smt_arith.h Abstract: Arithmetic solver for smt::solver Author: Leonardo de Moura (leonardo) 2011-06-25. Revision History: --*/ #ifndef _SMT_ARITH_H_ #define _SMT_ARITH_H_ #include"ast.h" #include"smt_solver_types.h" #include"params.h" ...
sukwon0709/byterun
byterun/z3str2/z3/lib/smt_arith.h
C
mit
1,158
from core.himesis import Himesis, HimesisPreConditionPatternLHS import uuid class HUnitDaughter2Woman_ConnectedLHS(HimesisPreConditionPatternLHS): def __init__(self): """ Creates the himesis graph representing the AToM3 model HUnitDaughter2Woman_ConnectedLHS """ # Flag this instance as compiled now self.is_...
levilucio/SyVOLT
ExFamToPerson/contracts/unit/HUnitDaughter2Woman_ConnectedLHS.py
Python
mit
2,107
--- layout: post title: iOS Localization date: 2014-10-25 categories: iOS --- This post contains some of my thoughts and experiences from localizing iOS applications. ##Format specifiers After many mistakes when localizing and having to change stuff later I've arrived at the conclusion that you should...
accatyyc/accatyyc.github.io
_posts/2014-10-25-ios-localization.md
Markdown
mit
4,201
Crawler demo project ==================== A little(-ish) thingy to show off what I can do (when overengineering things at midnight). This was made with a tight deadline, relative to the level I built it at, so I punted a lot of things. Usage: ------ - with docker: 1. run ./build.sh (or cat it and run each comman...
lahwran/distributed-crawler
readme.md
Markdown
mit
7,512
module Lib where import Data.Function (on) import Data.List (findIndices, minimumBy, transpose) import Data.Maybe (isJust, isNothing) data Shape = Nought | Cross deriving (Read, Show, Eq) type Cell = Maybe Shape type Board = [Cell] boardSize = 3 emptyBoard = replicate (boardSize * boardSize) Nothing makeBoard :...
leocassarani/noughts-and-crosses
src/Lib.hs
Haskell
mit
2,262
<?php /* TwigBundle:Exception:traces.html.twig */ class __TwigTemplate_9109da3b5a8f9508fb31e1e2c4868542dc8f79b94134ac992407a779404545e3 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array(...
cristian3040/Cupon
app/cache/dev/twig/89/89ed4a643ac881b9b276624f1e201f6f6459e825e3dad4b2ed9447cc114d4ee5.php
PHP
mit
9,187
Polaris::Application.configure do # Settings specified here will take precedence over those in config/application.rb. # Code is not reloaded between requests. config.cache_classes = true # Eager load code on boot. This eager loads most of Rails and # your application in memory, allowing both thread web serv...
marcosserpa/codepolaris
config/environments/production.rb
Ruby
mit
3,572
var models=require('../models/models.js'); // Autoload :id de comentarios exports.load=function (req,res,next,commentId) { models.Comment.find({ where:{ id:Number(commentId) } }).then(function (comment) { if(comment){ req.comment=comment; next(); }else{ next(new Error('No existe commentId=' +comme...
armero1989/quiz-2016
controllers/comment_controller.js
JavaScript
mit
1,348
package net.dirtyfilthy.bouncycastle.asn1.nist; import net.dirtyfilthy.bouncycastle.asn1.DERObjectIdentifier; import net.dirtyfilthy.bouncycastle.asn1.sec.SECNamedCurves; import net.dirtyfilthy.bouncycastle.asn1.sec.SECObjectIdentifiers; import net.dirtyfilthy.bouncycastle.asn1.x9.X9ECParameters; import net.dirtyfilth...
dirtyfilthy/dirtyfilthy-bouncycastle
net/dirtyfilthy/bouncycastle/asn1/nist/NISTNamedCurves.java
Java
mit
2,937
<?php // Include the API require '../../lastfmapi/lastfmapi.php'; // Get the session auth data $file = fopen('../auth.txt', 'r'); // Put the auth data into an array $authVars = array( 'apiKey' => trim(fgets($file)), 'secret' => trim(fgets($file)), 'username' => trim(fgets($file)), 'sessionKey' => trim(fgets($file...
SimonTalaga/MusicalTastesViz
vendor/lastfm/examples/tag.gettopalbums/index.php
PHP
mit
960
BuildTearDown { throw "forced error" } Task default -depends Compile,Test,Deploy Task Compile { "Compiling;" } Task Test -depends Compile { "Testing;" } Task Deploy -depends Test { "Deploying;" }
psake/psake
specs/buildteardown_failure_should_fail.ps1
PowerShell
mit
216
<!DOCTYPE html> <html> <head> <meta charset='utf-8'> <meta http-equiv="X-UA-Compatible" content="chrome=1"> <link href='https://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css'> <link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen"> <lin...
DavidStrada/davidstrada.github.io
index.html
HTML
mit
4,311
package com.cosmos.kafka.client.producer; import org.apache.kafka.clients.producer.KafkaProducer; import org.apache.kafka.clients.producer.ProducerRecord; import java.util.Properties; import java.util.Random; import static org.apache.kafka.clients.producer.ProducerConfig.*; /** * Producer using multiple partition ...
dantin/kafka-demo
kafka-producer/src/main/java/com/cosmos/kafka/client/producer/MultipleBrokerProducer.java
Java
mit
1,747
// // FAQViewController.h // AKG // // Created by Fabian Ehlert on 01.02.14. // Copyright (c) 2014 Fabian Ehlert. All rights reserved. // #import <UIKit/UIKit.h> @interface FAQViewController : UIViewController @end
fabianehlert/AKG-Bensheim-iOS
AKG/FAQViewController.h
C
mit
222
#David Hickox #Feb 15 17 #Squares (counter update) #descriptions, description, much descripticve #variables # limit, where it stops # num, sentry variable #creates array if needbe #array = [[0 for x in range(h)] for y in range(w)] #imports date time and curency handeling because i hate string formating (this tak...
dwhickox/NCHS-Programming-1-Python-Programs
Chap 3/Squares.py
Python
mit
778
<?php namespace Minsal\GinecologiaBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * SrgTipoConsultaPf * * @ORM\Table(name="srg_tipo_consulta_pf") * @ORM\Entity */ class SrgTipoConsultaPf { /** * @var integer * * @ORM\Column(name="id", type="integer", nullable=false) * @ORM\Id * ...
sisreg/siap
src/Minsal/GinecologiaBundle/Entity/SrgTipoConsultaPf.php
PHP
mit
2,743
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>jprover: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.07.1-2.0.6/released/8.13.1/jprover/8.6.0.html
HTML
mit
7,364
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>icharate: 41 s</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="style...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.05.0-2.0.6/released/8.9.1/icharate/8.9.0.html
HTML
mit
20,055
using System; using AppStudio.Uwp; namespace DJNanoShow.ViewModels { public class PrivacyViewModel : ObservableBase { public Uri Url { get { return new Uri(UrlText, UriKind.RelativeOrAbsolute); } } public string UrlText ...
wasteam/DJNanoSampleApp
W10/DJNanoShow.W10/ViewModels/PrivacyViewModel.cs
C#
mit
435
import React, { PropTypes } from 'react'; import TodoItem from './TodoItem'; const TodoList = ({todos}) => ( <ul className="todo-list"> {todos.map(todo => <TodoItem key={todo.id} {...todo} /> )} </ul> ); TodoList.propTypes = { todos: PropTypes.array.isRequired } export default TodoList;
johny/react-redux-todo-app
src/components/TodoList.js
JavaScript
mit
312
<?php namespace Podlove\Settings\Dashboard; use Podlove\Model; class FileValidation { public static function content() { global $wpdb; $sql = ' SELECT p.post_status, mf.episode_id, mf.episode_asset_id, mf.size, mf.id media_file_id FROM `'.Model\MediaFile::table_name().'...
podlove/podlove-publisher
lib/settings/dashboard/file_validation.php
PHP
mit
1,726
/* * Copyright (c) 2016. Xiaomu Tech.(Beijing) LLC. All rights reserved. */ package de.mpg.mpdl.labcam.code.common.widget; /** * Created by yingli on 10/19/15. */ public class Constants { public static final String STATUS_SUCCESS = "SUCCESS"; public static final String KEY_CLASS_NAME = "key_class_name";...
MPDL/MPDL-Cam
app/src/main/java/de/mpg/mpdl/labcam/code/common/widget/Constants.java
Java
mit
1,174
/* ************************************************************************ qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2017 Christian Boulanger License: MIT: https://opensource.org/licenses/MIT See the LICENSE file in the project's top-level directory for detai...
johnspackman/qxcompiler
source/class/qx/tool/cli/commands/package/Migrate.js
JavaScript
mit
9,371
/* * FTGL - OpenGL font library * * Copyright (c) 2001-2004 Henry Maddocks <ftgl@opengl.geek.nz> * * 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 * wit...
mcodegeeks/OpenKODE-Framework
01_Develop/libXMGraphics/Source/FTGLES/FTCharmap.h
C
mit
5,264
--- layout: post title: "CSS居中布局" date: 2017-05-13 15:16:45 author: "Joan" tags: ["css"] --- > 参考链接:https://css-tricks.com/centering-css-complete-guide/ ## 一、水平居中 ### 1.inline 元素 ``` .center-children { text-align: center; } ``` `text-align` 属性规定元素中的文本的水平对齐方式。该属性需要添加在 inline 元素的父元素上。 ### 2...
WJoan/WJoan.github.io
_posts/2017-05-13-css-center.markdown
Markdown
mit
4,975
package gavilan.irc; import java.util.Set; import javax.annotation.PreDestroy; import org.pircbotx.PircBotX; public interface TwitchCore { void doGreet(ChatMessage cm); Set<String> getPendings(); void message(String channel, String message); void onMessage(ChatMessage cm); @PreDestroy void shutdown...
gavilancomun/irc-explorer
src/main/java/gavilan/irc/TwitchCore.java
Java
mit
366
<?php namespace AppBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Gedmo\Mapping\Annotation as Gedmo; use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; /** * Documento * * @ORM\Table(name="documentos") * @ORM\Entity */ class Documento { /** * @var integer * * @ORM\Column(nam...
johnnykatz/colegio
src/AppBundle/Entity/Documento.php
PHP
mit
7,069
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("Imm...
preslavc/SoftUni
Programming Fundamentals/More Exercises/Dictionaries and Lists/Immune System/Properties/AssemblyInfo.cs
C#
mit
1,397
package com.github.visgeek.utils.collections; import java.util.Iterator; class LinqConcateIterator<T> implements Iterator<T> { // コンストラクター public LinqConcateIterator(Iterable<T> source, Iterable<? extends T> second) { this.second = second; this.itr = source.iterator(); this.isSwitched = false; } ...
visGeek/JavaVisGeekCollections
src/src/main/java/com/github/visgeek/utils/collections/LinqConcateIterator.java
Java
mit
1,003
# 微型调查问卷平台 实现一个简易版的问卷管理系统,有如下功能: ### 问卷管理列表 > - 有一个头部可以显示logo,不需要实现登录等操作 > - 问卷管理列表页面默认为首页 > - 有一个表格用于展示所有已创建的问卷 > - 列表中包括列有:问卷名称,问卷状态(未发布,发布中,已结束),和操作区域(编辑、删除、查看数据) > - 问卷状态为未发布时,可以做的操作为编辑、删除、查看问卷 > - 问卷状态为发布中和已结束时,可以做的操作为查看数据、查看问卷 > - 表格最左侧有批量选择(多选)的checkbox,多选后,可以进行批量删除功能,checkbox样式用默认即可,不需要按照设计图的样式 > - 当...
shauvet/vue-questionnaire
README.md
Markdown
mit
3,235
package de.csmath.QT; import java.util.Collection; import java.util.List; /** * This class builds a FTypeAtom from given parameters. * @author lpfeiler */ public class FTypeAtomBuilder extends QTAtomBuilder { /** * @see FTypeAtom#majBrand */ private int majBrand = 0; /** * @see FTypeAt...
lpcsmath/QTReader
src/main/java/de/csmath/QT/FTypeAtomBuilder.java
Java
mit
1,783
<!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>Workweek Template: Tyler Kirkham Andrews</title> <meta name="description" content="Workweek lets you build your own portfolio with built-in invoicing and payment proc...
brettbradleycampbell/workweek-landing
demo/template-2b/project-2.html
HTML
mit
7,716
package personifiler.cluster; import static org.junit.Assert.*; import org.junit.Test; import personifiler.util.TestUtils; /** * Tests for {@link RandIndex} * * @author Allen Cheng */ public class TestRandIndex { /** * Tests that the rand index of a cluster is between 0.0 and 1.0 */ @Test public void t...
allen12/Personifiler
test/personifiler/cluster/TestRandIndex.java
Java
mit
554
namespace Azure.Security.Attestation { public partial class AttestationAdministrationClient : System.IDisposable { protected AttestationAdministrationClient() { } public AttestationAdministrationClient(System.Uri endpoint, Azure.Core.TokenCredential credential) { } public AttestationAdmi...
ayeletshpigelman/azure-sdk-for-net
sdk/attestation/Azure.Security.Attestation/api/Azure.Security.Attestation.netstandard2.0.cs
C#
mit
22,286
// Video: https://www.youtube.com/watch?v=WH5BrkzGgQY const daggy = require('daggy') const compose = (f, g) => x => f(g(x)) const id = x => x //===============Define Coyoneda========= // create constructor with props 'x' and 'f' // 'x' is our value, 'f' is a function const Coyoneda = daggy.tagged('x', 'f') // map ...
dmitriz/functional-examples
examples/coyoneda.js
JavaScript
mit
1,828
package org.coursera.androidcapstone.symptomchecker.repository; import java.util.List; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.PagingAndSortingRepository; import org.s...
emadhilo/capstone
SymptomCheckerService/src/main/java/org/coursera/androidcapstone/symptomchecker/repository/PatientRepository.java
Java
mit
860
<!doctype html> <html class="theme-next "> <head> <meta charset="UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/> <meta http-equiv="Cache-Control" content="no-transform" /> <meta http-equiv="Cache-Contro...
wuxu92/wuxu92.github.io
vim-commands/index.html
HTML
mit
24,822
var map, boroughSearch = [], theaterSearch = [], museumSearch = []; /* Basemap Layers */ var mapquestOSM = L.tileLayer("http://{s}.tiles.mapbox.com/v3/am3081.h0po4e8k/{z}/{x}/{y}.png"); var mbTerrainSat = L.tileLayer("https://{s}.tiles.mapbox.com/v3/matt.hd0b27jd/{z}/{x}/{y}.png"); var mbTerrainReg = L.tileL...
availabs/transit_analyst
assets/js/main.js
JavaScript
mit
2,596
# Jirabot A Slack bot that watches any channel it's invited to for mentions of JIRA issues. If it sees one, it responds with a message consisting of: ISSUE-1223: Issue summary https://yourlocation.jira.com/browse/ISSUE-1223 Issue Status (Issue Type) ## Setup You'll need to configure a bot on Slack (fixme: Add setu...
calciphus/jirabot
README.md
Markdown
mit
1,107
# frozen_string_literal: true require 'spec_helper' describe ErrorTracking::ProjectErrorTrackingSetting do include ReactiveCachingHelpers set(:project) { create(:project) } subject { create(:project_error_tracking_setting, project: project) } describe 'Associations' do it { is_expected.to belong_to(:pr...
axilleas/gitlabhq
spec/models/error_tracking/project_error_tracking_setting_spec.rb
Ruby
mit
7,804
/////////////////////////////////////////////////////////////////////////// // Copyright © Esri. 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.ap...
tmcgee/cmv-wab-widgets
wab/2.13/widgets/CostAnalysis/setting/nls/pl/strings.js
JavaScript
mit
10,828
import { moduleForModel, test } from 'ember-qunit'; moduleForModel('commentator', 'Unit | Model | commentator', { // Specify the other units that are required for this test. needs: [] }); test('it exists', function(assert) { let model = this.subject(); // let store = this.store(); assert.ok(!!model); });
morontt/zend-blog-3-backend
spa/tests/unit/models/commentator-test.js
JavaScript
mit
318
<?php /** * Created by PhpStorm. * User: Renfrid-Sacids * Date: 2/4/2016 * Time: 9:44 AM */ class Xform_model extends CI_Model { /** * Table name for xform definitions * * @var string */ private static $xform_table_name = "xforms"; //default value /** * Table name for archived/deleted xforms * *...
renfrid/dataManager
application/models/Xform_model.php
PHP
mit
5,088
<!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="./c74afbe19e0f475e2fc44426785688aedfb48315daf39b05f2e65ff576c49dce.html">Teleport</a> <hr> ...
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/4a1e8638fe3dc0c69f0d71b8017fd613a193fee8e84ccd3df23b3056f9966334.html
HTML
mit
550
<!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>"> <link rel="profile" href="http://gmpg.org/xfn/11"> <?php wp_head(); ?> </head> <body> <!-- Main navigation --> <?php do_action( 'omega_before_header' ); ?> <!-- Featured post --> <div class="container...
serpentinegalleries/radio-serpentine
header-home.php
PHP
mit
1,005
<?php namespace AppBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\Form\Extension\Core\Type\EmailType; use Symfony\Component\Form\Extension\Core\Type\RepeatedType; use Symfony\Component\...
Fabcra/bien_etre
src/AppBundle/Form/registerType.php
PHP
mit
962
/** ****************************************************************************** * @file CRYP/CRYP_TDESECBmode/stm32f4xx_it.c * @author MCD Application Team * @version V1.8.0 * @date 04-November-2016 * @brief Main Interrupt Service Routines. * This file provides template for al...
craftit/BMC2-Firmware
Firmware/ext/STM32F4xx_DSP_StdPeriph_Lib/Project/STM32F4xx_StdPeriph_Examples/CRYP/CRYP_TDESECBmode/stm32f4xx_it.c
C
mit
4,599
/* * This file is part of the Cliche project, licensed under MIT License. See LICENSE.txt file in root folder of Cliche * sources. */ package net.dudehook.cliche2.util; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.S...
dudehook/Cliche2
src/main/java/net/dudehook/cliche2/util/ArrayHashMultiMap.java
Java
mit
2,003
const fs = require('fs') const { normalize, resolve, join, sep } = require('path') function getAppDir () { let dir = process.cwd() while (dir.length && dir[dir.length - 1] !== sep) { if (fs.existsSync(join(dir, 'quasar.conf.js'))) { return dir } dir = normalize(join(dir, '..')) } const { f...
rstoenescu/quasar-framework
app/lib/app-paths.js
JavaScript
mit
1,321
<?php require_once('config.php'); $session->requireLoggedIn(); require('design_head.php'); $text = ''; if (!empty($_POST['text'])) { $text = $_POST['text']; guessLanguage($text); } ?> <h2>Guess language</h2> Enter some text and see if the program can guess the language that the text were wr...
martinlindhe/core_dev
projects/lang/guess_language.php
PHP
mit
538
module.exports = { testClient: 'http://localhost:8089/dist/', mochaTimeout: 10000, testLayerIds: [0], seleniumTimeouts: { script: 5000, implicit: 1000, pageLoad: 5000 } }
KlausBenndorf/guide4you
tests/config.js
JavaScript
mit
193
'use strict'; import Maths from './maths.js' import FSM from './fsm.js' import { Animation, Interpolation } from './animation.js' export { Maths, FSM, Interpolation, Animation }
InconceivableVizzini/interjs
src/inter.js
JavaScript
mit
179
namespace Free.FileFormats.VRML.Interfaces { public interface IX3DTexturePropertiesNode { } }
shintadono/Free.FileFormats.VRML
18 Texturing/Interfaces/IX3DTexturePropertiesNode.cs
C#
mit
100
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, 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 restrictio...
Azaezel/Torque3D
Engine/source/gfx/gl/gfxGLCubemap.h
C
mit
3,514
// Runs the wiki on port 80 var server = require('./server'); server.run(80);
rswingler/byuwiki
server/controller/js/wiki.js
JavaScript
mit
79
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #pragma once #include "windows.h" #include "targetver.h" #include <string> // Headers for CppUnitTest //#include "CppUnitTest.h" // TODO: refe...
MagnusTiberius/terra.simulacra
mt/stdafx.h
C
mit
373
from datetime import datetime from zipfile import ZipFile from io import BytesIO from lxml import etree from docxgen import * from docxgen import nsmap from . import check_tag def test_init(): doc = Document() check_tag(doc.doc, ['document', 'body']) check_tag(doc.body, ['body']) def test_save(): doc ...
kunxi/docxgen
tests/test_docx.py
Python
mit
2,167
#!/bin/bash INSTALL_PATH=$PREFIX make shared_lib
Phelimb/cbg
.conda/rocksdb/build.sh
Shell
mit
50
/** * This code was auto-generated by a Codezu. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.api.clients.commerce.customer.accounts; import java.util.List; import java.util.ArrayList; import com.mozu.api.MozuClient; impor...
lakshmi-nair/mozu-java
mozu-javaasync-core/src/main/java/com/mozu/api/clients/commerce/customer/accounts/CustomerNoteClient.java
Java
mit
12,436
using System; using System.Linq; namespace CapnProto.Schema.Parser { class CapnpVisitor { protected Boolean mEnableNestedType = true; protected CapnpModule mActiveModule; protected void EnableNestedType() { mEnableNestedType = true; } protected void DisableNestedTyp...
tempbottle/capnproto-net
CapnProto.net.Schema/Parser/CapnpVisitor.cs
C#
mit
7,402
$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__))) require 'rake' require 'rake/tasklib' require 'redmine_plugin_support/redmine_helper' require 'redmine_plugin_support/general_task' require 'redmine_plugin_support/environment_ta...
edavis10/redmine_plugin_support
lib/redmine_plugin_support.rb
Ruby
mit
2,419
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>Nitrogen 2.x Documentation</title> <meta http-equiv="Content-Type" co...
jpyle/nitrogen_core
doc/html/actions.html
HTML
mit
7,516
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: AssemblyTi...
nwoolls/MultiMiner
MultiMiner.Update/Properties/AssemblyInfo.cs
C#
mit
1,454
.dividend-wrap { display: none; } .dividend-wrap.active { display: flex; width: 100%; } .overflow.dividendModal > form input::-webkit-input-placeholder { /* Chrome/Opera/Safari */ opacity: .8; color: #fff; font-size: 14px; } .overflow.dividendModal > form input::-moz-placeholder { /* Firefox 19+ */ opacit...
safex/safex_wallet
public/css/dividend-modal.css
CSS
mit
612
package pipe.actions.gui; import pipe.controllers.PetriNetController; import pipe.controllers.PlaceController; import uk.ac.imperial.pipe.models.petrinet.Connectable; import uk.ac.imperial.pipe.models.petrinet.Place; import java.awt.event.MouseEvent; import java.util.Map; /** * Abstract action responsible for addin...
frig-neutron/PIPE
pipe-gui/src/main/java/pipe/actions/gui/TokenAction.java
Java
mit
2,378
--- layout: page title: Adding Atom to Your Dotfiles --- Keeping all your dotfiles and system configurations together, under version control, and stored somewhere accessible (say on GitHub) is a good practice. It allows you to easily access and install everything from bash/zsh settings to environment variables to git ...
jbranchaud/splitting-atoms
adding-atom-to-dotfiles.md
Markdown
mit
2,626
var Type = require("@kaoscript/runtime").Type; module.exports = function(expect) { class Shape { constructor() { this.__ks_init(); this.__ks_cons(arguments); } __ks_init_0() { this._color = ""; } __ks_init() { Shape.prototype.__ks_init_0.call(this); } __ks_cons_0(color) { if(arguments.leng...
kaoscript/kaoscript
test/fixtures/compile/implement/implement.ctor.nseal.alias.js
JavaScript
mit
1,741
module TasksFileMutations AddFilesToTask = GraphQL::Relay::Mutation.define do name 'AddFilesToTask' input_field :id, !types.ID return_field :task, TaskType resolve -> (_root, inputs, ctx) { task = GraphqlCrudOperations.object_from_id_if_can(inputs['id'], ctx['ability']) files = [ctx[:fi...
meedan/check-api
app/graph/mutations/tasks_file_mutations.rb
Ruby
mit
972
package uk.co.nevarneyok.entities.product; import com.google.gson.annotations.SerializedName; public class ProductSize { private long id; @SerializedName("remote_id") private long remoteId; private String value; public ProductSize() { } public ProductSize(long id, long remoteId, String...
tugrulkarakaya/NeVarNeYok
app/src/main/java/uk/co/nevarneyok/entities/product/ProductSize.java
Java
mit
1,689
# -*- coding: utf-8 -*- """ 将json文件中的数据存到数据库中 """ import requests import json import os from word.models import (Word, EnDefinition, CnDefinition, Audio, Pronunciation, Example, Note) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) print(BASE_DIR) def process_data(data): data = data...
HideMode/ShanBay
data/script.py
Python
mit
1,642
--- layout: post title: All Roads Lead to Shenzhen (for Electronics) excerpt: "An account of my first visit to Shenzhen, China - the modern day Mecca of electronics manufacturing." tags: [electronics, Shenzhen, China] categories: [Electronics] comments: true modified: 2015-01-17 thumbnail: images/2016/01/shenzhen-bldg....
electronut/electronut.github.io
_posts/2016-01-17-all-roads-shenzhen.md
Markdown
mit
11,762
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>wCMF 4.1: Member List</title> <meta name="generator" content="Doxygen 1.8.17"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="A MDSD framework for building reliable, maintainable an...
iherwig/wcmf
docs/api-gen/html/latest/classwcmf_1_1lib_1_1config_1_1impl_1_1_config_action_key_provider-members.html
HTML
mit
8,747
namespace Watcher.Messages.Person { public class PersonRequest { } }
ronaldme/Watcher
Watcher.Messages/Person/PersonRequest.cs
C#
mit
84
.icons > [class^="icon-"] { position: relative; text-align: left; font-size: 32px; } .icons > [class^="icon-"] > span { display: none; padding: 20px 23px 18px 23px; background: #00101c; width: auto; color: #fff; font-family: 'Roboto', Arial, sans-serif; font-size: 16px; } .icons > [class^="icon-...
vrch/efigence-camp
stylesheets/icons-temporary.css
CSS
mit
740
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: AssemblyTi...
jeffld/CSharp-Regex
GenericApp/GenericApp.Program/Properties/AssemblyInfo.cs
C#
mit
1,480
<?php namespace System\Classes; use App; use Url; use File; use Lang; use Event; use Cache; use Route; use Config; use Request; use Response; use Assetic\Asset\FileAsset; use Assetic\Asset\GlobAsset; use Assetic\Asset\AssetCache; use Assetic\Asset\AssetCollection; use Assetic\Factory\AssetFactory; use October\Rain\Par...
lupin72/piergorelli.com
modules/system/classes/CombineAssets.php
PHP
mit
24,315
raspi led === > basic LED interactions on a raspberry pi ![screenshot](./screenshot.png) # Setup Follow the base setup of the johnny-five LED example ![breadboard setup](http://johnny-five.io/img/breadboard/led-13-raspberry-pi.png) # Usage `Make sure you do these steps on a raspberry pi` * install prerequisites...
anoff/robby5
examples/raspi-led/readme.md
Markdown
mit
678
<?php ################################################## ## ## ## CREATE APPLICATION DEFINITIONS ## ## ## ################################################## # define('APPLICATION', 'application'); define('CONFIG', '...
jjNford/phpblueprint-framework
index.php
PHP
mit
1,270
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
b13/t3ext-newsfeedimport
Classes/SimplePie/library/SimplePie.php
PHP
mit
88,133
#include "ObservationSequences.h" #include <iostream> #include <fstream> #include <algorithm> #include "boost\filesystem.hpp" using namespace std; namespace bst = boost::filesystem; ObservationSequences::~ObservationSequences() { } ObservationSequences::ObservationSequences(std::string folderName) { noOfFiles =...
anish-shekhawat/hmm-adaboost
src/ObservationSequences.cpp
C++
mit
1,824
#!/bin/bash docker build -t chamerling/openstack-client .
chamerling/openstack-client-docker
build.sh
Shell
mit
58
'use strict' angular .module('softvApp') .controller('ModalAddhubCtrl', function (clusterFactory, tapFactory, $rootScope, areaTecnicaFactory, $uibModalInstance, opcion, ngNotify, $state) { function init() { if (opcion.opcion === 1) { vm.blockForm2 = true; muestraColonias(); muestr...
alesabas/Softv
app/scripts/controllers/areatecnica/ModalAddhubCtrl.js
JavaScript
mit
3,930
require 'spec_helper' require 'rails_helper' require 'email_helper' describe CommitteeController do fixtures :users fixtures :meetings fixtures :committees fixtures :announcements fixtures :participations before(:each) do sign_in users(:tester) # allow to do production mode allow(Rail...
hsp1324/communitygrows
spec/controllers/committee_controller_spec.rb
Ruby
mit
13,782
/* * The MIT License (MIT) * * Copyright (c) 2015 Lachlan Dowding * * 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 u...
Permafrost/Tundra.java
src/main/java/permafrost/tundra/math/IntegerHelper.java
Java
mit
4,471
'use strict'; var path = require('path'); var fs = require('fs'); module.exports = function(gen,cb) { var sections; if (gen.config.get('framework')==='bigwheel') { var model = require(path.join(process.cwd(),'src/model/index.js')); sections = ['Preloader']; Object.keys(model).forEach(function(key) { ...
Jam3/generator-jam3
lib/createSections.js
JavaScript
mit
1,958
<!DOCTYPE html> <html> <head> <meta charset = "utf-8"> <title>Aarthi Gurusami</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <link rel="stylesheet" type="text/css" href="../stylesheets/stylesheet.css"> <link rel = "stylesheet" type = "text/css" href = "../styl...
agurusa/agurusa.github.io
blog/blogging.html
HTML
mit
3,010
{% extends "../base.html" %} {% block content %} <div class="row"> <div class="col-sm-6"> <legend translate>Platform Information</legend> <!--ajax_result--> <div class="ajax_result"> {% if msg %} <div class="alert alert-info" role="alert">{{msg}}</div> {% endif %} <table width="100%" class="table tab...
nanodlp/ui
templates/calibration/z-calibration.html
HTML
mit
5,204