code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
//--------------------------------------------------------------------------------------------------------------------- // <copyright company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //---------------------------------------------------------------------------------...
too4words/Call-Graph-Builder-DotNet
CodeGraphModel/Symbol.cs
C#
mit
1,852
// Compiled by ClojureScript 1.7.170 {} goog.provide('figwheel.client.file_reloading'); goog.require('cljs.core'); goog.require('goog.string'); goog.require('goog.Uri'); goog.require('goog.net.jsloader'); goog.require('cljs.core.async'); goog.require('goog.object'); goog.require('clojure.set'); goog.require('clojure.st...
imaximix/om-tutorials
resources/public/js/compiled/out/figwheel/client/file_reloading.js
JavaScript
mit
99,819
export default class State { constructor($rootScope) { this.$rootScope = $rootScope; this.state = []; } setData(data) { console.log('state set data', data) this.state = data; this.$rootScope.$apply(); } getData() { //console.log('state get data', s...
vanzylv/youtube-dl-gui-v2
scripts/services/downloadState.js
JavaScript
mit
361
<?php /** * This file is part of the BootstrapBundle project. * * (c) 2013 Philipp Boes <mostgreedy@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace P2\Bundle\BootstrapBundle\Form\Extension; /** * Class FormT...
phillies2k/bootstrap-bundle
Form/Extension/FormTypeExtension.php
PHP
mit
558
#encoding:UTF-8 # ISS017 - Character Improve 1.1 #==============================================================================# # ** ISS - Character Improve #==============================================================================# # ** Date Created : 08/04/2011 # ** Date Modified : 08/10/2011 # ** Created By ...
Archeia/Kread-Ex-Scripts
IceDragon2000/lib/iss/017_character_improve.rb
Ruby
mit
2,756
function* generatorFn() { yield 'foo'; yield 'bar'; return 'baz'; } let generatorObject1 = generatorFn(); let generatorObject2 = generatorFn(); console.log(generatorObject1.next()); // { done: false, value: 'foo' } console.log(generatorObject2.next()); // { done: false, value: 'foo' } console.log(generator...
msfrisbie/pjwd-src
Chapter7IteratorsAndGenerators/Generators/InterruptingExecutionWithYield/InterruptingExecutionWithYieldExample03.js
JavaScript
mit
472
<?xml version="1.0" ?><!DOCTYPE TS><TS language="vi_VN" 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...
bitcoin-lite/BitcoinLite
src/qt/locale/bitcoin_vi_VN.ts
TypeScript
mit
107,042
// var isWaiting = false; // var isRunning = false; // var seconds = 10; // var countdownTimer; // var finalCountdown = false; function GameTimer(game) { this.seconds = game.timelimit; this.secondPassed = function() { if (this.seconds === 0 && !game.gameOver) { game.endGame(); } else if (!game.gameOver) { ...
alanflorendo/syllabgl
public/js/timer.js
JavaScript
mit
457
package uk.gov.prototype.vitruvius.parser.validator; import java.util.List; public class ValidationMessage { private String message; private ValidationType type; public ValidationMessage() { } public ValidationMessage(String message, ValidationType type) { this.message = message; ...
alphagov/vitruvius
vitruvius.markdown/src/main/java/uk/gov/prototype/vitruvius/parser/validator/ValidationMessage.java
Java
mit
1,327
/* global Cervus */ const material = new Cervus.materials.PhongMaterial({ requires: [ Cervus.components.Render, Cervus.components.Transform ], texture: Cervus.core.image_loader('../textures/4.png'), normal_map: Cervus.core.image_loader('../textures/normal2.jpg') }); const phong_material = new Cervus.ma...
michalbe/cervus
_example/5/game.js
JavaScript
mit
1,969
#!/usr/bin/env python import pygame pygame.display.init() pygame.font.init() modes_list = pygame.display.list_modes() #screen = pygame.display.set_mode(modes_list[0], pygame.FULLSCREEN) # the highest resolution with fullscreen screen = pygame.display.set_mode(modes_list[-1]) # the lowest resolu...
jeremiedecock/snippets
python/pygame/hello_text.py
Python
mit
882
/* Zepto v1.1.4 - zepto event ajax form ie - zeptojs.com/license */ var Zepto = (function() { var undefined, key, $, classList, emptyArray = [], slice = emptyArray.slice, filter = emptyArray.filter, document = window.document, elementDisplay = {}, classCache = {}, cssNumber = { 'column-count': 1, 'column...
picacure/_sandBox
photoGallery/flux/js/zepto.js
JavaScript
mit
62,392
const SELECTOR_BOOK_IMAGE = '#default > div > div > div > div > section > div:nth-child(2) > ol > li:nth-child(1) > article > div.image_container > a > img'; const puppeteer = require('puppeteer'); let scrapeSite1 = async (browser) => { const page = await browser.newPage(); await page.goto('http://books.toscrape.c...
yogendra/yogendra.me
source/_posts/2017/10/28/puppeteer-no-strings-attached/scrape-multi.js
JavaScript
mit
1,035
<?php class Symfony2EpamCi_Sniffs_Functions_DisallowedFunctionsSniff implements PHP_CodeSniffer_Sniff { private static $disallowedFunctionNames = array( 'var_dump', 'print_r', 'var_export', 'trigger_error', 'header', 'fastcgi_finish_request', 'xdebug_debug_zv...
epam-php-solutions/EpamCiBundle
Resources/configs/phpcs/Standards/Symfony2EpamCi/Sniffs/Functions/DisallowedFunctionsSniff.php
PHP
mit
1,954
using System; using System.Globalization; using System.IO; using System.Windows.Data; namespace MailUI.Converters { [ValueConversion(typeof(DirectoryInfo), typeof(FileInfo[]))] public class FilesInDirectoryConverter : IValueConverter { public object Convert(object value, Type targetType, object pa...
ALEX-ANV/GSMail
MailUI/Converters/FilesInDirectoryConverter.cs
C#
mit
795
<?php namespace GS\UsuarioBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Lecturaconproposito * * @ORM\Table(name="lecturaconproposito", indexes={@ORM\Index(name="bibliografia_lecturaConProposito_idx", columns={"bibliografia"})}) * @ORM\Entity */ class Lecturaconproposito { /** * @var string ...
mdoviedor/WEBsimon
src/GS/UsuarioBundle/Entity/Lecturaconproposito.php
PHP
mit
8,898
class SessionsController < ApplicationController def new end def create user = User.find_by(email: params[:session][:email]) if user && user.authenticate(params[:session][:password]) log_in(user) redirect_to user else render :new end end def destroy log_out redire...
WuJoo/simple-blog
app/controllers/sessions_controller.rb
Ruby
mit
345
package com.longluo.demo.widget.swipelistview; import android.content.Context; import android.content.res.TypedArray; import android.database.DataSetObserver; import android.support.v4.view.MotionEventCompat; import android.support.v4.view.ViewConfigurationCompat; import android.util.AttributeSet; import android.view....
longluo/AndroidDemo
app/src/main/java/com/longluo/demo/widget/swipelistview/SwipeListView.java
Java
mit
20,482
<?php declare(strict_types=1); namespace DiContainerBenchmarks\Fixture\C; class FixtureC846 { public function __construct(FixtureC845 $dependency) { } }
kocsismate/php-di-container-benchmarks
src/Fixture/C/FixtureC846.php
PHP
mit
168
var five = require("../lib/johnny-five.js"); var board = new five.Board(); board.on("ready", function() { var gyro = new five.Gyroscope({ pins: ["I0", "I1"], freq: 200, extent: 4 }); gyro.on("acceleration", function(data) { console.log(data.position); }); });
januszhou/pi
node_modules/johnny-five/eg/tinkerkit-imu-gyro-accel.js
JavaScript
mit
286
// "horizontalaxis" : { // "id" : STRING, "type" : DATATYPE(number), "length" : RELLEN(1.0), "base" : POINT(-1,1), "anchor" : DOUBLE(-1), "position" : POINT(0,0), // "min" : DATAVALUEORAUTO(auto), "max" : DATAVALUEORAUTO(auto), "minposition" : RELPOS(-1.0), "maxposition" : RELPOS(1.0), "color" : COLOR(black), "...
multigraph/js-multigraph
src/parser/json/axis.js
JavaScript
mit
10,515
namespace Todo.ViewModel { public sealed class NewTodoItem { public string Text { get; set; } } }
spicydog/Todo-app-sample
src/Todo/ViewModel/NewTodoItem.cs
C#
mit
120
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $lang = array( 'img_module_name' => 'Img', 'img_module_description' => 'PHPImageWorkshop for EE', 'module_home' => 'Img Home', // Start inserting custom language keys/values here ); /* End of file lang.img.php */ /* Location: /s...
bjornbjorn/img.ee_addon
system/expressionengine/third_party/img/language/english/lang.img.php
PHP
mit
392
module WoopleTheme class Configuration attr_accessor :profile_helper, :menu_helper, :impersonation_banner_helper, :layout_javascript def profile_helper @profile_helper || :profile_helper end def menu_helper @menu_helper || :menu_helper end def impersonation_banner_helper @...
woople/woople-theme
lib/woople-theme/configuration.rb
Ruby
mit
553
export * from './about'; export * from './no-content'; export * from './home';
pschulzk/angular-webpack-starter
src/app/views/index.ts
TypeScript
mit
78
version https://git-lfs.github.com/spec/v1 oid sha256:d5b913ad3304fa791ac6c6064dcecf37b157290bb0e8292e76aee05bee6dc425 size 3752
yogeshsaroya/new-cdnjs
ajax/libs/reqwest/0.2.2/reqwest.min.js
JavaScript
mit
129
/** * Filtering sensitive information */ const _ = require('lodash'); /** * reset option * @param {string|object|array} opt filter option * @param {array} filterKeys filter keys * @param {string|function} replaceChat replace chat or function * @param {boolean} recursion whether recursive , true of false */ c...
baijijs/logger
lib/filter.js
JavaScript
mit
3,846
package com.github.pineasaurusrex.inference_engine; import java.util.HashMap; /** * Partially or fully assigned model * A model represents a possible representation of the propositional symbol states in the KB */ public class Model { private HashMap<PropositionalSymbol, Boolean> symbolValues = new HashMap<>();...
pineasaurusrex/inference-engine
src/com/github/pineasaurusrex/inference_engine/Model.java
Java
mit
1,821
describe("The ot object has a forEach method, which allows you: ", function () { it("To iterate over an array", function () { var array = [1, 2, 4, 8, 16]; var sum = 0; var sumIndex = 0; ot.forEach(array, function (value, index) { sum += value; sumIndex += i...
rodyhaddad/objectTools.js
tests/specs/forEach.js
JavaScript
mit
1,933
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CycleCycleCycle.Services { public interface IRideService { bool Create(int accountId, int routeId, DateTime dateRidden, int? hours, int? minutes, int? seconds); } }
JamesRandall/CycleCycleCycle.com
CycleCycleCycle/Services/IRideService.cs
C#
mit
285
<?php /** * [PHPFOX_HEADER] */ defined('PHPFOX') or exit('NO DICE!'); /** * * * @copyright [PHPFOX_COPYRIGHT] * @author Raymond Benc * @package Module_Mail * @version $Id: index.class.php 4378 2012-06-27 08:44:47Z Raymond_Benc $ */ class Mail_Component_Controller_Index extends Phpfox_Component { /*...
edbiler/BazaarCorner
module/mail/include/component/controller/index.class.php
PHP
mit
11,278
<?php namespace Vin\FrontOfficeBundle\Entity; use Doctrine\ORM\EntityRepository; /** * MessageRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class MessageRepository extends EntityRepository { public function countMessages() { $quer...
chhoulet/vin.com
src/Vin/FrontOfficeBundle/Entity/MessageRepository.php
PHP
mit
508
<?php class kml_Overlay extends kml_Feature { protected $tagName = 'Overlay'; var $color; var $drawOrder; var $Icon; /* Constructor */ function kml_Overlay() { parent::kml_Feature(); } /* Assignments */ function set_color($color) { $this->color = $color; } function...
lifelink1987/old.life-link.org
libs/php-kml/kml_Overlay.php
PHP
mit
908
require "importeer_plan/version" require 'importeer_plan/configuration' module ImporteerPlan class Importeer attr_accessor :path, :name, :dir, :size_batch, :sep, :initial, :options #call importeer("filename") to import the file in batches of 1000, optional importeer("filename", size_) def initialize(n...
l-plan/importeer_plan
lib/importeer_plan.rb
Ruby
mit
1,598
from collections import namedtuple Resolution = namedtuple('Resolution', ['x', 'y']) class Resolutions(object): resolutions = [ (1920, 1200), (1920, 1080), (1680, 1050), (1440, 900), (1360, 768), (1280, 800), (1024, 640) ] @classmethod ...
cessor/gameoflife
config.py
Python
mit
2,820
using System.Diagnostics; namespace AdventOfCode.Day07.SignalProviders { [DebuggerDisplay("{DebuggerDisplay}")] public class Wire : SignalProvider { #region | Properties & fields private readonly Circut _parentCircut; private readonly string _rawProvider; public string ID...
vatioz/AdventOfCode
AdventOfCode/Day07/SignalProviders/Wire.cs
C#
mit
1,265
<?php namespace Craft\UserBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; class CraftUserBundle extends Bundle { }
rickogden/craftbeeruk
src/Craft/UserBundle/CraftUserBundle.php
PHP
mit
126
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class TestModel extends CI_Model { public function popular_merchants(){ //include total reviews, sum of reviews, mp_id, unit, building, street, city name, region name, merchant name, merchant image, date and time of application approval, sub cat...
shiranui03/-_-
application/models/TestModel.php
PHP
mit
3,940
/* * Copyright (c) 2013 Triforce - in association with the University of Pretoria and Epi-Use <Advance/> * * 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...
jwfwessels/AFK
src/afk/ge/tokyo/ems/nodes/LifeNode.java
Java
mit
1,391
import * as types from '../actions/types'; const search = (state = [], action) => { switch(action.type) { case types.SEARCH_INPUT_SUCCESS: return action.data; case types.SEARCH_INPUT_FAILED: return action.error.message; default: return state; } }; ex...
communicode-source/communicode
app/reducers/search.js
JavaScript
mit
341
using System; using System.Collections.Generic; using System.Text; namespace Light.Data.Mysql.Test { class BaseFieldSelectModelNull { #region "Data Property" private int id; /// <summary> /// Id /// </summary> /// <value></value> public int Id { ...
aquilahkj/Light.Data2
test/Light.Data.Mysql.Test/Model/BaseFieldSelectModelNull.cs
C#
mit
6,702
<?php namespace Youshido\CommentsBundle; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\HttpKernel\Bundle\Bundle; use Youshido\CommentsBundle\DependencyInjection\CompilerPass\CommentsCompilerPass; /** * Class CommentsBundle */ class CommentsBundle extends Bundle { /** * ...
Youshido/CommentsBundle
CommentsBundle.php
PHP
mit
533
#include <stdio.h> #include <set> #include <utility> #include <vector> using namespace std; const int MAXN = 1e+2; int n, x0, y0; typedef pair<int, int> point; set<point> s; int cross(int x0, int y0, const point &a, const point &b) { return (a.first - x0) * (b.second - y0) - (a.second - y0) * (b.first - x0); ...
aLagoG/kygerand
and/semana_i2018/dia_3/han_solo_lazer_gun.cpp
C++
mit
967
// 1000. 连通性问题 #include <iostream> using namespace std; int unionFind[100001]; int find(int val) { if (val == unionFind[val]) return val; unionFind[val] = find(unionFind[val]); return unionFind[val]; } int main() { int a, b; for (int i = 0; i < 100001; i++) { unionFind[i] = i; } while (cin >> a >> ...
MegaShow/college-programming
Homework/Data Structures and Algorithms/GJR/5 Weightd Graph Algorithms/1000.cpp
C++
mit
461
<?php class ProvinceModel extends CI_Model { function __construct() { parent::__construct(); } /** * 插入数据 * @param $insertRows * @return mixed */ function insert_entry($insertRows) { foreach ($insertRows as $key => $val) { $this->$key = $v...
onlySun/daxue
application/models/provinceModel.php
PHP
mit
1,537
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fa" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About KCz</source> <translation>در مورد KCz</translation> </message> ...
bitcommoditiz/Coffeez-KCz
src/qt/locale/bitcoin_fa.ts
TypeScript
mit
118,770
<?php namespace APP\AppBundle\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use APP\AppBundle\Entity\Cliente; use APP\AppBundle\Form\ClienteType; /** * Cliente controller. * */ class ClienteController extends Controller { /** * Lists ...
alegperea/cmsgabriel
src/APP/AppBundle/Controller/ClienteController.php
PHP
mit
6,482
require "presigner/version" require 'aws-sdk-v1' class Presigner DEFAULT_DURATION = 60 * 30 def initialize(options) @bucket = options[:bucket] @key = options[:key] @duration = options[:duration] || DEFAULT_DURATION @region = options[:region] || "us-east-1" @base = Time.now.to_i end attr...
masaomoc/presigner
lib/presigner.rb
Ruby
mit
1,127
# frozen_string_literal: true require "administrate/base_dashboard" module Eve class StationDashboard < Administrate::BaseDashboard ATTRIBUTE_TYPES = { id: Field::Number, station_id: Field::Number, name: Field::String, system: Field::BelongsTo.with_options(class_name: "Eve::System"), ...
biow0lf/evemonk
app/dashboards/eve/station_dashboard.rb
Ruby
mit
1,362
declare namespace jdk { namespace nashorn { namespace api { namespace tree { interface ModuleTree extends jdk.nashorn.api.tree.Tree { getImportEntries(): java.util.List<jdk.nashorn.api.tree.ImportEntryTree> getLocalExportEntries(): java.util.List<jdk.nashorn.api.tree.ExportEntry...
wizawu/1c
@types/jdk/jdk.nashorn.api.tree.ModuleTree.d.ts
TypeScript
mit
535
<?php namespace GL\ProtocolloBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; class GLProtocolloBundle extends Bundle { }
lucagtc/protocollo
src/GL/ProtocolloBundle/GLProtocolloBundle.php
PHP
mit
132
/** * Created by lee on 10/13/17. */ import React, { Component } from 'react'; export default class PlacesItem extends Component { constructor(props) { super(props); this.config = this.config.bind(this); this.rateStars = this.rateStars.bind(this); this.startBounce = this.startB...
LEEwith/google-map-react
src/components/places_item.js
JavaScript
mit
1,854
class Solution(object): def missingNumber(self, nums): """ :type nums: List[int] :rtype: int """ xor = len(nums) for i, n in enumerate(nums): xor ^= n xor ^= i return xor inputs = [ [0], [1], [3,0,1], [9,6,4,2,3,5,7,0...
daicang/Leetcode-solutions
268-missing-number.py
Python
mit
388
<?php namespace spec\Genesis\API\Constants\Transaction; use PhpSpec\ObjectBehavior; use Prophecy\Argument; class StatesSpec extends ObjectBehavior { function it_is_initializable() { $this->shouldHaveType('Genesis\API\Constants\Transaction\States'); } }
dev018/testrepo
spec/Genesis/API/Constants/Transaction/StatesSpec.php
PHP
mit
276
// ----------------------------------------------------------------------- // <copyright file="ViewModel.cs" company="Screenmedia"> // Copyright (c) Screenmedia 2018. All rights reserved. // </copyright> // ----------------------------------------------------------------------- namespace VanillaSample.Core.View...
Screenmedia/Plugin.Vanilla
samples/VanillaSample/VanillaSample.Core/ViewModels/ViewModel.cs
C#
mit
759
module Goaltender end require "goaltender/version" require "goaltender/base_module" require 'goaltender/value_parser' require 'goaltender/input' require 'goaltender/base'
francirp/goaltender
lib/goaltender.rb
Ruby
mit
172
package com.sms4blood.emergencyhealthservices.util; import android.content.Intent; import android.location.Location; import android.net.Uri; import android.os.Bundle; import android.text.TextUtils; import android.widget.Toast; import com.sms4blood.emergencyhealthservices.Sms; import com.sms4blood.emergencyhealthservi...
VishnuPrabhu/EHS
app/src/main/java/com/sms4blood/emergencyhealthservices/util/AppUtil.java
Java
mit
5,042
<?php namespace App\FrontModule; use App\AppModule\ErrorPresenter as Presenter; class ErrorPresenter extends Presenter { }
castamir/MPR-projekt
app/modules/Front/presenters/ErrorPresenter.php
PHP
mit
129
package miwax.java_conf.gr.jp.frugalitycalc.view; import android.app.AlertDialog; import android.databinding.DataBindingUtil; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import miwax.java_conf.gr.jp.frugalitycalc.R; import miwax.java_conf.gr.jp.frugalitycalc.databinding.ActivityMainBind...
tomoya0x00/FrugalityCalc
app/src/main/java/miwax/java_conf/gr/jp/frugalitycalc/view/MainActivity.java
Java
mit
2,423
<?php namespace Manialib\Maniacode\Elements; class ViewReplay extends UrlDownload { protected $nodeName = 'view_replay'; }
manialib/maniacode
src/Manialib/Maniacode/Elements/ViewReplay.php
PHP
mit
127
import _plotly_utils.basevalidators class MinexponentValidator(_plotly_utils.basevalidators.NumberValidator): def __init__( self, plotly_name="minexponent", parent_name="choropleth.colorbar", **kwargs ): super(MinexponentValidator, self).__init__( plotly_name=plotly_name, ...
plotly/plotly.py
packages/python/plotly/plotly/validators/choropleth/colorbar/_minexponent.py
Python
mit
477
namespace VoiceWall.Web.ViewModels.Search { using System.ComponentModel.DataAnnotations; public class SearchViewModel { [Required] [MinLength(2, ErrorMessage="Search text must be at least 2 characters")] [DataType(DataType.Text)] public string SearchText { get; set; } }...
dzhenko/VoiceWall
src/Web/VoiceWall.Web/ViewModels/Search/SearchViewModel.cs
C#
mit
324
using SharpDX; using SharpDX.Direct3D11; using System; using System.Runtime.InteropServices; using System.Windows; using System.Xml; using System.IO; using System.Reflection; namespace Profiler.DirectX { public class TextManager : IDisposable { [StructLayout(LayoutKind.Sequential)] ...
galek/brofiler
Brofiler/DirectX/TextManager.cs
C#
mit
9,431
#include <iostream> #include <string> using namespace std; int main(){ int n; string experiment; for(cin>>n; n>0; n--){ cin >> experiment; if (experiment.size() < 3) cout << '+' << endl; else{ string s = experiment.substr(experiment.size()-2, 2); string saux; if(s == "35") cout << '...
DVRodri8/Competitive-programs
OnlineJudgeUVa/C++/100-9999/621 - Secret Research/main.cpp
C++
mit
626
import urllib import urllib2 from bs4 import BeautifulSoup textToSearch = 'gorillaz' query = urllib.quote(textToSearch) url = "https://www.youtube.com/results?search_query=" + query response = urllib2.urlopen(url) html = response.read() soup = BeautifulSoup(html) for vid in soup.findAll(attrs={'class':'yt-uix-tile-lin...
arbakker/yt-daemon
search_yt.py
Python
mit
380
"use strict" var o = require("../../ospec/ospec") var callAsync = require("../../test-utils/callAsync") var browserMock = require("../../test-utils/browserMock") var m = require("../../render/hyperscript") var callAsync = require("../../test-utils/callAsync") var coreRenderer = require("../../render/render") var apiR...
jsguy/slides
resource/mithril.js-rewrite/api/tests/test-router.js
JavaScript
mit
26,809
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: > Math.sqrt, recommended that implementations use the approximation algorithms for IEEE 754 arithmetic contained in fdlibm es5id: 15.8.2.17_A6 description: > Check...
PiotrDabkowski/Js2Py
tests/test_cases/built-ins/Math/sqrt/S15.8.2.17_A6.js
JavaScript
mit
4,964
/////////////////////////////////////////////////////////////// // This is generated code. ////////////////////////////////////////////////////////////// // Code is generated using LLBLGen Pro version: 4.2 // Code is generated on: // Code is generated using templates: SD.TemplateBindings.SharedTemplates // Templates...
net-industry/llblgen-training
AdventureWorks.Dal/DatabaseGeneric/RelationClasses/WorkOrderRoutingRelations.cs
C#
mit
4,089
'use strict'; export interface IPrint extends ng.resource.IResource<IPrint> { printOptions: any; } export interface IPrintResource extends ng.resource.IResourceClass<IPrint> {} export class PrintResource { /* @ngInject */ public static Print($resource: ng.resource.IResourceService): IPrintResource { var ...
marksmall/mapuse
src/app/components/print/print.resource.ts
TypeScript
mit
424
<?php // :default:index.html.twig return array ( 'fe7793f' => array ( 0 => array ( 0 => '@bootstrap_css', 1 => '@fontawesome_css_be', 2 => '@YallaWebsiteBackendBundle/Resources/public/css/jquery-ui.css', 3 => '@YallaWebsiteBackendBundle/Resources/public/css/select2.min.css', ...
DevKhater/YallaWebSite
app/cache/dev/assetic/config/a/ae1b290dcfca1cdecd87a85bbe4b1164.php
PHP
mit
1,120
/** * JRakLibPlus is not affiliated with Jenkins Software LLC or RakNet. * This software is an enhanced port of RakLib https://github.com/PocketMine/RakLib. * This file is part of JRakLibPlus. * * JRakLibPlus is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General P...
MrGenga/BouncyBall
src/main/java/io/github/jython234/jraklibplus/protocol/raknet/NACKPacket.java
Java
mit
1,189
#if UNITY_EDITOR using UnityEngine; using UnityEditor; using System.IO; public class CreateAssetbundle : MonoBehaviour { [MenuItem("Fineness/Build AssetBundle From Select Resource")] static void SelectResourceAndBuildAB() { UnityEngine.Object[] selecteds = Selection.GetFiltered(typeof(UnityEngin...
firefishes/ShipDockU3D
Framework/Editer/AssetBundle/CreateAssetbundle.cs
C#
mit
3,193
'use strict'; var gulp = require('gulp'); var autoprefixer = require('jstransformer')(require('jstransformer-stylus')); var autoprefixer = require('autoprefixer-stylus'); var browserSync = require('browser-sync').create(); var changed = require('gulp-changed'); var concat = require('gulp-concat'); var cssbeautify = re...
cloud00/fast-front
gulpfile.js
JavaScript
mit
9,271
<?php namespace Lib\Router\Exception; class NotFoundException extends \Exception{}
nirnanaaa/ofwn
libs/Lib/Router/Exception/NotFoundException.php
PHP
mit
85
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Lab2A.Models.AccountViewModels { public class LoginViewModel { [Required] [EmailAddress] public string Email { get; set; } [R...
jongalloway/aspnetcore-workshop
Labs/Code/Lab2A/src/Lab2A/Models/AccountViewModels/LoginViewModel.cs
C#
mit
509
import Ember from 'ember'; import PaginatedScrollViewMixin from 'kowa/mixins/paginated-scroll-view'; var PaginatedScrollBox = Ember.View.extend(PaginatedScrollViewMixin); export default PaginatedScrollBox;
aymerick/kowa-client
app/views/paginated-scroll-box.js
JavaScript
mit
208
var assert = require('assert'); var listXf = require('./helpers/listXf'); var R = require('..'); describe('any', function() { var odd = function(n) {return n % 2 === 1;}; var T = function() {return true;}; var intoArray = R.into([]); it('returns true if any element satisfies the predicate', function...
megawac/ramda
test/any.js
JavaScript
mit
2,480
@extends('frontend.layouts.default') @section('content') <div class="breadcrumb-wrapper"> <div class="pattern-overlay"> <div class="container"> <div class="row"> <div class="col-lg-6 col-md-6 col-xs-12 col-sm-6"> <h2 class="title">Rece...
talha08/sust-society
resources/views/event.blade.php
PHP
mit
4,484
<?php namespace Kids\Controller; use Silex\Application; use Silex\ControllerProviderInterface; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Kids\Entity\Workshop; use Kids\Entity\Establishment; use Kids\Entity\PublicAge; use Kids\Entity\WorkshopCategory; use Kids\Ent...
AshvinPainiaye/simplon-kids
src/Controller/WorkshopController.php
PHP
mit
8,315
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AuthorizeNet.Api.Contracts.V1; using AuthorizeNet.Api.Controllers; using AuthorizeNet.Api.Controllers.Bases; namespace net.authorize.sample { public class GetAccountUpdaterJobSummary { ...
AuthorizeNet/sample-code-csharp
TransactionReporting/GetAccountUpdaterJobSummary.cs
C#
mit
2,682
import {Vec3f} from "./Vec3f"; import {Quaternion} from "./Quaternion"; import {MathUtils} from "./MathUtils"; import {Vec4f} from "./Vec4f"; /** * Created by r3f on 7/1/2016. */ export class Mat4f{ // Matrix row & column values as in i,j m:Float32Array; /* * Constructor Mat4f() * @info: Rows ...
01alchemist/ParallelPathTracerJS
src/parallelpath/util/math/Mat4f.ts
TypeScript
mit
11,955
module.exports = function (options, suite, test, expect, teardown) { require('./integration.expressions')(options, suite, test, expect, teardown); suite('tribe.storage.integration.' + options.type, function () { var storage = require('tribe.storage'), db; test("basic store and ret...
danderson00/tribe.storage
tests/integration.js
JavaScript
mit
10,388
using System; using App.Common.Extensions; namespace App.Core.Elements { /// <summary> /// Класс для описания списка заявлений по оплате по типам служб. /// </summary> public class Declaration { /// <summary> /// Расчетный период. /// </summary> public string Settle...
Digiman/AzureBillingViewer
App.Core/Elements/Declaration.cs
C#
mit
5,760
/* * Copyright (C) 2013-2015 Uncharted Software Inc. * * Property of Uncharted(TM), formerly Oculus Info Inc. * http://uncharted.software/ * * Released under the MIT License. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (...
MjAbuz/influent
influent-server/src/main/java/influent/server/sql/SQLFrom.java
Java
mit
2,160
module TinyMVC class BaseModel attr_reader :id def initialize(options = {}) parameters = self.class.stored_parameters + [:id] parameters.each do |attr| instance_variable_set(:"@#{attr}", options[attr.to_s] || options[attr.to_sym]) end end def self.stored_parameters(*args) ...
DordovskyDmitry/tiny_mvc
lib/tiny_mvc/mvc/model/base_model.rb
Ruby
mit
1,309
<?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 ReturnCoin</source> <translation type="unfinished"/> </message> <message> <location ...
ReturnCoin/ReturnCoin
src/qt/locale/bitcoin_pt_PT.ts
TypeScript
mit
119,402
<?php namespace App\Entity; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; /** * Oeuvre. * * @ORM\Table(name="oeuvre") * @ORM\Entity(repositoryClass="App\Repository\OeuvreRepository") */ class Oeuvre { /** * @var int * ...
dmsr45/github_sf_media
src/Entity/Oeuvre.php
PHP
mit
11,190
<section> <body> <!-- Quick setting box starts --> <div class="quick-slide hidden-xs"></div> <div class="out-container"> <div class="outer"> <!-- Sidebar starts --> <!-- Sidebar ends --> <!-- Mainbar starts --> <div class="mainbar"> ...
Citlaa/LAY
application/views/denuncias/exito.php
PHP
mit
2,261
package builtins import ( "fmt" "net/mail" "net/url" "regexp" "strings" u "github.com/araddon/gou" "github.com/mssola/user_agent" "github.com/araddon/qlbridge/expr" "github.com/araddon/qlbridge/value" "github.com/araddon/qlbridge/vm" ) var _ = u.EMPTY // email a string, parses email and makes sure it is ...
araddon/qlbridge
expr/builtins/url_email.go
GO
mit
23,042
#include <QWebView> #include "helpdialog.h" /** * Constructor of Help Dialog */ HelpDialog::HelpDialog(QWidget *parent) : QWebPage(parent) { view = new QWebView(); } /** * Shows the help dialog */ void HelpDialog::showHelpDialog() { createWindow(QWebPage::WebModalDialog); view->setPage(this); ...
yannakisg/othello
helpdialog.cpp
C++
mit
489
"use strict"; var _slicedToArray = function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { var _arr = []; for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) { _arr.push(_step.value); if (i && _arr.length === i) break; } return _arr; } e...
nhusher/js-channels
dist/node/utils.js
JavaScript
mit
4,823
<?php namespace Wallabag\Bundle\CoreBundle\Entity; use Doctrine\Bundle\MongoDBBundle\Validator\Constraints\Unique; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\ORM\Mapping as ORM; use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB; use JMS\Serializer\Annotation\Expose; use JMS\Serialize...
sylvainlg/wallabag-v2-symfony
src/Wallabag/Bundle/CoreBundle/Entity/Entry.php
PHP
mit
5,803
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Web.Script.Serialization; ...
HansHuang/MusicFM
CommonHelperLibrary/WEB/HttpWebDealer.cs
C#
mit
9,283
// Endless Online Bot v0.0.1 #ifndef UTIL_HPP_INCLUDED #define UTIL_HPP_INCLUDED #include <math.h> #include <vector> #include <string> int path_length(int x1, int y1, int x2, int y2); std::vector<std::string> Args(std::string str); std::string Lowercase(std::string str); #endif // UTIL_HPP_INCLUDED
Jimmyee/Endless-Online-Bot
util.hpp
C++
mit
318
const mutations = { SET_ACTIVE_TAB(state, tab){ state.activeTab = tab; }, SET_DATA_ACTIVE_TAB(state, tab){ state.hubActiveTab = tab; }, SET_PROXY_STATE(state, proxy){ state.proxy_switch = proxy; }, SET_INIT_INFO(state, info){ _.extend(state, info); } }; export default mutations;
NSFA/ysfplatform
src/store/mutations.js
JavaScript
mit
313
# frozen_string_literal: true require "dis/jobs/delete" require "dis/jobs/store" require "dis/jobs/change_type"
elektronaut/dis
lib/dis/jobs.rb
Ruby
mit
113
<?php namespace AppBundle\Security\Core\User; use HWI\Bundle\OAuthBundle\OAuth\Response\UserResponseInterface; use HWI\Bundle\OAuthBundle\Security\Core\User\FOSUBUserProvider as BaseClass; use Symfony\Component\Security\Core\User\UserInterface; class FOSUBUserProvider extends BaseClass { /** * {@inheritDoc} ...
lahiiru/Quota
src/AppBundle/Security/Core/User/FOSUBUserProvider.php
PHP
mit
2,811
<?php namespace Db\User; use Core\Query; class GetUnconfirmedUsers extends Query { protected $id; protected function build() { $query = ' SELECT u.id, u.type, u.email, u.email_confirmed, u.email_confirmation_hash, u.account_confirmed, u.password, u.language, u.first_name...
dnl-jst/ownsocial
library/Db/User/GetUnconfirmedUsers.php
PHP
mit
606
// home page exports.index = function(req, res){ res.render('index', { title: 'B O X L A N D' }); };
Thomas-Elder/bo-xy
server/controllers/indexController.js
JavaScript
mit
102
'use strict'; /** * Module dependencies. */ var express = require('express'), mean = require('meanio'), consolidate = require('consolidate'), mongoStore = require('connect-mongo')(express), flash = require('connect-flash'), helpers = require('view-helpers'), config = require('./config'), ...
tmcelreath/meanCity
server/config/express.js
JavaScript
mit
5,758