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
<?php namespace Tecnotek\ExpedienteBundle\Controller; use Tecnotek\ExpedienteBundle\Entity\User; use Tecnotek\ExpedienteBundle\Entity\Route; use Tecnotek\ExpedienteBundle\Entity\Buseta; use Tecnotek\ExpedienteBundle\Entity\Period; use Tecnotek\ExpedienteBundle\Entity\Grade; use Tecnotek\ExpedienteBundle\Entity\Course...
selimcr/Tecnotek_Expediente
src/Tecnotek/ExpedienteBundle/Controller/SuperAdminController.php
PHP
mit
153,919
/** * create edit language file link */ export default (lang) => { return `https://github.com/electerm/electerm-locales/edit/master/locales/${lang}.js` }
electerm/electerm
src/client/common/create-lang-edit-link.js
JavaScript
mit
159
2014.11.12 ## 目标 * 微博详情加载更多 * 个人主页加载更多 * 微博详情模块,在单击时,应该是整个 body 区都能触发事件,而不只是内容区。但是,点击图片时,要显示 大图,而不是进入微博详情。 * bug: 上拉时文字显示应该为“上拉” * 保存用户编辑过但没发出的微博 ## 完成 * 微博详情加载更多 * 个人主页加载更多 * bugfix: 请求列表为空时,addAll 出 null 异常,需要判空 ## Q&A Q: ListView 的 setOnItemClickListener 失效 A: 如果 ListView 的 item 中包含有 button 等控件,它们会获得焦点,item 就无...
minixalpha/Webo
doc/day28.md
Markdown
mit
696
using System.Security.Cryptography.X509Certificates; using Xunit; namespace OpenGost.Security.Cryptography.X509Certificates { public class GostECDsaCertificateExtensionsTests : CryptoConfigRequiredTest { [Theory] [InlineData("GostECDsa256")] [InlineData("GostECDsa512")] public ...
sergezhigunov/gost
tests/OpenGost.Security.Cryptography.Tests/X509Certificates/GostECDsaCertificateExtensionsTests.cs
C#
mit
748
using System; //using Microsoft.VisualStudio.TestTools.UnitTesting; using TestClass = NUnit.Framework.TestFixtureAttribute; using TestMethod = NUnit.Framework.TestAttribute; using NUnit.Framework; using BrowserStack; using System.Text; using System.IO; namespace BrowserStack_Unit_Tests { [TestClass] public class...
browserstack/browserstack-local-csharp
BrowserStackLocal/BrowserStackLocal Unit Tests/BrowserStackTunnelTests.cs
C#
mit
3,863
// MIT License // // Copyright(c) 2022 ICARUS Consulting GmbH // // 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, cop...
icarus-consulting/Yaapii.Atoms
src/Yaapii.Atoms/Scalar/Max.cs
C#
mit
5,198
""" The MIT License (MIT) Copyright (c) 2016 Louis-Philippe Querel l_querel@encs.concordia.ca 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...
louisq/staticguru
utility/jdk_override.py
Python
mit
1,445
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
2bbb/bit_by_bit
docs/d6/d4e/structbbb_1_1container__info_1_1is__unordered__multiset.html
HTML
mit
3,615
using System; using System.Diagnostics.Tracing; namespace tracelogging { public sealed class MySource : EventSource { MySource() : base(EventSourceSettings.EtwSelfDescribingEventFormat) { } [Event(1)] public void TestEventMethod(int i, string s) { ...
brianrob/coretests
managed/tracelogging/Program.cs
C#
mit
925
/* Módulo: Financeiro Função: Relatório Recebimento por Cliente Autor.: Jackson Patrick Werka Data..: 01/07/2012 © Copyright 2012-2012 SoftGreen - All Rights Reserved */ //--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop #include "uFin3015.h" //---------------...
jpwerka/SistemaSFG
Financeiro/uFin3015.cpp
C++
mit
669
* Correctly set test adapter when configure the queue adapter on a per job. Fixes #26360. *Yuji Yaginuma* * Push skipped jobs to `enqueued_jobs` when using `perform_enqueued_jobs` with a `only` filter in tests *Alexander Pauly* * Removed deprecated support to passing the adapter class to `.queue_...
bolek/rails
activejob/CHANGELOG.md
Markdown
mit
1,881
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pt_PT" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About bitcoinlite</source> <translation type="unfinished"/> </message> <message> <location...
bitcoinlitedev/bitcoinlite-master
src/qt/locale/bitcoin_pt_PT.ts
TypeScript
mit
119,136
<?php namespace felpado\tests; use felpado as f; /* * Code from https://github.com/nikic/iter/blob/master/test/IterFnTest.php */ class not_fnTest extends felpadoTestCase { public function testIt() { $constFalse = f\not_fn(function() { return true; }); $constTrue = f\not_fn(function() { return f...
pablodip/felpado
tests/functions/not_fnTest.php
PHP
mit
758
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("16...
svetlai/TelerikAcademy
Programming-with-C#/C#-Part-2/01-Arrays/16-SubsetWithSumS/Properties/AssemblyInfo.cs
C#
mit
1,410
# Games The repo serves to hold all of the data for the website codingtime.io. The corresponding code for each game can be found in the GameCode repo.
chriszbest/Games
README.md
Markdown
mit
152
# ethereumjs-icap [![NPM Package](https://img.shields.io/npm/v/ethereumjs-icap.svg?style=flat-square)](https://www.npmjs.org/package/ethereumjs-icap) [![Build Status](https://img.shields.io/travis/ethereumjs/ethereumjs-icap.svg?branch=master&style=flat-square)](https://travis-ci.org/ethereumjs/ethereumjs-icap) [![Cove...
ethereumjs/ethereumjs-icap
README.md
Markdown
mit
3,666
## 愿一切越来越好!
lczhai/lczhai.github.io
README.md
Markdown
mit
29
///////////////////////////////////////////////////////////////////////////// // Copyright (c) 2009-2014 Alan Wright. All rights reserved. // Distributable under the terms of either the Apache License (Version 2.0) // or the GNU Lesser General Public License. ////////////////////////////////////////////////////////////...
afklm/lucenekit
Pod/Libraries/Header/Collection.h
C
mit
7,497
@font-face { font-family: 'layouter'; src: url('../fonts/layouter.eot?42hzee'); src: url('../fonts/layouter.eot?42hzee#iefix') format('embedded-opentype'), url('../fonts/layouter.ttf?42hzee') format('truetype'), url('../fonts/layouter.woff?42hzee') format('woff'), url('../fonts/layouter.svg?42hzee#i...
Blueshoe/djangocms-layouter
layouter/static/layouter/css/layouter.css
CSS
mit
1,983
<?php namespace Brainwave\Database; /** * Narrowspark - a PHP 5 framework * * @author Daniel Bannert <info@anolilab.de> * @copyright 2014 Daniel Bannert * @link http://www.narrowspark.de * @license http://www.narrowspark.com/license * @version 0.9.3-dev * @package Narrowspark/framewor...
ovr/framework-2
src/Brainwave/Database/DatabaseManager.php
PHP
mit
8,220
# Acknowledgement This package is from [crypt](https://github.com/xordataexchange/crypt) [MIT license](https://github.com/xordataexchange/crypt/blob/master/LICENSE)
fzerorubigd/onion
ciphers/secconf/README.md
Markdown
mit
169
# -*- coding: utf-8 -*- """ Created on Thu Sep 21 16:29:34 2017 @author: ishort """ import math """ procedure to generate Gaussian of unit area when passed a FWHM""" #IDL: PRO GAUSS2,FWHM,LENGTH,NGAUS def gauss2(fwhm, length): #length=length*1l & FWHM=FWHM*1l #NGAUS=FLTARR(LENGTH) ...
sevenian3/ChromaStarPy
Gauss2.py
Python
mit
996
/** * @author Ultimo <von.ultimo@gmail.com> * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 0.1 (25-06-2017) * * Hier schreiben wir die JavaScript Funktionen. * */ src="jquery-3.2.1.min"; $(document).ready(function(){ $("td:contains('-')").filter(":contains('€')").addCl...
vonUltimo/kasse
js/lib.js
JavaScript
mit
446
AMD::Engine.routes.draw do get '/amd/:asset', to: 'assets#finder' end
Yellowen/amd
config/routes.rb
Ruby
mit
72
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("Co...
bstaykov/Telerik-CSharp-Part-1
Console-Input-Output/Console-Input-Output/Properties/AssemblyInfo.cs
C#
mit
1,416
<div class="navbar navbar-default navbar-static-top" ng-controller="NavbarCtrl"> <div class="container"> <div class="navbar-header"> <button class="navbar-toggle" type="button" ng-click="isCollapsed = !isCollapsed"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span...
geekfamily/sparksensor
client/components/navbar/navbar.html
HTML
mit
789
var compare = require('typewiselite') var search = require('binary-search') function compareKeys (a, b) { return compare(a.key, b.key) } module.exports = function (_compare) { var ary = [], kv _compare = _compare || compare function cmp (a, b) { return _compare(a.key, b.key) } return kv = { ge...
dominictarr/binary-map
index.js
JavaScript
mit
1,040
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="Description" content="Basic Gray"> <meta name="author" content="CoffeeCup Software, Inc."> <meta name="Copyright" content="Copyright (c) 2010 CoffeeCup, all rights reserved."> <meta name="Customized" content="Chad Anderson and James Laprevot...
vorquel/yard-sale-mapper
webdesign/about.html
HTML
mit
4,064
namespace Grauenwolf.TravellerTools.Names { public class RandomPerson { /// <summary> /// Initializes a new instance of the <see cref="RandomName"/> class. /// </summary> /// <param name="firstName"></param> /// <param name="lastName"></param> internal RandomPer...
Grauenwolf/TravellerTools
TravellerTools/Grauenwolf.TravellerTools.Services/Names/RandomPerson.cs
C#
mit
1,109
# TinyUI A Responsive UI
leezng/TinyUI
README.md
Markdown
mit
25
define( [ 'jquery', 'angular', 'json!nuke/data/dummy_model.json', 'json!nuke/data/dummy_layout.json', 'text!nuke/demo.html' ], function( $, ng, dummyModel, dummyLayout, htmlDemoTemplate ) { 'use strict'; var module = ng.module( 'NukeDemoApp', [ 'nbe' ] ) .run( [ '$templateCache', function( $...
x1B/nbe
examples/nuke/lib/NukeDemoController.js
JavaScript
mit
998
module Editor::Controllers::Document class Export include Editor::Action include ::Noteshare::Core::Document expose :document, :active_item def call(params) @active_item = 'editor' @document = DocumentRepository.find params[:id] ContentManager.new(@document).export redirect_t...
jxxcarlson/noteshare
apps/editor/controllers/document/export.rb
Ruby
mit
368
Rethinker ========= Rethinker offers a minimalist ActiveRecord-like API service layer for [RethinkDB](www.rethinkdb.com), the main focus is to simplify the relational queries for has-one, has-many, many-many relationships, with filters, and nested relational query support. #Install ```` npm install rethinker ```` #...
weisuke/rethinker
README.md
Markdown
mit
16,016
--- title: chap3 --- * content {:toc} ## 序言 * technique的地位 就像打高尔夫球需要不断练习挥杆动作basic swing,然后再练习其他技巧那样 BP就是我们的basic swing,即Learning的foundation,然后我们就得学习a suite of techniques用来improve我们的implemention * 学习各种technique的方法:如何入门 available techniques 是非常多的,最好的入门方法就是,先对最重要的那些technique来一个in-depth study 理由:Mastering those importa...
marquistj13/MyBlog
_collection_ReadingNotes_DeepLearning/Neural_Networks_And_Deep_Learning/5chap3.md
Markdown
mit
24,742
from . import config from django.shortcuts import render from mwoauth import ConsumerToken, Handshaker, tokens def requests_handshaker(): consumer_key = config.OAUTH_CONSUMER_KEY consumer_secret = config.OAUTH_CONSUMER_SECRET consumer_token = ConsumerToken(consumer_key, consumer_secret) return Handsha...
harej/requestoid
authentication.py
Python
mit
819
using UnityEngine; using System.Collections; public class Menu : MonoBehaviour { public GUIStyle exit; public GUIStyle play; // Use this for initialization void Start () { Screen.showCursor = true; } // Update is called once per frame void Update () { } void OnGUI() { if (GUI.Button(new Rect(Sc...
lazokin/FollowZeus
Assets/Scripts/Menu.cs
C#
mit
516
package org.gw4e.eclipse.builder.exception; /*- * #%L * gw4e * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2017 gw4e-project * %% * 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 withou...
gw4e/gw4e.project
bundles/gw4e-eclipse-plugin/src/org/gw4e/eclipse/builder/exception/SeverityConfigurationException.java
Java
mit
1,676
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------...
Microsoft/vscode-mono-debug
src/DebugSession.cs
C#
mit
11,204
<!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 (version 1.6.0_27) on Thu Jan 23 20:12:05 EST 2014 --> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <title>Uses of Class org.a...
OrlandoLee/ForYou
lucene/lib/lucene-4.6.1/docs/core/org/apache/lucene/search/class-use/BooleanQuery.TooManyClauses.html
HTML
mit
4,927
--- layout: comune title: San Giuseppe Jato (Sicilia) --- La pagina dell'albo pretorio del **Comune di San Giuseppe Jato** è questa: [http://156.54.128.62/sgjato](http://156.54.128.62/sgjato) Adesso puoi seguire le nuove pubblicazioni in albo in due modi dedicati: * su un canale **Telegram** [https://telegram.me/alb...
aborruso/albo-pop
_comune/sangiuseppejato.md
Markdown
mit
546
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2016 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ /** * This is where the magic happens. The Game object is the heart of your game, * providing quick access to common funct...
vpmedia/phaser2-lite
src/core/Game.js
JavaScript
mit
31,942
# iota Infix Operators for Test Assertions ## What is this? When you are writing tests, it's common to want to check a number of properties against a given value. ```clojure (require '[clojure.test :refer :all] '[schema.core :as s]) (deftest my-test (let [response ...] (is (= (:status response) 200)...
juxt/iota
README.md
Markdown
mit
4,211
#include "pci.h" #include "pciids.h" #include "kstdio.h" #include "heap.h" #include "ehci.h" #define headerAddress(bus,dev,func,reg) \ ((uint32_t)((((bus) & 0xFF) << 16) | (((dev) & 0x1F) << 11) | \ (((func) & 0x07) << 8) | (((reg) & 0x3F) << 2) | 0x80000000L)) \ uint8_t pci_read_8(int bus, int dev, int fu...
zzh8829/OSPP
zos/src/pci.c
C
mit
3,137
module ActiveModelSerializers module Adapter class JsonApi class Relationship # {http://jsonapi.org/format/#document-resource-object-related-resource-links Document Resource Object Related Resource Links} # {http://jsonapi.org/format/#document-links Document Links} # {http://jsonapi....
sixthedge/cellar
src/totem/api/vendor/active_model_serializers-0.10.2/lib/active_model_serializers/adapter/json_api/relationship.rb
Ruby
mit
2,158
# -*- coding: utf-8 -*- """ Request Management System - Controllers """ prefix = request.controller resourcename = request.function if prefix not in deployment_settings.modules: session.error = T("Module disabled!") redirect(URL(r=request, c="default", f="index")) # Options Menu (available in all Functions'...
ptressel/sahana-eden-madpub
controllers/rms.py
Python
mit
6,228
#![crate_name = "rusoto"] #![crate_type = "lib"] #![cfg_attr(feature = "unstable", feature(custom_derive, plugin))] #![cfg_attr(feature = "unstable", plugin(serde_macros))] #![cfg_attr(feature = "nightly-testing", plugin(clippy))] #![cfg_attr(feature = "nightly-testing", allow(cyclomatic_complexity, used_underscore_bin...
indiv0/rusoto
src/lib.rs
Rust
mit
4,398
w6 w40 w9 w14 w16 w60 w63 w21 w32 QUERY3 w14 w31 w17 w86 w36 w17 w11 w81 w14 w10 QUERY3 w11 w35 w28 w8 w14 w17 w17 <A HREF = page68.html > QUERY1 QUERY2 QUERY3 w18 w40 w7 </A> w16 w10 <A HREF = page68.html > QUERY1 </A> w90 w91 w16 <A HREF = page41.html > w20 QUERY1 w16 </A> w11 w31 w6 QUERY2 w1 w12 w13 w5 w2 w13 w10 ...
mmallett/coms572
lab1/res/intranet5/page95.html
HTML
mit
483
w5 w7 QUERY3 w76 w25 w16 w1 w30 w5 w3 w98 w7 QUERY1 w80 <A HREF = page97.html > QUERY1 QUERY2 QUERY3 w59 QUERY2 w81 QUERY2 </A> <A HREF = page90.html > QUERY2 w5 w32 </A> w18 <A HREF = page15.html > w21 w3 w97 w8 w4 </A> <A HREF = page71.html > QUERY1 </A> w14 w5 w13 w18 QUERY1 w6 w48 w11 w17 QUERY2 w14 w4 <A HREF = p...
mmallett/coms572
lab1/res/intranet5/page42.html
HTML
mit
601
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="refresh" content="0;URL=../../openssl_sys/fn.EVP_PKEY_get1_EC_KEY.html"> </head> <body> <p>Redirecting to <a href="../../openssl_sys/fn.EVP_PKEY_get1_EC_KEY.html">../../openssl_sys/fn.EVP_PKEY_get1_EC_KEY.html</a>...</p> <script>location.replace("../...
malept/guardhaus
main/openssl_sys/evp/fn.EVP_PKEY_get1_EC_KEY.html
HTML
mit
425
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="layoutclass_pic"><div class="layoutclass_first_pic"><table class="ztable"><tr><th class="ztd1"><b>...
BuzzAcademy/idioms-moe-unformatted-data
all-data/3000-3999/3200-31.html
HTML
mit
2,962
<!DOCTYPE html> <!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" dir="ltr"> <!--<![endif]--> <!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open...
GoC-Spending/data-corporations
html/234567110032.html
HTML
mit
33,187
<?php /** * Project: Epsilon * Date: 10/26/15 * Time: 5:30 PM * * @link https://github.com/falmar/Epsilon * @author David Lavieri (falmar) <daviddlavier@gmail.com> * @copyright 2015 David Lavieri * @license http://opensource.org/licenses/MIT The MIT License (MIT) */ namespace Epsilon\Environment; d...
falmar/Epsilon
Libraries/Epsilon/Environment/Cookie.php
PHP
mit
2,264
<!DOCTYPE html> <!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" dir="ltr"> <!--<![endif]--> <!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open...
GoC-Spending/data-corporations
html/205762600000.html
HTML
mit
76,421
# Compiler, Flags, Directory Name and Executable Name CC= g++ CFLAGS= -std=c++11 ODIR= ../obj # Source codes and objects (Add here new .cpp tests separated by spaces) SRCS= testPoint.cpp EXEC= t1 OBJS= $(patsubst %.cpp,$(ODIR)/%.o,$(SRCS)) all: $(EXEC) # Concatenate objects with your new directory $(OBJS): | $(ODIR...
marquesm91/TerminalSnake
tests/Makefile
Makefile
mit
590
package org.jabref.gui.openoffice; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.AbstractAction; import javax.swing.Action; import javax.swing.ButtonGroup; import javax.swing.JButton; import javax.swing.JComponent; import javax.swing.JDialog;...
tobiasdiez/jabref
src/main/java/org/jabref/gui/openoffice/AdvancedCiteDialog.java
Java
mit
3,726
// // GuidExtensions.cs // // Author: // Craig Fowler <craig@csf-dev.com> // // Copyright (c) 2015 CSF Software Limited // // 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 res...
csf-dev/CSF.Core
CSF/GuidExtensions.cs
C#
mit
6,175
<?php /** * Content wrappers * * This template can be overridden by copying it to yourtheme/woocommerce/global/wrapper-start.php. * * HOWEVER, on occasion WooCommerce will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibili...
srjwebster/doubletrouble
woocommerce/global/wrapper-start.php
PHP
mit
1,773
//****************************************************************************************************** // App.xaml.cs - Gbtc // // Copyright © 2010, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See // the NO...
GridProtectionAlliance/openPDC
Source/Applications/openPDCManager/Silverlight/App.xaml.cs
C#
mit
4,907
# Apollo REST Data Source This package exports a ([`RESTDataSource`](https://github.com/apollographql/apollo-server/tree/main/packages/apollo-datasource-rest)) class which is used for fetching data from a REST API and exposing it via GraphQL within Apollo Server. ## Documentation View the [Apollo Server documentatio...
apollostack/apollo-server
packages/apollo-datasource-rest/README.md
Markdown
mit
6,232
package com.ricex.aft.android.request; import org.springframework.http.HttpStatus; public class AFTResponse<T> { /** The successful response from the server */ private final T response; /** The error response from the server */ private final String error; /** The HttpStatus code of the response */ private...
mwcaisse/AndroidFT
aft-android/src/main/java/com/ricex/aft/android/request/AFTResponse.java
Java
mit
1,925
<?php /** * Routes configuration * * In this file, you set up routes to your controllers and their actions. * Routes are very important mechanism that allows you to freely connect * different URLs to chosen controllers and their actions (functions). * * CakePHP(tm) : Rapid Development Framework (http://cakephp.o...
simkimsia/500-webapps
bookmarker/cake3_bookmarker/config/routes.php
PHP
mit
2,129
/* app/ui/map/svg */ define( [ 'jquery', 'raphael', 'app/ui/map/data', 'app/ui/map/util', 'util/detector', 'pubsub' ], function ($, Raphael, MapData, MapUtil, Detector) { 'use strict'; var SVG; return { nzte: {}, markers: [], exports: {}, countryText: {}, sets: {}, continent...
patocallaghan/questionnaire-js
original/assets/scripts/src/app/ui/map/svg.js
JavaScript
mit
9,939
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS | ------------------------------------------------------------------- | This file will contain the settings needed to access your database. | |...
khandroj/lampbelttest
application/config/database.php
PHP
mit
4,535
/*global module:false*/ module.exports = function(grunt) { // Project configuration. grunt.initConfig({ meta: { version: '2.0.0', banner: '/*! Ebla - v<%= meta.version %> - ' + '<%= grunt.template.today("yyyy-mm-dd") %>\n' + '* Copyright (c) <%= grunt.template.today("yyyy") %> ' + ...
monospaced/paperback
ebla/Gruntfile.js
JavaScript
mit
2,746
<?php // src/AppBundle/Entity/Blog.php namespace AppBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity * @ORM\Table(name="blog") */ class Blog { /** * @ORM\Column(type="integer") * @ORM\Id * @ORM\GeneratedValue(strategy="AUTO") */ protected $id; /** * @ORM\Column(...
codeglider/SymfonyShoeStoreDemo
src/AppBundle/Entity/Blog.php
PHP
mit
1,238
import {Chart} from 'react-google-charts'; import React, {Component, PropTypes} from 'react'; import DataFormatter from '../../utils/DataFormatter'; class EnvyBarChart extends Component { constructor(props) { super(props); this.state={ options:{ hAxis: {title: 'Event Type'}, vAxis: {title: 'Envy Events...
papernotes/actemotion
src/components/charts/EnvyBarChart.js
JavaScript
mit
828
using ApiAiSDK.Model; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Connector; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using UPT.BOT.Aplicacion.DTOs.BOT; using UPT.BOT.Distribucion.Bot.Acceso.Documento; namespace UPT.BOT.Distribucion.Bot.BotService.D...
williamccondori/UPT.BOT
UPT.BOT.Distribucion.Bot.BotService/Dialogos/Documento/BoletinDialog.cs
C#
mit
2,032
"use strict"; let mongoose = require('mongoose'), Schema = mongoose.Schema, EmailValidator = require('./emailValidator'); class User { constructor(explicitConnection) { this.explicitConnection = explicitConnection; this.schema = new Schema({ email: { type: 'string', trim:...
koneksys/KLD
api/model/user.js
JavaScript
mit
1,603
package cn.edu.ustc.appseed.clubseed.activity; /* * Show the detail content of the event which you select. * Why to use a custom toolbar instead of the default toolbar in ActionBarActivity? * Because the custom toolbar is very convenient to edit it and good to unify the GUI. */ import android.content.Intent; import ...
leerduo/ClubSeed
app/src/main/java/cn/edu/ustc/appseed/clubseed/activity/StarContentActivity.java
Java
mit
2,293
--- layout: post title: "Le Voyage" date: 2016-09-29 --- Premier avion : * LYS -> AMS * 1h40 de vol * Beaucoup de français dans l'avion * Une colation étonnante (cf image 1) * .. Bref un vol court et tranquile ![Figure](/Jankenpon/assets/posts/2016-09-29-le_voyage/image1.JPG) <figure> <figcaption>Image 1. Ce pot de ...
KevinBulme/Jankenpon
_posts/2016-09-29-le_voyage.md
Markdown
mit
1,536
package com.smbc.droid; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.support.v4.view.ViewPager; import android.view.Menu; import android.view.MenuItem; import android.view.View; import com.android.volley.toolbox.NetworkImageView; public class MainActivity extends FragmentA...
nindalf/smbc-droid
app/src/main/java/com/smbc/droid/MainActivity.java
Java
mit
1,709
#pragma once #include "Task.h" namespace vlp { class WaitTask : public Task { public: void run(Engine& engine) override; }; }
jenningsm42/vulpan
vulpan/include/WaitTask.h
C
mit
131
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace image_viewer { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static voi...
rjclaasen/image-viewer
Program.cs
C#
mit
517
using System; using OKHOSTING.UI.Controls; using OKHOSTING.UI.Controls.Layouts; using OKHOSTING.UI.Xamarin.Mac.Controls; using OKHOSTING.UI.Xamarin.Mac.Controls.Layout; namespace OKHOSTING.UI.Xamarin.Mac { public class Platform { public override T Create<T>() { T control = null; if (typeof(T) == typeof(I...
okhosting/OKHOSTING.UI
src/Xamarin/OKHOSTING.UI.Xamarin.Mac/Platform.cs
C#
mit
5,381
<!DOCTYPE html><html><head><meta charset="utf-8" /> <meta http-equiv="refresh" content="0;url=/place/togo/health/" /> </head></html>
okfn/opendataindex-2015
country/overview/Togo/health/index.html
HTML
mit
132
MIT License Copyright (c) 2016 Dan Guevarra 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, merge, publish, dist...
dngv/JCAPOrbisAlign
LICENSE.md
Markdown
mit
1,069
module.export = { };
Force-Wj/chat-demo
src/base/util.js
JavaScript
mit
22
(function (ns) { // dependencies var assert = require('assert'); var esgraph = require('esgraph'); var worklist = require('analyses'); var common = require("../../base/common.js"); var Context = require("../../base/context.js"); var Base = require("../../base/index.js"); var codegen = r...
xml3d/shade.js
src/analyze/typeinference/typeinference.js
JavaScript
mit
8,226
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>plugin_mmasgis: Class Members - Variables</title> <link href="tabs.css"...
arpho/mmasgis5
DocumentazioneSoftware/html/functions_vars_0x77.html
HTML
mit
7,913
# Angular2-Notifications-Lite A light and easy to use notifications library for Angular 2 & 4. It features both regular page notifications (toasts) and push notifications. Forked From [Angular2-Notifications](http://flauc.github.io/angular2-notifications) Updates: Compatible with Angular 2 & Angular 4. Removed an...
shibulijack/angular2-notifications-lite
README.md
Markdown
mit
657
package lab; public class IntArrayWorker { /** two dimensional matrix */ private int[][] matrix = null; /** set the matrix to the passed one * @param theMatrix the one to use */ public void setMatrix(int[][] theMatrix) { matrix = theMatrix; } /** * Method to return the ...
Zedai/APCOMSCI
ApComSci/pictures_lab/lab/IntArrayWorker.java
Java
mit
2,755
# Contributing **Mule** is open source software; contributions from the community are encouraged. Please take a moment to read these guidelines before submitting changes. ### Code style All PHP code must adhere to the [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) ...
IcecaveLabs/mule
CONTRIBUTING.md
Markdown
mit
1,110
<meta charset="utf-8"> <title>{% if page.title %}{{ page.title }} &#8211; {% endif %}{{ site.title }}</title> <meta name="description" content="{{ page.description }}"> <meta name="keywords" content="{{ page.tags | join: ', ' }}"> <meta property="og:locale" content="en_US"> <meta property="og:title" content="{% if pa...
sum37/es6aday.github.io
_includes/head-dark.html
HTML
mit
4,260
#include <bits/stdc++.h> using namespace std; vector<int> adj[143]; int n; bool seen[143]; int dfs(int u) { seen[u] = true; int result = 0; for (int v: adj[u]) if (!seen[v]) result += dfs(v) + 1; return result; } int main() { ios_base::sync_with_stdio(0);cin.tie(0); whil...
arash16/prays
UVA/vol-109/10926.cpp
C++
mit
815
<?php namespace SergeiK\izVladimiraBundle\Admin; use Sonata\AdminBundle\Admin\Admin; use Sonata\AdminBundle\Datagrid\DatagridMapper; use Sonata\AdminBundle\Datagrid\ListMapper; use Sonata\AdminBundle\Form\FormMapper; use Sonata\AdminBundle\Show\ShowMapper; class CarAdmin extends Admin { /** * @param Datagri...
SergeiKutanov/izvladimira
src/SergeiK/izVladimiraBundle/Admin/CarAdmin.php
PHP
mit
3,503
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; using System.Text; namespace NAudio.Lame { /// <summary> /// Decoder for ID3v2 tags /// </summary> public static class ID3Decoder { /// <summary> /// Read an ID3v2 Tag f...
Corey-M/NAudio.Lame
NAudio.Lame/ID3Decoder.cs
C#
mit
17,597
// // CORTransparentViewController.h // CORKit // // Created by Seiya Sasaki on 2014/02/20. // Copyright (c) 2014年 Seiya Sasaki. All rights reserved. // #import <UIKit/UIKit.h> typedef void (^CORTransparentPresentCompletion)(); @interface CORTransparentViewController : UIViewController - (void)presentTransparen...
seiyavw/CORKit
CORKit/Extension/CORTransparentViewController.h
C
mit
579
module Daemontools VERSION = "0.1.3" end
vladimirich/daemontools
lib/daemontools/version.rb
Ruby
mit
43
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {ListRange} from '@angular/cdk/collections'; import { ChangeDetectionStrategy, ChangeDetectorRef, Compon...
amcdnl/material2
src/cdk-experimental/scrolling/virtual-scroll-viewport.ts
TypeScript
mit
12,339
module Devise module Hooks # A small warden proxy so we can remember, forget and # sign out users from hooks. class Proxy #:nodoc: include Devise::Controllers::Rememberable include Devise::Controllers::SignInOut attr_reader :warden delegate :cookies, :env, :to => :warden de...
QARIO/dochive
vendor/bundle/gems/devise-3.2.3/lib/devise/hooks/proxy.rb
Ruby
mit
454
import array import numbers real_types = [numbers.Real] int_types = [numbers.Integral] iterable_types = [set, list, tuple, array.array] try: import numpy except ImportError: pass else: real_types.extend([numpy.float32, numpy.float64]) int_types.extend([numpy.int32, numpy.int64]) iterable_types.app...
DailyActie/Surrogate-Model
01-codes/OpenMDAO-Framework-dev/openmdao.util/src/openmdao/util/typegroups.py
Python
mit
558
<head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width initial-scale=1" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title> <meta name="description" content="{{ site.description }}"...
codeforamerica/atlanta-procurement-www
_includes/head.html
HTML
mit
718
import React, { Component, PropTypes } from 'react'; import { connect } from 'react-redux'; import moment from 'moment'; import { toggleSelect } from '../actions/users'; import { createLink } from '../../utils'; class User extends Component { render() { const profile_image_url_https = this.props.user.profile_im...
sunya9/follow-manager
src/containers/User.js
JavaScript
mit
5,320
<?php /** * This file is part of the PPI Framework. * * @copyright Copyright (c) 2011-2013 Paul Dragoonis <paul@ppi.io> * @license http://opensource.org/licenses/mit-license.php MIT * @link http://www.ppi.io */ namespace PPICacheModule\Cache\Driver; use PPICacheModule\Cache\CacheInterface; /** * Mem...
ppi/cache
Cache/Driver/MemoryCache.php
PHP
mit
1,925
/*** * Textile parser for JavaScript * * Copyright (c) 2012 Borgar Þorsteinsson (MIT License). * */ /*jshint laxcomma:true laxbreak:true eqnull:true loopfunc:true sub:true */ ;(function(){ "use strict"; /*** * Regular Expression helper methods * * This provides the `re` object, which contain...
muffinmad/atom-textile-preview
lib/textile.js
JavaScript
mit
45,902
/** * Style for forms */ label { font-size: smaller; } input[type=text], input[type=password] { font-size: 1.2em; width: 300px; } input[type=submit], input[type=reset] { font-size: 1.2em; } textarea { font-size: 1.2em; width: 300px; min-height: 200px; } p.buttons { padding-top: 22px; padding-bot...
roka13/wgtotw
webroot/css/form.css
CSS
mit
705
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="HandheldFriendly" content="True" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>バンガロール滞在日誌みたいな</title> <meta name="description" con...
stay-india/stay-india.github.io
tag/hotel/index.html
HTML
mit
7,170
package com.smartbit8.laravelstorm.run; import com.intellij.execution.ExecutionException; import com.intellij.execution.Executor; import com.intellij.execution.configurations.*; import com.intellij.execution.process.*; import com.intellij.execution.runners.ExecutionEnvironment; import com.intellij.ide.browsers.*; impo...
3mmarg97/LaravelStorm
src/com/smartbit8/laravelstorm/run/LaravelRunConf.java
Java
mit
6,140
# WiseFriend User (mentee) can create an account User can log in When creating account, user will fill out profile and answer questions to be matched User can browse a list of resources After being matched - user can fill out surveys once per month in order to assess the quality of the match. Mentor can create an acc...
RonuGhoshal/WiseFriend
README.md
Markdown
mit
1,289
# Read about factories at https://github.com/thoughtbot/factory_girl FactoryGirl.define do factory :question do sq_no '2' query 'What is Ruby?' question_type "Hard" association :level association :content after(:build) do |question| FactoryGirl.create(:correct, :question => question) ...
techvision/brails
spec/factories/questions.rb
Ruby
mit
411