repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
qqiangwu/fis3-hook-npm
README.md
3462
# fis3-hook-npm [![Build Status](https://travis-ci.org/qqiangwu/fis3-hook-npm.svg?branch=master)](https://travis-ci.org/qqiangwu/fis3-hook-npm) Modularity is a big problem in web development. Now we have a great compiler for our front-end code, how do we achieve modularity? + Firstly, we must have a modularity standa...
mit
neinteractiveliterature/larp_library
app/javascript/ProjectPromotions/mutations.generated.ts
5256
/* eslint-disable */ import * as Types from '../graphqlTypes.generated'; import { gql } from '@apollo/client'; import { ProjectPromotionFieldsFragmentDoc } from './queries.generated'; import * as Apollo from '@apollo/client'; const defaultOptions = {}; export type PromoteProjectMutationVariables = Types.Exact<{ proj...
mit
jhermsmeier/node-hill-sphere
lib/hill-sphere.js
432
/** * Calculates the radius of the Hill Sphere, * for a body with mass `m1` * @param {Number} m1 Mass of the lighter body * @param {Number} m2 Mass of the heavier body * @param {Number} a Semi-major axis * @param {Number} e Eccentricity * @return {Number} Hill Sphere radius */ function hillSphere( m1, ...
mit
matthijsvk/multimodalSR
code/Experiments/neon-master/tests/test_bleuscore.py
1914
# ---------------------------------------------------------------------------- # Copyright 2015-2016 Nervana Systems Inc. # 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.apa...
mit
311labs/SRL
java/src/jsrl/net/JavaPing.java
5558
/* * Created on Apr 28, 2005 */ package jsrl.net; import java.net.SocketException; import java.net.SocketTimeoutException; import java.net.InetAddress; import java.net.UnknownHostException; import jsrl.LoadLibrary; /** * JavaPing * Java Bindings for the SRL Library's Ping Logic */ public class JavaPing implemen...
mit
mseshachalam/grabber
src/Abbiya/GrabberBundle/Services/ParseHtml.php
7572
<?php namespace Abbiya\GrabberBundle\Services; /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** * Description of ParseHtml * * @author seshachalam */ use Goutte\Client; use ...
mit
jerteach/phonegapmob
README.md
62
phonegapmob =========== Quick start of phonegapmob from ipad
mit
CoderMikeHe/MHDevelopExample_Objective_C
MHDevelopExample/MHDevelopExample/Classes/Comment/YouKu/View/MHYouKuAnthologyHeaderView.h
958
// // MHYouKuAnthologyHeaderView.h // MHDevelopExample // // Created by CoderMikeHe on 17/2/17. // Copyright © 2017年 CoderMikeHe. All rights reserved. // #import <UIKit/UIKit.h> @class MHYouKuAnthologyHeaderView,MHYouKuAnthologyItem; @protocol MHYouKuAnthologyHeaderViewDelegate <NSObject> @optional /** 更多按钮被点击 ...
mit
chengkaizone/GONMarkupParser
Classes/GONMarkupFont.h
1638
// // GONMarkupFont.h // GONMarkupParserSample // // Created by Nicolas Goutaland on 25/06/14. // Copyright (c) 2014 Nicolas Goutaland All rights reserved. // // Define a generic markup to configure font // "size" is used to define font size // If missing, current font size will be used. If not found is set,...
mit
Vali0/WBTA
public/js/httpRequester.js
664
var httpRequester = (function() { var makeHttpRequest = function(url, type, data) { var deferred = $.Deferred(); $.ajax({ url: url, type: type, contentType: 'application/json', data: data, success: function(resultData) { def...
mit
geophf/1HaskellADay
exercises/HAD/Y2016/M09/D09/Solution.hs
3206
{-# LANGUAGE TupleSections #-} module Y2016.M09.D09.Solution where import Control.Arrow (first) import Control.Monad (guard, (>=>)) import Data.Function (on) import Data.List (sortBy) import Data.Map (Map) import qualified Data.Map as Map -- below import available from 1HaskellADay git repository import Control.Lis...
mit
ello21/phase-0
week-1/my-website-1-reflection.md
3123
+ *Paste a link to your [USERNAME].github.io repository.* http://ello21.github.io/ + *Explain how to create a repository on GitHub and clone the repository to your local computer to a non-technical person.* - Click on the ``+`` sybmol at the top right, next to your profile pic. Select ``New Repository`` - Fill in ...
mit
birko/Jamii
src/Jamii/UserBundle/Form/UserType.php
2074
<?php /** * Description of SectionType * * @author Birko */ namespace Jamii\UserBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilder; class UserType extends AbstractType { protected $em; public function __construct(\Doctrine\ORM\EntityManager $em) { ...
mit
iltercengiz/NavigationMenuController
Pod/Classes/UINavigationMenuManager.h
1779
// // UINavigationMenuManager.h // Pods // // Created by Ilter Cengiz on 25/02/15. // // #import <Foundation/Foundation.h> #import "UINavigationMenuController.h" @interface UINavigationMenuManager : NSObject /** Returns a view controller for the given index that will be presented by the navigation menu controll...
mit
fbfeix/react-icons
src/icons/IosCopy.js
693
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class IosCopy extends React.Component { render() { if(this.props.bare) { return <g> <g> <polygon points="144,416 144,400 144,112 112,112 112,448 352,448 352,416 160,416 "></polygon> <g> <path d="M325.3,64H160v...
mit
Aeryia/projetportfolio
assets/css/style.css
2155
body { padding-bottom: 20px; } a, a:focus, a:hover { color: #fff; } /* Ensemble des class de positionnement général */ .top5 { margin-top:5px; } .top10 { margin-top:10px; } .top15 { margin-top:15px; } .top20 { margin-top:17px; } .top30 { margin-top:30px !important; } /* Configuration de la navbar *...
mit
Chrinkus/learn-cpp
chapter21/ex14_word_query.cpp
3191
// // Stroustrup - Programming Principles & Practice // // Chapter 21 Exercise 14 // // Write a word query program that provides information about the text in a // document. Use the text cleaner from ex13 to produce input. // #include <iostream> #include <stdexcept> #include <string> #include <map> #include <vector> ...
mit
Shashikant86/bbc-a11y
standards/support/skipper.rb
123
Before do |test_case| if settings.skip_test_case?(test_case) skip_this_scenario "Configured to be skipped" end end
mit
navinre/captions
lib/captions/cue.rb
2887
module Captions class Cue include Util # Text Properties supported ALIGNMENT = "alignment" COLOR = "color" POSITION = "position" # List of Text Properties TEXT_PROPERTIES = [ALIGNMENT, COLOR, POSITION] attr_accessor :number, :start_time, :end_time, :duration, :text, :p...
mit
ekyna/SurveyBundle
Entity/Answer.php
3139
<?php namespace Ekyna\Bundle\SurveyBundle\Entity; use Doctrine\Common\Collections\ArrayCollection; use Ekyna\Bundle\SurveyBundle\Model\AnswerInterface; use Ekyna\Bundle\SurveyBundle\Model\QuestionInterface; use Ekyna\Bundle\SurveyBundle\Model\ResultInterface; /** * Class Answer * @package Ekyna\Bundle\SurveyBundle...
mit
ryanbaer/busy
src/components/Sidebar/InterestingPeopleWithAPI.js
2712
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import { Link } from 'react-router-dom'; import _ from 'lodash'; import User from './User'; import Loading from '../../components/Icon/Loading'; import './InterestingPeople.less'; import steemAPI...
mit
anhnguyenbk/XCODE-MOBILE-APPS-DEV
SmileAlarm/app/src/main/java/com/xcode/mobile/smilealarm/alarmpointmanager/RisingPlanHandler.java
7754
package com.xcode.mobile.smilealarm.alarmpointmanager; import android.content.Context; import java.io.IOException; import java.sql.Date; import java.sql.Time; import java.util.Calendar; import java.util.HashMap; import com.xcode.mobile.smilealarm.DataHelper; import com.xcode.mobile.smilealarm.DateTimeHelp...
mit
leesaw/posngg
views/includes/content_header.php
1102
<!-- Content Header (Page header) --> <section class="content-header"> <div class="row"> <div class='col-md-3'> <div class="menutext"> <?php echo $content_header; ?> </div> </div> <div class='col-md-2'></div> <div class='col-md-2'><a type='button' class='btn bg-purple btn-lg' id='b...
mit
felix-b/Hapil
Source/Hapil.UnitTests/Statements/CallStatementTests.cs
5789
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Hapil.Testing.NUnit; using NUnit.Framework; namespace Hapil.UnitTests.Statements { [TestFixture] public class CallStatementTests : NUnitEmittedTypesTestBase { [Test] public void CanCallVoidMethodOnReferenceTypeTarget() ...
mit
Naoki-Yatsu/FX-AlgorithmTrading
ats/src/main/java/ny2/ats/model/tool/TradeConditionOperator.java
1710
package ny2.ats.model.tool; import java.util.function.BiPredicate; /** * 取引条件計算の演算子のクラスです */ public enum TradeConditionOperator { EQUAL((d1, d2) -> Double.compare(d1, d2) == 0, null, "="), LESS((d1, d2) -> d1 < d2, null, "<"), LESS_EQUAL((d1, d2) -> d1 <= d2, null, "<="), GRATER((d1, d2) -> d1 >...
mit
dfacher/reflect-ionic
README.md
114
Simple mobile frontend for logging of daily reflections Powered by ionic framework Created by Dominik Facher, 2014
mit
playmice/cplusplus_snippets
References/separateOddsAndEvens.cpp
1006
#include <iostream> #include <vector> using namespace std; void separateOddsAndEvens(const vector<int>& arr, vector<int>& odds, vector<int>& evens); void printVector(const vector<int>& vec); int main() { vector<int> arrUnsplit = {1,2,3,4,5,6,7,8,9,10}; vector<int> odds, evens; cout << "main array is: " << endl; ...
mit
bitcraftCoLtd/level-editor
LevelEditor/ViewModels/ElementToolBoxViewModel.cs
2511
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using LevelEditor.Extensibility.ReadOnlyViewModels; namespace LevelEditor.ViewModels { public class ElementToolBoxViewModel : RootedViewModel, IReadOn...
mit
superjohan/contrast
contrast/ContrastChannelView.h
1350
// // ContrastChannelView.h // contrast // // Created by Johan Halin on 6.7.2015. // Copyright © 2015 Aero Deko. All rights reserved. // #import <UIKit/UIKit.h> #define CONTRAST_COLOR_OUTLINE [UIColor colorWithRed:(253.0 / 255.0) green:(225.0 / 255.0) blue:(209.0 / 255.0) alpha:1.0] #define CONTRAST_COLOR_FULL ...
mit
Pinablink/FragMobile
FragMobile/app/src/test/java/com/fragmobile/ExampleUnitTest.java
408
package com.fragmobile; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public...
mit
tamzr/code-snippet
code_cpp/common/main.cc
572
#include "log/logger.h" #include "log/stdoutlog.h" //#include <windows.h> //void SetColor(unsigned short forecolor = 4, unsigned short backgroudcolor = 0) //{ // HANDLE hCon = GetStdHandle(STD_OUTPUT_HANDLE); //»ñÈ¡»º³åÇø¾ä±ú // SetConsoleTextAttribute(hCon, forecolor | backgroudcolor); //ÉèÖÃÎı¾¼°±³¾°É« //} ...
mit
thomaschvt/Infinity-Games
src/InfinityGames/InfinityBundle/Form/ReponseTopicForumType.php
955
<?php namespace InfinityGames\InfinityBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class ReponseTopicForumType extends AbstractType { public function buildForm(FormBuilderInterface $builder, ...
mit
yaniswang/pageRun-sampleProject
pagerun.js
580
var pagerun = require('pagerun'); // set for debug // pagerun.modulesRoot = '../'; pagerun.mode = 'test'; // pagerun.loadNpmPlugin('httpresponse'); pagerun.loadNpmPlugin('httpsummary'); pagerun.loadNpmPlugin('httperror'); pagerun.loadNpmPlugin('htmlhint'); pagerun.loadNpmPlugin('jserror'); pagerun.loadNpmPlugin('page...
mit
alexey-ernest/assembly-line
AssemblyLine/Models/ProjectModel.cs
407
using System; using System.Collections.Generic; using AssemblyLine.DAL.Entities; namespace AssemblyLine.Models { public class ProjectModel { public int Id { get; set; } public string Name { get; set; } public ProjectStatus Status { get; set; } public DateTime Created { get; ...
mit
misizeji/StudyNote_201308
webserver/html/q3sqlpropertymap.html
10971
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <!-- /fasttmp/mkdist-qt-4.3.5-1211793125/qtopia-core-opensource-src-4.3.5/src/qt3support/sql/q3sqlpropertymap.cpp --> <hea...
mit
team-compilers/compilers
MiniJava/results/SamplesCorrect/LinkedList/code.java
6548
class LinkedList { public static void main(String[] a) { System.out.println(new LL().Start()); } } class Element { int Age; int Salary; boolean Married; public boolean Init(int v_Age, int v_Salary, boolean v_Married) { Age = v_Age; Salary = v_Salary; Married = v_...
mit
remizovm/keng_esp_hack
esp.c
4536
#include <windows.h> #include <stdio.h> #include <psapi.h> #include <string.h> #include <time.h> #include <math.h> #define WINDOWNAME "Counter-Strike: Global Offensive" #define PLRSZ 0x18 #define SERVERDLL "server.dll" #define CLIENTDLL "client.dll" const DWORD plr_num_offset = 0x93DCF8; const DWORD plr_list_offset =...
mit
theodi/comma-chameleon
docs/_posts/2016-04-21-welcome-to-jekyll.markdown
1206
--- layout: post title: "Welcome to Jekyll!" date: 2016-04-21 14:12:24 +0100 categories: jekyll update --- You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve...
mit
Team-Tea-Time/teamteatime.net
content/docs/laravel-forum/5/api/categories.md
3086
--- layout: "docs" projects: "Laravel Forum" versions: "5" topics: "02:API" title: "Categories" weight: 2 --- ## Categories Endpoint URLs are prefixed with the `forum.router.prefix` config value (`/forum/api` by default). ### Index ``` GET /category ``` Returns a flat collection of categories (including their nest...
mit
Daniel12321/NPCs
src/main/java/me/mrdaniel/npcs/actions/ActionGoto.java
1403
package me.mrdaniel.npcs.actions; import javax.annotation.Nonnull; import org.spongepowered.api.entity.living.player.Player; import org.spongepowered.api.text.Text; import org.spongepowered.api.text.action.TextActions; import org.spongepowered.api.text.format.TextColors; import me.mrdaniel.npcs.catalogtypes.actionty...
mit
hex337/quantum-attendance
db/migrate/20150321222054_create_roles.rb
196
class CreateRoles < ActiveRecord::Migration def change create_table :roles do |t| t.string :name t.text :comment t.boolean :is_active t.timestamps end end end
mit
andrixh/rotor
Rotor/DB/DbSchema.php
4044
<?php namespace Rotor\DB; class DbSchema { public static function Update($table,$definition) { //_gc($table, 'Schema Update'); $definition = static::flattenDefinition($definition); if (!self::Table_exists($table)) { self::Create_Table($table,$definition); } else { ...
mit
yannicksade/SAV8817
src/APM/AchatBundle/Tests/Controller/Service_apres_venteControllerTest.php
2108
<?php namespace APM\AchatBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class Service_apres_venteControllerTest extends WebTestCase { public function testCompleteScenario() { $client = static::createClient(); //run this client to a separate client $clien...
mit
demonixis/TESUnity
Assets/Vendors/WaveVR/Scripts/WaveVR_PointerCameraTracker.cs
1377
using System.Collections; using System.Collections.Generic; using UnityEngine; using WaveVR_Log; using wvr; public class WaveVR_PointerCameraTracker : MonoBehaviour { private const string LOG_TAG = "WaveVR_PointerCameraTracker"; public GameObject reticleObject = null; public WVR_DeviceType type; priva...
mit
akshaybajaj2280/uBucket
www/templates/feedback.html
2147
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width"> <title>Sign In</title> <!-- ionic css --> <link href="lib/css/ionic.min.css" rel="stylesheet"> <!-- your app's css --> <link href="...
mit
WouterJ/KunstmaanBundlesCMS
src/Kunstmaan/MediaBundle/Helper/RemoteSlide/RemoteSlideHandler.php
4857
<?php namespace Kunstmaan\MediaBundle\Helper\RemoteSlide; use Kunstmaan\MediaBundle\Form\RemoteSlide\RemoteSlideType; use Kunstmaan\MediaBundle\Helper\Media\AbstractMediaHandler; use Kunstmaan\MediaBundle\Entity\Media; /** * RemoteSlideStrategy */ class RemoteSlideHandler extends AbstractMediaHandler { /** ...
mit
jerone/PackageSize
public/js/script.js
171
'use strict'; $(function() { $.material.init(); $('#libraries').btsListFilter('#searcher', { itemChild: 'h3', resetOnBlur: false }); $('#searcher').focus(); });
mit
parambirs/binaryedu
src/main/java/com/binaryedu/web/controllers/SignUpSuccessController.java
782
package com.binaryedu.web.controllers; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframew...
mit
LaxarJS/laxar
lib/testing/widget_services_storage_mock.js
1690
/** * Copyright 2016 aixigo AG * Released under the MIT license. * http://laxarjs.org/license */ /** * Allows to instantiate a mock implementations of {@link AxStorage}, compatible to the "axStorage" injection. * * @module widget_services_storage_mock */ import { create as createGlobalStorageMock } from './st...
mit
learnVCS/blog
_posts/2015-10-26-week-9.md
1000
--- layout: post title: "Week 9 - Milestone 3 Complete" date: 2015-10-26 categories: update --- This week was spent fulfilling the [Milestone 3](https://github.com/gitrit/pending/wiki/Project-Roadmap) requirements. Content has been completely built out and we are ready to focus on polish and bug fixing. ## All * C...
mit
Parnswir/tie
src/extensions/TextOutput.js
2308
import {appendHtml, combine} from './../util'; const ELEMENT_NAMES = { frameName: 'text-frame', messageName: 'text-message', indicatorName: 'text-indicator' }; let createElements = (container, names) => { const elements = '\ <div class="text-frame" id="' + names.frameName + '">\ <span class="text-me...
mit
CliXiD/ARRO
Controllers/HomeController.cs
525
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace ARRO.Controllers { public class HomeController : Controller { public IActionResult Index() { return View(...
mit
ComputationWithBoundedResources/ara-inference
doc/tpdb_trs/Haskell/basic_haskell/scanl_1.hs
352
{-# htermination (scanl :: (a -> b -> a) -> a -> (List b) -> (List a)) #-} import qualified Prelude data MyBool = MyTrue | MyFalse data List a = Cons a (List a) | Nil scanl0 f q Nil = Nil; scanl0 f q (Cons x xs) = scanl f (f q x) xs; scanl :: (b -> a -> b) -> b -> (List a) -> (List b); scanl f ...
mit
rwth-acis/WebTorrent-VideoStreaming
README.md
4846
# OakStreaming ## General information This project is a JavaScript library which enables to easily integrate peer-assisted streaming into a Web page. Peer-assisted delivery denotes a hybrid between peer-to-peer and server delivery. ## Build steps for example-application.html 1. Make sure to have *gulp* globally inst...
mit
cristianangulo/nutricion_sy
src/Nutricion/EmpresasBundle/Entity/PermisosRole.php
1998
<?php namespace Nutricion\EmpresasBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * PermisosRole * * @ORM\Table(name="permisos_role", uniqueConstraints={@ORM\UniqueConstraint(name="role", columns={"role", "permiso"})}) * @ORM\Entity */ class PermisosRole { /** * @var integer * * @ORM\Colu...
mit
bdisney/stackoverflow
spec/mailers/answers_mailer_spec.rb
497
require "rails_helper" RSpec.describe AnswersMailer, type: :mailer do describe "notify_subscriber" do let!(:subscription) { create(:subscription) } let(:mail) { AnswersMailer.notify_subscriber(subscription) } it "renders the headers" do expect(mail.subject).to eq("Notify subscriber") ...
mit
AlexanderFlatscher/bakk1todo
app/assets/javascripts/sencha_touch.js
261
//= require sencha_touch/sencha-touch //= require_directory ./sencha_touch/app //= require_tree ./sencha_touch/app/models //= require_tree ./sencha_touch/app/stores //= require_tree ./sencha_touch/app/controllers //= require_tree ./sencha_touch/app/views
mit
reiver/go-money
nickel_test.go
731
package money_test import ( "github.com/reiver/go-money" "testing" ) func TestCADNickel(t *testing.T) { var expected money.CAD = money.CADCents(5) var actual money.CAD = money.CADNickel() if expected != actual { t.Error("The actual value is not equal to the expected value.") t.Logf("EXPECTED: %q (%#v)",...
mit
dwievane/dwievane.github.io
js/events.js
2650
;(function() { function ToerismeApp(id, parentContainer) { this.API_URL = 'https://datatank.stad.gent/4/toerisme/visitgentevents.json'; this.id = id; this.parentContainer = parentContainer; this.loadData = function() { var that = this; var xhr = new XMLHttpRequest(); xhr.ope...
mit
iketheadore/raft
raft.go
685
package raft import ( "github.com/iketheadore/raft/comm" "github.com/iketheadore/raft/logic" ) type Raft struct { localServ logic.Server listener comm.Listener sender comm.Sender logic *logic.Logic } func New(addr string) *Raft { r := &Raft{localServ: logic.Server{Addr: addr, Role: logic.Follower}, li...
mit
jrmiller82/dm-roller
main.go
3379
package main import "time" import "fmt" import "os" import "io/ioutil" import "math/rand" import "github.com/antonholmquist/jason" var LOADED *jason.Object // global var to hold the entire json object from file // loads from file into the jason.Object pointer. func LoadRollTables() (err error) { fi, err := os.Open(...
mit
formapro-forks/Sylius
src/Sylius/Bundle/CoreBundle/spec/Sylius/Bundle/CoreBundle/Entity/Cart.php
2333
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace spec\Sylius\Bundle\CoreBundle\Entity; use PHPSpec2\ObjectBehavior; /** * Cart spec. * *...
mit
sekko27/node-wire-helper
tests/loader/module-one/lib/domain/models/A.js
39
module.exports = "module-one-A-model";
mit
SuchTeam-NoJoro-MuchSad/Doge-News
DogeNews/Src/Web/DogeNews.Web/Scripts/Common/notificator.js
1006
$(function () { 'use strict'; const notificationType = { success: 'Success', error: 'Error', info: 'Info' }, notificationTypeClass = { success: 'toast-success', info: 'toast-info', error: 'toast-error' }; function initSignalR...
mit
bitmotive/flask-boilerplate
activate.sh
77
#!/bin/bash source ./config.ini source /srv/virtualenv/demoapp/bin/activate
mit
Playtika/testcontainers-spring-boot
embedded-dynamodb/src/test/java/com/playtika/test/dynamodb/DisableDynamoDBTest.java
1055
package com.playtika.test.dynamodb; import org.assertj.core.api.Assertions; import org.junit.jupiter.api.Test; import org.springframework.boot.autoconfigure.AutoConfigurations; import org.springframework.boot.test.context.runner.ApplicationContextRunner; import org.testcontainers.containers.Container; public class Di...
mit
xjamundx/eslint-plugin-standard
rules/no-callback-literal.js
2134
/** * Ensures that the callback pattern is followed properly * with an Error object (or undefined or null) in the first position. */ 'use strict' // ------------------------------------------------------------------------------ // Helpers // -------------------------------------------------------------------------...
mit
Whoosh/schalarm
localdb/src/main/java/com/github/mikhailerofeev/scholarm/local/services/QuestionsManager.java
3530
package com.github.mikhailerofeev.scholarm.local.services; import android.app.Application; import com.github.mikhailerofeev.scholarm.api.entities.Question; import com.github.mikhailerofeev.scholarm.local.entities.QuestionImpl; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import com.google.inj...
mit
jblindsay/jblindsay.github.io
ghrg/Whitebox/WhiteboxGAT-linux/resources/plugins/source_files/AverageSlopeToDivide.java
16874
/* * Copyright (C) 2011-2012 Dr. John Lindsay <jlindsay@uoguelph.ca> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later vers...
mit
kenborge/grunt-angular-json
README.md
2519
# grunt-angular-json > Merge and convert JSON files into angular modules ## Getting Started This plugin requires Grunt `~0.4.5` If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](htt...
mit
uptown/django-town
django_town/oauth2/grant/implicitgrant.py
2061
#-*- coding: utf-8 -*- from .grant import Grant from ..endpoint import AuthorizationEndpoint class ImplicitGrant(Grant): """ The implicit grant type is used to obtain access tokens (it does not support the issuance of refresh tokens) and is optimized for public clients known to operate a particular r...
mit
kalinalazarova1/TelerikAcademy
Programming/2. CSharpPartTwo/ExamCS2_07.02.2012/2. MessagesInABottle/MessagesInABottle.cs
2116
using System; using System.Collections.Generic; using System.Linq; using System.Text; class MessagesInABottle { static void GetMessage(string input, int start, Dictionary<string, char> cipher, List<string> answers) { if (start >= input.Length) { answers.Add(input); retu...
mit
HazeDev/Hazecoin
src/qt/locale/bitcoin_hi_IN.ts
106336
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hi_IN" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About HazeCoin</source> <translation>बिटकोइन के संबंध में</translation>...
mit
bondscripting/bond
source/outputstreamadaptor.cpp
2600
#include "bond/api/libio.h" #include "bond/io/outputstream.h" #include "bond/io/outputstreamadaptor.h" #include <cstdio> namespace Bond { void OutputStreamAdaptor::Print(const char *str) { const char *format = ((mFlags & IO::Left) != 0) ? "%-*s" : "%*s"; mStream->Print(format, mWidth, str); mWidth = 0; } void Ou...
mit
DJBuro/Telerik
C#2/Strings and Text Processing/DateDifference/Properties/AssemblyInfo.cs
1404
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("Da...
mit
jrmyward/euclidean
lib/euclidean/cluster_factory.rb
323
# Include this module in the base class of a class cluster to handle swizzling # of ::new module ClusterFactory def self.included(parent) class << parent alias :original_new :new def inherited(subclass) class << subclass alias :new :original_new end end end end e...
mit
villers/PHP_Avance_SymfoTweet
src/Twit/AppBundle/Tests/Controller/WallControllerTest.php
1913
<?php namespace Twit\AppBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class WallControllerTest extends WebTestCase { /* public function testCompleteScenario() { // Create a new client to browse the application $client = static::createClient(); // C...
mit
PiotrDabkowski/Js2Py
tests/test_cases/built-ins/Date/prototype/getMinutes/S15.9.5.20_A3_T1.js
529
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: > The Date.prototype.getMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes es5id: 15.9.5.20_A3_T1 description: Checking ReadOnly attribute ---...
mit
ptphats/sails-hook-jobs
index.js
4966
module.exports = function(sails) { var Agenda = require('agenda'), util = require('util'), _ = require('lodash'), os = require("os"), agenda = new Agenda() agenda.sails = sails; var stopServer = function() { agenda.stop(function() { console.log("agenda stopped"); }); ...
mit
alienlab/Alienlab.Web.Security
src/Velyo.Web.Security.Sample/Default.aspx.designer.cs
2840
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
mit
katyjustiss/pydjango
README.md
11
# pydjango
mit
briling/qm
source/qm/gradient.h
2607
#ifndef GRADIENT_H #define GRADIENT_H #include "qm_t.h" #include "mol.h" typedef struct{ double f; double g; } fgpair_t; void gradient(double * Da, double * Db, double * H, double * pmmm, double * g, int * alo, int * alv, basis * bo, basis * bv, mol * m, qmdata * qmd); void gradient_r(double * D, double * H,...
mit
sanjeev-chauhan/Angular-ShoppingCart-Project
README.md
1259
#Angular-ShoppingCart-project - A shopping cart built using Angular framework This application is an Shopping portal built using angular framework. Its good for anyone who want to learn how to build an angular application, how to create its folder structure, manage its dependecies, wire controllers and views togeth...
mit
IsaiasAntonio/PI
test/controllers/registration_custom_controller_test.rb
150
require 'test_helper' class RegistrationCustomControllerTest < ActionDispatch::IntegrationTest # test "the truth" do # assert true # end end
mit
openbeerdatabase/openbeerdatabase
app/models/beer.rb
923
class Beer < ActiveRecord::Base SORTABLE_COLUMNS = %w(id name created_at updated_at).freeze include SearchableModel belongs_to :brewery belongs_to :user validates :brewery_id, presence: true validates :name, presence: true, length: { maximum: 255 } validates :description, presence: true, length...
mit
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/3bc037f3939fa5a98c1e0aea811f076893995066e4a79fbb1bc2ffa4d4be6334.html
550
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>18 --> 19</title> <link href="./../../assets/style.css" rel="stylesheet"> </head> <body> <h2>You have to be fast</h2> <a href="./681839cb4024f65497b2a4a315469a504d37d2ecd0606b47094b0b9dc5672fae.html">Teleport</a> <hr> ...
mit
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.10.2-2.0.6/released/8.15.0/hammer/1.1+8.8.html
6878
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>hammer: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
mit
remcomokveld/WearCast
library-app/src/main/java/nl/rmokveld/wearcast/phone/WearCastService.java
2916
package nl.rmokveld.wearcast.phone; import android.app.Service; import android.content.Context; import android.content.Intent; import android.os.IBinder; import android.support.annotation.Nullable; import android.support.v7.app.NotificationCompat; import nl.rmokveld.wearcast.shared.C; public class WearCastService ex...
mit
KnightOS/z80e
frontends/tui/main.c
8311
#include <z80e/ti/asic.h> #include <z80e/debugger/debugger.h> #include <z80e/disassembler/disassemble.h> #include <z80e/runloop/runloop.h> #include "tui.h" #include <z80e/debugger/commands.h> #include <z80e/log/log.h> #include <z80e/ti/hardware/t6a04.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #inclu...
mit
0x51DB/ArduinoPrograms
README.md
94
ArduinoPrograms =============== As I experiment with Arduino, I may add a few programs here.
mit
rockaBe/logstasher
lib/logstasher/version.rb
42
module LogStasher VERSION = "0.6.1" end
mit
sergemazille/gextion
src/AppBundle/Resources/js/New/NewForm.js
48
export class NewForm { update() { } }
mit
ebsco/grunt-translations
test/text-replace-error-tests.js
3366
var grunt = require('grunt'); var fs = require('fs'); var gruntTextReplace = require('../lib/grunt-match-replace'); var replace = function (settings) { return gruntTextReplace.replace(settings); }; exports.textReplace = { 'Test error handling': { setUp: function (done) { grunt.file.copy('test/text_f...
mit
node-/tetra-master
README.md
238
tetra-master ============ A pygame port of the card game 'Tetra Master' from Final Fantasy IX Please note: This program is not completed until I update this readme. You can, however, watch the progress (or contribute if you'd like) TY
mit
rails/webpacker
test/dev_server_runner_test.rb
2645
require "test_helper" require "webpacker/dev_server_runner" class DevServerRunnerTest < Webpacker::Test def setup @original_node_env, ENV["NODE_ENV"] = ENV["NODE_ENV"], "development" @original_rails_env, ENV["RAILS_ENV"] = ENV["RAILS_ENV"], "development" @original_webpacker_config = ENV["WEBPACKER_CONFIG...
mit
miaou11235/conglomerate
mentalindex/coping.html
2715
<!doctype html> <head> <link href="https://fonts.googleapis.com/css?family=Abril+Fatface|Asap+Condensed|Raleway" rel="stylesheet"> <title>Coping</title> <style> body { text-align: center; margin: 15px 25% 15px 25%; font-family: 'Raleway', sans-serif; font-size: 18px; background: rgba(0,0...
mit
vexilo/utilities
src/Models/Traits/SortableTrait.php
2500
<?php namespace Vexilo\Utilities\Models\Traits; trait SortableTrait { /** * Return an array with the sortable columns * * @param array $sort the current sort array * @return array */ public static function getSortableColums($sort = null) { $instance = new static; $...
mit
RadicalFx/Radical.Windows
src/Radical.Windows/Converters/NotConverter.cs
1421
using Radical.Validation; using System; using System.Windows.Data; using System.Windows.Markup; namespace Radical.Windows.Converters { [MarkupExtensionReturnType(typeof(NotConverter))] [ValueConversion(typeof(bool), typeof(bool))] public sealed class NotConverter : AbstractSingletonConverter { ...
mit
plzen/ebay
lib/ebay_trading/types/selling_manager_sold_transaction.rb
3298
require 'ebay_trading/types/shipment' require 'ebay_trading/types/variation' module EbayTrading # :nodoc: module Types # :nodoc: # == Attributes # text_node :invoice_number, 'InvoiceNumber', :optional => true # numeric_node :transaction_id, 'TransactionID', :optional => true # numeric_node :sale_r...
mit
jgaltidor/VarJ
analyzed_libs/trove-2.1.0/javadocs/deprecated-list.html
5341
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_13) on Fri Aug 14 15:51:20 CDT 2009 --> <TITLE> Deprecated List (GNU Trove for Java API v2.1.0) </TITLE> <META NAME="date" CONTENT="2009-08-14"> <L...
mit