repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
heymrcarter/generator-tfstask | generators/app/templates/_README.md | 44 | #<%= taskname %>
<%= description %>
##Usage | mit |
redisliu/chrome-extensions | vivintsolar-monitor/content_script.js | 5501 |
console.log("VS: loading content_script.js..." + new Date());
// Check if the communication between page and background.js has broken.
var last_message_time = new Date().getTime();
new Promise((resolve) => setTimeout(resolve, 1000000)).then(() => {
var now = new Date().getTime();
if (now - last_message_time >... | mit |
parkjoon/iOS_Applications | Flappy_Flyer/README.md | 108 | Flappy_Flyer
============
A Flappy Birds clone for iOS.
Raw XCode project along with original artwork. | mit |
krsrk/laravel-5.3-web-app | app/Models/Books.php | 319 | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Books extends Model
{
protected $table = 'books';
protected $fillable = [
'guid',
'author',
'title',
'description',
'abstract',
'edition',
'publish_date',
'status'];
}
| mit |
nushackers/nushackers-site | content/post/2011-04-16-motivations.md | 7639 | ---
author: ejames
categories:
- Essay
comments: true
date: 2011-04-16T00:00:00.000Z
title: Motivations
url: /2011/04/motivations/
aliases:
- /2011/04/16/motivations/
---
Over the past couple months or so we've had a number of non-programmers contacting us, looking for hackers to hire for their startup/project/ide... | mit |
jugstalt/gViewGisOS | gView.Plugins.DbTools/Plugins/DbTools/Relates/TableRelationsDialog.Designer.cs | 5681 | namespace gView.Plugins.DbTools.Relates
{
partial class TableRelationsDialog
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete Ressourcen bereinigen.
... | mit |
eloquent/schemer | src/Eloquent/Schemer/Constraint/SchemaInterface.php | 325 | <?php
/*
* This file is part of the Schemer package.
*
* Copyright © 2013 Erin Millard
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Eloquent\Schemer\Constraint;
interface SchemaInterface extends ConstraintInterface
... | mit |
Cosmologist/collectd-network-bandwidth-usage | README.md | 601 | collectd-network-bandwidth-usage
================================
Collectd exec plugin for monitoring the network bandwitdh usage.
Installation
-----------
Uncomment exec plugin in your collectd.conf:
```bash
LoadPlugin exec
```
Configure plugin:
```bash
<Plugin exec>
Exec username "/path/to/exec-network-bandwidt... | mit |
praneeth-kongara/image-viewer | public/css/style.css | 508 | /* header bar */
.navbar {
margin-bottom:0;
}
/* aside */
.content,aside {
margin-top:20px;
margin-bottom:30px;
margin-left:0px;
margin-right:0px;
}
.home {
background: url(/images/home.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-backgr... | mit |
CrazyJacky/flip-1 | demos/bootstrap/index.html | 4583 | <!DOCTYPE html>
<html lang="en">
<head>
<title>Basic Demo</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no;"/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar... | mit |
morozko108/Tilde | src/test/java/com/carbon108/tilde/PrimaryModelFactoryTest.java | 1725 | package com.carbon108.tilde;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import java.util.Collection;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
/**
* @author K Moroz
* @version 1.0
*/
public class P... | mit |
KlusterKite/KlusterKite | Docs/Doxygen/html/namespace_kluster_kite_1_1_large_objects_1_1_tests.js | 222 | var namespace_kluster_kite_1_1_large_objects_1_1_tests =
[
[ "ParcelsTest", "class_kluster_kite_1_1_large_objects_1_1_tests_1_1_parcels_test.html", "class_kluster_kite_1_1_large_objects_1_1_tests_1_1_parcels_test" ]
]; | mit |
F4Team-DHCN1A/QLSV | QuanLySinhVien_MaNguonMo/QuanLySinhVien_GUI/frmtimkiemdiemsinhvientheomasv.Designer.cs | 6855 | namespace QuanLySinhVien_GUI
{
partial class frmtimkiemdiemsinhvientheomasv
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
//... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.10.0-2.0.6/released/8.11.2/cantor/8.9.0.html | 7481 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>cantor: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... | mit |
omnicoin/eurobit | src/checkqueue.h | 6431 | // Copyright (c) 2012 The Eurobit developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef CHECKQUEUE_H
#define CHECKQUEUE_H
#include <boost/thread/mutex.hpp>
#include <boost/thread/locks.hpp>
#include <boost/threa... | mit |
andrewherren/sicp | exercises/Chapter01.02.md | 9303 | ## [Section 1.2 - Procedures and the Processes They Generate](https://mitpress.mit.edu/sicp/full-text/book/book-Z-H-11.html#%_sec_1.2)
## Exercises
```scheme
;; ======================================================
;; Load definitions and functions from earlier chapters
;; ============================================... | mit |
xaroth8088/beautiful-components | README.md | 114 | # beautiful-components
A collection of webcomponents, inspired by the design work at http://tympanus.net/codrops/
| mit |
wokenshin/KenshinPro | KenshinPro/KenshinPro/Classes/Controller/subNav/one/精通iOS开发第6版本/陀螺仪和加速计/滚弹珠程序/BallVC.h | 241 | //
// BallVC.h
// KenshinPro
//
// Created by apple on 2019/1/31.
// Copyright © 2019 Kenshin. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface BallVC : UIViewController
@end
NS_ASSUME_NONNULL_END
| mit |
MichaelYao88/phase-0 | week-6/gps.rb | 1806 | ## Your Names
# 1) Michael Yao
# 2) Benjamin Heidebrink
# We spent [1.25] hours on this challenge.
# Bakery Serving Size portion calculator.
def serving_size_calc(item_to_make, num_of_ingredients)
library = {"cookie" => 1, "cake" => 5, "pie" => 7}
raise ArgumentError.new("#{item_to_make} is not a valid inpu... | mit |
wizardbeard/agency-iq | app/helpers/palm_tasks_helper.rb | 27 | module PalmTasksHelper
end
| mit |
goblindegook/littlefoot | src/dom/document.ts | 7139 | import 'css.escape'
import { createFootnote, FootnoteElements } from './footnote'
import { bindScrollHandler } from './scroll'
import { Adapter } from '../core'
import { addClass, removeClass, unmount } from './element'
export const CLASS_CONTENT = 'littlefoot__content'
export const CLASS_WRAPPER = 'littlefoot__wrappe... | mit |
janko-m/roda | spec/plugin/caching_spec.rb | 10994 | require File.expand_path("spec_helper", File.dirname(File.dirname(__FILE__)))
describe 'response.cache_control' do
it 'sets the Cache-Control header' do
app(:caching) do |r|
response.cache_control :public=>true, :no_cache=>true, :max_age => 60
end
header('Cache-Control').split(', ').sort.should == ... | mit |
charliezon/stock | www/templates/advanced_create_account.html | 4636 | {% extends '__base__.html' %}
{% block title %}创建账户{% endblock %}
{% block beforehead %}
<script>
var
action = '{{ action }}';
function initVM(account) {
var vm = new Vue({
el: '#vm',
data: account,
methods: {
submit: function (event) {
this.$data.date = $... | mit |
jphager2/john-hager-info | db/migrate/20160627182212_remove_od_token_from_users.rb | 114 | class RemoveOdTokenFromUsers < ActiveRecord::Migration
def change
remove_column :users, :od_token
end
end
| mit |
jyen/corporate-challenge | mobile/www/app/car/detail/detail.controller.js | 401 | (function() {
angular.module('starter.controllers').controller('DetailController', DetailController);
DetailController.$inject = ['CarService', '$stateParams'];
function DetailController (CarService, $stateParams) {
var vm = this;
CarService.getCar($stateParams.id).$promise.then(function(data) {
... | mit |
comblox/PnP-Guidance | articles/Move-O365Api-Project-from-Dev-To-Prod.md | 9923 | # Deploying Development Office 365 Sites to Microsoft Azure #
### Summary ###
When developing any type a web application, most development is done locally using http://localhost. Some projects use local resources or a mix of local and remote resources. Taking these projects from local development environments involve... | mit |
ssut/py-hanspell | tests.py | 2729 | # -*- coding: utf-8 -*-
import unittest
from hanspell import spell_checker
from hanspell.constants import CheckResult
from textwrap import dedent as trim
class SpellCheckerTests(unittest.TestCase):
def setUp(self):
pass
def test_basic_check(self):
result = spell_checker.check(u'안녕 하세요. 저는 한국인... | mit |
composer/composer | src/Composer/DependencyResolver/RuleSetGenerator.php | 13501 | <?php declare(strict_types=1);
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\Depende... | mit |
VinaLx/farm-spider | src/main/scala/spider/cli/cli.scala | 544 | package spider.cli
import command._
import spider.Util.errorExit
import com.typesafe.scalalogging.Logger
object CLI {
lazy val logger = Logger("spider.cli")
def go(args: Array[String]): Unit = args.toSeq match {
case e if args.isEmpty ⇒ Help(args)
case "scrape" +: tail ⇒ Scrape(tail)
case "wait" +:... | mit |
BenediktS/three.js | examples/js/renderers/plugins/DepthPassPlugin.js | 5549 | /**
* @author alteredq / http://alteredqualia.com/
*/
THREE.DepthPassPlugin = function () {
this.enabled = false;
this.renderTarget = null;
var _gl,
_renderer,
_lights, _webglObjects, _webglObjectsImmediate,
_depthMaterial, _depthMaterialMorph, _depthMaterialSkin, _depthMaterialMorphSkin,
_frustum = new TH... | mit |
Capt-Slow/wdio-mocha-framework | test/fixtures/tests.options.compilers.js | 264 | import path from 'path'
let { context, file, mocha, options } = module.parent.context
let { it } = context
context.it = function (name, callback) {
if (callback) {
return it(...arguments);
} else {
callback = name
name = path.basename(file, '.js')
}
}
| mit |
docusign/docusign-soap-sdk | Java/DocuSignSample/src/net/docusign/sample/GetStatusAndDocs.java | 8102 | /**
* @copyright Copyright (C) DocuSign, Inc. All rights reserved.
*
* This source code is intended only as a supplement to DocuSign SDK
* and/or on-line documentation.
*
* This sample is designed to demonstrate DocuSign features and is not intended
* for production use. Code and policy for a production applic... | mit |
ptaylor/ppool | lib/basic_process_controller.rb | 2168 | #
# MIT License
#
# Copyright (c) 2016 Paul Taylor
#
# 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... | mit |
KeldOelykke/FailFast | Java/Web/war/releases/1.3/api/starkcoder/failfast/fails/objects/floats/class-use/IObjectFloatNullFail.html | 11686 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_45) on Mon Aug 31 23:15:52 CEST 2015 -->
<title>Uses of Interface starkcoder.failfast.fails.objects.floats.IObjectFloatNullFail (FailFa... | mit |
apo-j/Projects_Working | EC/espace-client-dot-net/EspaceClient.FrontOffice.Data/Depots/DepotTypeRenduBloc.BackOffice.cs | 604 | using System.Linq;
using EspaceClient.FrontOffice.Business.Depots;
using EspaceClient.FrontOffice.Domaine;
namespace EspaceClient.FrontOffice.Data.Depots
{
public partial class DepotTypeRenduBloc : Depot<TypeRenduBloc>, IDepotTypeRenduBloc
{
public TypeRenduBloc GetByCode(string code, string codeTypeBl... | mit |
xphh/lnet | README.md | 2864 | # lnet update 2015-03-28
Now multi-httpserver supported! See 'httpserver.lua'.
# lnet update 2015-03-25
Now cosocket supported!
What is cosocket? 'cosocket' is a socket API wapper for http handlers in lnet httpserver. It provides tcp/udp block operations but actually non-block in lnet httpserver thread. Yes, the name... | mit |
libp2p/js-libp2p | src/circuit/listener.js | 2218 | 'use strict'
const { EventEmitter } = require('events')
const { Multiaddr } = require('multiaddr')
/**
* @typedef {import('libp2p-interfaces/src/transport/types').Listener} Listener
*/
/**
* @param {import('../')} libp2p
* @returns {Listener} a transport listener
*/
module.exports = (libp2p) => {
const listen... | mit |
jhkimnew/iistest | temp/BlobTransfer/src/TransferResult.cs | 324 | using System.Collections.Generic;
namespace BlobTransfer
{
public class TransferResult
{
public List<string> Succeeded { get; set; } = new List<string>();
public List<string> Skipped { get; set; } = new List<string>();
public List<string> Failed { get; set; } = new List<string>();
... | mit |
immibajwa/project | app/card/card.html | 93 | <H1>CARDS LIST</h1>
<div ng-repeat="card in CardCtrl.cardlist" ng-bind="card.title"></div>
| mit |
fdeitelhoff/Twainsoft.FHDO.Compiler | src/Twainsoft.FHDO.Compiler.App/Properties/AssemblyInfo.cs | 1391 | using System.Reflection;
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("Twainsoft.FHDO.Compiler.App")]
[assembly:... | mit |
lifeandscience/experimonth.lifeandscience.org | public/venera/js/main.js | 1521 | (function() {
$(function() {
$('.tooltip-examples a, .tooltip-paragraph-examples a').tooltip({
animation: false
});
$('.top-sign-in').on("click", function(e) {
$('.login-box').fadeIn("fast");
return false;
});
$('.login-box-close').on("click", function(e) {
$(this).closest... | mit |
jmettraux/rufus-sixjo | test/ft_8_head.rb | 482 |
#
# Testing rufus-sixjo
#
# jmettraux at gmail.org
#
# Fri Aug 8 15:14:45 JST 2008
#
require 'test/unit'
require 'testmixins'
#
# the "test" app
#
module HeadApp
extend Rufus::Sixjo
get '/toto' do
"toto"
end
end
class HeadTest < Test::Unit::TestCase
include SixjoTestMixin
def setup
@app = HeadA... | mit |
jemsz95/ehr | frontend/fonts/ubuntu-fontfacekit/stylesheet.css | 3382 | /* Generated by Font Squirrel (http://www.fontsquirrel.com) on April 1, 2011 08:28:28 AM America/New_York */
@font-face {
font-family: 'UbuntuRegular';
src: url('Ubuntu-Regular-webfont.eot');
src: url('Ubuntu-Regular-webfont.eot?iefix') format('eot'),
url('Ubuntu-Regular-webfont.woff') format('w... | mit |
007slm/jquery-plugins | transform/index.html | 646 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>
<!-- [Dependencies[ -->
<script src="transform.js"></script>
<!-- ]] -->
<style type="text/css">
body {
backgro... | mit |
darjanbogdan/reporter | src/Reporter.WebAPI/Infrastructure/Owin/OwinContextExecutionScopeMiddleware.cs | 725 | using Owin;
using SimpleInjector;
using SimpleInjector.Extensions.ExecutionContextScoping;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Reporter.WebAPI.Infrastructure.Owin
{
public static class OwinContextExecutionScopeMiddleware
{
public static void U... | mit |
ebothmann/heppyplot | README.md | 512 | # heppyplot
A package for plotting histogrammed data with special support for high energy physics applications.


## Installation
Currently we use a custom fork of the excellent [seaborn](http://stanford.ed... | mit |
Samhane/taverna-player-portal | app/controllers/taverna_player/runs_controller.rb | 1563 | #------------------------------------------------------------------------------
# Copyright (c) 2013 The University of Manchester, UK.
#
# BSD Licenced. See LICENCE.rdoc for details.
#
# Taverna Player was developed in the BioVeL project, funded by the European
# Commission 7th Framework Programme (FP7), through grant ... | mit |
pablopdomingos/nfse | nfse-bh/src/test/java/com/pablodomingos/classes/rps/servicos/LoteRpsConsultaTest.java | 696 | package com.pablodomingos.classes.rps.servicos;
import java.io.IOException;
import org.apache.commons.io.IOUtils;
import org.junit.Assert;
import org.junit.Test;
import com.pablodomingos.classes.FabricaDeObjetosFake;
public class LoteRpsConsultaTest {
@Test
public void xmlDeveSerGeradoCorretamen... | mit |
cheekujodhpur/ipho2015 | node_modules/mysql/test/integration/test-host-denied-error.js | 662 | var common = require('../common');
var connection = common.createConnection({port: common.fakeServerPort});
var assert = require('assert');
var server = common.createFakeServer();
var connectErr;
server.listen(common.fakeServerPort, function(err) {
if (err) throw err;
connection.connect(function(err) {
... | mit |
wtfcoderz/chacal | initdb.sql | 1439 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8mb4 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
-- Export de la structure de la base pour chacal
CREATE DATABA... | mit |
cloukit/cloukit.github.io | src/app/components/component-info-header.component.ts | 6127 | /*!
* @license MIT
* Copyright (c) 2017 Bernhard Grünewaldt - codeclou.io
* https://github.com/cloukit/legal
*/
import { Component, Input } from '@angular/core';
import * as _ from 'lodash';
@Component({
selector: 'app-component-info-header',
template: `
<div class="info-header">
<div class="info-header-... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.08.1-2.0.5/released/8.7.1+1/elpi/1.12.1.html | 7654 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>elpi: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | mit |
conwid/IL-boss | DynamicSerializer.Test/TestClasses.cs | 2153 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.AccessControl;
using System.Text;
using System.Threading.Tasks;
namespace DynamicSerializer.Test
{
public class IX
{
public int IP { get; set; }
}
[Serializable]
public class A
{
public A()
{
... | mit |
crockeo/hc | src/hcexception.hpp | 707 | #ifndef _HC_EXCEPTION_HPP_
#define _HC_EXCEPTION_HPP_
//////////////
// Includes //
#include <exception>
#include <string>
//////////
// Code //
// To distinguish between different HCExceptions.
enum HCType {
// When the game cannot open the SDL window.
HC_WINDOW_EXCEPTION,
// When the game cannot load ... | mit |
houcine88/Cabinet | app/cache/prod/doctrine/orm/Proxies/__CG__CabinetPatientBundleEntityPatient.php | 4377 | <?php
namespace Proxies\__CG__\Cabinet\PatientBundle\Entity;
/**
* THIS CLASS WAS GENERATED BY THE DOCTRINE ORM. DO NOT EDIT THIS FILE.
*/
class Patient extends \Cabinet\PatientBundle\Entity\Patient implements \Doctrine\ORM\Proxy\Proxy
{
private $_entityPersister;
private $_identifier;
public $__isIniti... | mit |
regb/scala-game-library | core/src/main/scala/sgl/scene/ui/Widget.scala | 481 | //package sgl.scene
//package ui
//
///** SceneElement that is part of a layout
// *
// * This is the root class providing logic for
// * how to render widgets in a hierarchical user
// * interface.
// */
//abstract class Widget(_x: Float, _y: Float) extends SceneElement(_x, _y) {
//
// def minWidth: Float
// de... | mit |
akshayvenugopal/angular2-Node.JS-CRUD | Angular JS/newApp/src/app/components/topbar/topbar.component.css | 492 | ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
box-shadow: 0 6px 25px 0 rgba(0,0,0,.25);
}
li {
float: left;
}
li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
cursor:po... | mit |
luoshi0429/vue2-yanxuan | src/store/getters.js | 424 | export default {
// 购物车的商品数量
cartCommodityCount: state => {
const totalCount = state.cartList.reduce((total, commodity) => {
return total + Number(commodity.count)
}, 0)
return totalCount
},
removeCommodityCount: state => {
const totalCount = state.removeCartList.reduce((total, commodity) ... | mit |
radislavsplichal/phoneticsphonology | templates/exercises/odd-one-out/exerciseDetailodd-one-out.html | 683 | <template name="odd-one-out">
<!-- Template for odd-one-out exercise -->
<section class="mainSection">
<form>
<input name=exercisesID type="hidden" value={{_id}}>
<input name=type type="hidden" value={{type}}>
{{#each options}}
<div class="checkbo... | mit |
nioteam/jingdong_fu | lib/rest.rb | 2853 | require "uri"
require "net/http"
module JingdongFu
module Rest
class << self
def get(url, hashed_vars)
res = request(url, 'GET', hashed_vars)
process_result(res, url)
end
def post(url, hashed_vars)
res = request(url, 'POST', hashed_vars)
process_res... | mit |
howardplus/lirest | source/extract.go | 3669 | package source
import (
log "github.com/Sirupsen/logrus"
"github.com/howardplus/lirest/describe"
"github.com/howardplus/lirest/util"
"os"
"strconv"
"strings"
"time"
)
// Extractor returns a generic data based
// on the converter.
// An object that implements the Extractor interface needs
// to know where to ge... | mit |
ostat/Console | Cognifide.PowerShell/Commandlets/Presentation/GetRenderingCommand.cs | 716 | using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using Cognifide.PowerShell.Core.Extensions;
using Sitecore.Data.Items;
using Sitecore.Layouts;
namespace Cognifide.PowerShell.Commandlets.Presentation
{
[Cmdlet(VerbsCommon.Get, "Rendering")]
[OutputType(typeof (Rendering... | mit |
Crim/pardot-java-client | src/main/java/com/darksci/pardot/api/parser/user/UserAbilitiesParser.java | 1801 | /**
* 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 |
jersobh/edge-framework | src/controller/main.php | 300 | <?php
namespace App\Controller;
use Core\http;
use Core\view;
use Core\db;
class main
{
protected $http;
protected $view;
protected $db;
public function __construct()
{
$this->http = new http();
$this->view = new view();
$this->db = new db();
}
} | mit |
academiae/RestfulExpressiveSkeleton | module/Employee/test/ModuleConfigTest.php | 1417 | <?php
/**
* The MIT License
*
* Copyright (c) 2016, Coding Matters, Inc. (Gab Amba <gamba@gabbydgab.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 without restriction, includ... | mit |
ipconfiger/NSObject-Serialize | Example/Pods/Target Support Files/Pods-NSObject-Serialize_Tests-NSObject-Serialize/Pods-NSObject-Serialize_Tests-NSObject-Serialize-umbrella.h | 158 | #import <UIKit/UIKit.h>
FOUNDATION_EXPORT double NSObject_SerializeVersionNumber;
FOUNDATION_EXPORT const unsigned char NSObject_SerializeVersionString[];
| mit |
zidad/Umbraco-CMS | src/Umbraco.Web.UI.Client/src/views/propertyeditors/imagecropper/imagecropper.controller.js | 4659 | //this controller simply tells the dialogs service to open a mediaPicker window
//with a specified callback, this callback will receive an object with a selection on it
angular.module('umbraco')
.controller("Umbraco.PropertyEditors.ImageCropperController",
function ($rootScope, $routeParams, $scope, $log, media... | mit |
lucumt/ghblog | content/post/java-concurrency/concurrency-models.md | 18775 | +++
author = "飞狐"
categories = ["Java编程","翻译"]
tags = ["Java","Java Concurrency"]
date = "2017-08-05T00:10:11+08:00"
description = "Blog of Rosen Lu"
keywords = ["java concurrency"]
title = "4. [译]并发的模型"
+++
本文翻译自**[Java Concurrency / Concurrency Models](http://tutorials.jenkov.com/java-concurrency/concurrency-models... | mit |
pegurnee/2013-03-211 | complete/src/data_struct/in_class/d10_02/Sam.java | 817 | package data_struct.in_class.d10_02;
/**
* A class to test basic 'Object' methods
*
* @author Eddie Gurnee
* @version 10/02/13
* @see TestingSam
*
*/
public class Sam {
public int mikesplan = 8;
/**
* No argument constructor for the Sam class
*
*/
public Sam() {
}
/**
* Indicates if some other... | mit |
medialize/URI.js | uri-template.html | 14623 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>URI.js - URI-Template</title>
<meta name="description" content="URI.js is a Javascript library for working with URLs." />
<script src="jquery-3.6.0.min.js" t... | mit |
OctoEnigma/shiny-octo-system | lua/vgui/dvscrollbar.lua | 5940 | --[[
DVScrollBar
Usage:
Place this control in your panel. You will ideally have another panel or
control which is bigger than the original panel. This is the Canvas.
scrollbar:SetUp( _barsize_, _canvassize_ ) should be called whenever
the size of your 'canvas' changes.
scrollbar:GetOffset() can be called ... | mit |
Twangist/log_calls | tests/set_reset_defaults/global_defaults.py | 211 | __author__ = 'brianoneill'
from log_calls import log_calls
global_settings = dict(
log_call_numbers=True,
log_exit=False,
log_retval=True,
)
log_calls.set_defaults(global_settings, args_sep=' $ ')
| mit |
bhushankalvani/PFrepo | angularApp/user/user.routes.js | 461 | angular.module('phonebook')
.config(['$urlRouterProvider','$stateProvider',function($urlRouterProvider,$stateProvider){
$stateProvider
// Greeting State
.state('user.main',{
url : '/',
templateUrl : 'user/view/welcome.html',
controller : 'welcomeCtrl'
})
// Phonebook Display State
... | mit |
madhawa-se/scpost | application/views/home.php | 3962 |
<!DOCTYPE html>
<html ng-app="myapp">
<head>
<title>TODO supply a title</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="<?php echo base_url() ?>css/bootstrap.min.css">
<style>
</styl... | mit |
seaboy1234/PineTreeLanguage | PineTree.Language/Syntax/ExpressionTerminal.cs | 228 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PineTree.Language.Syntax
{
public abstract class ExpressionTerminal : Expression
{
}
} | mit |
psklf/my-config-file | cnblogs_style/footer.html | 998 | <script>
var detail = $("#cb_post_title_url");
if (detail.text() !== ""){$("div#sideBar").hide();var mainArticleArea = $("div#mainContent");mainArticleArea.width("100%");mainArticleArea.css("margin-left","0");
$("div.forFlow #comment_form").css("margin-left","40px");
$("div.post h1.postTitle").after("<div id='mycpright... | mit |
Picturepark/Picturepark.SDK.TypeScript | docs/picturepark-sdk-v1-pickers/api/interfaces/_crypto_.keyexportoptions.html | 9186 | <!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>KeyExportOptions | picturepark-sdk-v1-pickers API</title>
<meta name="description" content="Documentation for picturepark-sdk-v1-pickers API">
<meta name="viewport" content="width... | mit |
friedlP/FTail | STextViewControl/Properties/Settings.Designer.cs | 1097 | //------------------------------------------------------------------------------
// <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 |
chrilith/Passerelle | Lua Module/Device.cpp | 6949 | #include "Common.h"
#include "Script.h"
#include <atlimage.h>
#include <hidsdi.h>
#include <SetupAPI.h>
#define HID_SFIP 'SFIP'
#define HID_X52P 'X52P'
#define HID_UNKN 'UNKN'
// CHECKME : Do we still need all this code since we now have a GetSerialNumber() in the DO API?
DeviceManager *DevMan = DeviceManager::G... | mit |
jeshuamaxey/flappy-tom | js/screens/title.js | 2176 | game.TitleScreen = me.ScreenObject.extend({
init: function(){
this.font = null;
},
onResetEvent: function() {
me.audio.stop("theme");
game.data.newHiScore = false;
me.game.world.addChild(new BackgroundLayer('bg', 1));
me.input.bindKey(me.input.KEY.ENTER, "enter", true);
me.input.bind... | mit |
colincwilliams/Extensions | README.md | 57 | # Extensions
A collection of useful, generic extensions.
| mit |
leonnybg/SoftUni-SoftwareTechnologies-july2017 | L8-PHP-Syntax- Basic-Web-Ex/04. Product of 3 Numbers.php | 895 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>First Steps Into PHP</title>
</head>
<body>
<form>
X: <input type="text" name="num1" />
Y: <input type="text" name="num2" />
Z: <input type="text" name="num3" />
<input type="submit" />
</form>
<?php
if (!... | mit |
DirtyHairy/mayrogue-deathmatch | goldmine/server/brain/strategy/randomWalk.js | 1069 | 'use strict';
var _ = require('underscore'),
Util = require('../../shared/util'),
Base = require('./base'),
Action = require('../../action'),
Types = require('./types');
var _parent = Base.prototype;
var RandomWalk = Util.extend(Base, {
properties: ['walkPropability'],
... | mit |
youcefboukersi/serveurdevoeux | app/cache/dev/twig/1b/1bf602c2860b97f0808215b5052e0f5850091179d1670e489003312b329f5b04.php | 3227 | <?php
/* SRVDVServerBundle:ChangePassword:changePassword.html.twig */
class __TwigTemplate_e5da0f0553fed635f2774271a2ef3982b389e99e651b1a8527dd0c0b6ca90bd7 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$t... | mit |
zwirec/TravelMate | models/baseManager.h | 1656 | //
// Created by root on 07.05.17.
//
#ifndef BASICMODEL_BASEMANAGER_H
#define BASICMODEL_BASEMANAGER_H
#include <mysql++.h>
#include <vector>
#include "dbConfig.h"
namespace model {
namespace manager {
template<class ModelName>
class baseManager {
public:
baseManager() {
... | mit |
junming4/eelly-sdk-php | src/SDK/Order/Api/Offline.php | 641 | <?php
declare(strict_types=1);
/*
* This file is part of eelly package.
*
* (c) eelly.com
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Eelly\SDK\Order\Api;
use Eelly\SDK\Order\Service\OfflineInterface;
/**
* @aut... | mit |
sbishopwta/WTCalendarController | Example/Pods/Target Support Files/Pods-WTCalendarController_Example/Pods-WTCalendarController_Example-frameworks.sh | 3624 | #!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
local source="${BUILT_PRO... | mit |
benIT/github-blog | source/_posts/2017-03-29-consumming-a-moodle-webservice.md | 2353 | ---
title: Consuming a Moodle webservice
categories:
- Moodle
- dev
- webservices
tags:
---
This post describes how to consume a Moodle core webservice.
##Set up Moodle
### Enable REST protocol
In `Dashboard / ► Site administration / ► Plugins / ► Web services / ► Manage protocols`
- enable RES... | mit |
wasit7/tutorials | arduino_python/weatherstation/scituweather/templates/3.html | 2799 | <!DOCTYPE html>
<html lang="en">
<head>
<title>Rice Diseases</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="static/bootstrap.min.css">
<script src="static/jquery.min.js"></script>
<script src="static/bootstrap.min.js"></script... | mit |
Kanma/Athena-Math | unittests/scripting/js/Matrix3/CreationWithValues.js | 282 | import_module('Athena.Math');
m1 = new Athena.Math.Matrix3(1, 2, 3,
4, 5, 6,
7, 8, 9);
for (var row = 0; row < 3; ++row)
{
for (var col = 0; col < 3; ++col)
CHECK_CLOSE(row * 3 + col + 1, m1.get(row, col));
}
| mit |
yogeshsaroya/new-cdnjs | ajax/libs/timelinejs/2.35.6/js/locale/el.js | 129 | version https://git-lfs.github.com/spec/v1
oid sha256:27606576bf3cd46c15755bdec387cc97145a4a0c0a5b3933c11d30ab8c6c5ec7
size 1825
| mit |
fredlincoln/sprcorp | template-parts/content.php | 624 | <?php
/**
* The default template for displaying content
*
* Used for both single and index/archive/search.
*
* @package FoundationPress
* @since FoundationPress 1.0.0
*/
?>
<div id="post-<?php the_ID(); ?>" <?php post_class('blogpost-entry'); ?>>
<header>
<h2><a href="<?php the_permalink(); ?>"><?php the_ti... | mit |
Photosynq/PhotosynQ-Documentation | docs/enterprise-edition/users.md | 987 | # Users
With the **Enterprise Edition** there are two categories of users which have different roles and permissions.
## General Users
General users of the **Enterprise Edition** have the same permissions and features at hand as compared to users of the **Community Edition**. The only difference is, that new users n... | mit |
dtulibrary/toshokan | db/migrate/20130827081527_ensure_no_limit_on_user_data_field.rb | 157 | class EnsureNoLimitOnUserDataField < ActiveRecord::Migration
def up
change_column :users, :user_data, :text, :limit => nil
end
def down
end
end
| mit |
TelemarkAlpint/telemark-2004 | bilder/gallery/classes/postnuke0.7.1/User.php | 2614 | <?php
/*
* Gallery - a web based photo album viewer and editor
* Copyright (C) 2000-2004 Bharat Mediratta
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License... | mit |
dsandber/muhr_table | lib/muhr_table/version.rb | 42 | module MuhrTable
VERSION = "1.0.22"
end
| mit |
gaudeon/interstice | src/stage/objectives/kill_ships.js | 622 | import Objective from '../objective';
export default class KillShipsObjective extends Objective {
constructor (game, ships) {
super(game);
if (!Array.isArray(ships)) {
ships = [ships];
}
this.bots = _.filter(ships, ship => { return ship.alive; });
... | mit |
kavun/guvercinguitars | include/layout_minified.css | 1738 | body {
background-color:#948664;
font-size:16px;
font-family:Georgia, "Times New Roman", Times, serif;
color:#F4ECD3;
text-shadow:-1px -1px 5px #000;
padding:0;
margin:0;
}
a {
color:#fbfcef;
}
a:visited {
color:#eed69b;
}
a:hover {
color:#d7bc7b;
}
a:active {
color:#eed69b;
}
h1 {
font-size:11px;
text-tra... | mit |
liligga/storegine | app/models/storegine/category.rb | 133 | module Storegine
class Category
include Mongoid::Document
field :title, type: String
has_many :products
end
end
| mit |
asadsahi/AspNetCoreSpa | src/Presentation/Web/ClientApp/src/app/components/privacy/index.ts | 37 | export * from './privacy.component';
| mit |