repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
Tusky/DjangoSample
README.md
1193
# DjangoSample This is a sample Django project which samples how I organize and code a website. Each function and class code contained in the repository was coded by me. It is created for Python 3.6. Side notes: - The code is overcomplicated in a few places. The reasoning for that is to show some of the advanced to...
mit
rmomogi/validator_ie
lib/validator_ie/core/state_ap.rb
1328
module ValidatorIE class StateAP include ActiveModel::Validations attr_accessor :number validates :number, length: { minimum: 9, maximum: 9 }, numericality: true, presence: true validate :number_should_code_state validate :number_should_range_code validate :number_should_mod11 ...
mit
pablogonzalezalba/a-language-of-ice-and-fire
lexer_rules.py
1138
# -*- coding: utf-8 -*- tokens = [ 'LPAREN', 'RPAREN', 'LBRACE', 'RBRACE', 'EQUAL', 'DOUBLE_EQUAL', 'NUMBER', 'COMMA', 'VAR_DEFINITION', 'IF', 'ELSE', 'END', 'ID', 'PRINT' ] t_LPAREN = r"\(" t_RPAREN = r"\)" t_LBRACE = r"\{" t_RBRACE = r"\}" t_EQUAL = r"\=" t_DOU...
mit
Dot-and-Net/IoTHelpers
Src/IoTHelpers/I2c/Devices/Adxl345Accelerometer.cs
5521
using IoTHelpers.Helpers; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Windows.Devices.I2c; namespace IoTHelpers.I2c.Devices { public struct Acceleration { public double X { get; internal set; } ...
mit
prateekbhatt/testing-sinon
GruntFile.js
782
module.exports = function (grunt) { // Define the configuration for all the tasks grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), // Configure a mochaTest task mochaTest: { test: { options: { reporter: 'spec', ...
mit
jlguenego/ocpforum
test/animation/place_on_ring.html
3971
<!DOCTYPE html> <html> <head> <base href="../../" /> <meta charset="utf-8" /> <script src="_ext/d3.v3.min.js"></script> <script src="_ext/jquery-1.10.2.min.js"></script> <script src="_ext/sha1.js"></script> <script src="_ext/seedrandom-min.js"></script> <script src="js/jlg_commons.js"></script> <scrip...
mit
mattrhummel/GermannaCC-WPTheme
page-early-college.php
799
<?php //Names the page template for each section /* Template Name: Early College */ get_header(); ?> <?php get_template_part( 'parts/banners' ); ?> <div class="row"> <div class="container"> <?php // Gets the alert custom post type id for each sub page needing special announcement $post_id = 5447; $queried_post = get...
mit
vasco3/Oracul
README.md
89
# Oracool Oracool questions game [follow me in twitter](https://twitter.com/Cuadraman)
mit
Semantic-Org/Semantic-UI-React
test/specs/lib/createPaginationItems/itemFactories-test.js
3176
import { createEllipsisItem, createFirstPage, createLastItem, createNextItem, createPageFactory, createPrevItem, } from 'src/lib/createPaginationItems/itemFactories' describe('itemFactories', () => { describe('createEllipsisItem', () => { it('"active" is always false', () => { createEllipsisIte...
mit
impurator/Fabulous-Moustache
ReactiveDocs/Reader_WinForms/Properties/Settings.Designer.cs
1078
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18052 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
mit
XT95/PBGI
src/GI/uvmapper.cpp
4909
#include <algorithm> #include "GI/uvmapper.h" UVMapper::UVMapper( glm::ivec2 size) : m_size(size), m_scale(0.f), m_border(glm::vec2(1.)/glm::vec2(size)) {} UVMapper::~UVMapper() {} void UVMapper::computeLightmapPack(std::vector<Object*> &obj) { m_obj = obj; std::vector<Quadrilateral> m_quad; ...
mit
adamjcook/cs27500
exam1/problem15/Sequence.java
646
import java.lang.IndexOutOfBoundsException; public interface Sequence { public int size(); // Return number of elements in sequence. public void addFirst(int e); // Insert e at the front of the sequence. public void addLast(int e); // Insert e at the back of the sequence. // Inserts an eleme...
mit
alexbiehl/hoop
hadoop-protos/src/Hadoop/Protos/YarnProtos/AMCommandProto.hs
2466
{-# LANGUAGE BangPatterns, DataKinds, DeriveDataTypeable, FlexibleInstances, MultiParamTypeClasses #-} {-# OPTIONS_GHC -fno-warn-unused-imports #-} module Hadoop.Protos.YarnProtos.AMCommandProto (AMCommandProto(..)) where import Prelude ((+), (/), (.)) import qualified Prelude as Prelude' import qualified Data.Typeable...
mit
TalentedEurope/te-site
resources/lang/de/reg-profile.php
23259
<?php // Autogenerated by Translator Builder return [ 'studies_level_5' => 'kurzfristige tertiäre Ausbildung', 'studies_level_6' => 'Bachelor oder Äquivalent', 'studies_level_7' => 'Magister oder Äquivalent', 'studies_level_8' => 'Doktor oder Äquivalent', ...
mit
justanotherdot/advent-linguist
2016/Haskell/AdventOfCode/src/Day04.hs
1928
-- module Day04 (solveDay04) where module Day04 where import Control.Monad (mapM_) import Data.Char (chr, isDigit, ord) import Data.Function (on) import Data.List (group, nub, sort, sortBy) import Data.List.Split (splitOn, wordsBy) isSquareBracket :: C...
mit
FeliciousX/SDE-R-Package
README.md
213
# SDE-R-Package Assignment 1 for Software Deployment and Evolution R package Contains just a simple fibonacci function fib(len) fib() accepts 1 integer parameter to specify the length of the fibonacci sequence.
mit
coq-bench/coq-bench.github.io-old
clean/Linux-x86_64-4.01.0-1.2.0/unstable/8.4.5/contrib:maths/dev/2015-01-30_09-41-42.html
6886
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Coq bench</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet...
mit
kipr2395/dev
parallax/css/main.css
9762
/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */ /** * 1. Change the default font family in all browsers (opinionated). * 2. Correct the line height in all browsers. * 3. Prevent adjustments of font size after orientation changes in * IE on Windows Phone and in iOS. */ /* Document ...
mit
theodi/multichain-client
spec/multichain/send_data_spec.rb
2158
module Multichain describe Client do let(:client) { described_class.new } it 'knows about its asset' do expect(client.asset).to eq 'odi-coin' end context 'send a coin' do it 'sends to a simple address', :vcr do expect(client.send_asset 'stu', 1).to eq ( { rec...
mit
maul-esel/ssharp
Source/SafetySharp/Runtime/SafetySharpRuntimeModel.cs
9662
// The MIT License (MIT) // // Copyright (c) 2014-2017, Institute for Software & Systems Engineering // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including wit...
mit
timoMa/vigra
vigranumpy/examples/boundary_gui/bv_feature_selection.py
3993
import pyqtgraph as pg from pyqtgraph.Qt import QtGui, QtCore import numpy# from pyqtgraph.parametertree import Parameter, ParameterTree, ParameterItem, registerParameterType class FeatureSelectionDialog(QtGui.QDialog): def __init__(self,viewer, parent): super(FeatureSelectionDialog, self).__init...
mit
lucianot/dealbook-node-api
app.js
2082
/** * App */ 'use strict'; // Base setup var express = require('express'); var app = express(); var path = require('path'); var bodyParser = require('body-parser'); var logger = require('morgan'); var mongoose = require('mongoose'); var config = require('./config'); var routes = require('./routes/index'); var val...
mit
emmb14/MegaSlider
js/megaslider.js
3148
$(document).ready(function(){ 'use strict'; //Turn off and on the music $("#sound-control").click(function() { var toggle = document.getElementById("sound-control"); var music = document.getElementById("music"); if(music.paused){ music.play(); $("#sound-control").attr('src', 'img/ljud_pa.png'); ...
mit
thinknode/desktop
src/services/logger.js
930
/* * Manifest Service * * Copyright (c) 2015 Thinknode Labs, LLC. All rights reserved. */ (function() { 'use strict'; // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Service function loggerService() { /* jshint validthis: true */ this.logs = []; /** ...
mit
basilfx/EFM2Riot
dist/boards/stk3600/include/periph_conf.h
5600
/* * Copyright (C) 2015-2018 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup boards_stk3600 * @{ * * @file * @brief Configuration of ...
mit
kteza1/ninjasphere-limitlessled
README.md
807
# ninjasphere-limitlessled Limitlessled driver for NinjaSphere **How to start the driver:** 1. Download the sources and do **'make target'**. This will generate **'driver-limitlessled'** folder with driver binary compatible with sphere architecture along with some other necessary files 2. Make sure these directorie...
mit
thomasmauerhofer/search-engine
src/setup/check_for_currupt_references.py
2124
from engine.api import API from engine.utils.printing_utils import progressBar from setup.utils.datastore_utils import repair_corrupt_reference, link_references_to_paper def remove_duplicates_from_cited_by(): print("\nRemove Duplicates") api = API() papers = api.get_all_paper() for i, paper in enumer...
mit
rfprod/dnbhub
src/app/store/soundcloud/soundcloud.module.ts
511
import { NgModule, Provider } from '@angular/core'; import { NgxsModule } from '@ngxs/store'; import { AppSoundcloudService } from './soundcloud.service'; import { AppSoundcloudState } from './soundcloud.store'; import { AppSoundcloudApiService } from './soundcloud-api.service'; export const soundcloudStoreModuleProv...
mit
ticketmaster-api/ticketmaster-api.github.io
tests/serenity/src/test/java/com/tkmdpa/taf/definitions/pantheon/UserAccountDefinition.java
1145
package com.tkmdpa.taf.definitions.pantheon; import com.tkmdpa.taf.steps.pantheon.UserAccountSteps; import net.thucydides.core.annotations.Steps; import org.jbehave.core.annotations.Given; import org.jbehave.core.annotations.Then; import org.jbehave.core.annotations.When; public class UserAccountDefinition { @St...
mit
blnz/palomar
src/main/java/com/blnz/xsl/expr/CurrentFunction.java
874
// $Id: CurrentFunction.java 96 2005-02-28 21:07:29Z blindsey $ package com.blnz.xsl.expr; import com.blnz.xsl.om.*; /** * Represents the XSLT Function: node-set current() * * The current function returns a node-set that has the * current node as its only member. For an outermost * expression (an expression n...
mit
wisedu/bh-mint-ui2
packages/layout-container/index.js
54
export { default } from './src/layout-container.vue';
mit
CommonAccord/Cmacc-Org
Doc/F/US/00/Agt/Acquire/Shares/MSPA/Annex/Note/0.md
8299
EXHIBIT 2.2(b) Doc.Ti=Nonnegotiable Promissory Note Head.Notice.sec=This {_Promissory_Note} has been issued without registration or qualification under the Securities Act of 1933, as amended, and applicable state securities laws and may not be sold, transferred, or otherwise disposed of without (A) such registration ...
mit
benAsiri/divisionalSecSystem
resources/views/HR/yearly_Increment_Calc/YICPage3.blade.php
1113
@extends('masterPage') @section('content') <div class="box"> <div class="box-header"><h3 class="box-title"> Page3</h3></div> <!-- /.box-header --> <div class="box-body"> <form role="form"> <div class="box-body"> <div class="form-group"> ...
mit
mattbaker/celegans
README.md
697
# celegans An implementation of the celegans connectome in Go. Based on @interintel's [work](http://interintelligence.org/archCE.htm) ([Python code](https://github.com/Connectome/GoPiGo)) One go routine is kicked off per Neuron, which listens indefinitely for incoming "signals" from other Neurons. Neurons are model...
mit
ax5ui/ax5docs
_src_/ax5ui-binder/demo/index.html
6209
<tmpl-metadata parentId="demo" parentTitle="Demo" sort="1" id="basic" title="basic" desc=""/> <layout-use template="${data.layoutPath}" project-name="${data.projectName}" parent-id="${data.metadata.parentId}" page-title="${data.metadata.title}" page-id="${data.metadata.i...
mit
erose/studentinsights
spec/controllers/students_controller_spec.rb
19225
require 'rails_helper' def create_service(student, educator) FactoryGirl.create(:service, { student: student, recorded_by_educator: educator, provided_by_educator_name: 'Muraki, Mari' }) end describe StudentsController, :type => :controller do describe '#show' do let!(:school) { FactoryGirl.cre...
mit
fireflex/matters
assets/js/general.js
2874
/* *@author jaime P. Bravo */ $(document).ready(function () { //forms general function sendDataWithAjax(type, url, data) { return $.ajax({ type: type, url: url, data: data, dataType: 'json', beforeSend: function () { console...
mit
albertschulz/DRImagePlaceholderHelper
DRImagePlaceholderHelperExample/ViewController.h
393
// // ViewController.h // DRImagePlacerholerHelperExample // // Created by Albert on 11.08.13. // Copyright (c) 2013 Albert Schulz. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController { IBOutlet UIImageView *imageView1; IBOutlet UIImageView *imageView2; IBOutle...
mit
portchris/NaturalRemedyCompany
src/app/code/community/Ess/M2ePro/sql/Upgrade/v6_4_14__v6_5_0_16/AllFeatures.php
1746
<?php class Ess_M2ePro_Sql_Upgrade_v6_4_14__v6_5_0_16_AllFeatures extends Ess_M2ePro_Model_Upgrade_Feature_AbstractFeature { //######################################## public function execute() { $tablesList = array( 'processing_request', 'product_change', 'lock...
mit
electronifie/accountifie-svc
lib/routes/gl/addFilter.js
1756
var LedgerRequestHandler = require('../../helpers/ledgerRequestHandler'); /** * @api {post} /gl/:LEDGER_ID/add-filter add filter * @apiGroup Ledger.Utils * @apiVersion v1.0.0 * * @apiDescription * Add a filter for caching balances. This will speed up balance * requests containing a matching filters. * * @...
mit
LordOfDorks/RazorClamDICE
Middlewares/WolfSSL-3.8.0/wolfssl/wolfcrypt/types.h
11616
/* types.h * * Copyright (C) 2006-2015 wolfSSL Inc. * * This file is part of wolfSSL. (formerly known as CyaSSL) * * wolfSSL 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 2 of the Lice...
mit
ktok07b6/polyphony
tests/if/if28.py
922
from polyphony import testbench def g(x): if x == 0: return 0 return 1 def h(x): if x == 0: pass def f(v, i, j, k): if i == 0: return v elif i == 1: return v elif i == 2: h(g(j) + g(k)) return v elif i == 3: for m in range(j): ...
mit
alexander-shibisty/subscribeonme
administrator/blocks/main/header.php
180
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <link href="css/admin.css" type="text/css" rel="stylesheet"> <script src="js/main/jquery.js"></script>
mit
BuzzAcademy/idioms-moe-unformatted-data
all-data/10000-10999/10622-22.html
1588
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>...
mit
craigwmcclellan/craigwmcclellan.github.io
_site/2009/09/15/t4023026184.html
4825
<!DOCTYPE html> <html lang="en"> <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"> <meta content="Craig McClellan" name="author"> <title>Craig McClellan - T4023026184 </title> <link href="...
mit
fragmenta/fragmenta-cms
src/posts/actions/update.go
2058
package postactions import ( "net/http" "github.com/fragmenta/auth/can" "github.com/fragmenta/mux" "github.com/fragmenta/server" "github.com/fragmenta/view" "github.com/fragmenta/fragmenta-cms/src/lib/session" "github.com/fragmenta/fragmenta-cms/src/posts" "github.com/fragmenta/fragmenta-cms/src/users" ) //...
mit
pelger/Kafkaesque
lib/message/request/describeGroups.js
1146
/* * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, O...
mit
AlphaTRL/GPP-2016-17
Week 2/Workshop4_GameEngine/spacewar.h
474
#ifndef _SPACEWAR_H #define _SPACEWAR_H #define WIN32_LEAN_AND_MEAN #include "game.h" class Spacewar : public Game { private: public: // Constructor Spacewar(); //Destructor virtual ~Spacewar(); // Initialize the game void initialize(HWND hwnd); void update(); // Pure virtual functions f...
mit
CMPUT301F17T20/Habitivity
app/src/main/java/main/habitivity/services/ConnectivityService.java
1916
package main.habitivity.services; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.net.ConnectivityManager; import android.net.NetworkInfo; /** * Created by Shally on 2017-12-01. */ public class Connectivity...
mit
dumfug/timeline
vagrant/config/shell/start_backend.sh
376
#!/bin/bash mkdir -p ~/timelinelogs cd /timeline/git echo "create virtual environment" virtualenv -p /usr/bin/python3.5 ~/venv echo "activate virtual environment" source ~/venv/bin/activate echo "install requirements using pip" pip install -r requirements.txt echo "start timeline example" python3.5 example.py > ~/...
mit
DataViva/dataviva-site
dataviva/templates/graphs/css_assets.html
498
<link type="text/css" rel="stylesheet" href="/static/css/main.css"> <link type="text/css" rel="stylesheet" href="/static/css/bgs.css"> <link type="text/css" rel="stylesheet" href="/static/css/graphs.css"> <link type="text/css" rel="stylesheet" media="all" href="{{g.s3_host}}/static/css/libs/font-awesome/css/font-awesom...
mit
peterpangl/sso-project
var/cache/dev/twig/3c/3c143050536fee4bbe81d2075bb2515ac85282e72e70471d06862fa83c81a660.php
15225
<?php /* @WebProfiler/Collector/twig.html.twig */ class __TwigTemplate_793d44b82b00b11058566fd43a938457dfbf8bd2ba53b4f3f33086ff7eecb7a9 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 $this->parent = $this->loadTemplate(...
mit
Qafoo/changetrack
src/main/Qafoo/ChangeTrack/FISCalculator/TransactionDatabase.php
1795
<?php namespace Qafoo\ChangeTrack\FISCalculator; class TransactionDatabase { /** * Row based data set * * @var array */ private $data; /** * Items that occur in this data base * * @var string[] */ private $items = array(); /** * @param array $data ...
mit
TheCbac/MICA-Desktop
app/components/Footer.js
1554
// @flow /* ********************************************************** * File: Footer.js * * Brief: The react footer component * * Authors: Craig Cheney, George Whitfield * * 2017.04.27 CC - Document created * ********************************************************* */ import React, { Component } from 'react'; import ...
mit
facebook/flipper
desktop/flipper-plugin/src/ui/data-inspector/DataDescription.tsx
18166
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format */ import {Typography, Popover, Input, Select, Checkbox} from 'antd'; import {DataInspectorSetValue} from './DataInsp...
mit
digiworks/libcutl
cutl/details/boost/config/compiler/comeau.hpp
1644
// (C) Copyright John Maddock 2001. // (C) Copyright Douglas Gregor 2001. // (C) Copyright Peter Dimov 2001. // (C) Copyright Aleksey Gurtovoy 2003. // (C) Copyright Beman Dawes 2003. // (C) Copyright Jens Maurer 2003. // Use, modification and distribution are subject to the // Boost Software License, Ve...
mit
ShapeNet/RenderForCNN
view_estimation/run_evaluation.py
932
import os import sys BASE_DIR = os.path.dirname(os.path.abspath(__file__)) sys.path.append(BASE_DIR) sys.path.append(os.path.dirname(BASE_DIR)) from global_variables import * from evaluation_helper import * cls_names = g_shape_names img_name_file_list = [os.path.join(g_real_images_voc12val_det_bbox_folder, name+'.tx...
mit
AndrewGaspar/Podcasts
Podcasts/Chrome.xaml.cs
6129
using System; using Windows.ApplicationModel.Activation; using Windows.UI.Core; using Windows.UI.Input; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Input; using Windows.UI.Xaml.Navigation; // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&c...
mit
marielb/roadshow
app/public/js/collections/auction_collection.js
264
/** * Auction collection */ 'use strict'; var Model = require('../models/auction_model.js'); var Collection = require('tungstenjs/adaptors/backbone').Collection; var AuctionCollection = Collection.extend({ model: Model }); module.exports = AuctionCollection;
mit
britishtea/bonehead
lib/bonehead.rb
813
# Public: Executes a block of code and retries it up to `tries` times if an # exception was raised. # # tries - An Integer (default: Float::Infinity). # exceptions - A list of Exceptions (default: StandardError). # # Examples # # class Wrapper # include Bonehead # # def login(username, password) # ...
mit
mathiasbynens/unicode-data
6.0.0/blocks/Devanagari-Extended-regex.js
121
// Regular expression that matches all symbols in the Devanagari Extended block as per Unicode v6.0.0: /[\uA8E0-\uA8FF]/;
mit
Harrand/MDL
src/mdl_file.cpp
6776
#include "mdl_file.hpp" MDLFile::MDLFile(std::string file_path): File(std::move(file_path)) {this->update();} bool MDLFile::exists_tag(const std::string& tag_name) const { return this->parsed_tags.find(tag_name) != this->parsed_tags.end(); } bool MDLFile::exists_sequence(const std::string& sequence_name) const { r...
mit
panzer13/v2ray-core
app/proxyman/outbound/handler_test.go
2146
package outbound_test import ( "context" "testing" "v2ray.com/core" "v2ray.com/core/app/policy" . "v2ray.com/core/app/proxyman/outbound" "v2ray.com/core/app/stats" "v2ray.com/core/common/net" "v2ray.com/core/common/serial" "v2ray.com/core/features/outbound" "v2ray.com/core/proxy/freedom" "v2ray.com/core/tr...
mit
KASOGIT/bsq
lib/src/my_isneg.c
377
/* ** my_isneg.c for my_isneg in /home/soto_a/rendu/Piscine_C_J03 ** ** Made by adam kaso ** Login <soto_a@epitech.net> ** ** Started on Wed Oct 1 13:22:15 2014 adam kaso ** Last update Fri Dec 5 14:48:05 2014 Kaso Soto */ #include "my.h" int my_isneg(int n) { if (n >= 0) { my_putchar('P'); } ...
mit
botify-labs/python-simple-workflow
swf/querysets/workflow.py
25485
# -*- coding: utf-8 -*- # Copyright (c) 2013, Theo Crevon # Copyright (c) 2013, Greg Leclercq # # See the file LICENSE for copying permission. from boto.swf.exceptions import SWFResponseError from swf.constants import REGISTERED from swf.querysets.base import BaseQuerySet from swf.models import Domain from swf.model...
mit
delabassee/delabassee.github.io
_posts/2017-09-21-EE8-GF5-Released.md
3854
--- layout: post title: Java EE 8 and GlassFish 5.0 Released! excerpt: We are pleased to announce the general availability of GF 5.0, the Java EE 8 RI... --- We are pleased to announce the general availability of GlassFish 5.0, the Java EE 8 Open Source Reference Implementation and that the Java EE 8 umbrella specific...
mit
chrismoos/datatables
lib/data_tables_controller.rb
3255
module DataTablesController def self.included(cls) cls.extend(ClassMethods) end module ClassMethods def datatables_source(action, model, *attrs) modelCls = Kernel.const_get(model.to_s.capitalize) modelAttrs = modelCls.new.attributes columns = [] modelAttrs.each_key { |k| ...
mit
Azure/azure-sdk-for-ruby
management/azure_mgmt_resources/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_operation.rb
1938
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Resources::Mgmt::V2019_03_01 module Models # # Deployment operation information. # class DeploymentOperation include ...
mit
s5s5/BegVCSharp
Chapter05/Ch05Ex02/Ch05Ex02/Properties/AssemblyInfo.cs
1392
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("Ch...
mit
abdulhannanali/hangman
css/styles.css
147
.hangStyle { font-family: 'Shadows Into Light', cursive; } .repoText { margin-top: 10px; } .toast { background-color: red; color: black; }
mit
ufobat/EANN
README.md
294
# EANN - Evolutional artificial neuronal Network and learning java... [![Build Status](https://travis-ci.org/ufobat/EANN.svg?branch=master)](https://travis-ci.org/ufobat/EANN)[![CodeCov](https://codecov.io/github/ufobat/EANN/coverage.svg?branch=master)](https://codecov.io/github/ufobat/EANN)
mit
karamem0/SPClient
source/SPClient.Tests/functions/SPClientContentType/New-SPClientContentType.Tests.ps1
5851
#Requires -Version 3.0 . "$($PSScriptRoot)\..\..\TestInitialize.ps1" Describe 'New-SPClientContentType' { Context 'Success' { Context 'Site Content Type' { AfterEach { try { $Web = $SPClient.ClientContext.Site.OpenWebById($SPClient.TestConfig.WebId) ...
mit
tell/xc
android/ndk-standalone/README.md
644
# Standalone Cross-Compile Toolchain of AndroidNDK ## Files * `config.mk`: A configuration file for the installation of standalone cross-compile toolchain. * `toolchain`: A directory containing the generated standalone cross-compile toolchain. ## How to Setup 1. Edit `config.mk` to set three variables `ANDROID_NDK_...
mit
smartvpnbiz/smartvpn-billing
spec/models/promo_spec.rb
2452
# frozen_string_literal: true require 'spec_helper' describe Promo do let(:promo) { build(:promo, promoter_type: 'discount') } subject { promo } describe 'validations' do it { is_expected.to validate_presence_of :name } it { is_expected.to validate_presence_of :type } it { is_expected.to validate_p...
mit
JasonWaataja/DotFileManager
src/dependencyeditor.h
1690
/* * Copyright (c) 2017 Jason Waataja * * 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
kerzyte/OWLib
STULib/Types/Dump/STU_BE0222CD.cs
254
// File auto generated by STUHashTool using static STULib.Types.Generic.Common; namespace STULib.Types.Dump { [STU(0xBE0222CD)] public class STU_BE0222CD : STU_3DD6C6E9 { [STUField(0x982D7B62)] public STUVec3 m_982D7B62; } }
mit
lihw/paper3d
include/Paper3D/pnodefactory.h
48
#include "../../src/scene_graph/pnodefactory.h"
mit
Tang8330/makeadrink
views/500.html
221
<div class='container'> <div class='row text-center'> <img src="/img/500Err.jpg" style="height:50%; width:50%;"></img> <h1><b>Error 500: Yikes!</h1></b> <i>{{#if error}} {{error}} {{/if}}</i> </div> </div>
mit
itiya/TaskTreeBonsai
README.md
38
# TaskTreeBonsai npm install npm start
mit
synw/django-chartflo
chartflo/templates/chartflo/dashboards/base.html
443
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>{{ title }}</title> {% include "chartflo/dashboards/head.html" %} </head> <body> <div id="app"> {% block header %}{% endblock %} {% block con...
mit
microsoft/O-CNN
tensorflow/script/network_cls.py
2557
import tensorflow as tf from ocnn import * # octree-based resnet55 def network_resnet(octree, flags, training=True, reuse=None): depth = flags.depth channels = [2048, 1024, 512, 256, 128, 64, 32, 16, 8] with tf.variable_scope("ocnn_resnet", reuse=reuse): data = octree_property(octree, property_name="feature...
mit
GreenMelon/Bootstrap-Notes
app/html/GridSystem 网格系统/GridSystem-02 响应式的列重置.html
3031
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>响应式的列重置</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <link rel="stylesheet" href="../../js/lib/bootstrap/dist/css/bootstrap.min.css"> <style> body { font-family: G...
mit
Core2D/Core2D
src/Core2D/Modules/TextFieldWriter.CsvHelper/CsvHelperWriter.cs
1976
#nullable disable using System; using System.Globalization; using System.IO; using Core2D.Model; using Core2D.ViewModels; using Core2D.ViewModels.Data; using CSV = CsvHelper; namespace Core2D.Modules.TextFieldWriter.CsvHelper { public sealed class CsvHelperWriter : ITextFieldWriter<DatabaseViewModel> { ...
mit
Haehnchen/idea-php-shopware-plugin
src/main/java/de/espend/idea/shopware/reference/provider/StringReferenceProvider.java
1454
package de.espend.idea.shopware.reference.provider; import com.intellij.codeInsight.lookup.LookupElement; import com.intellij.codeInsight.lookup.LookupElementBuilder; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiPolyVariantReferenceBase; import com.intellij.psi.ResolveResult; import com.jetbrains.php...
mit
FrontEndStudio/oc-blog-plugin
models/Category.php
869
<?php namespace Fes\Blog\Models; use Model; use Schema; /** * Category Model */ class Category extends Model { /** * @var string The database table used by the model. */ public $table = 'rainlab_blog_categories'; /** * @var array Guarded fields */ protected $guarded = ['*']; ...
mit
pakoito/DT3
DT3Core/Scripting/ScriptingKeyframesMaterialResource.hpp
3534
#ifndef DT3_SCRIPTINGKEYFRAMESMATERIALRESOURCE #define DT3_SCRIPTINGKEYFRAMESMATERIALRESOURCE //============================================================================== /// /// File: ScriptingKeyframesMaterialResource.hpp /// /// Copyright (C) 2000-2014 by Smells Like Donkey Software Inc. All rights reserved. /...
mit
SkullTech/algorithms-princeton
Algorithms/src/sorting/MergeBU.java
1193
package com.algorithms.sorting; public class MergeBU { public static void sort(Comparable[] a) { Comparable[] aux = new Comparable[a.length]; int N = a.length; for (int size = 1; size < N; size = size*2) { for (int i = 0; i < N; i = i + size) merge(a, aux, i, i+size-1, Math.m...
mit
hyper-xx/go-blog
static/Hplus-v.4.1.0/graph_echarts.html
16450
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>H+ 后台主题UI框架 - 百度ECHarts</title> <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台"> <meta name="description" content="H+是一个完全响应式,基于Bootstrap3最新...
mit
codegeek007/ic2
index.html
15462
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="A Social Media Analytics Platform that lets you advertise on the Social Media Acco...
mit
mathiasbynens/unicode-data
10.0.0/scripts/Hatran-code-points.js
329
// All code points in the `Hatran` script as per Unicode v10.0.0: [ 0x108E0, 0x108E1, 0x108E2, 0x108E3, 0x108E4, 0x108E5, 0x108E6, 0x108E7, 0x108E8, 0x108E9, 0x108EA, 0x108EB, 0x108EC, 0x108ED, 0x108EE, 0x108EF, 0x108F0, 0x108F1, 0x108F2, 0x108F4, 0x108F5, 0x108FB, 0x108FC, 0x108FD, 0x108FE, 0...
mit
saymedia/python-danga-gearman
setup.py
699
#!/usr/bin/env python from distutils.core import setup from dangagearman import __version__ as version setup( name = 'danga-gearman', version = version, description = 'Client for the Danga (Perl) Gearman implementation', author = 'Samuel Stauffer', author_email = 'samuel@descolada.com', url =...
mit
Satal/XmlFileExplorer
trunk/XmlFileExplorer.App/Properties/Settings.Designer.cs
5380
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34003 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
mit
weihuajiang/SchedulerEngineDotNet
SchedulerLib/definition/Scheduler.cs
53715
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; using System.Windows.Forms; using System.Threading; using System.Drawing.Drawing2D; namespace Scheduler { public class Scheduler<T, K> : IRuntimeScheduler, IScheduler<K> where T:ScheduleTask, new() { ...
mit
tonicospinelli/firefly-iii
app/Rules/Triggers/TransactionType.php
1900
<?php declare(strict_types = 1); /** * TransactionType.php * Copyright (C) 2016 thegrumpydictator@gmail.com * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ namespace FireflyIII\Rules\Triggers; use FireflyIII\Models\TransactionJournal;...
mit
0/paper.js
test/tests/Item.js
11427
/* * Paper.js * * This file is part of Paper.js, a JavaScript Vector Graphics Library, * based on Scriptographer.org and designed to be largely API compatible. * http://paperjs.org/ * http://scriptographer.org/ * * Copyright (c) 2011, Juerg Lehni & Jonathan Puckey * http://lehni.org/ & http://jonathanpuckey.co...
mit
BRANDTELIER/reyes
app/config/services.php
78
<?php return [ 'mandrill' => [ 'secret' => $_ENV['MANDRILL_SECRET'] ] ];
mit
piccolo794/Tutorials
Week 3/20150329-4.c
645
/* * * 20150315-4.c * * * Created by Sam Niemoeller on 3/28/15. * * Chapter 4, Problem 30 * * Write a program that generates a random number * from the following set: 1, 4, 7, 10, 13, 16 * The seed for the series is the computer's time. * */ #include <stdio.h> #include <stdlib.h> #include <time.h> int ...
mit
KlishGroup/prose-pogs
pogs/M/MEMSWHX/FLER/index.md
2916
--- layout: page title: Floyd Limited Executive Retreat date: 2016-05-24 author: Lori Daniel tags: weekly links, java status: published summary: Aenean ut venenatis augue, id maximus. banner: images/banner/leisure-05.jpg booking: startDate: 04/13/2019 endDate: 04/17/2019 ctyhocn: MEMSWHX groupCode: FLER publish...
mit
JSVillage/military-families-backend
client/components/forum/ForumContainer.js
830
import React, {Component, PropTypes} from 'react'; import * as actions from './ForumAction'; import ForumPage from './ForumPage'; class ForumContainer extends Component { constructor(props) { super(props); this.state = { questions: [] }; this.postQuestion = this.postQues...
mit
saipjayanthi23/Fundoo-Tots
app/src/main/java/projects/oss2015/cs/fundookid/Colors.java
3586
/* Copyright (c) 2015 Sai Jayanthi This source file is licensed under the "MIT license". Please see the file COPYING in this distribution for license terms. */ /* This program provides the functionality to implement sound and swipe features for Colors activity */ package projects.oss2015.cs.fundookid; import ...
mit