repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
project-capo/amber-java-clients
amber-java-examples/src/main/java/DriveToPointExample.java
2273
import pl.edu.agh.amber.common.AmberClient; import pl.edu.agh.amber.drivetopoint.DriveToPointProxy; import pl.edu.agh.amber.drivetopoint.Location; import pl.edu.agh.amber.drivetopoint.Point; import pl.edu.agh.amber.drivetopoint.Result; import java.io.IOException; import java.util.Arrays; import java.util.List; import ...
mit
wenhulove333/ScutServer
Sample/Koudai/Server/src/ZyGames.Tianjiexing.BLL/Action/Action4206.cs
4309
/**************************************************************************** Copyright (c) 2013-2015 scutgame.com http://www.scutgame.com 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 ...
mit
Cloakaac/cloak
daemon/record.go
270
package daemon import ( "log" "time" "github.com/Cloakaac/cloak/models" ) type RecordDaemon struct{} func (r *RecordDaemon) tick() { total := models.GetOnlineCount() err := models.AddOnlineRecord(total, time.Now().Unix()) if err != nil { log.Fatal(err) } }
mit
fin/froide
froide/bounce/signals.py
236
from django.dispatch import Signal user_email_bounced = Signal() # args: ['bounce', 'should_deactivate'] email_bounced = Signal() # args: ['bounce', 'should_deactivate'] email_unsubscribed = Signal() # args: ['email', 'reference']
mit
rquadling/phpstan
src/Rules/Comparison/BooleanOrConstantConditionRule.php
1115
<?php declare(strict_types = 1); namespace PHPStan\Rules\Comparison; use PHPStan\Type\Constant\ConstantBooleanType; class BooleanOrConstantConditionRule implements \PHPStan\Rules\Rule { public function getNodeType(): string { return \PhpParser\Node\Expr\BinaryOp\BooleanOr::class; } /** * @param \PhpParser\...
mit
chen-ye/bodymovin
player/index.html
6058
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style> body, html{ background-color:#ddd; margin: 0px; height: 100%; overflow-x: hidden; overflow-y: auto; } #bodymovin{ background-color:#000; ...
mit
bitcoin-s/bitcoin-s-core
core-test/src/test/scala/org/bitcoins/core/p2p/TypeIdentifierTest.scala
779
package org.bitcoins.core.p2p import org.bitcoins.core.p2p.TypeIdentifier._ import org.bitcoins.testkit.util.BitcoinSUnitTest class TypeIdentifierTest extends BitcoinSUnitTest { "MsgTx" must "serialize to 01000000" in { MsgTx.hex must be("01000000") } "MsgWitnessTx" must "serialize to 01000040" in { M...
mit
pduke/UNO_TPI
pin_io_macros.h
1474
// pin_io_macros.h // // Makes it easy to define pins as logical names and then use those names // throughout the program. Not the most efficient method for multiple pins // on the same port but otherwise makes coding easier and more transportable. // // by Paul Duke 2012 #ifndef PIN_IO_MACROS #define PIN_IO_MACRO...
mit
ISO-tech/sw-d8
web/2004-1/488/488_04_KennyCollins.php
3573
<html> <head> <title> Keep fighting for justice! </title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <?php include "../../legacy-includes/Script.htmlf" ?> </head> <body bgcolor="#FFFFCC" text="000000" link="990000" vlink="660000" alink="003366" leftmargin="0" topmargin="0"> <table width...
mit
hovsepm/azure-libraries-for-net
src/ResourceManagement/Batch/Properties/AssemblyInfo.cs
804
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Microsoft Azure Batch Management Library")] ...
mit
afisd/jovice
Aphysoft.Share/External/AjaxMin/JavaScript/member.cs
2558
// member.cs // // Copyright 2010 Microsoft Corporation // // 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 appli...
mit
kiwibun/enhavo
src/Enhavo/Bundle/AppBundle/Block/Block/TableBlock.php
3107
<?php /** * TableBlock.php * * @since 31/05/15 * @author gseidel */ namespace Enhavo\Bundle\AppBundle\Block\Block; use Enhavo\Bundle\AppBundle\Block\BlockInterface; use Enhavo\Bundle\AppBundle\Type\AbstractType; class TableBlock extends AbstractType implements BlockInterface { public function render($parame...
mit
kyledrake/go-ipfs
cmd/seccat/seccat.go
5208
// package main provides an implementation of netcat using the secio package. // This means the channel is encrypted (and MACed). // It is meant to exercise the spipe package. // Usage: // seccat [<local address>] <remote address> // seccat -l <local address> // // Address format is: [host]:port package main imp...
mit
tdang2/tdpharma-client
client/index.html
10329
<!doctype html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> <head> <meta charset="ut...
mit
danielyaa5/react-contextulize
server.js
944
/* eslint-disable */ "use strict"; var express = require("express"), path = require("path"), webpack = require("webpack"), config = require("./examples.config"); config.module.loaders[0].query = {presets: ["react-hmre"]}; config.entry.unshift("webpack-hot-middleware/client"); config.plugins = [ new w...
mit
akwick/gotcha
tests/exampleCode/chanPaper2.go
408
// f is not called via a go function, instead the go function is inside the body of f. package main func main() { x := "Hello World" ch := make(chan string) f(ch) // @expectedflow: false sink(x) x = source() ch <- x } func f(ch chan string) { // *ssa.MakeClosure go func() { y := <-ch // @expectedflow: tr...
mit
maisilex/Lets-Begin-Python
list.py
52
a = [int(i) for i in input().split()] print(sum(a))
mit
radzikowski/alf
app/cache/dev/twig/cc/b1/a70d7cfd163aa51619d0fc404c67.php
2299
<?php /* WebProfilerBundle:Collector:memory.html.twig */ class __TwigTemplate_ccb1a70d7cfd163aa51619d0fc404c67 extends Twig_Template { protected $parent; public function __construct(Twig_Environment $env) { parent::__construct($env); $this->blocks = array( 'toolbar' => array($...
mit
mromrell/quotadeck-frontend
public/partials/theme/google_map.html
29848
<!DOCTYPE html> <html lang="en"> <!-- Mirrored from bucketadmin.themebucket.net/google_map.html by HTTrack Website Copier/3.x [XR&CO'2013], Fri, 21 Feb 2014 19:39:48 GMT --> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" conten...
mit
kster007/CUBETECH-SOLTERA
app/Test/Fixture/CompraingredienteFixture.php
2307
<?php /** * CompraingredienteFixture * */ class CompraingredienteFixture extends CakeTestFixture { /** * Fields * * @var array */ public $fields = array( 'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'unsigned' => false, 'key' => 'primary'), 'resto_id' => array('type' => 'integer',...
mit
wbzyl/mtype13
metapost/type3/signposts-000/Makefile
328
# # This file belongs to MTYPE13 package by Wlodek Bzyl <matwb@univ.gda.pl> # DVIPSFLAGS = -u +sign-000.map # Read in font independent definitions. make_root = ../../../make include $(make_root)/type3common.mk GENERATEDFILES = test-signs.{log,dvi,ps} sign-000.dvi : sign-000.t3 sign-000.proof test-signs.dvi : sign...
mit
gustavokev/preescolar1
vendor/phpspec/prophecy/spec/Prophecy/Exception/Prophecy/ObjectProphecyExceptionSpec.php
611
<?php namespace spec\Prophecy\Exception\Prophecy; use PhpSpec\ObjectBehavior; use Prophecy\Prophecy\ObjectProphecy; class ObjectProphecyExceptionSpec extends ObjectBehavior { function let(ObjectProphecy $objectProphecy) { $this->beConstructedWith('message', $objectProphecy); } ...
mit
de-luxe/burstcoin-faucet
src/main/java/burstcoin/faucet/data/Account.java
2187
/* * The MIT License (MIT) * * Copyright (c) 2016 by luxe - https://github.com/de-luxe - BURST-LUXE-RED2-G6JW-H4HG5 * * 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
xpl/useless
base/tier0/typeMatch.js
6907
"use strict"; const _ = require ('underscore') _.hasTypeMatch = true /* Type matching for arbitrary complex structures (TODO: test) ======================================================================== */ Meta.globalTag ('required') Meta.globalTag ('atom') $global.const ('$any', _.identity) _.deferTest ([...
mit
c57fr/c57
modules/system/lang/vn/lang.php
21151
<?php return [ 'app' => [ 'name' => 'OctoberCMS', 'tagline' => 'Getting back to basics' ], 'locale' => [ 'be' => 'Беларуская', 'bg' => 'Български', 'cs' => 'Čeština', 'da' => 'Dansk', 'en' => 'English (United States)', 'en-au' => 'English (Aus...
mit
matthewpatterson/braintree_multi_merchant_example
README.md
413
Braintree Multi-Merchant Example ================================ ## Set Up Note: This example requires multiple Braintree sandbox accounts. 1. Clone this repository 2. [Install Composer](https://getcomposer.org/download/), if necessary 3. Install dependencies (`composer install`) 4. Modify `credentials.php` to incl...
mit
odellus/year_of_code
swig/inplace/inplace.c
139
void inplace(double *invec, double *outvec, int n, int m) { int i; for (i=0; i < n; i++) { outvec[i] = 2*invec[i]; } }
mit
Crim/pardot-java-client
src/main/java/com/darksci/pardot/api/request/form/FormCreateRequest.java
2672
/** * Copyright 2017, 2018, 2019, 2020 Stephen Powis https://github.com/Crim/pardot-java-client * * 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 limi...
mit
jRoadie/lace
src/es6/lace.js
1897
import { $, util } from './util-node' import Taglet from './taglet' var lace, version = '1.0.0', defaults = { opts: {} }, warehouse = { singleton: null, compiled_dom: null, laces: { global: null }, taglets: {} } ; class Lace {...
mit
vasilchavdarov/SoftUniHomework
Projects/ComplexCondition/Cinema/Program.cs
875
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cinema { class Program { static void Main(string[] args) { var project = Console.ReadLine().ToLower(); var r = double.Parse(Console.ReadLine());...
mit
philgyford/django-ditto
devproject/devproject/urls.py
795
from django.conf import settings from django.conf.urls import static from django.urls import include, path, re_path from django.contrib import admin urlpatterns = [ path(r"admin/", admin.site.urls), path(r"flickr/", include("ditto.flickr.urls")), path(r"lastfm/", include("ditto.lastfm.urls")), path(r"...
mit
ngx-form/element
rollup.config.js
3420
import angular from 'rollup-plugin-angular'; import commonjs from 'rollup-plugin-commonjs'; import nodeResolve from 'rollup-plugin-node-resolve'; import typescript from 'rollup-plugin-typescript'; import uglify from 'rollup-plugin-uglify'; import { minify } from 'uglify-es'; // rollup-plugin-angular addons import sas...
mit
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.07.1-2.0.6/released/8.13.2/stalmarck/8.9.0.html
7149
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>stalmarck: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
mit
ReapeR-MaxPayne/SU-TM-PF-Ext-0517-Excersises-CSharp
03-DataTypesAndVariables-Exercises/Problem_04_Float or Integer/Program_04_Float_or_Integer.cs
302
using System; namespace Problem_04_Float_or_Integer { class Program_04_Float_or_Integer { static void Main() { decimal number = decimal.Parse(Console.ReadLine()); number = Math.Round(number); Console.WriteLine(number); } } }
mit
lighter-cd/Doubility3D
DoubilityUnity/Runtime/Doubility3D/Resource/Downloader/WWWDownloader.cs
704
using System; using System.Collections; using UnityEngine; namespace Doubility3D.Resource.Downloader { public class WWWDownloader : IDownloader { private string home; internal WWWDownloader (string _home) { home = _home; if (home [home.Length - 1] != '/') { home += "/"; } } public IEnumerat...
mit
spirit01/SAXS
test_caxs.py
6842
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from os import listdir import os import re import sys from argparse import ArgumentParser import random import subprocess from math import sqrt import ast from adderror import adderror """ENSAMBLE, -d directory -n number of models """ """-k number of selected structure""" ...
mit
matthchr/autorest
src/generator/AutoRest.CSharp.Azure.Fluent.Tests/Expected/AcceptanceTests/Lro/LRORetrysOperationsExtensions.cs
27615
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespac...
mit
topaxi/ember.js
packages/ember-runtime/tests/system/object/destroy_test.js
4435
import isEnabled from 'ember-metal/features'; import run from 'ember-metal/run_loop'; import { observer } from 'ember-metal/mixin'; import { set } from 'ember-metal/property_set'; import { bind } from 'ember-metal/binding'; import { beginPropertyChanges, endPropertyChanges } from 'ember-metal/property_events'; impo...
mit
pwnall/stellar
spec/stellar/client_spec.rb
1522
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe Stellar::Client do let(:client) { Stellar::Client.new } shared_examples_for 'an authenticated client' do describe 'get_nokogiri' do let(:page) { client.get_nokogiri '/atstellar' } it 'should be a Nokogiri docume...
mit
CS2103JAN2017-T09-B4/main
src/main/java/seedu/tache/ui/UiManager.java
6234
package seedu.tache.ui; import java.util.logging.Logger; //import org.controlsfx.control.Notifications; import com.google.common.eventbus.Subscribe; import javafx.application.Platform; //import javafx.geometry.Pos; import javafx.scene.control.Alert; import javafx.scene.control.Alert.AlertType; import javafx.scene.i...
mit
sudorandom/softlayer-go-gen
methods/softlayer_billing_item_cancellation_request/doc.go
333
// softlayer_billing_item_cancellation_request - SoftLayer customers can use this API to submit a // cancellation request. A single service cancellation can contain multiple cancellation items which // contain a billing item. package softlayer_billing_item_cancellation_request // DO NOT EDIT. THIS FILE WAS AUTOMATICAL...
mit
broadinstitute/gdata-cli
lib/gapps/ZendGdata-1.10.8/documentation/api/core/Zend_Gdata/App/_Gdata---App---Extension---Updated.php.html
6213
<?xml version="1.0" encoding="iso-8859-1"?> <!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> <!-- template designed by Marco Von Ballmoos --> <title>Docs for page Updated.php</title> ...
mit
Cube219/CubeEngine
Source/RenderAPIs/VulkanAPI/VulkanMemoryAllocator.cpp
4378
#define VMA_IMPLEMENTATION #include <vk_mem_alloc.h> #include "VulkanMemoryAllocator.h" #include "VulkanUtility.h" #include "Core/Assertion.h" namespace cube { namespace rapi { void VulkanMemoryAllocator::Initialize(VkInstance instance, VkPhysicalDevice GPU, VkDevice device) { VkR...
mit
johnghoonchoi/meteor-shine
apps/front/modules/myworks/client/myworks.html
2485
<template name="myworks"> <article class="page container-fluid shine-wrapper"> {{> myworksNav}} {{> myworksList}} </article> </template> <template name="myworksNav"> <header> <h3>My works</h3> </header> <div class="row-fluid"> <nav class="navtabs"> <ul class="navtabs-list"> <li clas...
mit
pdebus/MTVMTL
thirdparty/vpp/vpp/utils/opencv_utils.hh
1322
#ifndef VPP_OPENCV_UTILS_HH_ # define VPP_OPENCV_UTILS_HH_ # include <iostream> # include <regex> # include <opencv2/highgui/highgui.hpp> # include <vpp/core/boxNd.hh> # include <vpp/core/image2d.hh> inline bool open_videocapture(const char* str, cv::VideoCapture& cap) { if (std::regex_match(str, std::regex("[0-9]+...
mit
AustinTSchaffer/DailyProgrammer
AdventOfCode/2020/day_15/solution.py
1352
import collections puzzle_input = (0,13,1,8,6,15) test_inputs = [ ([(0,3,6), 10], 0), ([(1,3,2)], 1), ([(2,1,3)], 10), ([(1,2,3)], 27), ([(2,3,1)], 78), ([(3,2,1)], 438), ([(3,1,2)], 1836), # Expensive Tests # ([(0,3,6), 30000000], 175594), # ([(1,3,2), 30000000], 2578), #...
mit
AckerApple/ack-angular
pipes.d.ts
3095
import { DomSanitizer } from '@angular/platform-browser'; export declare class IndexTrack { transform(_x: any): (index: any) => any; } export declare class Stringify { transform(input: any, spaces?: number): string; } export declare class ForceArray { transform(input: any, repeat?: any, repeatValue?: any): ...
mit
vhaupert/mitmproxy
docs/src/content/addons-events.md
1023
--- title: "Events" menu: addons: weight: 2 --- # Events Addons hook into mitmproxy's internal mechanisms through events. These are implemented on addons as methods with a set of well-known names. Many events receive `Flow` objects as arguments - by modifying these objects, addons can change traffic on th...
mit
ingetat2014/www
src/Fdr/UserBundle/Form/Type/RegistrationFormType.php
2730
<?php namespace Fdr\UserBundle\Form\Type; //use Symfony\Component\Form\FormBuilder; //use FOS\UserBundle\Form\Type\RegistrationFormType as BaseType; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Doctrine\ORM\EntityRepository; class RegistrationFormType extends AbstractTy...
mit
SystemFriend/HoloLensUnityChan
Assets/MRTK/Core/Utilities/Physics/Distorters/DistorterGravity.cs
2822
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Physics { /// <summary> /// A Distorter that distorts points based on their distance and directi...
mit
dguo/dotfiles
systems/termux/README.md
574
# Termux [Termux](https://termux.com/) is a terminal emulator and Linux environment for Android. ## Configuration Install the [app](https://play.google.com/store/apps/details?id=com.termux) and the [CodeBoard](https://play.google.com/store/apps/details?id=com.gazlaws.codeboard&rdid=com.gazlaws.codeboard) keyboard. ...
mit
alexander-heimbuch/rss-page
index.html
1258
<!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title></title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="apple-touch-icon" href="apple-tou...
mit
YKSamgo/AR-Drone
ARDrone/ARDrone/include/common/mavlink_msg_attitude_target.h
17916
#pragma once // MESSAGE ATTITUDE_TARGET PACKING #define MAVLINK_MSG_ID_ATTITUDE_TARGET 83 MAVPACKED( typedef struct __mavlink_attitude_target_t { uint32_t time_boot_ms; /*< Timestamp in milliseconds since system boot*/ float q[4]; /*< Attitude quaternion (w, x, y, z order, zero-rotation is 1, 0, 0, 0)*/ f...
mit
kovleventer/FoD
src/player/questdisplay.cpp
6449
#include "questdisplay.h" #include "../core/global.h" //QuestLister stuff QuestLister::QuestLister(int xp, int yp, int wp, int hp) : BasicGUI(xp, yp, wp, hp) { headerSize = 35; //-1 due to the header displayableQuestCount = h / headerSize - 1; padding = 5; selectedElementPos = 0; defaultBGTexture = Global::res...
mit
gilz688/MIF-ImageEditor
MIFImageEditor/src/main/java/com/github/gilz688/mifeditor/MIEApplication.java
1289
package com.github.gilz688.mifeditor; import com.github.gilz688.mifeditor.proto.MIEView; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Scene; import javafx.scene.layout.AnchorPane; import javafx.stage.Stage; public class MIEApplication extends Application { pri...
mit
JieweiWei/lnet
src/poller.h
1023
/* * ================================================================================== * * Filename: poller.h * * Description: * * Verson: 1.0 * Created: 2016-03-09 * Compiler: g++ * * Author: Jiewei Wei <weijieweijerry@163.com> * Company: S...
mit
dbtedman/estoolbox
docs/Router.md
348
# Router Provides the ability to perform actions based on changes in the URL hash. ```javascript import {Router} from "estoolbox"; Router.when("/about", () => { // Show the about route content. }); Router.when("/person/:username", (route) => { const username = route.variables.username; // Show the person con...
mit
hansacoin/hansacoin
src/qt/locale/bitcoin_pl.ts
119674
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pl" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About ShadowCoin</source> <translation>O ShadowCoin</translation> </message> <message> <locat...
mit
acm-csuf/icpc
2012-12-6-The_Perks_of_Planning_Ahead/notes.md
263
The PDF includes all problems from the 2012 SoCal Regional ICPC. We're only doing problem six this week! That's the one entitled "The Perks of Planning Ahead." <a href="http://socalcontest.org/current/index.shtml" target="_blank">SoCal ICPC official website</a>
mit
temcocontrols/T3000_Building_Automation_System
T3000/BoatMonitorViewer.h
832
#pragma once #include "afxwin.h" #include "CM5/ListCtrlEx.h" #include "CM5/CStatic/staticex.h" // CBoatMonitorViewer form view class CBoatMonitorViewer : public CFormView { DECLARE_DYNCREATE(CBoatMonitorViewer) public: CBoatMonitorViewer(); // protected constructor used by dynamic creation virtual ~CBo...
mit
nypl-registry/browse
routes/context.js
477
var axios = require('axios') module.exports = function (app) { app.get('/context_all.jsonld', function (req, res) { axios.get(app.API_URL + 'context_all.jsonld') .then(function (response) { res.type('application/ld+json') res.status(200).send(JSON.stringify(response.data, null, 2)) })...
mit
sbellity/githu3
lib/githu3/tag.rb
55
module Githu3 class Tag < Githu3::Resource end end
mit
Ragingart/TRage
src/app/page/settings/settings.component.js
1673
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(d...
mit
kpnlora/LoRaClient
examples/Betabit EventHub Example/Betabit.Lora.Nuget.EventHub/Betabit.Lora.Nuget.EventHub/Areas/HelpPage/ModelDescriptions/ModelDescriptionGenerator.cs
19100
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.Reflection; using System.Runtime.Serialization; using System.Web.Http; using System.Web.Http.Description; using System.Xml...
mit
larakit/sf-grid
init.php
124
<?php \Larakit\StaticFiles\Manager::package('larakit/sf-grid') ->cssPackage('lk-grid.css') ->setSourceDir('public');
mit
Azure/azure-sdk-for-go
services/containerservice/mgmt/2021-10-01/containerservice/maintenanceconfigurations.go
19659
package containerservice // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is re...
mit
kmjennison/boop
components/NavBar.js
1192
'use strict'; import React from 'react-native' import { AppRegistry, Component, Navigator, ToolbarAndroid, View, } from 'react-native'; import globalStyle, { colors } from './globalStyle'; class NavBar extends Component { onClickBackToHome() { this.props.navigator.push({ name: 'home', sc...
mit
Webnician/EduForum
app/InstDepartment.php
2871
<?php namespace App; use App\models\User; use Illuminate\Database\Eloquent\Model; class InstDepartment extends Model { public static function get_departments_by_inst_id($id) { $departments = InstDepartment::where('institution_id', $id)->get(); return $departments; } public static f...
mit
jeanmfdias/blog-initial
test/controllers/publicidades_controller_test.rb
171
# Copyright (c) 2015 Jean Dias require 'test_helper' class PublicidadesControllerTest < ActionController::TestCase # test "the truth" do # assert true # end end
mit
bountysource/core
db/migrate/20171126185423_create_takedowns.rb
186
class CreateTakedowns < ActiveRecord::Migration[5.0] def change create_table :takedowns do |t| t.integer :linked_account_id, null: false t.timestamps end end end
mit
via/dovecot-clouddb
src/lib/ostream-file.c
24954
/* Copyright (c) 2002-2010 Dovecot authors, see the included COPYING file */ /* @UNSAFE: whole file */ #include "lib.h" #include "ioloop.h" #include "write-full.h" #include "network.h" #include "sendfile-util.h" #include "istream.h" #include "istream-internal.h" #include "ostream-internal.h" #include <unistd.h> #inc...
mit
jbpion/log4mssql
log4mssql/LoggerBase/Functions/Layout_ApplicationName.sql
695
IF OBJECT_ID('LoggerBase.Layout_ApplicationName') IS NOT NULL SET NOEXEC ON GO CREATE FUNCTION LoggerBase.Layout_ApplicationName() RETURNS NVARCHAR(256) AS BEGIN RETURN NULL END GO SET NOEXEC OFF GO /********************************************************************************************* FUNCTION LoggerB...
mit
rawright/jsTester
test/index.html
398
<!DOCTYPE html> <html lang="en"> <head> <title>jsTester</title> <link rel="stylesheet" type="text/css" href="../public/stylesheets/style.css" /> </head> <body> <h1>jsTester</h1> <div id='jsTesterLog'></div> <script type='text/javascript' src='../public/javascripts/jsTester.js'></script> <...
mit
FranPR9/NBALIVEFEED
app/src/main/java/fpr9/com/nbalivefeed/entities/RecordContainer.java
430
package fpr9.com.nbalivefeed.entities; /** * Created by FranciscoPR on 07/11/16. */ public class RecordContainer { private String id; private Record record; public String getId() { return id; } public void setId(String id) { this.id = id; } public Record getRecord() { ...
mit
j13k/doctrine1
lib/api/doctrine/dbal/driver/package-globals.html
2113
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <meta name="generator" content="PHPDoctor 2RC4 (http://phpdoctor.sourceforge.net/)"> <meta name="when" content="Wed, 14 Apr 2010 15:12:06 +0000"> <link rel="stylesheet" type="text/css" href="../../../st...
mit
jas-chen/react-dnd-card
src/index.js
3144
import React, { Component, PropTypes } from 'react'; import ItemTypes from './ItemTypes'; import { DragSource, DropTarget } from 'react-dnd'; import flow from 'lodash.flow'; function isNullOrUndefined(o) { return o == null; } const cardSource = { beginDrag(props) { return { id: props.id, index: pr...
mit
H3rN4n/mascoteros
public/modules/trainers/views/view-trainer.client.view.html
710
<section data-ng-controller="TrainersController" data-ng-init="findOne()"> <div class="page-header"> <h1 data-ng-bind="trainer.name"></h1> </div> <div class="pull-right" data-ng-show="((authentication.user) && (authentication.user._id == trainer.user._id))"> <a class="btn btn-primary" href="/#!/trainers/{{traine...
mit
SaschaDittmann/MapReduceSamples
MapReduceSamples/MapReduceSamples.Utils/TestReducerCombinerContext.cs
1520
using System; using Microsoft.Hadoop.MapReduce; namespace MapReduceSamples.Utils { public class TestReducerCombinerContext : ReducerCombinerContext { public TestReducerCombinerContext(bool isCombiner) : base(isCombiner) { } public override void EmitKeyValue(string key, string ...
mit
yourcelf/signpdf
signpdf.py
2594
#!/usr/bin/env python import os import time import argparse import tempfile import PyPDF2 import datetime from reportlab.pdfgen import canvas parser = argparse.ArgumentParser("Add signatures to PDF files") parser.add_argument("pdf", help="The pdf file to annotate") parser.add_argument("signature", help="The signature...
mit
alsemyonov/vk
lib/vk/api/likes/responses/is_liked_response.rb
473
# frozen_string_literal: true require 'vk/api/responses' module Vk module API class Likes < Vk::Schema::Namespace module Responses # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json class IsLikedResponse < Vk::Schema::Response # @return [Object] @see https://gi...
mit
OSW3/odyssey-desktop
src/DocBundle/Views/sections/Components/MenusManager.html
211
<script type="application/ld+json">{ "section":"components", "title":"Menus Manager", "sections":[ ] }</script> <ng-include src="'../../../src/DocBundle/views/parts/content.html'"></ng-include>
mit
basp/sandbox
e2e/src/app.e2e-spec.ts
640
import { AppPage } from './app.po'; import { browser, logging } from 'protractor'; describe('workspace-project App', () => { let page: AppPage; beforeEach(() => { page = new AppPage(); }); it('should display welcome message', () => { page.navigateTo(); expect(page.getTitleText()).toEqual('sandbox...
mit
Codingpedia/bookmarks
tagged/css-preprocessor.md
825
## Bookmarks tagged [[css-preprocessor]](https://www.codever.land/search?q=[css-preprocessor]) _<sup><sup>[www.codever.land/bookmarks/t/css-preprocessor](https://www.codever.land/bookmarks/t/css-preprocessor)</sup></sup>_ --- #### [gcss](https://github.com/yosssi/gcss) _<sup>https://github.com/yosssi/gcss</sup>_ Pure...
mit
CI-WATER/tmaps
tmc-1.2.1-linux/timemachine-viewer/js/org/gigapan/timelapse/mercator.js
2858
// @license // Redistribution and use in source and binary forms ... // Copyright 2012 Carnegie Mellon University. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: // // 1. Redistributions of sou...
mit
domakas/ui-grid
test/unit/core/services/GridClassFactory.spec.js
8044
describe('gridClassFactory', function() { var gridClassFactory; beforeEach(module('ui.grid.ie')); beforeEach(inject(function(_gridClassFactory_) { gridClassFactory = _gridClassFactory_; })); describe('createGrid', function() { var grid; beforeEach( function() { grid = gridClassFactory.cre...
mit
golddiggercoin/golddiggercoin
src/qt/locale/bitcoin_es.ts
120085
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About GoldDiggerCoin</source> <translation>Acerca de GoldDiggerCoin</trans...
mit
luisenp/mdp-lib
src/domains/AODeterminization.cpp
2532
#include "../../include/domains/AODeterminization.h" #include "../../include/domains/DummyAction.h" AllOutcomesDeterminization:: AllOutcomesDeterminization(mlcore::Problem* problem) { originalProblem_ = problem; problem->generateAll(); int s_idx = 0; for (mlcore::State* s : problem->states()) ...
mit
matudelatower/BigD
src/BigD/ThemeBundle/DependencyInjection/Configuration.php
870
<?php namespace BigD\ThemeBundle\DependencyInjection; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; /** * This is the class that validates and merges configuration from your app/config files * * To learn more see {@link http://symfony....
mit
AllanDubrulle/distributeur_tickets
Implementation/ML-TheoDaix,AllanDubrulle,VictorVerhoye-implementation/Documentation/Javadoc/index-files/index-6.html
7569
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="fr"> <head> <!-- Generated by javadoc (1.8.0_121) on Fri Mar 30 17:39:20 CEST 2018 --> <title>F-Index</title> <meta name="date" content="2018-03-30"> <link rel="stylesheet" type="text/css"...
mit
flarum/core
src/Post/AbstractEventPost.php
783
<?php /* * This file is part of Flarum. * * For detailed copyright and license information, please view the * LICENSE file that was distributed with this source code. */ namespace Flarum\Post; /** * @property array $content */ abstract class AbstractEventPost extends Post { /** * Unserialize the cont...
mit
apwiede/nodemcu-firmware
docs/dwarfDbg/search/functions_8.js
660
var searchData= [ ['setdebugflags',['setDebugFlags',['../dwarfDbgDebugInfo_8c.html#ab42dd1f5e0f83cb14eed0902aa036a95',1,'dwarfDbgDebugInfo.c']]], ['showchildren',['showChildren',['../dwarfDbgDieInfo_8c.html#a7e7301f838fc67cbb4555c6c250c2dc0',1,'dwarfDbgDieInfo.c']]], ['showcontents',['showContents',['../dwarfDbgL...
mit
VanceKingSaxbeA/KOSPI-Engine
App/HITEJINRO.php
9175
/*Owner & Copyrights: Vance King Saxbe. A.*//*Copyright (c) <2014> Author Vance King Saxbe. A, and contributors Power Dominion Enterprise, Precieux Consulting and other contributors. Modelled, Architected and designed by Vance King Saxbe. A. with the geeks from GoldSax Consulting and GoldSax Technologies email @vsaxbe@...
mit
Scoutlit/realtimeSyncing
webclient/app/app.js
201
import 'reflect-metadata'; import 'rxjs/Rx'; import 'zone.js'; import AppComponent from './components/AppComponent.js'; import { bootstrap } from 'angular2/platform/browser'; bootstrap(AppComponent);
mit
paulboal/pexpect-curses
demo/demo3.py
1476
#!/usr/bin/python import pexpect import sys import logging import vt102 import os import time def termcheck(child, timeout=0): time.sleep(0.05) try: logging.debug("Waiting for EOF or timeout=%d"%timeout) child.expect(pexpect.EOF, timeout=timeout) except pexpect.exceptions.TIMEOUT: logging.debug("Hit timeout...
mit
junioraby/architec.awardspace.info
src/Outil/ServiceBundle/Param/Param.php
605
<?php namespace Outil\ServiceBundle\Param; use Symfony\Component\HttpKernel\Exception\Exception; class Param{ // private $mailer; // private $locale; // private $minLength; // public function __construct(\Swift_Mailer $mailer, $locale, $minLength) // { // $this->mailer = $mailer; // $this->locale...
mit
BrainTwister/GeneHunter
src/GenomeLib/CharTypes.cpp
652
#include "CharTypes.h" namespace GeneHunter { bool firstMatchSecond( char c1, char c2 ) { if ( c1 == c2 ) return true; if ( c1 == 'U' and c2 == 'T' ) return true; if ( c1 == 'T' and c2 == 'U' ) return true; if ( c1 == 'K' and ( c2 == 'G' or c2 == 'T' )) return true; if ( c1 == 'S' and ( c2 == 'G' ...
mit
Ysovuka/design-patterns
src/c-sharp/DesignPatterns/Behavioral/Visitor/Director.cs
289
using System; using System.Collections.Generic; using System.Text; namespace DesignPatterns.Behavioral.Visitor { public class Director : Employee { public Director(string name, double income, int vacationDays) : base(name, income, vacationDays) { } } }
mit
michto01/ardp
doc/html/d7/d02/classes__2_8js.html
6222
<!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> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
mit
SeanWitt/SeanWitt.github.io
README.md
18
# simply_smoked
mit
piggybak/piggybak_free_shipping_by_product
test/dummy/db/migrate/20111231040354_create_images.rb
231
class CreateImages < ActiveRecord::Migration def change create_table :images do |t| t.string :title, :null => false t.boolean :free_shipping, :null => false, :default => false t.timestamps end end end
mit