repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
biti/top4r | lib/top4r/client.rb | 920 | # -*- encoding : utf-8 -*-
class Top4R::Client
include Top4R::ClassUtilMixin
@@no_login_required_methods = {
:user => {
:info => 'taobao.user.get',
:multi_info => 'taobao.users.get'
},
:trade => {},
:area => {
:list => 'taobao.areas.get'
},
:logistic_company => {
:... | mit |
lozjackson/ember-ui-components | addon/components/uic-context-menu-container.js | 3147 | /**
@module ember-ui-components
*/
import Component from '@ember/component';
import ClickOutsideMixin from 'ember-ui-components/mixins/click-outside';
import layout from '../templates/components/uic-context-menu-container';
import setPosition from 'ember-ui-components/utils/set-position';
import getMousePosition from... | mit |
phpstan/phpstan | website/src/developing-extensions/class-reflection-extensions.md | 4129 | ---
title: Class Reflection Extensions
---
Classes in PHP can expose "magic" properties and methods decided in run-time using class methods like `__get`, `__set`, and `__call`. Because PHPStan is all about static analysis (testing code for errors without running it), it has to know about those properties and methods b... | mit |
ksmit799/Toontown-Source | toontown/hood/Place.py | 37078 | from pandac.PandaModules import *
from toontown.toonbase.ToonBaseGlobal import *
from direct.directnotify import DirectNotifyGlobal
from direct.fsm import StateData
from direct.showbase.PythonUtil import PriorityCallbacks
from toontown.safezone import PublicWalk
from toontown.launcher import DownloadForceAcknowledge
im... | mit |
ViraxDev/centrale_referencement | src/CentraleReferencementBundle/Repository/PourquoiAdhererRepository.php | 271 | <?php
namespace CentraleReferencementBundle\Repository;
/**
* PourquoiAdhererRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class PourquoiAdhererRepository extends \Doctrine\ORM\EntityRepository
{
}
| mit |
cheyang/docker_brick | lib/brick/models/service.rb | 7080 | require 'brick/mixin'
require 'colorize'
module Brick
module Models
class Service
include ::Brick::Mixin::Colors
@@waiting_pool = []
attr_accessor :client, :name, :links, :service_config_hash, :container, :volumes_from, :image, :image_name
def self.wait_for_de... | mit |
ianzhengnan/Homepwner | README.md | 42 | # Homepwner
A exercise of iOS development
| mit |
xianjunzhengbackup/code | data science/machine_learning_for_the_web/chapter_4/movie/6066.html | 6400 | <HTML><HEAD>
<TITLE>Review for Time to Kill, A (1996)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0117913">Time to Kill, A (1996)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Mark+R.... | mit |
v8-dox/v8-dox.github.io | 9c3e246/html/classv8_1_1EscapableHandleScope-members.html | 7746 | <!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 |
dmitry-root/home-automation | firmware/ti/heater/main.cpp | 2216 | /******************************************************************************
The MIT License (MIT)
Copyright (c) 2015 Dmitry Root <droot@deeptown.org>
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 S... | mit |
jbasdf/disguise | test/rails_test/test/functional/default_controller_test.rb | 1661 | require File.dirname(__FILE__) + '/../test_helper'
class DefaultControllerTest < ActionController::TestCase
def setup
@controller = DefaultController.new
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
end
context "get home page" do
setup do
... | mit |
Azure/azure-sdk-for-go | services/apimanagement/mgmt/2019-12-01/apimanagement/issue.go | 11883 | package apimanagement
// 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 regen... | mit |
flyzsd/java-code-snippets | ibm.jdk8/src/java/security/interfaces/RSAKey.java | 1040 | /*===========================================================================
* Licensed Materials - Property of IBM
* "Restricted Materials of IBM"
*
* IBM SDK, Java(tm) Technology Edition, v8
* (C) Copyright IBM Corp. 1999, 1999. All Rights Reserved
*
* US Government Users Restricted Rights - Use, duplication... | mit |
QuinntyneBrown/azure-search-getting-started | src/Chloe.Server.Models/ArticleCategory.cs | 147 | namespace Chloe.Server.Models
{
public class ArticleCategory: BaseEntity
{
public ArticleCategory()
{
}
}
} | mit |
CrossRef/event-data-user-guide | docs/history.md | 3090 | # Release History
This document describes substantial or breaking changes to the Event Data system.
## Changes
### [2019-01-10] Change to Twitter URLs
- [event-data-user-guide 1.2.2](https://github.com/CrossRef/event-data-user-guide/releases/tag/1.2.2)
- [event-data-agents 0.1.17](https://github.com/CrossRef/eve... | mit |
npoirey/16AGR | frontend/src/js/core/proptypes/table/columnTypeProptypes.js | 153 | import React from 'react'
const columnTypeProptypes = React.PropTypes.oneOf([
'boolean',
'custom',
'text',
])
export default columnTypeProptypes
| mit |
ragingwind/field-value | test.js | 1214 | import test from 'ava';
import deep from 'deep-equal';
import fn from './';
const target = {
key1: 'value1',
key2: 1,
key3: [3, 'value3'],
key4: {
key41: 'value41',
key42: 'value42'
},
key5: [
'value51', 'value51', 'value51'
],
key6: {
key61: {
key611: [
'value6111', 'value6112'
]
}
},
ke... | mit |
jimmydong/YEPF3 | ext/YinHooMail.class.php | 8354 | <?php
/**
* @name Yinhoomail
* @desc 通过亿邻(Yinhoo.com)提供的邮件接口来发送邮件
* @author 阿发@YOKA
* @createtime 2009-8-12
* @updatetime
* 说明:
* 因为同是发送邮件功能,为了让大家使用习惯,及以后更改方便
* 大部分函数参数及用法参考并沿用了了Mail.class.php
*
* 使用方法:
*
* $ToAddress="alfa@yoka.com";
* $Subject="This is 测试";
* $HtmlCode = <<<HTMLCODE
* ... | mit |
SOHU-Co/kafka-node | lib/errors/InvalidRequestError.js | 400 | const util = require('util');
/**
* The request was invalid for a specific reason.
*
* @param {*} message A message describing the issue.
*
* @constructor
*/
const InvalidRequest = function (message) {
Error.captureStackTrace(this, this);
this.message = message;
};
util.inherits(InvalidRequest, Error);
Inva... | mit |
internship2016/sovolo | app/tag/migrations/0001_initial.py | 666 | # -*- coding: utf-8 -*-
# Generated by Django 1.10 on 2016-08-09 16:39
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Tag',
... | mit |
parambirs/aui-demos | node_modules/@atlassian/aui/node_modules/sandy/build/build.sh | 129 | #!/bin/sh
./node_modules/.bin/babel src/ --out-dir .tmp/
./node_modules/.bin/browserify -r ./.tmp/sandy.js:Sandy > dist/sandy.js
| mit |
Kamshak/LibK | lua/libk/server/sv_libk_BaseController.lua | 5295 | CONTROLLERS = {}
BaseController = { }
local vnet = LibK.GLib.vnet
function BaseController:included( class )
function class.static.getInstance( class )
class.static.instance = class.static.instance or class:new( )
return class.static.instance
end
end
--Call for auto sending an error message to the specified view... | mit |
rubenacevedo3/cpp-RoboDogVoiceController | doxygenfiles/html/classvoiceController-members.html | 5021 | <!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 |
anna-marie-vos/anna-marie-vos.github.io | blog/c1-time-and-habits-blog.html | 2759 | <!DOCTYPE html>
<html lang="en">
<head>
<title>Time and Habits</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSS Links-->
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.css">
... | mit |
nkgalar/nkgalar.github.io | _posts/2016-09-24-nine-pictures.md | 1178 | ---
layout: post
title: "Nine Pictures"
date: 2016-09-24 15:39:40
permalink: nine-pictures
preview: http://zihan.design/PUB/./public/database/zihan.design/assets/images/2016-09-24/2.jpg
---

<br>
<br>
](https://github.com/rxrc/vimrc/releases)
[](./LICENSE.txt)
**Depreciated in favor of nvimrc!**
I've migrated this configuration to Neovim: [rxrc/nvimrc].... | mit |
jamie-dainton/MailKit | MailKit/BodyPartMessage.cs | 3919 | //
// BodyPartMessage.cs
//
// Author: Jeffrey Stedfast <jestedfa@microsoft.com>
//
// Copyright (c) 2013-2020 .NET Foundation and Contributors
//
// 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 S... | mit |
lynnx4869/ChaoCiYuanXinFan | ChaoCiYuanXinFan/ChaoCiYuanXinFan/Utility/RootPopViewController.h | 452 | //
// RootPopViewController.h
// ChaoCiYuanXinFan
//
// Created by qianfeng on 15/8/26.
// Copyright (c) 2015年 lyning. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef enum : NSUInteger{
ShortLength,
LongLength
} BgImageLength;
@interface RootPopViewController : UIViewController
- (void)addNav:(N... | mit |
pipi32167/DoubleScreenMatchIt | DoubleScreenMatchIt/DoubleScreenMatchIt/AppDelegate.h | 548 | //
// AppDelegate.h
// DoubleScreenMatchIt
//
// Created by yangqibin on 13-9-20.
// Copyright __MyCompanyName__ 2013年. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "cocos2d.h"
@interface AppController : NSObject <UIApplicationDelegate, CCDirectorDelegate>
{
UIWindow *window_;
UINavigationController ... | mit |
skeiter9/javascript-para-todo_demo | webapp/node_modules/webpack/benchmark/fixtures/846.async.js | 172 | require.ensure([], function(require) {
require("./105.async.js");
require("./211.async.js");
require("./423.async.js");
require("./845.async.js");
});
module.exports = 846; | mit |
mscifo/wrike | lib/wrike.rb | 114 | require 'oauth'
require 'json'
require 'mime/types'
require 'wrike/client'
module Wrike
VERSION = '0.1.0'
end
| mit |
omegacoinproject/omegacoin | src/mruset.h | 2136 | // Copyright (c) 2012 The Bitcoin developers
// Copyright (c) 2012 Omegacoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_MRUSET_H
#define BITCOIN_MRUSET_H
#include <set>
#include <deque>
/** S... | mit |
esarbanis/roolr | src/main/java/com/github/esarbanis/roolr/SimpleEvaluationContext.java | 2050 | /*
* The MIT License
*
* Copyright (c) 2014-2014 Efthymios Sarmpanis http://esarbanis.github.io/roolr
*
* 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... | mit |
ubergrape/datejs | build/development/date-es-HN.js | 130170 | /**
* @overview datejs
* @version 1.0.0-beta-2014-03-25
* @author Gregory Wild-Smith <gregory@wild-smith.com>
* @copyright 2014 Gregory Wild-Smith
* @license MIT
* @homepage https://github.com/abritinthebay/datejs
*/
/*
* DateJS Culture String File
* Country Code: es-HN
* Name: Spanish (Honduras)
* Format:... | mit |
ammongit/c-utils | calc/variables.h | 578 | /*
* variables.h
*
* calc - a simple CLI calculator
* Copyright (c) 2017 Ammon Smith
*
* calc is available free of charge under the terms of the MIT
* License. You are free to redistribute and/or modify it under those
* terms. It is distributed in the hopes that it will be useful, but
* WITHOUT ANY WARRANTY. S... | mit |
moolex/nsqclient-php | src/Connection/Lookupd.php | 2077 | <?php
/**
* Conn for Lookupd
* User: moyo
* Date: 31/03/2017
* Time: 4:53 PM
*/
namespace NSQClient\Connection;
use NSQClient\Access\Endpoint;
use NSQClient\Connection\Transport\HTTP;
use NSQClient\Exception\LookupTopicException;
use NSQClient\Logger\Logger;
class Lookupd
{
/**
* @var string
*/
... | mit |
mbrookes/material-ui | docs/pages/components/menus.js | 338 | import * as React from 'react';
import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs';
import {
demos,
docs,
requireDemo,
} from '!@material-ui/markdown/loader!docs/src/pages/components/menus/menus.md';
export default function Page() {
return <MarkdownDocs demos={demos} docs={docs} requireDemo={r... | mit |
phpbench/phpbench | lib/Attributes/Skip.php | 141 | <?php
namespace PhpBench\Attributes;
use Attribute;
#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD)]
final class Skip
{
}
| mit |
modesttree/Zenject | UnityProject/Assets/Plugins/Zenject/OptionalExtras/ReflectionBaking/Unity/ReflectionBakingMenuItems.cs | 707 | #if !NOT_UNITY3D
using System.IO;
using UnityEditor;
using UnityEngine;
using Zenject.Internal;
namespace Zenject.ReflectionBaking
{
public static class ReflectionBakingMenuItems
{
[MenuItem("Assets/Create/Zenject/Reflection Baking Settings", false, 100)]
public static void CreateReflectionBak... | mit |
mmontossi/abilities | README.md | 2439 | [](http://badge.fury.io/rb/chi-authorization)
[](https://codeclimate.com/github/chi-rb/chi-authorization)
[
{
$this->setTemplate("html/left.phtml");
}
}
| mit |
clbond/augury | example-apps/kitchen-sink-example/source/components/todo-app/todo-app.ts | 263 | import {Component} from '@angular/core';
import {TodoService} from './todo-service';
@Component({
selector: 'todo-app',
template: `
<div>
<todo-input></todo-input>
<hr/>
<todo-list></todo-list>
</div>
`
})
export default class TodoApp { }
| mit |
lorimccurry/learning_site | courses/tests.py | 2724 | from django.core.urlresolvers import reverse
from django.test import TestCase
from django.utils import timezone
from .models import Course
from .models import Step
class CourseModelTests(TestCase):
def test_course_creation(self):
course = Course.objects.create(
title="Python Regular Expression... | mit |
GoC-Spending/data-corporations | html/234567165089.html | 31034 |
<!DOCTYPE html>
<!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en" dir="ltr">
<!--<![endif]-->
<!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open... | mit |
Connormiha/todo-list | src/ts/components/common/Button/index.test.tsx | 1403 | 'use strict';
import View from './index';
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import * as ReactTestUtils from 'react-addons-test-utils';
describe('Button test', function () {
it('Should render button tag', function () {
const view: React.Component<any, {}> = ReactTestUti... | mit |
N4SJAMK/N4SJAMK.github.io | css/animations.css | 19027 | /*
==============================================
CSS3 ANIMATION CHEAT SHEET
==============================================
Made by Justin Aguilar
www.justinaguilar.com/animations/
Questions, comments, concerns, love letters:
justin@justinaguilar.com
==============================================
*/
/*
============... | mit |
smith7800/heat | src/main.h | 60308 | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2013 The Peercoin developers
// Copyright (c) 2013-2014 The heat developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mi... | mit |
AzureAD/azure-activedirectory-library-for-objc | ADAL/src/ADALAuthenticationError+Internal.h | 7777 | // Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// 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, in... | mit |
tliang1/Java-Practice | Practice/Intro-To-Java-8th-Ed-Daniel-Y.-Liang/Chapter-9/Chapter09P01/doc/type-search-index.js | 50 | typeSearchIndex = [{"p":"main","l":"CheckingSSN"}] | mit |
epsilonz/shoggoth.rs | src/ty/hlist.rs | 1005 | use hlist::*;
pub trait TmPre<A> {
type Out;
}
impl<A> TmPre<A> for HN {
type Out = A;
}
impl<
HTm,
HTy,
TTm,
TTy,
> TmPre<HC<HTy, TTy>> for HC<HTm, TTm> where
TTm: TmPre<TTy>
{
type Out = <TTm as TmPre<TTy>>::Out;
}
pub trait TmExt<A> {
type Out; // FIXME: + Prepend<Self::E... | mit |
chenjic215/search-doctor | node_modules/cheese-toastie/docs/react-components/docs/ContentEditable.js | 1833 | var React = require("react");
var HttpServices = require("../services/HttpServices");
var update = require("react-addons-update");
module.exports = React.createClass({
getInitialState: function() {
return {
contentEditable: false
}
},
onDoubleClick: function() {
if (this.props.editable && !th... | mit |
lextel/evolution | fuel/app/views/payment/return.php | 1011 | <?php echo Asset::css('product.css'); ?>
<div class="pay-panel">
<?php if(isset($status) && $status):?>
<div class="panel-head">
<h2 class="title-chg"><span class="icon icon-succeed"></span>恭喜您, 支付成功!</h2>
<div style="padding: 40px;text-align: center">
... | mit |
PatatesIDracs/3DGameEngine | 3DEngine/Source/PhysX/Include/pvd/windows/PxWindowsPvdDelayLoadHook.h | 2397 | // This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentation... | mit |
protechdm/CloudCompare | CloudCompare.Web/FluentSecurity/Policy/LazySecurityPolicy.cs | 1444 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CloudCompare.Web.FluentSecurity.Policy
{
internal class LazySecurityPolicy<TSecurityPolicy> : ILazySecurityPolicy where TSecurityPolicy : ISecurityPolicy
{
public Type PolicyType
{
... | mit |
TiFF-Y/TIFF-Y.github.io | README.md | 22 | # resume
个人简历
| mit |
luisenp/mdp-lib | scripts/run_testsolver.sh | 594 | #!/bin/bash
#Usage ./run_testsolver.sh [problem] [nsims] [reps] [verbosity] [min_time] [max_time] [other_flags] [algorithm]
problem=$1
nsims=$2
reps=$3
verbosity=$4
min_time=$5
max_time=$6
other_flags=$7
algorithm=$8
echo "../testsolver.out $problem --heuristic=hmin --precompute-h --n=$nsims --reps=$reps --v=$verbosi... | mit |
KlishGroup/prose-pogs | pogs/M/MMIOKHX/CFR/index.md | 2326 | ---
layout: page
title: Costa Family Reunion
date: 2016-05-24
author: Philip Vincent
tags: weekly links, java
status: published
summary: Nullam interdum porta molestie. Fusce at maximus diam. Quisque eu.
banner: images/banner/leisure-02.jpg
booking:
startDate: 04/04/2019
endDate: 04/06/2019
ctyhocn: MMIOKHX
gro... | mit |
andriyl/raplanet | lib/collections/locations.js | 243 | Locations = new Mongo.Collection("locations");
Locations.allow({
insert: function(userId) {
return !!userId;
}
});
Meteor.methods({
addLocation: function(placeId) {
Locations.insert({place_id: placeId});
}
}); | mit |
1UnboundedSentience/UberCodingChalEmail | README.md | 1438 |
Rails Bootstrap
================
[](https://heroku.com/deploy)
This application was generated with the [rails_apps_composer](https://github.com/RailsApps/rails_apps_composer) gem
provided by the [RailsApps Project](http://railsapps.github.io/).
Rails C... | mit |
alicht/buddybuddy | ember/app/models/pairing.js | 906 | import DS from 'ember-data';
/* global moment */
var Pairing = DS.Model.extend({
startDate: DS.attr('date'),
endDate: DS.attr('date'),
users: DS.hasMany('user', {async: true}),
logs: DS.hasMany('log', {async: true}),
isEnded: function(){
return +this.get('endDate') <= +moment().toDate();
}.property('e... | mit |
AfterKraft/KraftRPG-API | src/main/java/com/afterkraft/kraftrpg/api/effect/property/TimedProperty.java | 1789 | /*
* The MIT License (MIT)
*
* Copyright (c) Gabriel Harris-Rouquette
*
* 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
* ... | mit |
SergeyGuns/test-site | src/about/about.js | 937 | /**
* React Static Boilerplate
* https://github.com/kriasoft/react-static-boilerplate
*
* Copyright © 2015-present Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import React from 'react';
... | mit |
mecoepcoo/innocent-blog | lib/hash.js | 1286 | var crypto = require('crypto');
/**
* 加密算法(md5 → 加盐 → md5)
* 依赖: crypto
* @param string 源字符串
* @param salt 盐
* @returns {string}
*/
function communism(string, salt) {
var str = md5Hash(string);
str = salt + str;
str = md5Hash(str);
return str;
}
/**
* md5 hash散列
* @param string 源字符串
* @return string ... | mit |
portchris/NaturalRemedyCompany | src/app/code/community/Ess/M2ePro/Block/Adminhtml/Amazon/Template/Description/Category/Chooser/Tabs/Recent.php | 1419 | <?php
/*
* @author M2E Pro Developers Team
* @copyright M2E LTD
* @license Commercial use is forbidden
*/
class Ess_M2ePro_Block_Adminhtml_Amazon_Template_Description_Category_Chooser_Tabs_Recent
extends Mage_Adminhtml_Block_Widget
{
protected $_selectedCategory = array();
//#################... | mit |
ANamelessBand/pulse | hardware/cdcio.2009-07-15/tiny2313/default/Makefile | 2184 | ###############################################################################
# Makefile for the project cdcio-2313
###############################################################################
## General Flags
PROJECT = cdcio-2313
MCU = attiny2313
TARGET = cdcio-2313.elf
CC = avr-gcc
## Options common to compile... | mit |
FiiZzioN/NRTyler.CodeLibrary | NRTyler.CodeLibrary.WPF/Properties/Settings.Designer.cs | 1080 | //------------------------------------------------------------------------------
// <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 |
inclusa/inclusa.github.io | _productivity/_site/2017-02-26-47-metes.html | 118200 | <p>Llibre: Bryan Tracy. Metas. Empresa Activa.</p>
<blockquote>
<p>L’habilitat per fixar-se metes és la clau per alcançar l’èxit.</p>
</blockquote>
<h3 id="sumari">Sumari</h3>
<p><a href="#0-index">00. Índex</a></p>
<p><a href="#1-allibera-el-teu-potencial">01. Allibera el teu potencial</a></p>
<p><a href="#2-pr... | mit |
ricardobaumann/jmeter_web_app_test | src/main/java/jmeter/SeleniumTest.java | 3941 | /**
*
*/
package jmeter;
/**
* @author ricardo
*
*/
public class SeleniumTest {
/**
*
*/
public SeleniumTest() {
}
/**
* @param args
*/
public static void main(String[] args) {
}
/*
* package br.com.zenvia.test;
import java.io.IOException;
import java.lang.reflect.Method;
import jav... | mit |
rcsole/iron-alumni | config/initializers/assets.rb | 382 | # Be sure to restart your server when you modify this file.
# Version of your assets, change this if you want to expire all your assets.
Rails.application.config.assets.version = '1.0'
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
Rails.a... | mit |
pimgeek/pimgeek.github.io | _jksrc/_notes/asciinema-demo.md | 281 | ---
layout: note
reader-title: 使用 asciinema 制作命令行回放
title: asciinema-demo
category: demo
date: 2015-07-30
draft: true
---
实例,展示 ls 的用法。
<script type="text/javascript" src="https://asciinema.org/a/19596.js" id="asciicast-19596" async></script>
| mit |
jiankaiwang/seed | python/py2mysqlpy.md | 1727 | # py2mysql.py
### Dependency
---
* mysql.connector [PyPi](https://pypi.python.org/pypi/mysql-connector)
### Constructor
---
```python
#
# desc : constructor
# inpt :
# |- host : host IP or URI
# |- port : mysql port
# |- user : service user
# |- pwd : login password
# |- dbname : default database name
#
def __i... | mit |
fluxsauce/dashing-reporter | lib/loadJson.js | 533 | const _ = require('lodash');
const fs = require('fs');
module.exports = (path, validationFailures) => {
let jsonRaw;
let json;
try {
jsonRaw = fs.readFileSync(path);
}
catch (err) {
if (err.code === 'ENOENT') {
validationFailures.push(`Cannot find "${path}"`);
}
else {
throw err;
... | mit |
miyucy/kana | spec/kana_spec.rb | 6351 | #!/usr/bin/ruby -wKU
# -*- coding: utf-8 -*-
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
require 'nkf'
describe "Kana" do
it "オプション'n'によって '0'を'0'に変換できること" do
Kana.kana('0','n').should == '0'
end
it "オプション'r'によって 'a'を'a'に変換できること" do
Kana.kana('a','r').should == 'a'
end
it "オプシ... | mit |
Archheretic/ParkingLotTrackerMobileApp | index.android.js | 90 | /**
* Created by archheretic on 04.04.17.
*/
require("./artifacts/src/root.android.js"); | mit |
ReubenBond/reubenbond.github.io | drafts/test/docs/host/monitoring/silo_error_code_monitoring.html | 6938 | <!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Silo Error Code Monitoring | Microsoft Orleans Documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" conte... | mit |
BBoldt/KPComputers | src/test/java/kpc/common/utils/ArgsParserTest.java | 239 | package kpc.common.utils;
import java.util.Arrays;
public class ArgsParserTest {
public void testParse()
throws Exception {
System.out.println(Arrays.toString(ArgsParser.parse("\"Hello World\" \"Test World\"")));
}
} | mit |
mulev/alexa-ruby | lib/alexa_ruby/response/response.rb | 7547 | module AlexaRuby
# Response for Amazon Alexa service request
class Response
# Initialize new response
#
# @param request_type [Symbol] AlexaRuby::Request type
# @param version [String] Amazon Alexa SDK version
def initialize(request_type, version = '1.0')
@req_type = request_type
@re... | mit |
whatyouhide/bases | lib/bases/monkeypatches/integer.rb | 557 | # encoding: UTF-8
# Some monkeypatches to the `Integer` class.
class Integer
# Convert this number to a given `base`.
# @param (see Bases::Number#to_base)
# @return [String]
# @see Bases::Number#to_base
def to_base(base, opts = {})
Bases.val(self).to_base(base, opts)
end
# Convert this number in bin... | mit |
vankatalp360/Programming-Fundamentals-2017 | Objects and Simple Classes - More Exercises/03. Animals/Dog.cs | 486 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _03.Animals
{
public class Dog
{
public string Name { get; set; }
public int Age { get; set; }
public int NumberOfLegs { get; set; }
public sta... | mit |
wko27/blog | _daily/2017-09-29-Visitors.md | 619 | ---
layout: post
unique_id: visitors
title: Visitors
categories: []
locations:
---
YESTERDAY:
* interview! yay $$
* korean fried chicken!
* board game night at friend's place
* betrayal at house in the hill
* also tsuro!
* re-wrote mobile app data queue at 1 am
* simplified a ton of promise chaining :P
TODAY:
... | mit |
GainSury/eClang | src/model/InputInfo.java | 884 | package model;
public class InputInfo {
private String compiler_version;
private String language;
private String code_text;
private String compiler_option;
public String getCompiler_version() {
return compiler_version;
}
public void setCompiler_version(String compiler_version) {
... | mit |
shifonecui/shifonecui.github.com | map.html | 38775 | <!DOCTYPE html>
<html class="no-js " lang="zh">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="keywords" content="jQuery,API,中文,jquery api,1.11,map(callback)"/>
<meta name="description" content="jQuery API 1.12.0 中文手册最新版,在线地址:http://jquery.cui... | mit |
phpchap/mainhostel | vendor/propel/propel-bundle/Propel/PropelBundle/Tests/DataFixtures/Loader/YamlDataLoaderTest.php | 17260 | <?php
/**
* This file is part of the PropelBundle package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Propel\PropelBundle\Tests\DataFixtures\Loader;
use Propel\PropelBundle\Tests\DataFixtu... | mit |
shawnhermans/cyborg-identity-manager | cyborg_identity/migrations/0002_iscontactemailaddress_iscontactphonenumber_phonenumber.py | 2204 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import django.core.validators
class Migration(migrations.Migration):
dependencies = [
('django_graph', '0001_initial'),
('cyborg_identity', '0001_initial'),
]
operations = [
... | mit |
mhoffman/CatAppBrowser | app/components/About/tests/index.test.js | 226 | // import React from 'react';
// import { shallow } from 'enzyme';
// import About from '../index';
describe('<About />', () => {
it('Expect to have unit tests specified', () => {
expect(true).toEqual(true);
});
});
| mit |
datamade/elpc_bakken | html/pdf/W29156.pdfs.html | 227463 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<A name=1></a><hr>
<A name=2></a><hr>
<A name=3></a><hr>
<A name=4></a><hr>
<A name=5></a>717 17th Street, Suite 2000<br>
Denver, CO 80202<br>
303-534-3223 Fax 303-534-1822<br>
Report<br>
of<br>
Sub-Surface<br>
D... | mit |
gto76/sphere-swarm-optimization | src/sso/pso/random/Random.java | 4104 | // ------------------------------------------------------
// SwarmOps - Numeric and heuristic optimization for Java
// Copyright (C) 2003-2011 Magnus Erik Hvass Pedersen.
// Please see the file license.txt for license details.
// SwarmOps on the internet: http://www.Hvass-Labs.org/
// -----------------------------... | mit |
avinandi/demo-project-poc | app/js/customerDetails.js | 1416 | import $ from "jquery"
import Template from "hb-template"
import _ from "lodash"
const renderNavigation = (customerDetails) => {
const navigation = Template.Navigation(customerDetails)
$('#customer-details').append(navigation)
}
const createPostalAddress = (medium) => {
return medium.street1 + ', ' + medium.cit... | mit |
chsasank/chsasank.github.io | _posts/classic_papers/2020-10-22-darthmouth-artifical-intelligence-summer-resarch-proposal.md | 37736 | ---
layout: post
title: "A Proposal for the Dartmouth Summer Research Project on Artificial Intelligence"
author: "J. McKarthy, M.L. Minsky, N. Rochester, C.E. Shannon"
category: classic_papers
description: "We propose that a 2 month, 10 man study of artificial intelligence be carried
out during the summer of 1956 at D... | mit |
CamilaAlvarez/IndicadoresDCC | application/views/index.php | 5084 | <!doctype html>
<html class="fixed sidebar-left-collapsed">
<head>
<?php
$title = "U-Dashboard";
include 'partials/head.php';
?>
<style type="text/css">
<?php
foreach ($types as $type){
$color = dechex(hexdec($type['color']) + 60);
... | mit |
patemckin/HestonOptions | OptCalc/App/main.cpp | 181 | #include "app.h"
#include <QtWidgets/QApplication>
#include <QLibraryInfo>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
App w;
w.show();
return a.exec();
}
| mit |
suffolklibraries/sljekyll | _site/new-suggestions/reviews/staff-picks/advent-calendar-12/index.html | 21709 | <!doctype html>
<html lang="en-gb">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noindex, nofollow">
<!--[if lt IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
... | mit |
agentk/grunt-fontgen | Gruntfile.js | 2128 | /*
* grunt-fontgen
* https://github.com/agentk/grunt-fontgen
*
* Copyright 2015 Karl Bowden
* 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
* Unl... | mit |
chengsann/citest | application/controllers/admin/privilege.php | 2565 | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of privilege
*
* @author loong
*/
class ... | mit |
CollegeSTAR/collegestar_org | db/migrate/20161107195717_create_pages.rb | 204 | class CreatePages < ActiveRecord::Migration[5.0]
def change
create_table :pages do |t|
t.string :title
t.string :slug
t.text :text
t.timestamps null: false
end
end
end
| mit |
jlafay/SuProfile | src/SuProfile/BlogBundle/Entity/Article.php | 4382 | <?php
namespace SuProfile\BlogBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
use Gedmo\Mapping\Annotation as Gedmo;
use Symfony\Component\Validator\ExecutionContextInterface;
/**
* SuProfile\BlogBundle\Entity\Article
*
* @ORM\Table(name="article")
* @ORM\En... | mit |
sallyrose0425/GWAS | README.md | 477 | # GWAS
This project provides details on the necessary steps to assess and control data in genome wide association studies (GWAS) using genotype information on a large number of genetic markers for a large number of individuals. Due to varied study designs and genotyping platforms between multiple sites/projects as well... | mit |
arianithetemi/ReactBlog | src/components/posts_index.js | 1050 | import React, { Component } from 'react';
import _ from 'lodash';
import { connect } from 'react-redux';
import { Link } from 'react-router-dom';
import { fetchPosts } from '../actions';
class PostsIndex extends Component {
componentDidMount() {
this.props.fetchPosts();
}
renderPosts() {
return _.map(t... | mit |
qydchen/SafeHavn | app/controllers/api/confirmations_controller.rb | 1177 | class Api::ConfirmationsController < ApplicationController
def create
@confirmation = Confirmation.new(confirmation_params)
@confirmation.user_id = current_user.id
@home = Home.find(confirmation_params[:home_id])
start_date = confirmation_params[:start_date].to_date
end_date = confirmation_params... | mit |
oalami/trends | web/gulpfile.js | 1155 | var gulp = require('gulp'),
connect = require('gulp-connect'),
open = require('gulp-open'),
concat = require('gulp-concat'),
flatten = require('gulp-flatten'),
port = process.env.port || 3051;
gulp.task('open', function(){
var options = {
url: 'http://localhost:' + port,
};
gulp.src('./app/index.html')
.pi... | mit |