repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
ntrampe/FanFactory
fan/nt_level.h
2208
/* * Copyright (c) 2014 Nicholas Trampe * * 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, pub...
mit
kdungs/coursework-functional-programming
05/05.tex
1398
\documentclass[a4paper]{scrartcl} \input{../header.tex} \subject{Funktionale Programmierung WS 2013/14} \title{Übungsblatt 5} \author{Kevin Dungs\thanks{kevin.dungs@udo.edu}} \begin{document} \maketitle \section*{Aufgabe 5.1} \begin{minted}{haskell} span (\y = y /= '5') :: [Char] -> ([Char], [Char]) head . map (\c ...
mit
erinix/TruACM-Android-App
gen/edu/truman/acm/truacm/BuildConfig.java
163
/** Automatically generated file. DO NOT MODIFY */ package edu.truman.acm.truacm; public final class BuildConfig { public final static boolean DEBUG = true; }
mit
cirkuitnet/PHP-SmartDB
DbManagers/DbManager_Tests.php
16042
<? /** */ require_once(dirname(__FILE__).'/DbManager_MySQL.php'); /** * @package SmartDatabase * @ignore */ class DbManager_Tests extends DbManager_MySQL{ public function TestAll(){ $passed = 0; $failed = 0; $result = $this->TestWhereClause1(); if($result['passed']) $passed++; else $failed++; $result = $th...
mit
cobr123/VirtaMarketAnalyzer
src/test/java/ru/VirtaMarketAnalyzer/parser/CityInitParserTest.java
708
package ru.VirtaMarketAnalyzer.parser; import org.junit.jupiter.api.Test; import ru.VirtaMarketAnalyzer.data.Country; import ru.VirtaMarketAnalyzer.data.Region; import ru.VirtaMarketAnalyzer.main.Wizard; import java.io.IOException; import java.util.List; import static org.junit.jupiter.api.Assertions.*; class CityI...
mit
Technogi/website
src/scripts/msg.js
1145
var lang = navigator.language; exports.set_lang=function(_lang,msgs){ lang = _lang || navigator.language; if(lang.indexOf('en')===0){ lang = 'en'; }else if(lang.indexOf('es')===0){ lang = 'es'; }else{ lang = 'en'; } var nodes = document.querySelectorAll('[msg]'); for(var i = 0; i < nodes.leng...
mit
emilio2hd/emilio2hd.github.io
tag/Rails/index.html
12116
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Rails - Page 1 - Just an ordinary developer</title> <meta name="HandheldFriendly" content="True...
mit
conorwalsh/SEM
Web/nonadmin.php
6313
<?php include("session.php"); $debug=$_GET['d']; ?> <!DOCTYPE html> <!-------------------------------------------- LICENSE (MIT) ------------------------------------------------- Copyright (c) 2015 Conor Walsh Website: http://www.conorwalsh.net GitHu...
mit
joostdebruijn/node-postcode-nl
test/helpers.followNext.js
6658
'use strict'; const postcodeApi = require('../index.js'); const sinon = require('sinon'); const chai = require('chai'); const expect = chai.expect; const sinonChai = require('sinon-chai'); const requestApi = require('../lib/requestApi.js'); before(() => { chai.use(sinonChai); }); var sandbox; beforeEach(() => { s...
mit
LCabreroG/opensource
vendor/cakephp/cakephp/src/ORM/Behavior/CounterCacheBehavior.php
8607
<?php /** * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE.txt * Redistributions of files must retain the above copyr...
mit
Skrpk/mern-sagas
client/modules/Post/__tests__/PostActions.spec.js
657
import test from 'ava'; import { actionTest } from 'redux-ava'; import { ADD_POST_REQUEST, DELETE_POST_REQUEST, } from '../constants'; import { addPostRequest, deletePostRequest, } from '../PostActions'; const post = { name: 'Prashant', title: 'Hello Mern', cuid: 'f34gb2bh24b24b2', content: "All cats meow 'm...
mit
danmerl/Cryptopals.jl
cryptofuncs.jl
6048
function englishiness(ptarray::Array{UInt8, 1}) EnglishFrequencies = Dict( # from http://scottbryce.com/cryptograms/stats.htm 'e'=>12.51, 't'=>9.25, 'a'=>8.04, 'o'=>7.6, 'i'=>7.26, 'n'=>7.09, 's'=>6.54, 'r'=>6.12, 'h'=>5.49, 'l'=>4.14, 'd'=>3.99, ...
mit
msemple1111/average_alpr
README.md
6296
# Design For each new road, a new instance should be used, either through docker or a new server. The HTTP Server (this program) can either be in the same machine as the openalpr daemon or on a separate machine. +------------------+ +------------------+ | | MJPEG...
mit
fish-soul/fish-soul.github.io
1st_homework/index.html
10063
<!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>2015.10.31 2nd DXD Homework</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"...
mit
topbitdu/unidom-product
lib/unidom/product/models_rspec.rb
301
require 'rspec/models/unidom/product/product_spec' unless Unidom::Common::Neglection.namespace_neglected? 'Unidom::Product::Product' require 'rspec/models/unidom/product/product_associating_spec' unless Unidom::Common::Neglection.namespace_neglected? 'Unidom::Product::ProductAssociating'
mit
freshcrm/fresh-crm
plugins/User/lib/User/Form/Validate/PasswordMatch.php
590
<?php class User_Form_Validate_PasswordMatch extends Zend_Validate_Abstract { const NOT_MATCH = 'notMatch'; protected $_messageTemplates = array( self::NOT_MATCH => 'Geslo in ponovi geslo se ne ujemata' ); public function isValid($value, $context = null) { $value = (string) $value; $this->_setValue($valu...
mit
yogeshsaroya/new-cdnjs
ajax/libs/extjs/4.2.1/src/lang/Number.min.js
128
version https://git-lfs.github.com/spec/v1 oid sha256:ba1edb37cd9663c92048dc14cd2f7e9e81d2ce7364194e973ba9e1238f9198a2 size 878
mit
nmby/jUtaime
project/src/main/java/xyz/hotchpotch/jutaime/throwable/matchers/RaiseExact.java
3077
package xyz.hotchpotch.jutaime.throwable.matchers; import java.util.Objects; import org.hamcrest.Matcher; import xyz.hotchpotch.jutaime.throwable.Testee; /** * スローされた例外を検査する {@code Matcher} です。<br> * この {@code Matcher} は、スローされた例外そのものの型やメッセージが期待されたものかを検査します。<br> * 検査対象のオペレーションが正常終了した場合は、不合格と判定します。<br> ...
mit
biggora/caminte
lib/adapters/couchbase.js
9831
/** * Module dependencies */ var uuid = require('uuid'); var utils = require('../utils'); var safeRequire = utils.safeRequire; var helpers = utils.helpers; var couchbase = safeRequire('couchbase'); var CouchBase; exports.initialize = function (schema, callback) { var db, opts; opts = schema.settings || {}; ...
mit
ForbesLindesay/object-explorer
demo/client.js
503
var ObjectExplorer = require('../') var explorer = document.getElementById('explorer') var add = document.getElementById('add') var obj = { a: 10, b: true, reg: /foo/g, dat: new Date('2013-08-29'), str: "fooo, bar" } obj.self = obj obj.arr = [obj, obj, obj] obj.longArr = [] for (i = 0; i < 500; i++) obj.long...
mit
mhoc/jarvis
src/jarvis/service/docker_service.go
1804
package service import ( "fmt" "jarvis/log" "os/exec" "strings" "time" ) type CommandResult struct { Text string Error error } type Docker struct{} func (d Docker) RunShInContainer(command string, timeout time.Duration) (string, error) { log.Info("Executing command '%v' in container 'ubuntu'", command) re...
mit
unbug/generator-webappstarter
app/templates/app/src/lib/swing/swing.js
242
var global = window; var Stack = require('lib/swing/stack'), Card = require('lib/swing/card'); global.gajus = global.gajus || {}; global.gajus.Swing = { Stack: Stack, Card: Card }; module.exports = { Stack: Stack, Card: Card };
mit
ssnikolay/unitpay
spec/unitpay_spec.rb
127
require 'spec_helper' describe Unitpay do it 'has a version number' do expect(Unitpay::VERSION).not_to be nil end end
mit
BlockchainSociety/ethereumj-android
ethereumj-core/src/main/java/org/ethereum/net/rlpx/discover/UDPListener.java
3443
package org.ethereum.net.rlpx.discover; import io.netty.bootstrap.Bootstrap; import io.netty.channel.*; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.nio.NioDatagramChannel; import org.ethereum.crypto.ECKey; import org.ethereum.net.rlpx.Node; import org.ethereum.net.rlpx.discover.table....
mit
tradegecko/gecko
lib/gecko/ext/log_subscriber.rb
1160
# frozen_string_literal: true require 'request_store' # Requiring this file, or calling `Gecko.enable_logging` will hook into the provided # ActiveSupport::Notification hooks on requests and log ActiveRecord-style messages # on API requests. class GeckoLogSubscriber < ActiveSupport::LogSubscriber ENV_KEY = :"gecko-...
mit
andrewdefries/Ames_ToxBenchmark
334-48-5.txt.html
401
<html><img border=0 src=334-48-5.txt alt=334-48-5.txt></img><body> "x" "1" "JUDSON, PN, COOKE, PA, DOERRER, NG, GREENE, N, HANZLIK, RP, HARDY, C, HARTMANN, A, HINCHLIFFE, D, HOLDER, J, MUELLER, L, STEGER-HARTMANN, T, ROTHFUSS, A, SMITH, M, THOMAS, K, VESSEY, JD AND ZEIGER E. __ TOWARDS THE CREATION OF AN INTERNATIONAL...
mit
amas0/patools
patools/trial.py
5966
import os import numpy as np import pandas as pd import patools.packing as pck class Trial: def __init__(self, directory=os.getcwd(), nbs=False): self.packings = self.loadTrials(directory, nbs) self.df = pd.DataFrame(index=self.packings.keys()) self._getSphereRads() self._getPartic...
mit
treeform/pystorm
tests/strings/replace.py
110
txt = "the quick brown fox jumped over thethe lazy dog" txt2 = txt.replace("the","a") print txt print txt2
mit
Azure/azure-sdk-for-java
sdk/apimanagement/azure-resourcemanager-apimanagement/src/samples/java/com/azure/resourcemanager/apimanagement/ContentItemGetSamples.java
918
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.apimanagement; import com.azure.core.util.Context; /** Samples for ContentItem Get. */ public final class ContentItemGetSamples...
mit
IsaiasAntonio/PI
README.md
112
# Project details ## API application using: * Ruby version: 2.3.5 * Rails version: 5.1.4 * Device auth token
mit
lust4life/WebApiProxy
WebApiProxy.Api.Sample/Areas/HelpPage/SampleGeneration/HelpPageSampleKey.cs
6486
using System; using System.Collections.Generic; using System.ComponentModel; using System.Net.Http.Headers; namespace WebApiProxy.Api.Sample.Areas.HelpPage { /// <summary> /// This is used to identify the place where the sample should be applied. /// </summary> public class HelpPageSampleKey { ...
mit
mohanad86/TheGameOfLife
SFML-2.4.1-windows-vc14-32-bit/SFML-2.4.1/doc/html/NonCopyable_8hpp_source.html
10736
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>SFML - Simple and Fast Multimedia Library</title> <meta http-equiv="Content-Type" content="text/html;"/> <meta c...
mit
angular/angular-cli-stress-test
src/app/services/service-839.service.ts
320
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { Injectable } from '@angular/core'; @Injectable() export class Service839Service { constructor() { } }
mit
cloudzfy/leetcode
src/117.populating_next_right_pointers_in_each_node_ii/code2.cpp
717
/** * Definition for binary tree with next pointer. * struct TreeLinkNode { * int val; * TreeLinkNode *left, *right, *next; * TreeLinkNode(int x) : val(x), left(NULL), right(NULL), next(NULL) {} * }; */ class Solution { public: void connect(TreeLinkNode *root) { if (!root) return; queue<Tr...
mit
dakota/cakephp
src/View/Widget/WidgetInterface.php
1400
<?php declare(strict_types=1); /** * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE.txt * Redistributions of files m...
mit
godaddy/node-flipr-yaml
sample/flush-cache.js
461
const FliprYaml = require('../lib/flipr-yaml'); const source = new FliprYaml({ filePath: 'sample/config/basic.yaml', }); source.preload() .then(() => { console.log('Config file has been read and cached. Any changes to the .yaml file will not be read by flipr-yaml.'); }) .then(() => source.flush()) .the...
mit
NikiStanchev/SoftUni
JavaScript Advanced/LabObjectComposition/05_Sum/index.html
654
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script src="../node_modules/jquery/dist/jquery.min.js"></script> <script src="solution.js"></script> </head> <body> <input type="text" id="num1" /> <input type="text" id="num2" /> <input type="text" id="result" readonly...
mit
xzfc/agarsk
inputEvent.hpp
392
#pragma once #include <cstddef> // size_t struct InputEvent { struct Player *player = 0; virtual void apply(struct Game &) {} virtual ~InputEvent() {} static InputEvent *parse(const char *, size_t); }; struct Connect : InputEvent { Connect() {} void apply(struct Game &) override; }; struct Disconnect : ...
mit
alexknvl/leibniz
src/test/scala/Fin.scala
2090
package leibniz import leibniz.inhabitance.{Contractible, Inhabited, SingletonOf} //import Nat.{Z, S} //sealed abstract class Fin[N] { // def cata[F[_, _]](k: Fin.Cata[F]): F[N, this.type] //} //object Fin { // final case class FZ[N]()(implicit N: N <:: Nat) extends Fin[S[N]] { // def cata[F[_, _]](k: Fin.Cata[...
mit
VDBBjorn/Mobiele-applicaties
Labo_03/Labo3/app/src/main/java/be/ugent/oomt/labo3/MainActivity.java
304
package be.ugent.oomt.labo3; import android.app.Activity; import android.os.Bundle; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); } }
mit
GoogleChrome/workbox
test/workbox-precaching/integration/test-cleanup-outdated-caches.js
2212
/* Copyright 2019 Google LLC Use of this source code is governed by an MIT-style license that can be found in the LICENSE file or at https://opensource.org/licenses/MIT. */ const expect = require('chai').expect; const activateAndControlSW = require('../../../infra/testing/activate-and-control'); const cleanS...
mit
simonmysun/praxis
TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/c7036b1c85c5245aabc6977a0cfbcbc91b6aab7889d4836299eb711cafeb8124.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="./164ed3833b9acdb18dc0363885ad24e8cc93fa030b793a441ef7198ea078bce1.html">Teleport</a> <hr> ...
mit
jimmysong/bitcoin
test/functional/test_runner.py
17927
#!/usr/bin/env python3 # Copyright (c) 2014-2016 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Run regression test suite. This module calls down into individual test cases via subprocess. It will f...
mit
mkondratek/mkondratek.github.io
index.html
4076
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1"/> <link rel="stylesheet" type="text/css" href="stylesheets/reset.css"/> <link rel="stylesheet" type="text/css" href="stylesheets/main.css"/> <title>mkondratek</title> </hea...
mit
xingjian-f/Leetcode-solution
30. Substring with Concatenation of All Words.py
173
class Solution(object): def findSubstring(self, s, words): """ :type s: str :type words: List[str] :rtype: List[int] """
mit
bitchip/bitchip
src/qt/bitcoinunits.cpp
4375
#include "bitcoinunits.h" #include <QStringList> BitcoinUnits::BitcoinUnits(QObject *parent): QAbstractListModel(parent), unitlist(availableUnits()) { } QList<BitcoinUnits::Unit> BitcoinUnits::availableUnits() { QList<BitcoinUnits::Unit> unitlist; // unitlist.append(BTC); unitlist.append(...
mit
vladiibine/go-beego-already
src/tests/default_test.go
982
package test import ( "net/http" "net/http/httptest" "testing" "runtime" "path/filepath" _ "github.com/vladiibine/go-beego-already/src/routers" "github.com/astaxie/beego" . "github.com/smartystreets/goconvey/convey" ) func init() { _, file, _, _ := runtime.Caller(1) apppath, _ := filepath.Abs(filepath.Dir(...
mit
thejhubbs/permissionary
test/dummy/test/models/test50_test.rb
120
require 'test_helper' class Test50Test < ActiveSupport::TestCase # test "the truth" do # assert true # end end
mit
nodefluent/node-sinek
CHANGELOG.md
13432
# sinek CHANGELOG ## 2020-08-10, Version 10.0.0 ** **BREAKING removed deprecated client versions * **BREAKING** removed node-rdkafka * KafkaJS and primary connection to kafka * Convert to typescript. ## 2020-04-19, Version 9.1.0 * support for message headers in NProducer * upgraded dependencies ## 2020-02-24, Versi...
mit
wxhthx/my-hotel
dist/index.html
449
<!DOCTYPE html><html><head><meta charset=utf-8><title>my-hotel</title><link href=./static/css/app.c3137f22c2d37daf4616927c30d6e67a.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.b6880fbd947f118eaa83.js></script><script type=text/javascript src=./static/js/vendor....
mit
satya-das/cppparser
src/utils.h
1561
/* The MIT License (MIT) Copyright (c) 2018 Satya Das 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, ...
mit
billba/botchat
packages/testharness/pre/external/microsoft-cognitiveservices-speech-sdk/index.js
107
import { AudioStreamFormat } from 'microsoft-cognitiveservices-speech-sdk'; export { AudioStreamFormat };
mit
hopeeen/instaApp
www/scripts/controllers/maps2.js
13504
app.controller('MapsCTRL2', function($scope) { app.value('NEW_TODO_ID', -1); app.service('mapService', function () { var map; this.setMap = function (myMap) { map = myMap; }; this.getMap = function () { if (map) return map; throw new Error("Map not defined"); ...
mit
CaptainSid/WarSid-Swissport
server/tests/Compte.test.js
3205
import mongoose from 'mongoose'; import request from 'supertest-as-promised'; import httpStatus from 'http-status'; import chai, { expect } from 'chai'; import app from '../../index'; chai.config.includeStack = true; /** * root level hooks */ after((done) => { // required because https://github.com/Automattic/mon...
mit
jayesh15111988/JKFileOperationUtility
JKFileOperationUtility/Controllers/JKFileOperationDemoViewController.h
284
// // JKFileOperationDemoViewController.h // JKFileOperationUtility // // Created by Jayesh Kawli Backup on 2/14/15. // Copyright (c) 2015 Jayesh Kawli Backup. All rights reserved. // #import <UIKit/UIKit.h> @interface JKFileOperationDemoViewController : UIViewController @end
mit
clns/node-http-range
Makefile
83
test: node_modules/mocha @npm test node_modules/mocha: npm install .PHONY: test
mit
Microsoft/WPF-Samples
Speech and Media/UsingSpeech/Properties/Resources.Designer.cs
2781
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
mit
Eeltech/SpaceMusik
src/ui/components/Settings/SettingsAudio.react.js
1248
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import AppActions from '../../actions/AppActions'; /* |-------------------------------------------------------------------------- | Child - Audio settings |-------------------------------------------------------------------------- */ expo...
mit
KlishGroup/prose-pogs
pogs/L/LKPMLHX/GSW/index.md
1787
--- layout: page title: Greer - Solomon Wedding date: 2016-05-24 author: Megan Cunningham tags: weekly links, java status: published summary: Pellentesque in accumsan ex, et sagittis. banner: images/banner/meeting-01.jpg booking: startDate: 07/07/2018 endDate: 07/08/2018 ctyhocn: LKPMLHX groupCode: GSW publishe...
mit
manu-garcia/react-pwa-from-scratch
webpack.devserver.config.js
712
var path = require('path'); var config = { contentBase: path.join(__dirname, "docs"), watchContentBase: true, host: 'localhost', port: 8080, // Recommended for hot module replacement hot: true, inline: true, // Open the browser does not work when webpack dev server called from node. // open: ...
mit
doubleyewdee/dotnet-fixed-benchmark
src/Program.cs
5659
using System.IO; namespace Benchmark { using System; using System.Diagnostics; public static unsafe class Benchmark { private const string OutputFilename = "results.csv"; private static readonly double TicksPerMicrosecond = (double)Stopwatch.Frequency/1000000; private static S...
mit
sigfrid/rubikey
lib/rubikey/key_config.rb
1393
require_relative 'extensions/encoding_extensions' require_relative 'extensions/string_extensions' module Rubikey class KeyConfig using Rubikey::EncodingExtensions using Rubikey::StringExtensions attr_reader :public_id attr_reader :secret_id attr_reader :insert_counter def initialize(u...
mit
dfslima/portalCliente
src/main/java/br/com/portalCliente/util/dateUtilities/DateInterceptorUtils.java
5148
package br.com.portalCliente.util.dateUtilities; import java.util.Calendar; import java.util.Date; import java.util.TimeZone; public class DateInterceptorUtils { private static TimeZone tz = TimeZone.getTimeZone("America/Recife"); public static int FIRST_HOUR_DAY [] = {0,0,0}; public static int LAST_HOUR_DAY [] ...
mit
petergolde/wheelchair-robot
iOS/Thingamabot/JoystickViewController.designer.cs
602
// WARNING // // This file has been generated automatically by Xamarin Studio from the outlets and // actions declared in your storyboard file. // Manual changes to this file will not be maintained. // using Foundation; using System; using System.CodeDom.Compiler; using UIKit; namespace Thingamabot { [Register ("Joys...
mit
edilio/api_builder
templates/blog/blog_post_detail.html
4971
{% extends "blog/blog_post_list.html" %} {% load mezzanine_tags comment_tags keyword_tags rating_tags i18n disqus_tags %} {% block meta_title %}{{ blog_post.meta_title }}{% endblock %} {% block meta_keywords %}{% metablock %} {% keywords_for blog_post as tags %} {% for tag in tags %}{% if not forloop.first %}, {% end...
mit
brijeshb42/tutorial-demos
index.html
426
--- layout: default --- <div class="home mui-row"> <div class="mui-col-md-12"> <h1>Bitwiser.in tutorial demos</h1> <p>This is the website where all the live demos of the tutorials are showcased.</p> <h4>Go back to <a href="/" class="mui-btn mui-btn-primary">home</a></h4> </div> <!-- <p class="rss-sub...
mit
marcosgambeta/Qt5xHb
codegen/QtScriptTools/QtScriptToolsVersion.cpp
666
%% %% Qt5xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 5 %% %% Copyright (C) 2020 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com> %% $project=Qt5xHb $module=QtScriptTools $header #include <QtCore/Qt> #ifndef __XHARBOUR__ #include <QtScriptTools/QtScriptToolsVersion> #endif ...
mit
amalbose/media-manager
scripts/grunt/config/oraclejet-build.js
4603
/** Copyright (c) 2015, 2017, Oracle and/or its affiliates. The Universal Permissive License (UPL), Version 1.0 */ /** * # oraclejet-build.js * This script allows users to configure and customize the grunt build tasks. * Configurable tasks include: * copySrcToStaging * copyCustomLibsToStaging * inject...
mit
chelseyfrohlick/ecommerce-website
products/bronzer.md
695
--- layout: default category: makeup name: Bronzer type: face image: face/bronzer.jpg --- **What it is:** A light matte bronzer infused with real cocoa powder and long-wearing pigments. **What it does:** natural detoxifying effects of real cocoa powder with their signature bronzing pigments to create a lighter versi...
mit
mganzarcik/fabulae
core/src/mg/fishchicken/core/conditions/HasMeleeWeaponEquipped.java
3758
package mg.fishchicken.core.conditions; import groovy.lang.Binding; import java.util.Locale; import mg.fishchicken.gamelogic.characters.GameCharacter; import mg.fishchicken.gamelogic.characters.GameCharacter.Skill; import mg.fishchicken.gamelogic.inventory.Inventory.ItemSlot; import mg.fishchicken.gamelogic...
mit
railsstudent/angular-30
Day27-Click-And-Drag/src/app/app.module.ts
412
import { BrowserModule, Title } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { AppComponent } from './app.component'; import { ItemsComponent } from './items/items.component'; @NgModule({ declarations: [ AppComponent, ItemsComponent ], imports: [ BrowserModule ...
mit
nextgenerationgeek/project_euler
src/bin/p002.rs
683
struct Fibonacci { current: u32, next: u32, } impl Iterator for Fibonacci { type Item = u32; fn next(&mut self) -> Option<u32> { let temp = self.current + self.next; self.current = self.next; self.next = temp; // Some is always returned Some(self.current) } ...
mit
Innmind/TimeContinuum
src/Earth/Timezone/Europe/Simferopol.php
301
<?php declare(strict_types = 1); namespace Innmind\TimeContinuum\Earth\Timezone\Europe; use Innmind\TimeContinuum\Earth\Timezone; /** * @psalm-immutable */ final class Simferopol extends Timezone { public function __construct() { parent::__construct('Europe/Simferopol'); } }
mit
haneev/TweetRetriever
src/live/Callback.java
153
package live; /** * A class implements this interface can call back * @author Han */ public interface Callback { public void callback(); }
mit
djp952/tools-llvm
clang/ExtentExtensions.cpp
2354
//--------------------------------------------------------------------------- // Copyright (c) 2016 Michael G. Brehm // // 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...
mit
CNinnovation/WPFWorkshopSep2016
WPF/WPFSamples/TriggerSAmples/Properties/AssemblyInfo.cs
2387
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
mit
ntisservices/ntis-java-web-services-Release2.5
SubscriberService/src/main/java/com/thales/ntis/subscriber/services/FusedSensorOnlyTrafficDataServiceImpl.java
4105
package com.thales.ntis.subscriber.services; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Service; import com.thales.ntis.subscriber.datex.BasicData; import com.thales.ntis.subscriber.datex.D2LogicalModel; import com.thales.ntis.subscriber.date...
mit
fczuardi/videochat-client
src/views/signup.js
981
// @flow import type { ChooView } from "../app"; const html = require("choo/html"); const messages = require("../messages"); const textInput = ({ label, name }) => html` <label> ${label} <input name=${name}/> </label>`; const signupForm = ({ onSubmit }) => html` <form onsubmit=${onSubmit}> ${textInput({ l...
mit
clee704/sudokusolver
src/main/net/lemonfactory/sudokusolver/gui/Utf8ResourceBundle.java
1980
package net.lemonfactory.sudokusolver.gui; import java.io.UnsupportedEncodingException; import java.util.Enumeration; import java.util.Locale; import java.util.PropertyResourceBundle; import java.util.ResourceBundle; /** * ResourceBundle with UTF-8. See * http://www.thoughtsabout.net/blog/archives/000044.html. * ...
mit
menesty/tradeplatform
wicket-web/src/main/webapp/WEB-INF/templates/org/menesty/tradeplatform/web/pages/signup/SignUpSuccessPage.html
401
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.apache.org" lang="en"> <body> <wicket:extend> <div class="container"> <div class="panel alert-success"> Thank you for registration all details is send on your email please finish registration p...
mit
KennethEvans/Misc
app/src/main/java/net/kenevans/android/misc/SMSActivity.java
22554
//Copyright (c) 2011 Kenneth Evans // //Permission is hereby granted, free of charge, to any person obtaining //a copy of this software and associated documentation files (the //"Software"), to deal in the Software without restriction, including //without limitation the rights to use, copy, modify, merge, publish, //di...
mit
lamrongol/MakeJavaClassSerializable
src/main/java/lamrongol/javatools/MakeClassSerializable.java
2307
package lamrongol.javatools; import org.apache.commons.io.FileUtils; import java.io.File; import java.util.Collection; import java.util.List; /** * known bugs: * Serializable will be duplicate if a class already has Serializable * doesn't work correctly for generics with extends */ public class MakeClassSerializ...
mit
naycont/naybam
application/controllers/AgenciasPromotores.php
5333
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class AgenciasPromotores extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('AgenciasPromotores_Model', 'model'); } //---------------------------------------------------------...
mit
ProtonMail/WebClient
packages/shared/lib/interfaces/MailSettings.ts
1328
import { DRAFT_MIME_TYPES, PACKAGE_TYPE } from '../constants'; export interface AutoResponder { StartTime: number; EndTime: number; Repeat: number; DaysSelected: number[]; Subject: string; Message: string; IsEnabled: boolean; Zone: string; } export interface MailSettings { DisplayN...
mit
staxmanade/jspm-presentation
demo-commonjs-amd-global/globalModule.js
270
var notice_this_is_a_global_var = "WAT?"; window.getGlobalTemplate = function() { var compiled = _.template('<h1>Hello from a <strong>Global</strong> module running a <%= templateName %>!</h1>'); return compiled({ 'templateName': 'Lodash template' }); };
mit
jeremylarner/ringteki
server/game/cards/04.4-TEaF/MyAncestorsStrength.js
2289
const DrawCard = require('../../drawcard.js'); const { Locations, Players, CardTypes } = require('../../Constants'); class MyAncestorsStrength extends DrawCard { setupCardAbilities(ability) { // eslint-disable-line no-unused-vars this.action({ title: 'Modify base military and political skills',...
mit
HerrB92/obp
OpenBeaconPackage/libraries/hibernate-release-4.2.7.SP1/project/hibernate-core/src/test/java/org/hibernate/property/DirectPropertyAccessorTest.java
2264
/* * Hibernate, Relational Persistence for Idiomatic Java * * Copyright (c) 2010, Red Hat Middleware LLC or third-party contributors as * indicated by the @author tags or express copyright attribution * statements applied by the authors. All third-party contributions are * distributed under license by Red Hat Mi...
mit
entria/entria-components
storybook/store.js
291
import { createStore } from 'redux'; import reducers from './reducers'; const store = createStore(reducers); if (module.hot) { module.hot.accept(() => { const nextRootReducer = require('./reducers').default; store.replaceReducer(nextRootReducer); }); } export default store;
mit
vitrivr/vitrivr-ng
openapi/cineast/model/tagsQueryResult.ts
484
/** * Cineast RESTful API * Cineast is vitrivr\'s content-based multimedia retrieval engine. This is it\'s RESTful API. * * The version of the OpenAPI document: v1 * Contact: contact@vitrivr.org * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-gener...
mit
appcia/webwork-core
lib/Core/Entity/Manager.php
2086
<? namespace Core\Entity; use Appcia\Webwork\Core\App; use Doctrine\Common\EventManager; use Doctrine\DBAL\Connection; use Doctrine\ORM\Configuration; use Doctrine\ORM\EntityManager; class Manager extends EntityManager { /** * Application * * @var App */ protected $app; /** * No...
mit
AnttiKurittu/kirjuri
vendor/tinymce/tinymce/plugins/fullpage/plugin.js
16270
(function () { var fullpage = (function () { 'use strict'; var Cell = function (initial) { var value = initial; var get = function () { return value; }; var set = function (v) { value = v; }; var clone = function () { return Cell(get()); }; return { get: get,...
mit
autc04/executor
src/res/resIMIV.cpp
1328
/* Copyright 1987, 1989, 1990 by Abacus Research and * Development, Inc. All rights reserved. */ /* Forward declarations in ResourceMgr.h (DO NOT DELETE THIS LINE) */ #include <base/common.h> #include <ResourceMgr.h> #include <FileMgr.h> #include <MemoryMgr.h> #include <res/resource.h> using namespace Executor; ...
mit
r3k4/ujianonline
database/migrations/2015_10_27_130540_create_MstDataUser_table.php
833
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateMstDataUserTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('mst_data_user', function (Blueprint $table) { ...
mit
Schulprojekt-Weinverwaltung/wein
web/bundles/wein/node_modules/node-sass/test/fixtures/spec/spec/extend-tests/083_test_pseudoelement_goes_lefter_than_pseudoclass/input.css
77
.foo::bar, .baz:bang::bar { a: b; } /*# sourceMappingURL=input.css.map */
mit
reidiiius/reidiiius.github.io
beadgcf/specie/n0/onyx/j2k6x5_k2j5y6/index.html
958
<!DOCTYPE html> <html dir="ltr" lang="sv en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>j2k6x5_k2j5y6</title> <meta name="author" content="Reid Netterville III" /> <link rel="stylesheet" href="/styles/adpe.css" type="text/css" /> <sc...
mit
chslink/JinYongXGo
system/UIComponent/button.go
2010
package UIComponent import ( "github.com/chslink/JinYongXGo/system/input" "github.com/chslink/JinYongXGo/utils/logs" "github.com/hajimehoshi/ebiten" ) //TODO event //Button Sprites type Button struct { *Sprite Text *Lable Active bool Pressed bool clickFun func() activeFun func(screen *ebiten.Image) pr...
mit
srhoades28/CI_Crunchoff
assets/js/leaderboard.js
498
$(document).ready(function(){ SC.initialize({ client_id: "472760520d39b9fa470e56cdffc71923", }); $('.leaderboard tr').each(function(){ var datacell = $(this).find('.datacell').data('url'); var data = datacell.data('url'); SC.oEmbed(data, {auto_play: false}, datacell); }) /* SC.oEmbed($('#cru...
mit
codesmith-fi/smithngine
smithNgine/Gfx/SpriteButton.cs
6992
/** * SmithNgine Game Framework * * Copyright (C) 2013 by Erno Pakarinen / Codesmith (www.codesmith.fi) * All Rights Reserved */ namespace Codesmith.SmithNgine.Gfx { using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; usin...
mit
pubnub/flash
pubnub-as2js-proxy/test/unit/pubnubProxy_test.js
4174
"use strict"; describe("PROXY", function () { beforeEach(function () { this.p = new PubnubProxy(); }); describe('setFlashObjectId ', function () { it('should accept flash object name (string) as only argument', function () { var _test = this, failFn = ...
mit
MomsFriendlyDevCo/angular-ui-history
demo/server.js
3855
#!/usr/bin/env node /** * Extremely simple static website serving script * This is provided in case you need to deploy a quick demo * * Install + run: * * # from parent directory * * cd demo * npm install * node server * */ var bodyParser = require('body-parser'); var express = require('express'); var humanize = ...
mit