repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
delamoe/fcc-tic-tac-toe
ttt.css
911
body { font-family: 'Rancho', cursive; font-weight: bold; margin: auto; padding: 5%; background-color: #F49D37; } .score, .game { color: #0A1128; font-size: 28px; } #board { width: 450px; height: 450px; } #board .square { width: 33.333333333%; height: 33.333333333%; background-color: #496DD...
mit
couchbaselabs/touchbase
TouchbaseModular/public/deprecated/pictureUpload.html
3981
<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>Couch411 | Login</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/boot...
mit
qq137712630/MeiZiNews
app/src/main/java/com/ms/meizinewsapplication/features/meizi/model/DbGroupBreastModel.java
1004
package com.ms.meizinewsapplication.features.meizi.model; import android.content.Context; import com.ms.meizinewsapplication.features.base.pojo.ImgItem; import com.ms.retrofitlibrary.web.MyOkHttpClient; import org.loader.model.OnModelListener; import java.util.List; import rx.Observable; import rx.Subscription; /...
mit
nellypeneva/SoftUniProjects
01_ProgrFundamentalsMay/11_Data-Types-Exercises/12_RectangleProperties/Properties/AssemblyInfo.cs
1420
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("12...
mit
KevinJMcGrath/Symphony-Ares
modules/plugins/PABot/logging.py
796
import logging.handlers import os _pabotlog = logging.getLogger('PABot') _pabotlog.setLevel(logging.DEBUG) _logPath = os.path.abspath("./logging/pabot.log") _formatter = logging.Formatter('%(asctime)s - %(levelname)s - %(name)s - %(message)s') _consoleStreamHandler = logging.StreamHandler() _consoleStreamHandler.s...
mit
ericwebster/project-crayfish
templates/storycontributor/individual.html
4116
{# ------------------------------------------------------- #} {# INDIVIDUAL VIEW FOR EACH storycontributor #} {# This page can use any data from http:localhost:2000/cms/#/form/storycontributor/ #} {# Webhook uses the SWIG.js (like Djagno/Twig) templating system. Their documentation is here: #} {# http://paularmstrong.g...
mit
0bin/Project-collection
BBBLayer/BBBLayer/BBBClockViewController.h
224
// // BBBClockViewController.h // BBBLayer // // Created by LinBin on 16/7/23. // Copyright © 2016年 LinBin. All rights reserved. // #import <UIKit/UIKit.h> @interface BBBClockViewController : UIViewController @end
mit
frjf14/Projekt
vendor/phpmvc/comment/src/Comment/CommentController.php
3878
<?php namespace Phpmvc\Comment; /** * To attach comments-flow to a page or some content. * */ class CommentController implements \Anax\DI\IInjectionAware { use \Anax\DI\TInjectable; /** * View all comments. * * @return void */ public function viewAction($page) { $comm...
mit
AusDTO/citizenship-appointment-server
bin/cideploy.sh
886
#!/bin/bash # Exit immediately if any commands return non-zero set -e # Output the commands we run set -x # This is a modified version of the Cloud Foundry Blue/Green deployment guide: # https://docs.pivotal.io/pivotalcf/devguide/deploy-apps/blue-green.html test $URL # Update the blue app cf unmap-route citizenship...
mit
vdods/heisenberg
heisenberg/plot/__main__.py
4283
import ast import heisenberg.library.heisenberg_dynamics_context import heisenberg.library.orbit_plot import heisenberg.option_parser import heisenberg.plot import heisenberg.util import matplotlib import numpy as np import sys # https://github.com/matplotlib/matplotlib/issues/5907 says this should fix "Exceeded cell ...
mit
nicorellius/pdxpixel
pdxpixel/core/mailgun.py
1073
def send_simple_message(): return requests.post( "https://api.mailgun.net/v3/sandbox049ff464a4d54974bb0143935f9577ef.mailgun.org/messages", auth=("api", "key-679dc79b890e700f11f001a6bf86f4a1"), data={"from": "Mailgun Sandbox <postmaster@sandbox049ff464a4d54974bb0143935f9577ef.mailgun.org>", ...
mit
ooxif/laravel-spec-schema
src/Ooxif/LaravelSpecSchema/SqlServer/BlueprintTrait.php
77
<?php namespace Ooxif\LaravelSpecSchema\SqlServer; trait BlueprintTrait { }
mit
nhatbui/LebronCoin
lebroncoin/key_loader.py
654
def load_keys(filepath): """ Loads the Twitter API keys into a dict. :param filepath: file path to config file with Twitter API keys. :return: keys_dict :raise: IOError """ try: keys_file = open(filepath, 'rb') keys = {} for line in keys_file: key, value =...
mit
originalbitcoin/original-bitcoin-client-0.1.0
base58.h
5438
// Copyright (c) 2009 Satoshi Nakamoto // Distributed under the MIT/X11 software license, see the accompanying // file license.txt or http://www.opensource.org/licenses/mit-license.php. // // Why base-58 instead of standard base-64 encoding? // - Don't want 0OIl characters that look the same in some fonts and // ...
mit
snfactory/cubefit
cubefit/main.py
26267
"""Main entry points for scripts.""" from __future__ import print_function, division from argparse import ArgumentParser from collections import OrderedDict from copy import copy from datetime import datetime import glob import json import logging import math import os import scipy.stats import numpy as np from .ve...
mit
sensu/sensu-docs
archived/sensu-core/1.8/reference/aggregates.md
5864
--- title: "Aggregates" description: "Reference documentation for Sensu Named Aggregates." product: "Sensu Core" version: "1.8" weight: 4 menu: sensu-core-1.8: parent: reference --- ## Reference documentation - [What is a Sensu named aggregate?](#what-is-a-check-aggregate) - [When should named aggregates be us...
mit
askl56/income-tax
lib/income_tax/countries/morocco.rb
310
module IncomeTax module Countries class Morocco < Models::Progressive register 'Morocco', 'MA', 'MAR' currency 'MAD' level 30_000, '0%' level 50_000, '10%' level 60_000, '20%' level 80_000, '30%' level 180_000, '34%' remainder '38%' end end end
mit
racerx2000/ne_stenka
application/demo/profile.html
69361
<!DOCTYPE html> <html> <head lang="ru"> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>Template</title> <link href="http://themesanytime.com/startui/demo/img/favicon.144x144.png" rel="apple-...
mit
peteratseneca/dps907fall2013
Week_03/sep20v1/sep20v1/Areas/HelpPage/SampleGeneration/TextSample.cs
883
using System; namespace sep20v1.Areas.HelpPage { /// <summary> /// This represents a preformatted text sample on the help page. There's a display template named TextSample associated with this class. /// </summary> public class TextSample { public TextSample(string text) { ...
mit
sinisterchipmunk/bot-away
README.md
12801
# bot-away [![Build Status](https://secure.travis-ci.org/sinisterchipmunk/bot-away.png)](http://travis-ci.org/sinisterchipmunk/bot-away) * http://github.com/sinisterchipmunk/bot-away Unobtrusively detects form submissions made by spambots, and silently drops those submissions. The key word here is "unobtrusive" -- th...
mit
yurijbogdanov/symfony-remote-translations-bundle
Tests/Translation/Loader/AwsS3LoaderTest.php
636
<?php namespace YB\Bundle\RemoteTranslationsBundle\Tests\Translation\Loader; use PHPUnit_Framework_TestCase; /** * Class AwsS3LoaderTest * @package YB\Bundle\RemoteTranslationsBundle\Tests\Translation\Loader */ class AwsS3LoaderTest extends PHPUnit_Framework_TestCase { /** * @param mixed $expected *...
mit
Syncano/syncano-android-demo
Eclipse/SyncanoLib/src/com/syncano/android/lib/modules/users/ParamsUserNew.java
1864
package com.syncano.android.lib.modules.users; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import com.syncano.android.lib.modules.Params; import com.syncano.android.lib.modules.Response; /** * Params to create new user. */ public class ParamsUserNew extends Params {...
mit
RyanTech/XHCyclicReuseScrollView
README.md
140
XHCyclicReuseScrollView ======================= XHCyclicReuseScrollView is an extensible, reusable, recyclable rolling scrollView element.
mit
amoshyc/CPsolution
docs/poj/p1276.html
21542
<!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>[POJ] 1276. Cash Machine &mdash; amoshyc&#39...
mit
beachio/beach-api-core
app/interactors/beach_api_core/team_update.rb
259
class BeachApiCore::TeamUpdate include Interactor def call if context.team.update context.params context.status = :ok else context.status = :bad_request context.fail! message: context.team.errors.full_messages end end end
mit
cheniison/Experiment
OS/WebServer/server.c
4428
#include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <sys/wait.h> #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <signal.h> #include <errno.h> #include <sys/stat.h> #include <sys/mman.h> #include <fcntl.h> #include "server.h" #include "rio.h" int wri...
mit
vicenteneto/online-judge-solutions
URI/1-Beginner/1021.py
907
# -*- coding: utf-8 -*- def calc_note(count, value): qnt = 0 if count >= value: qnt = int(count) / value print '%d nota(s) de R$ %d.00' % (qnt, value) return count - qnt * value n = float(raw_input()) print 'NOTAS:' n = calc_note(n, 100) n = calc_note(n, 50) n = calc_note(n, 20) n = calc_no...
mit
himynameisdave/postcss-plugins
README-zh_CN.md
3442
## PostCSS 插件列表 [![npm version](https://img.shields.io/npm/v/postcss-plugins.svg)](https://www.npmjs.com/package/postcss-plugins) [![contributors](https://img.shields.io/github/contributors/himynameisdave/postcss-plugins.svg)](https://github.com/himynameisdave/postcss-plugins/blob/master/docs/authors.md) 开箱即用型"官方和非官方...
mit
fbiville/annotation-processing-ftw
doc/java/jdk7/java/net/class-use/SocketImplFactory.html
7301
<!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_18) on Thu Dec 18 17:18:35 PST 2014 --> <title>Uses of Interface java.net.SocketImplFactory (Java Platform SE 7 )</title> <meta name="d...
mit
justhamade/grunt-install-dependencies
tasks/install-dependencies.js
949
'use strict'; module.exports = function (grunt) { var exec = require('child_process').exec; grunt.registerMultiTask('install-dependencies', 'Installs npm dependencies.', function () { var cb, options, cp; cb = this.async(); options = this.options({ cwd: '', stdout: true, stderr: tru...
mit
slx7R4GDZM/Sine-Toolkit
Source/Other/Text.h
4630
// Copyright slx7R4GDZM // Distributed under the terms of the MIT License. // Refer to the License.txt file for details. #pragma once #include "Common-Things.h" const string BRIGHTNESS_OPTIONS[] = { "BRIGHTNESS 15", "BRIGHTNESS 12", "BRIGHTNESS 7", "BRIGHTNESS 0" }; const string GLOBAL_SCALE_OPTIONS...
mit
thispagecannotbefound/php-signals
tests/bootstrap.php
173
<?php ini_set('display_errors', 1); ini_set('error_reporting', -1); $loader = require __DIR__ . '/../vendor/autoload.php'; $loader->add('ThisPageCannotBeFound', __DIR__);
mit
stivalet/PHP-Vulnerability-test-suite
Injection/CWE_95/safe/CWE_95__object-indexArray__func_preg_replace__echo-sprintf_%s_simple_quote.php
1579
<?php /* Safe sample input : get the field userData from the variable $_GET via an object, which store it in a array SANITIZE : use of preg_replace construction : use of sprintf via a %s with simple quote */ /*Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royalty fee,...
mit
jensonzhao/crm_fieldservices
lib/crm_fieldservices.rb
470
ActionController::Dispatcher.to_prepare do # Extend :account model to add :issues association. Account.send(:include, AccountServiceRequestAssociations) # Make issues observable. ActivityObserver.instance.send :add_observer!, ServiceRequest # Add :issues plugin helpers. ActionView::Base.send(:include, ...
mit
massahud/zf2-testeunidade
js-test/fixtures/exemplos/divs.html
157
<style type="text/css"> .escondido { display: none; } </style> <div id="div1" class="xxx">div1</div> <div id="div2" class="escondido">2</div>
mit
tpaschalis/tpaschalis.github.io
_posts/2021-03-13-relnote-yes.markdown
6148
--- layout: post title: How the Go team could track what to include in release notes date: 2021-03-13 author: Paschalis Ts tags: [golang, foss] mathjax: false description: "" --- Release notes can sometimes be exciting to read. Condensing the work since the last release into a couple of paragraphs, announcing n...
mit
liuy97/angular2-material-seed
src/client/app/material/demo-app/chips/chips-demo.ts
211
import { Component } from '@angular/core'; @Component({ moduleId: module.id, selector: 'chips-demo', templateUrl: 'chips-demo.html', styleUrls: ['chips-demo.css'] }) export class ChipsDemoComponent { }
mit
foysalit/hive-customer
public/modules/consumers/views/create-consumer.client.view.html
4740
<section data-ng-controller="ConsumersController"> <div class="page-header"> <h1>New Order</h1> </div> <div class="row" ng-show="errors.has()"> <div class="alert alert-danger" ng-repeat="err in errors.all"> {{ err }} </div> </div> <div class="col-md-12" data-ng-...
mit
giggals/Software-University
Exercises-Interfaces/2. Multiple Implementation/IIdentifiable.cs
131
using System; using System.Collections.Generic; using System.Text; public interface IIdentifiable { string Id { get; } }
mit
V2GClarity/RISE-V2G
RISE-V2G-EVCC/src/main/java/com/v2gclarity/risev2g/evcc/states/WaitForAuthorizationRes.java
4963
/******************************************************************************* * The MIT License (MIT) * * Copyright (c) 2015 - 2019 Dr. Marc Mültin (V2G Clarity) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Sof...
mit
allan-simon/tatoSSO
app/src/contents/Tokens.h
1177
/** * TatoSSO Single Sign On (SSO) system * * Copyright (C) 2014 Allan SIMON <allan.simon@supinfo.com> * See accompanying file COPYING.TXT file for licensing details. * * @category TatoSSO * @author Allan SIMON <allan.simon@supinfo.com> * @package Contents * */ #ifndef TATO_SSO_CONTENTS_TOKENS_H #define...
mit
phpcq/phpcq
tests/Console/Definition/OptionDefinitionTest.php
2135
<?php declare(strict_types=1); namespace Phpcq\Runner\Test\Console\Definition; use Phpcq\Runner\Console\Definition\OptionDefinition; use Phpcq\Runner\Console\Definition\OptionValue\OptionValueDefinition; use PHPUnit\Framework\TestCase; /** @covers \Phpcq\Runner\Console\Definition\OptionDefinition */ final class Opt...
mit
akashbachhania/jeet99
application/views/includes/navbar.php
45301
<?php if (isset($user_data['id'])) { ?> <script> var $records_per_page = '<?php echo $this->security->get_csrf_hash(); ?>'; var page_url = '<?php echo base_url(); ?>'; var $user_data ="<?php echo $user_data['id']?>"; </script> <script s...
mit
eddietributecoin/EddieCoin
src/miner.cpp
19965
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Copyright (c) 2013 The NovaCoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "txdb.h" #include "miner.h"...
mit
LykkeCity/MT
src/MarginTrading.Backend.Services/Notifications/IRabbitMqNotifyService.cs
1359
using System.Threading.Tasks; using Lykke.Service.ExchangeConnector.Client.Models; using MarginTrading.Backend.Core; using MarginTrading.Contract.RabbitMqMessageModels; namespace MarginTrading.Backend.Services.Notifications { public interface IRabbitMqNotifyService { Task AccountHistory(string transactionId, stri...
mit
instructure/lti_tool_provider_example
app/controllers/guide_controller.rb
2081
require 'ims/lti' class GuideController < ApplicationController def home end def xml_builder @placements = CanvasExtensions::PLACEMENTS end def xml_config tc = IMS::LTI::Services::ToolConfig.new(:title => "Example Tool Provider", :launch_url => blti_launch_url) tc.description = "This is a Sample...
mit
ruby/rubyspec
library/digest/sha512/file_spec.rb
1321
require_relative '../../../spec_helper' require_relative 'shared/constants' require_relative '../../../core/file/shared/read' describe "Digest::SHA512.file" do describe "when passed a path to a file that exists" do before :each do @file = tmp("md5_temp") touch(@file, 'wb') {|f| f.write SHA512Constan...
mit
charliethinker/charliethinker.github.io
_posts/2016-12-07-fundamentals-7-logging.markdown
6820
--- layout: post title: "ASP.NET Core基本原理(7)-日志" subtitle: "ASP.NET Core Fundamentals-Logging" tags: [netcore, fundamentals, logging] --- ASP.NET Core内置了对日志的支持。通过依赖注入请求`ILoggerFactory`或者`ILogger<T>`可以为应用程序添加日志功能。 ## 在应用程序中实现日志 如果请求了`ILoggerFactory`,那么日志记录器(Logger)就必须通过它的`CreateLogger`方法来创建: ```csharp var...
mit
croquet-australia/api.croquet-australia.com.au
source/CroquetAustralia.Domain/Services/Queues/QueueBase.cs
1778
using System; using System.Threading.Tasks; using Anotar.NLog; using CroquetAustralia.Domain.Services.Serializers; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Queue; namespace CroquetAustralia.Domain.Services.Queues { public abstract class QueueBase : IQueueBase { privat...
mit
dpawlows/MGITM
src/ModMars.f90
45867
module ModPlanet use ModConstants use ModSizeGITM implicit none ! Modified (01/18/07) : SWB : Aij, s-exponents for mutual diffusion ! Modified (06/12/08) : SWB : ordering to species revised ! Modified (06/12/08) : SWB : nSpecies = 6; nSpeciesTotal = 11 ! Majors (6): COntrol the Pressures Gradients and w...
mit
cicadas-2014/Elsewhere
db/migrate/20140626220711_create_phrases.rb
250
class CreatePhrases < ActiveRecord::Migration def change create_table :phrases do |t| t.belongs_to :country t.string :hello t.string :please t.string :thanks t.string :bathroom t.timestamps end end end
mit
Baransu/Amble-Engine
src/game-preview/js/index.js
1676
const electron = require('electron'); const ipcRenderer = electron.ipcRenderer; window.onload = function() { ipcRenderer.send('game-preview-loaded'); } ipcRenderer.on('game-preview-start', function(event, data) { var app = new Application({ // resize: true, fullscreen: true, antyAliasing: true, ...
mit
yurich/vow-telegram-bot
examples/settings.js
115
module.exports = { token: 'TELEGRAM_BOT_TOKEN', polling: { timeout: 3, limit: 100 } };
mit
amironov73/ManagedIrbis
Source/UITests/Sources/Tests/ColorComboBoxTest.cs
1565
/* ColorComboBoxTest.cs -- * Ars Magna project, http://arsmagna.ru * ------------------------------------------------------- * Status: poor */ #region Using directives using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using ...
mit
yyoshinori/CastlePortal
fuel/app/config/routes.php
636
<?php return array( '_root_' => 'admin/index', // The default route '_404_' => 'welcome/404', // The main 404 route 'admin/detail/:id' => array('admin/detail/$1', 'name' => 'detail'), 'admin/write' => '/admin/write/', 'test'=> 'api/test', 'blog'=> 'api/blog', 'blog/insert'=> 'api/blog/inser...
mit
bradscode/sencha-touch-2-recipes
recipe2/touch/README.md
515
Installing Sencha Touch ----------------------- [Download the Sencha Touch SDK][sdk], and unzip the archive. Assuming that you've saved the SDK into your downloads folder (`~/Downloads/sencha-touch-2-b3`), you can run the following commands in the terminal: cd path/to/sencha-touch-2-recipes/recipe2 cp -R ~/Do...
mit
freon-lunarion/dew
application/modules/om/views/_element/orgPostStruct_modal.php
1450
<!-- Modal --> <div class="modal fade" id="explor_post" tabindex="-1" role="dialog" aria-labelledby="post_structlLabel"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span...
mit
terrajobst/nquery-vnext
src/NQuery.Authoring.ActiproWpf/QuickInfo/NQueryQuickInfoProvider.cs
2436
using System.Collections.ObjectModel; using ActiproSoftware.Text; using ActiproSoftware.Text.Utility; using ActiproSoftware.Windows.Controls.SyntaxEditor; using ActiproSoftware.Windows.Controls.SyntaxEditor.IntelliPrompt.Implementation; using NQuery.Authoring.ActiproWpf.SymbolContent; using NQuery.Authoring.ActiproWp...
mit
BedrockDev/Sunrin2017
Software/Game Programming/Codes/ConsoleApplication5/ConsoleApplication5/ConstPointer.cpp
468
#include <iostream> using namespace std; void display(const int *xPos, const int *yPos); void move(int *xPos, int *yPos); int main(void) { int x = 10; int y = 20; display(&x, &y); move(&x, &y); display(&x, &y); return 0; } void display(const int *xPos, const int *yPos) { // btw const not needed for this c...
mit
yuweijun/yuweijun.github.io
manpages/man1/true.1.html
2980
<!DOCTYPE html> <HTML><head><TITLE>Manpage of TRUE</TITLE> <meta charset="utf-8"> <link rel="stylesheet" href="/css/main.css" type="text/css"> </head> <body> <header class="site-header"> <div class="wrap"> <div class="site-title"><a href="/manpages/index.html">linux manpages</a></div> <div class="site-description">...
mit
ichylinux/chat
app/models/room.rb
114
class Room < ActiveRecord::Base validates :name, :presence => true has_many :users has_many :room_logs end
mit
Ljzn/ljzn.github.io
_site/lrthw/2016/07/04/lrhw-43.html
23201
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="shortcut icon" href="/static/img/ruby.ico" /> <title>43基本的面向对象分析和设计 - LJZN</tit...
mit
redbaron76/Bisiacaria.com
client/pages/friend_posts.js
1141
Template.friendPosts.onCreated(function() { Bisia.Notification.resetNotify('note', 'post'); }) Template.friendPosts.helpers({ getPost: function(postId) { var post = Posts.findOne(postId); if (post) { var user = Users.findOne({ '_id': post.authorId }, { 'fields': { 'username': 1, 'profile.city': 1, ...
mit
pathephone/pathephone-desktop
src/renderer/sagas/startApp/startServices/startAlbumsSharingService.js
680
import { all, takeEvery } from 'redux-saga/effects'; import actions from '#actions'; import handleShareFormChange from './startAlbumsSharingService/handleShareFormChange'; import handleShareFormSubmit from './startAlbumsSharingService/handleShareFormSubmit'; import handleShareItemsSelect from './startAlbumsSharingSer...
mit
furti/mighty-quest-for-tux
parse-content.js
3541
var fs = require('fs'), eol = require('eol'), path = require('path'), mkdirp = require('mkdirp'), watch = require('watch'); var specialFiles = { 'welcome.md': function(fileContent, consoleContent) { consoleContent.welcome = processFileContent(fileContent); }, 'config.json': function...
mit
tomasvdw/bitcrust
serde_json/travis.sh
1072
#!/bin/bash set -e DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" channel() { if [ -n "${TRAVIS}" ]; then if [ "${TRAVIS_RUST_VERSION}" = "${CHANNEL}" ]; then pwd (set -x; cargo "$@") fi elif [ -n "${APPVEYOR}" ]; then if [ "${APPVEYOR_RUST_CHANNEL}" = "${...
mit
STRVIRTU/tcc-2017
less/disciplina.class.php
960
<?php include_once('conexao.class.php'); class Disciplina{ public $id_disciplina; public $nome; public $professor; public $curso; public $carga_horaria; public function __construct(){ //print "Disciplina instanciada!"; } public function gravar(){ $sql = "insert into disciplina (nome, professo...
mit
tachyons-css/tachyons-css.github.io
src/components/layout/five-column-collapse-alternate.html
449
{{{ "bodyClass" : "bg-white", "screenshot" : { "background-size" : "contain" } }}} <div class="cf"> <div class="fl w-50 w-20-ns tc pv5 bg-black-05"> 1 </div> <div class="fl w-50 w-20-ns tc pv5 bg-black-10"> 2 </div> <div class="fl w-100 w-20-ns tc pv5 bg-black-20"> 3 </div> <div cla...
mit
thejunkjon/jones
source/jones/controller/controller.cc
6251
// // MIT License // // Copyright 2019 // // 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, publi...
mit
siwl/test_website
app/templates/student/edit_student.html
296
{% extends "base.html" %} {% import "bootstrap/wtf.html" as wtf %} {% block title %}Flasky - Edit Teacher Profile{% endblock %} {% block side_content %} <div class="page-header"> <h1>Edit Student's Info</h1> </div> <div class="col-md-4"> {{ wtf.quick_form(form) }} </div> {% endblock %}
mit
clair-design/clair
packages/icons/icons/Camera.ts
359
export const Camera = ` <svg viewBox="0 0 28 28"> <g fill="none" fill-rule="evenodd"> <path d="M3 3h22a2 2 0 012 2v18a2 2 0 01-2 2H3a2 2 0 01-2-2V5a2 2 0 012-2z" stroke="currentColor"/> <circle stroke="currentColor" cx="14" cy="14" r="5"/> <path d="M22 7h1" stroke="currentColor" stroke-linecap="round" str...
mit
b1thunt3r/BitForm
README.md
80
# BitForm Playing around with the idea of replacing XForms with Custom Property.
mit
slava-sh/NewsBlur
apps/reader/views.py
95205
import datetime import time import boto import redis import requests import random import zlib from django.shortcuts import get_object_or_404 from django.shortcuts import render from django.contrib.auth.decorators import login_required from django.template.loader import render_to_string from django.db import IntegrityE...
mit
JiachengSHI/JiachengSHI.github.io
_layouts/post.html
4430
<!doctype html> <!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> <!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]--> <!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<!...
mit
ConsenSys/truffle
packages/core/lib/commands/test/determineTestFilesToRun.js
744
const determineTestFilesToRun = ({ inputFile, inputArgs = [], config }) => { const path = require("path"); const fs = require("fs"); const glob = require("glob"); let filesToRun = []; if (inputFile) { filesToRun.push(inputFile); } else if (inputArgs.length > 0) { inputArgs.forEach(inputArg => files...
mit
ReaxDev/typeorm
test/github-issues/182/issue-182.ts
2660
import "reflect-metadata"; import {createTestingConnections, closeTestingConnections, reloadTestingDatabases} from "../../utils/test-utils"; import {Connection} from "../../../src/connection/Connection"; import {Post} from "./entity/Post"; import {expect} from "chai"; import {PostStatus} from "./model/PostStatus"; des...
mit
SBFE/js-combine-pack
lib/tool/lineStream.js
680
// nodejs按行读取文件流 var Stream = require('stream').Stream, util = require('util'); var LineStream = function() { this.writable = true; this.readable = true; this.buffer = ''; }; util.inherits(LineStream, Stream); LineStream.prototype.write = function(data, encoding) { if (Buffer.isBuffer(data)) { data = data.to...
mit
krasimirkrustev/ta-library-system
LibrarySystem/LibrarySystem/Account/Manage.aspx.cs
4298
using LibrarySystem.Models; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using System; using System.Collections.Generic; using System.Linq; namespace LibrarySystem.Account { public partial class Manage : System.Web.UI.Page { protected string SuccessMessage ...
mit
kif/freesas
freesas/average.py
9116
__author__ = "Guillaume" __license__ = "MIT" __copyright__ = "2015, ESRF" import numpy from freesas.model import SASModel class Grid: """ This class is used to create a grid which include all the input models """ def __init__(self, inputfiles): """ :param inputfiles: list of pdb files...
mit
rachwal/DesignPatterns
structural/src/flyweight/btree.cc
1119
// Based on "Design Patterns: Elements of Reusable Object-Oriented Software" // book by Erich Gamma, John Vlissides, Ralph Johnson, and Richard Helm // // Created by Bartosz Rachwal. The National Institute of Advanced Industrial Science and Technology, Japan. #include "btree.h" namespace structural { namespace flywe...
mit
minimalism/omr-client
README.md
389
# OpenMultiplayerRobot This is a work in progress. ## Install ```bash npm install npm install -g typings gulp typings install gulp npm start ``` ## Credits - Developed by [Andreas Carlson](http://andreascarlson.se) Thanks to: - [iggyfisk](https://github.com/iggyfisk) - Based on [electron-typescript-react quickstar...
mit
mzgoddard/tomlc
toml.c
25919
#include <assert.h> #include <math.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> // #include <antlr3.h> #include "toml.h" #include "toml-parser.h" // #include "tomlParser.h" // #include "tomlLexer.h" struct _TOMLStringifyData { TOMLError *error; int bufferSi...
mit
anamartinez/enefele
config/environments/test.rb
1561
Enefele::Application.configure do # Settings specified here will take precedence over those in config/application.rb. # The test environment is used exclusively to run your application's # test suite. You never need to work with it otherwise. Remember that # your test database is "scratch space" for the test s...
mit
javanigus/zabuun
essay/0006-the-first-song.php
1193
<!doctype html> <html class="no-js" lang=""> <head> <title>Zabuun - Learn Egyptian Arabic for English speakers</title> <meta name="description" content=""> <?php include $_SERVER['DOCUMENT_ROOT'].'/layout/head.php';?> </head> <body> <?php include $_SERVER['DOCUMENT_ROOT'].'/layout/ie8.php';?> <?php inc...
mit
mouadino/go-nano
cli/nano-client/main.go
551
package main import ( "os" "github.com/codegangsta/cli" ) func main() { app := cli.NewApp() app.Name = "nano-client" app.Usage = "Send a request to service" app.Version = Version app.Flags = []cli.Flag{ cli.StringFlag{ Name: "service, s", Usage: "Service endpoint to send request to (Required)", },...
mit
feathersjs/generator-feathers
generators/app/templates/ts/src/index.ts
352
import logger from './logger'; import app from './app'; const port = app.get('port'); const server = app.listen(port); process.on('unhandledRejection', (reason, p) => logger.error('Unhandled Rejection at: Promise ', p, reason) ); server.on('listening', () => logger.info('Feathers application started on http://%s...
mit
EvilFreelancer/gistoria
README.md
1172
# Gistoria [**Gistoria**](http://gistoria.drteam.rocks/) it's a **Gist** of the some of **Stories** - a project devoted to Russian literature. Online development streams every Monday, Wednesday and Friday. https://www.twitch.tv/evilfreelancer If you can help to **Gistoria** it will be great! ## How to install ...
mit
gphat/datadog-scala
src/test/scala/ServiceCheckSpec.scala
1484
package test import akka.actor.ActorSystem import akka.pattern.AskTimeoutException import github.gphat.datadog._ import java.nio.charset.StandardCharsets import org.json4s._ import org.json4s.native.JsonMethods._ import org.specs2.mutable.Specification import scala.concurrent.duration._ import scala.concurrent.Executi...
mit
mezza/rubyXL
rdoc/RubyXL/CellStyle.html
2528
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>class RubyXL::CellStyle - rubyXL 3.3.29</title> <script type="text/javascript"> var rdoc_rel_prefix = "../"; var index_rel_prefix = "../"; </script> <script src="../js/jquery.js"></script> <script src="../js/darkfish.js"></script> <link href="../css/f...
mit
microsoftgraph/msgraph-sdk-java
src/main/java/com/microsoft/graph/requests/ContactFolderCollectionResponse.java
765
// Template Source: BaseEntityCollectionResponse.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -------------------------...
mit
zxing-js/library
src/test/core/common/reedsolomon/ReedSolomon.spec.ts
32086
/* * Copyright 2013 ZXing authors * * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
mit
alphagov/service-manual-publisher
spec/spec_helper.rb
463
require "capybara/rspec" require "webmock/rspec" require "plek" require "gds_api/test_helpers/publishing_api" WebMock.disable_net_connect!(allow_localhost: true) RSpec.configure do |config| config.expect_with :rspec do |expectations| expectations.include_chain_clauses_in_custom_matcher_descriptions = true en...
mit
18F/quotable
app_config.py
1915
#!/usr/bin/env python """ Project-wide application configuration. DO NOT STORE SECRETS, PASSWORDS, ETC. IN THIS FILE. They will be exposed to users. Use environment variables instead. See get_secrets() below for a fast way to access them. """ import os """ NAMES """ # Project name used for display PROJECT_NAME = 'q...
mit
aquilax/quantified.avtobiografia.com
content/post/2019-12-01.md
1298
{ "date": "2019-12-01", "type": "post", "title": "Report for Sunday 1st of December 2019", "slug": "2019\/12\/01", "categories": [ "Daily report" ], "images": [], "health": { "weight": 82.9, "height": 173, "age": 14228 }, "nutrition": { "ca...
mit
rabbitfighter81/reMORSE
src/app/components/legend/legend.component.html
749
<table class="legend-table" *ngIf="units"> <thead> <tr class="header"> <th>Chraracter</th> <th>Length (seconds)</th> </tr> </thead> <tbody> <tr> <th>Dot ( ● )</th> <td class="red">{{ units.dot }} Seconds</td> </tr> <tr> <th>Dash ( - )</th> <td class="red">{{...
mit
variousweddingdress/variousweddingdress.github.io
_posts/2015-10-13-Watters-Wtoo-Wtoo-Maids-Dress-891-2015-Spring-Sleeveless-KneeLength-AlinePrincess.md
1244
--- layout: post date: '2015-10-13' title: "Watters - Wtoo Wtoo Maids Dress 891 2015 Spring Sleeveless Knee-Length Aline/Princess" category: Watters - Wtoo tags: [Watters - Wtoo,Wtoo,Aline/Princess ,Jewel,Knee-Length,Sleeveless,2015,Spring] --- ### Watters - Wtoo Wtoo Maids Dress 891 Just **$189.99** ### 2015 Spring Sl...
mit
jdh8/metallic
src/soft/integer/modti3.c
219
#include "udivmodti4.h" __int128 __modti3(__int128 a, __int128 b) { unsigned __int128 r; unsigned __int128 sign = a >> 127; udivmodti4_(a + sign ^ sign, b < 0 ? -b : b, &r); return r + sign ^ sign; }
mit
cliffano/swaggy-jenkins
clients/powershell/generated/tests/Model/EmptyChangeLogSet.Tests.ps1
615
# # Swaggy Jenkins # Jenkins API clients generated from Swagger / Open API specification # Version: 1.1.2-pre.0 # Contact: blah@cliffano.com # Generated by OpenAPI Generator: https://openapi-generator.tech # Describe -tag 'PSOpenAPITools' -name 'EmptyChangeLogSet' { Context 'EmptyChangeLogSet' { It 'Initia...
mit
thatguyandy27/SkillsCompiler
skills_app/db/migrate/20140316173555_add_index_to_skill_totals.rb
147
class AddIndexToSkillTotals < ActiveRecord::Migration def change add_index :skill_totals, :name add_index :skill_totals, :date end end
mit
hardylake8020/youka-server
web/home_page/views/index.client.view.html
13908
<!DOCTYPE html> <html> <head lang="en"> <title>柱柱签收-移动互联网时代的物流,运输全程可视,让物流更简单</title> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="keywords" content="柱柱签收,物流管理系统,车队系统,第三方物流系统,物流签收, 签收单, 回单,车队管理,车辆管理,TMS,运输管理系统,OT...
mit