repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
Archeia/Kread-Ex-Scripts | IceDragon2000/lib/iss/017_character_improve.rb | 2756 | #encoding:UTF-8
# ISS017 - Character Improve 1.1
#==============================================================================#
# ** ISS - Character Improve
#==============================================================================#
# ** Date Created : 08/04/2011
# ** Date Modified : 08/10/2011
# ** Created By ... | mit |
jtbonhomme/mozaik-ext-sheets | README.md | 3954 | # mozaik-ext-sheets
List rows from Google Sheets in Mozaïk dashboard. The extension can be handy for various
use cases where data is maintained in Google Sheets:
- List events (including dates etc)
- Show game results
- Show event participants, company vacation listing
- Etc.
 {
yield 'foo';
yield 'bar';
return 'baz';
}
let generatorObject1 = generatorFn();
let generatorObject2 = generatorFn();
console.log(generatorObject1.next()); // { done: false, value: 'foo' }
console.log(generatorObject2.next()); // { done: false, value: 'foo' }
console.log(generator... | mit |
twolun/ng-book-4 | angular4-reddit/src/app/article/article.component.html | 640 | <div class="four wide column center aligned votes">
<div class="ui statistic">
<div class="value">
{{ article.votes }}
</div>
<div class="label">
Points
</div>
</div>
</div>
<div class="twelve wide column">
<a class="ui large header" href="{{ article.link }}">
{{ article.title }}
</a>
<div class="... | mit |
fweiss/badge | main/BadgeService.h | 1174 | #pragma once
#include "animations/display.h"
#include "animations/AnimationProgram.h"
#include "animations/PaintPixel.h"
#include "blewiz/BLECharacteristic.h"
#include "freertos/task.h"
class BadgeService : public BLEService {
public:
BadgeService(Display &display, AnimationProgram &animationProgram);
virtu... | mit |
peihsi/www_taichung_m_s_pub | One_page/css/orange.css | 7897 | /*
Document : colors
Author : Little Neko
Description: template colors
*/
/* Table of Content
==================================================
#BOOSTRAP CUSTOMIZATION
#TYPOGRAPHY
#LINKS AND BUTTONS
#HEADER
#MAIN MENU
#FOOTER
#SLIDERS
#PORTFOLIO
#MISCELANIOUS
#NEKO CSS FRAMEWORK
*/
/* BOOSTRA... | mit |
bitcoin-lite/BitcoinLite | src/qt/locale/bitcoin_vi_VN.ts | 107042 | <?xml version="1.0" ?><!DOCTYPE TS><TS language="vi_VN" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About bitcoinlite</source>
<translation type="unfinished"/>
</message>
<message>
<location... | mit |
alanflorendo/syllabgl | public/js/timer.js | 457 | // var isWaiting = false;
// var isRunning = false;
// var seconds = 10;
// var countdownTimer;
// var finalCountdown = false;
function GameTimer(game) {
this.seconds = game.timelimit;
this.secondPassed = function() {
if (this.seconds === 0 && !game.gameOver) {
game.endGame();
} else if (!game.gameOver) {
... | mit |
T-Boss/ClickWithMeNow | README.md | 271 | Click With Me Now
==============
This is an integration between Interactive Intelligence's CIC platform and Click With Me Now.
See the [wiki](https://github.com/InteractiveIntelligence/ClickWithMeNow/wiki) for more information.
Visit CWMN at http://clickwithmenow.com
| mit |
alphagov/vitruvius | vitruvius.markdown/src/main/java/uk/gov/prototype/vitruvius/parser/validator/ValidationMessage.java | 1327 | package uk.gov.prototype.vitruvius.parser.validator;
import java.util.List;
public class ValidationMessage {
private String message;
private ValidationType type;
public ValidationMessage() {
}
public ValidationMessage(String message, ValidationType type) {
this.message = message;
... | mit |
michalbe/cervus | _example/5/game.js | 1969 | /* global Cervus */
const material = new Cervus.materials.PhongMaterial({
requires: [
Cervus.components.Render,
Cervus.components.Transform
],
texture: Cervus.core.image_loader('../textures/4.png'),
normal_map: Cervus.core.image_loader('../textures/normal2.jpg')
});
const phong_material = new Cervus.ma... | mit |
alexh-name/git-publish | git-publish.sh | 3479 | #!/bin/mksh
# (c) alexh 2016
set -eu
printf "%s\n\n" 'Content-type: text/plain'
# Optional with use of 'check_interval'
WANTED_INTERVAL='10'
USER="$( /usr/bin/whoami )"
HOMES_DIR='/home'
WWW_DIR="/var/www/virtual/${USER}"
HOME="${HOMES_DIR}/${USER}"
VAR_DIR="${HOME}/var/git-publish"
SRC_DIR="${HOME}/git"
function... | mit |
jeremiedecock/snippets | python/pygame/hello_text.py | 882 | #!/usr/bin/env python
import pygame
pygame.display.init()
pygame.font.init()
modes_list = pygame.display.list_modes()
#screen = pygame.display.set_mode(modes_list[0], pygame.FULLSCREEN) # the highest resolution with fullscreen
screen = pygame.display.set_mode(modes_list[-1]) # the lowest resolu... | mit |
pumexx/pumex | include/pumex/Resource.h | 3289 | //
// Copyright(c) 2017-2018 Paweł Księżopolski ( pumexx )
//
// 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, m... | mit |
liigo/liigo.github.io | tmp/rust/inline-sidebar-items/std/char/fn.from_u32_unchecked.html | 7081 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `from_u32_unchecked` fn in crate `std`.">
<meta name="keywo... | mit |
namho102/business-site | stylesheets/foundation/normalize.css | 11327 | /*! normalize.css v2.1.2 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined in IE 8/9.
*/
/* line 11, D... | mit |
Jalle19/yii-lazy-image | README.md | 524 | yii-lazy-image
==============
Lazy image loader for the Yii framework. It is implemented as a static class which leverages [jQuery Unveil](http://luis-almeida.github.io/unveil/) to load images lazily. The interface is the same as `CHtml::image()` so existing code can easily be adapted to use it.
## Usage
Require the... | mit |
picacure/_sandBox | photoGallery/flux/js/zepto.js | 62392 | /* Zepto v1.1.4 - zepto event ajax form ie - zeptojs.com/license */
var Zepto = (function() {
var undefined, key, $, classList, emptyArray = [], slice = emptyArray.slice, filter = emptyArray.filter,
document = window.document,
elementDisplay = {}, classCache = {},
cssNumber = { 'column-count': 1, 'column... | mit |
gjcarneiro/yacron | yacron/cron.py | 16835 | import asyncio
import asyncio.subprocess
import datetime
import logging
from collections import OrderedDict, defaultdict
from typing import Any, Awaitable, Dict, List, Optional, Union # noqa
from urllib.parse import urlparse
from aiohttp import web
import yacron.version
from yacron.config import (
JobConfig,
p... | mit |
openset/openset.github.io | _posts/2018-10-10-partition-array-into-three-parts-with-equal-sum.md | 1823 | ---
layout: single
title: "将数组分成和相等的三个部分"
date: 2018-10-10 21:30:00 +0800
categories: [Leetcode]
tags: [Greedy, Array]
permalink: /problems/partition-array-into-three-parts-with-equal-sum/
---
## 1013. 将数组分成和相等的三个部分 (Easy)
{% raw %}
<p>给你一个整数数组 <code>arr</code>,只有可以将其划分为三个和相等的 <strong>非空</stron... | mit |
yogendra/yogendra.me | source/_posts/2017/10/28/puppeteer-no-strings-attached/scrape-multi.js | 1035 | const SELECTOR_BOOK_IMAGE = '#default > div > div > div > div > section > div:nth-child(2) > ol > li:nth-child(1) > article > div.image_container > a > img';
const puppeteer = require('puppeteer');
let scrapeSite1 = async (browser) => {
const page = await browser.newPage();
await page.goto('http://books.toscrape.c... | mit |
laravel-tr/docs | bus.md | 6517 | # Command Bus
- [Introduction](#introduction)
- [Creating Commamnds](#creating-commands)
- [Dispatching Commamnds](#dispatching-commands)
- [Queued Commands](#queued-commands)
<a name="introduction"></a>
## Introduction
The Laravel command bus provides a convenient method of encapsulating tasks your application need... | mit |
belgattitude/solublecomponents | docs/sphinx/source/_static/API/SAMI/Soluble/FlexStore/Source/QueryableSourceInterface.html | 5087 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="robots" content="index, follow, all" />
<title>Soluble\FlexStore\Source\QueryableSourceInterface | Soluble API</title>
<link rel="stylesheet" type="text/css" href="../../../css/bootstrap.min.css">
<link rel="st... | mit |
epam-php-solutions/EpamCiBundle | Resources/configs/phpcs/Standards/Symfony2EpamCi/Sniffs/Functions/DisallowedFunctionsSniff.php | 1954 | <?php
class Symfony2EpamCi_Sniffs_Functions_DisallowedFunctionsSniff implements PHP_CodeSniffer_Sniff
{
private static $disallowedFunctionNames = array(
'var_dump',
'print_r',
'var_export',
'trigger_error',
'header',
'fastcgi_finish_request',
'xdebug_debug_zv... | mit |
ALEX-ANV/GSMail | MailUI/Converters/FilesInDirectoryConverter.cs | 795 | using System;
using System.Globalization;
using System.IO;
using System.Windows.Data;
namespace MailUI.Converters
{
[ValueConversion(typeof(DirectoryInfo), typeof(FileInfo[]))]
public class FilesInDirectoryConverter : IValueConverter
{
public object Convert(object value, Type targetType, object pa... | mit |
proxb/Presentations | Tampa - A Look at PowerShell Runspaces/3_3_3_RunSpacesDemo_TryLockLogFile.ps1 | 1578 | #region Lock Object against files
#region Initial File Creation
$File = 'C:\users\proxb\desktop\test.log'
'1,2,3,4' | Out-File $File
#endregion Initial File Creation
#region Take lock and attempt to update file in runspace
$LockTaken = $null
[System.Threading.Monitor]::TryEnter($File, [ref]$LockTaken)
If ($LockTaken)... | mit |
mdoviedor/WEBsimon | src/GS/UsuarioBundle/Entity/Lecturaconproposito.php | 8898 | <?php
namespace GS\UsuarioBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Lecturaconproposito
*
* @ORM\Table(name="lecturaconproposito", indexes={@ORM\Index(name="bibliografia_lecturaConProposito_idx", columns={"bibliografia"})})
* @ORM\Entity
*/
class Lecturaconproposito
{
/**
* @var string
... | mit |
ENCODE-DCC/encoded | src/encoded/tests/fixtures/schemas/genetic_modification.py | 19673 | import pytest
@pytest.fixture
def genetic_modification(testapp, lab, award):
item = {
'award': award['@id'],
'lab': lab['@id'],
'modified_site_by_coordinates': {
'assembly': 'GRCh38',
'chromosome': '11',
'start': 20000,
'end': 21000
}... | mit |
KlishGroup/prose-pogs | pogs/R/RIFUTHX/P2A/index.md | 2696 | ---
layout: page
title: Poole 20th Anniversary
date: 2016-05-24
author: Austin Wilkerson
tags: weekly links, java
status: published
summary: Mauris efficitur orci ac volutpat congue.
banner: images/banner/meeting-01.jpg
booking:
startDate: 07/19/2017
endDate: 07/24/2017
ctyhocn: RIFUTHX
groupCode: P2A
published... | mit |
KlishGroup/prose-pogs | pogs/C/CLECCHX/RSLS/index.md | 2430 | ---
layout: page
title: River Shadow Logistics Seminar
date: 2016-05-24
author: Julia Hogan
tags: weekly links, java
status: published
summary: Phasellus ac lacus tincidunt, euismod nulla sed.
banner: images/banner/leisure-03.jpg
booking:
startDate: 08/28/2016
endDate: 08/29/2016
ctyhocn: CLECCHX
groupCode: RSL... | mit |
KlishGroup/prose-pogs | pogs/Y/YQLLEHX/SLD/index.md | 2272 | ---
layout: page
title: Schmitt Llc. Dinner
date: 2016-05-24
author: Gerald Golden
tags: weekly links, java
status: published
summary: Sed hendrerit, dui a ullamcorper dignissim.
banner: images/banner/office-01.jpg
booking:
startDate: 03/17/2016
endDate: 03/22/2016
ctyhocn: YQLLEHX
groupCode: SLD
published: tru... | mit |
WuJoo/simple-blog | app/controllers/sessions_controller.rb | 345 | class SessionsController < ApplicationController
def new
end
def create
user = User.find_by(email: params[:session][:email])
if user && user.authenticate(params[:session][:password])
log_in(user)
redirect_to user
else
render :new
end
end
def destroy
log_out
redire... | mit |
zbeboy/ISY | src/main/resources/templates/web/internship/distribution/internship_batch_distribution.html | 3478 | <!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8"/>
</head>
<body>
<div id="wrapper">
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">实习教师分配 -
<small>批量分配</small>
... | mit |
longluo/AndroidDemo | app/src/main/java/com/longluo/demo/widget/swipelistview/SwipeListView.java | 20482 | package com.longluo.demo.widget.swipelistview;
import android.content.Context;
import android.content.res.TypedArray;
import android.database.DataSetObserver;
import android.support.v4.view.MotionEventCompat;
import android.support.v4.view.ViewConfigurationCompat;
import android.util.AttributeSet;
import android.view.... | mit |
borker-co/borker-co.github.io | _site/project-hisabo/index.html | 5566 | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1">
<meta name=viewport content="width=device-width, initial-scale=1">
<title>Hisabo – Borker dot co</title>
<me... | mit |
mockee/eslint.github.io | docs/4.0.0/rules/padding-line-between-statements.md | 8977 | ---
title: padding-line-between-statements - Rules
layout: doc
---
<!-- Note: No pull requests accepted for this file. See README.md in the root directory for details. -->
# Require or disallow padding lines between statements (padding-line-between-statements)
(fixable) The `--fix` option on the [command line](../use... | mit |
chrisenytc/demi-logger | README.md | 2189 | [](http://demijs.enytc.com)
# Demi.js Logger [](http://travis-ci.org/chrisenytc/demi-logger) [](http:... | mit |
cpeele00/bigbrother | CONTRIBUTING.md | 744 | ## Prerequisites
[Node.js](http://nodejs.org/) >= 6 must be installed.
## Installation
- Running `npm install` in the component's root directory will install everything you need for development.
## Demo Development Server
- `npm start` will run a development server with the component's demo app at [http://localhos... | mit |
kocsismate/php-di-container-benchmarks | src/Fixture/C/FixtureC846.php | 168 | <?php
declare(strict_types=1);
namespace DiContainerBenchmarks\Fixture\C;
class FixtureC846
{
public function __construct(FixtureC845 $dependency)
{
}
}
| mit |
januszhou/pi | node_modules/johnny-five/eg/tinkerkit-imu-gyro-accel.js | 286 | var five = require("../lib/johnny-five.js");
var board = new five.Board();
board.on("ready", function() {
var gyro = new five.Gyroscope({
pins: ["I0", "I1"],
freq: 200,
extent: 4
});
gyro.on("acceleration", function(data) {
console.log(data.position);
});
});
| mit |
hxflove521/hxflove521.github.io | contact.html | 85 | ---
layout: null
section-type: contact
title: Contact
---
## Contact
Nothing to say! | mit |
multigraph/js-multigraph | src/parser/json/axis.js | 10515 |
// "horizontalaxis" : {
// "id" : STRING, "type" : DATATYPE(number), "length" : RELLEN(1.0), "base" : POINT(-1,1), "anchor" : DOUBLE(-1), "position" : POINT(0,0),
// "min" : DATAVALUEORAUTO(auto), "max" : DATAVALUEORAUTO(auto), "minposition" : RELPOS(-1.0), "maxposition" : RELPOS(1.0), "color" : COLOR(black), "... | mit |
spicydog/Todo-app-sample | src/Todo/ViewModel/NewTodoItem.cs | 120 | namespace Todo.ViewModel
{
public sealed class NewTodoItem
{
public string Text { get; set; }
}
} | mit |
fschwiet/ManyConsole | lib/Sasa-v0.9.3-docs/Contents/2/306.html | 3096 | <?xml version="1.0" encoding="utf-8"?>
<!-- This comment will force IE7 to go into quirks mode. -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type... | mit |
bjornbjorn/img.ee_addon | system/expressionengine/third_party/img/language/english/lang.img.php | 392 | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$lang = array(
'img_module_name' =>
'Img',
'img_module_description' =>
'PHPImageWorkshop for EE',
'module_home' => 'Img Home',
// Start inserting custom language keys/values here
);
/* End of file lang.img.php */
/* Location: /s... | mit |
woople/woople-theme | lib/woople-theme/configuration.rb | 553 | module WoopleTheme
class Configuration
attr_accessor :profile_helper, :menu_helper, :impersonation_banner_helper, :layout_javascript
def profile_helper
@profile_helper || :profile_helper
end
def menu_helper
@menu_helper || :menu_helper
end
def impersonation_banner_helper
@... | mit |
pschulzk/angular-webpack-starter | src/app/views/index.ts | 78 | export * from './about';
export * from './no-content';
export * from './home'; | mit |
blale-zhang/codegen | WebContent/component/dhtmlxSuite_v403_std/samples/dhtmlxChart/06_bar_chart/06_series.html | 1793 | <!--conf
<sample>
<product version="2.6" edition="std"/>
<modifications>
<modified date="100609"/>
</modifications>
</sample>
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/... | mit |
yogeshsaroya/new-cdnjs | ajax/libs/reqwest/0.2.2/reqwest.min.js | 129 | version https://git-lfs.github.com/spec/v1
oid sha256:d5b913ad3304fa791ac6c6064dcecf37b157290bb0e8292e76aee05bee6dc425
size 3752
| mit |
guskant/accessible | _radios/gardarica.md | 68 | ---
layout: player
radio: gardarica
date: 2017-04-06T05:06:27Z
---
| mit |
baijijs/logger | lib/filter.js | 3846 | /**
* Filtering sensitive information
*/
const _ = require('lodash');
/**
* reset option
* @param {string|object|array} opt filter option
* @param {array} filterKeys filter keys
* @param {string|function} replaceChat replace chat or function
* @param {boolean} recursion whether recursive , true of false
*/
c... | mit |
kengz/Unity-Lab | test/env/test_vec_env.py | 3861 | from slm_lab.env.vec_env import make_gym_venv
import numpy as np
import pytest
@pytest.mark.parametrize('name,state_shape,reward_scale', [
('PongNoFrameskip-v4', (1, 84, 84), 'sign'),
('LunarLander-v2', (8,), None),
('CartPole-v0', (4,), None),
])
@pytest.mark.parametrize('num_envs', (1, 4))
def test_make... | mit |
pineasaurusrex/inference-engine | src/com/github/pineasaurusrex/inference_engine/Model.java | 1821 | package com.github.pineasaurusrex.inference_engine;
import java.util.HashMap;
/**
* Partially or fully assigned model
* A model represents a possible representation of the propositional symbol states in the KB
*/
public class Model {
private HashMap<PropositionalSymbol, Boolean> symbolValues = new HashMap<>();... | mit |
rodyhaddad/objectTools.js | tests/specs/forEach.js | 1933 | describe("The ot object has a forEach method, which allows you: ", function () {
it("To iterate over an array", function () {
var array = [1, 2, 4, 8, 16];
var sum = 0;
var sumIndex = 0;
ot.forEach(array, function (value, index) {
sum += value;
sumIndex += i... | mit |
slicer4ever/Lightwave | Engine/Includes/C++11/LWEXML.h | 3001 | #ifndef LWEXML_H
#define LWEXML_H
#include <LWCore/LWText.h>
#include <functional>
#include "LWETypes.h"
#define LWEXMLMAXNAMELEN 32
#define LWEXMLMAXVALUELEN 256
#define LWEXMLMAXTEXTLEN 1024
struct LWXMLAttribute {
char m_Name[LWEXMLMAXNAMELEN];
char m_Value[LWEXMLMAXVALUELEN];
};
struct LWEXMLNod... | mit |
JamesRandall/CycleCycleCycle.com | CycleCycleCycle/Services/IRideService.cs | 285 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CycleCycleCycle.Services
{
public interface IRideService
{
bool Create(int accountId, int routeId, DateTime dateRidden, int? hours, int? minutes, int? seconds);
}
}
| mit |
edbiler/BazaarCorner | module/mail/include/component/controller/index.class.php | 11278 | <?php
/**
* [PHPFOX_HEADER]
*/
defined('PHPFOX') or exit('NO DICE!');
/**
*
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond Benc
* @package Module_Mail
* @version $Id: index.class.php 4378 2012-06-27 08:44:47Z Raymond_Benc $
*/
class Mail_Component_Controller_Index extends Phpfox_Component
{
/*... | mit |
chhoulet/vin.com | src/Vin/FrontOfficeBundle/Entity/MessageRepository.php | 508 | <?php
namespace Vin\FrontOfficeBundle\Entity;
use Doctrine\ORM\EntityRepository;
/**
* MessageRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class MessageRepository extends EntityRepository
{
public function countMessages()
{
$quer... | mit |
cgmonline/cgmonline | docs/tags/2ns/page/1/index.html | 286 | <!DOCTYPE html><html><head><title>https://cgmonline.co/tags/2ns/</title><link rel="canonical" href="https://cgmonline.co/tags/2ns/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://cgmonline.co/tags/2ns/" /></head></html> | mit |
emanuele/jstsp2015 | classif_and_ktst.py | 9044 | """Classification-based test and kernel two-sample test.
Author: Sandro Vega-Pons, Emanuele Olivetti.
"""
import os
import numpy as np
from sklearn.metrics import pairwise_distances, confusion_matrix
from sklearn.metrics import pairwise_kernels
from sklearn.svm import SVC
from sklearn.cross_validation import Stratifi... | mit |
alexp25/d4w_app_lab | utils/rpi/app_exit.sh | 296 | #export pid=`ps aux | grep python | grep hello_gevent.py | awk 'NR==1{print $2}' | cut -d' ' -f1`;kill -9 $pid
for KILLPID in `ps aux | grep 'python' | grep 'server01' | awk ' { print $2;}'`; do
kill -9 $KILLPID;
done
#ps aux | grep python | grep -v grep | awk '{print $2}' | xargs kill -9
| mit |
lifelink1987/old.life-link.org | libs/php-kml/kml_Overlay.php | 908 | <?php
class kml_Overlay extends kml_Feature {
protected $tagName = 'Overlay';
var $color;
var $drawOrder;
var $Icon;
/* Constructor */
function kml_Overlay() {
parent::kml_Feature();
}
/* Assignments */
function set_color($color) { $this->color = $color; }
function... | mit |
unixxxx/simplecms | README.md | 756 | ###Simple CMS written in python3 bottle framework
by default, project is configured to work on openshift cloud: https://openshift.redhat.com.
You only need to add mongodb cartridge and restart app.
If you want to deploy app on your own server, you have to configure ```DB_CREDENTIALS``` variable
in ```config/__init__... | mit |
l-plan/importeer_plan | lib/importeer_plan.rb | 1598 | require "importeer_plan/version"
require 'importeer_plan/configuration'
module ImporteerPlan
class Importeer
attr_accessor :path, :name, :dir, :size_batch, :sep, :initial, :options
#call importeer("filename") to import the file in batches of 1000, optional importeer("filename", size_)
def initialize(n... | mit |
cessor/gameoflife | config.py | 2820 | from collections import namedtuple
Resolution = namedtuple('Resolution', ['x', 'y'])
class Resolutions(object):
resolutions = [
(1920, 1200),
(1920, 1080),
(1680, 1050),
(1440, 900),
(1360, 768),
(1280, 800),
(1024, 640)
]
@classmethod
... | mit |
Paymentsense/Dapper.SimpleSave | src/Dapper.SimpleSave.Tests/Dto/OneToManySpecialChildDto.cs | 186 | namespace Dapper.SimpleSave.Tests.Dto {
[Table("dbo.OneToManySpecialChild")]
[ReferenceData(true)]
public class OneToManySpecialChildDto : BaseOneToManyChildDto {
}
}
| mit |
vatioz/AdventOfCode | AdventOfCode/Day07/SignalProviders/Wire.cs | 1265 | using System.Diagnostics;
namespace AdventOfCode.Day07.SignalProviders
{
[DebuggerDisplay("{DebuggerDisplay}")]
public class Wire : SignalProvider
{
#region | Properties & fields
private readonly Circut _parentCircut;
private readonly string _rawProvider;
public string ID... | mit |
simonmysun/praxis | TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/c626cc48559647aac2af68227fe2c20bf0ef84e83b8980fa8bf479b27ae81274.html | 550 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>18 --> 19</title>
<link href="./../../assets/style.css" rel="stylesheet">
</head>
<body>
<h2>You have to be fast</h2>
<a href="./c9030aaf9d04a204bbcb52ab81f7d32203b0d25fa13ca8835e8e8174018d7f33.html">Teleport</a>
<hr>
... | mit |
CoderSLZeng/BaiSiBuDeJie | 百思不得姐/百思不得姐/Classes/Essence-精华/Controller/SLWordViewController.h | 243 | //
// SLWordViewController.h
// 百思不得姐
//
// Created by Anthony on 17/3/30.
// Copyright © 2017年 SLZeng. All rights reserved.
//
#import "SLTopicViewController.h"
@interface SLWordViewController : SLTopicViewController
@end
| mit |
orbanbotond/subscribem | config/initializers/simple_form.rb | 6504 | # Use this setup block to configure all options available in SimpleForm.
SimpleForm.setup do |config|
# Wrappers are used by the form builder to generate a
# complete input. You can remove any component from the
# wrapper, change the order or even add your own to the
# stack. The options given below are used to... | mit |
rickogden/craftbeeruk | src/Craft/UserBundle/CraftUserBundle.php | 126 | <?php
namespace Craft\UserBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class CraftUserBundle extends Bundle
{
}
| mit |
shiranui03/-_- | application/models/TestModel.php | 3940 | <?php defined('BASEPATH') OR exit('No direct script access allowed');
class TestModel extends CI_Model {
public function popular_merchants(){
//include total reviews, sum of reviews, mp_id, unit, building, street, city name, region name, merchant name, merchant image, date and time of application approval, sub cat... | mit |
jwfwessels/AFK | src/afk/ge/tokyo/ems/nodes/LifeNode.java | 1391 | /*
* Copyright (c) 2013 Triforce - in association with the University of Pretoria and Epi-Use <Advance/>
*
* 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 |
intersystems-ru/DeepSeeMobile | documentation/module-DBConnector.html | 8717 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Documentation Module: DBConnector</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">
<link type="text/css" ... | mit |
communicode-source/communicode | app/reducers/search.js | 341 | import * as types from '../actions/types';
const search = (state = [], action) => {
switch(action.type) {
case types.SEARCH_INPUT_SUCCESS:
return action.data;
case types.SEARCH_INPUT_FAILED:
return action.error.message;
default:
return state;
}
};
ex... | mit |
aquilahkj/Light.Data2 | test/Light.Data.Mysql.Test/Model/BaseFieldSelectModelNull.cs | 6702 | using System;
using System.Collections.Generic;
using System.Text;
namespace Light.Data.Mysql.Test
{
class BaseFieldSelectModelNull
{
#region "Data Property"
private int id;
/// <summary>
/// Id
/// </summary>
/// <value></value>
public int Id {
... | mit |
daidi-double/_new_YWB | YuWa/YuWa/Contents/HomePage/支付界面/YWPayViewController.h | 1300 | //
// YWPayViewController.h
// YuWa
//
// Created by 黄佳峰 on 16/10/10.
// Copyright © 2016年 Shanghai DuRui Information Technology Company. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger,PayCategory){
PayCategoryQRCodePay=0, //二维码支付
PayCategoryWritePay //手写支付
};
@int... | mit |
pkaminski/Semantic-UI | build/minified/modules/video.min.css | 717 | .ui.video{position:relative;max-width:100%}.ui.video .placeholder{background-color:#333;display:block;width:100%;height:100%}.ui.video .embed,.ui.video.active .placeholder,.ui.video.active .play{display:none}.ui.video .play{cursor:pointer;position:absolute;top:0;left:0;z-index:10;width:100%;height:100%;-ms-filter:"prog... | mit |
voku/simple_html_dom | tests/SimpleHtmlHelperTest.php | 535 | <?php
use PHPUnit\Framework\TestCase;
use voku\helper\HtmlDomHelper;
use voku\helper\HtmlDomParser;
/**
* @internal
*/
final class SimpleHtmlHelperTest extends TestCase
{
public function testMergeHtmlAttributes()
{
$result = HtmlDomHelper::mergeHtmlAttributes(
'<div class="foo" id="bar"... | mit |
Youshido/CommentsBundle | CommentsBundle.php | 533 | <?php
namespace Youshido\CommentsBundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Youshido\CommentsBundle\DependencyInjection\CompilerPass\CommentsCompilerPass;
/**
* Class CommentsBundle
*/
class CommentsBundle extends Bundle
{
/**
* ... | mit |
BuzzAcademy/idioms-moe-unformatted-data | all-data/0-999/876-32.html | 1868 | <table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="layoutclass_pic"><div class="layoutclass_first_pic"><table class="ztable"><tr><th class="ztd1"><b>... | mit |
aLagoG/kygerand | and/semana_i2018/dia_3/han_solo_lazer_gun.cpp | 967 | #include <stdio.h>
#include <set>
#include <utility>
#include <vector>
using namespace std;
const int MAXN = 1e+2;
int n, x0, y0;
typedef pair<int, int> point;
set<point> s;
int cross(int x0, int y0, const point &a, const point &b) {
return (a.first - x0) * (b.second - y0) - (a.second - y0) * (b.first - x0);
... | mit |
MegaShow/college-programming | Homework/Data Structures and Algorithms/GJR/5 Weightd Graph Algorithms/1000.cpp | 461 | // 1000. 连通性问题
#include <iostream>
using namespace std;
int unionFind[100001];
int find(int val) {
if (val == unionFind[val]) return val;
unionFind[val] = find(unionFind[val]);
return unionFind[val];
}
int main() {
int a, b;
for (int i = 0; i < 100001; i++) {
unionFind[i] = i;
}
while (cin >> a >> ... | mit |
huyphan/pyyawhois | test/record/parser/test_response_whois_nic_pw_status_available.py | 2000 |
# This file is autogenerated. Do not edit it manually.
# If you want change the content of this file, edit
#
# spec/fixtures/responses/whois.nic.pw/status_available
#
# and regenerate the tests with the following script
#
# $ scripts/generate_tests.py
#
from nose.tools import *
from dateutil.parser import parse a... | mit |
onlySun/daxue | application/models/provinceModel.php | 1537 | <?php
class ProvinceModel extends CI_Model
{
function __construct()
{
parent::__construct();
}
/**
* 插入数据
* @param $insertRows
* @return mixed
*/
function insert_entry($insertRows)
{
foreach ($insertRows as $key => $val)
{
$this->$key = $v... | mit |
vvn050/WebStoreMEAN | public/spastore/src/app/navigation/main-navigation/main-navigation.component.css | 650 |
.sidenav {
height: 100%;
width: 0;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: #111;
overflow-x: hidden;
transition: 0.5s;
padding-top: 60px;
}
.sidenav a {
padding: 8px 8px 8px 32px;
text-decoration: none;
font-size: 25px;
color: #818181;
... | mit |
DDD-Hamburg/ddd-in-legacy-systems | scripts/setup-db.sh | 61 | #!/bin/sh
sqlite3 -echo db/test.db < db/schema_context_a.sql
| mit |
bitcommoditiz/Coffeez-KCz | src/qt/locale/bitcoin_fa.ts | 118770 | <?xml version="1.0" ?><!DOCTYPE TS><TS language="fa" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About KCz</source>
<translation>در مورد KCz</translation>
</message>
... | mit |
boldr/boldr-ui | src/Anchor/Anchor.md | 9 | # Anchor
| mit |
alegperea/cmsgabriel | src/APP/AppBundle/Controller/ClienteController.php | 6482 | <?php
namespace APP\AppBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use APP\AppBundle\Entity\Cliente;
use APP\AppBundle\Form\ClienteType;
/**
* Cliente controller.
*
*/
class ClienteController extends Controller {
/**
* Lists ... | mit |
tochman/WebsiteOne | config/environments/development.rb | 1607 | WebsiteOne::Application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the we... | mit |
yoshioka-s/sails-docs-ja | reference/sails.config/sails.config.models.md | 2575 | # sails.config.models
Your default project-wide **model settings**, conventionally specified in the [config/models.js](http://sailsjs.com/documentation/anatomy/myApp/config/models-js) configuration file.
Most of the settings below can also be overridden on a per-model basis-- just edit the appropriate model definitio... | mit |
masaomoc/presigner | lib/presigner.rb | 1127 | require "presigner/version"
require 'aws-sdk-v1'
class Presigner
DEFAULT_DURATION = 60 * 30
def initialize(options)
@bucket = options[:bucket]
@key = options[:key]
@duration = options[:duration] || DEFAULT_DURATION
@region = options[:region] || "us-east-1"
@base = Time.now.to_i
end
attr... | mit |
biow0lf/evemonk | app/dashboards/eve/station_dashboard.rb | 1362 | # frozen_string_literal: true
require "administrate/base_dashboard"
module Eve
class StationDashboard < Administrate::BaseDashboard
ATTRIBUTE_TYPES = {
id: Field::Number,
station_id: Field::Number,
name: Field::String,
system: Field::BelongsTo.with_options(class_name: "Eve::System"),
... | mit |
wizawu/1c | @types/jdk/jdk.nashorn.api.tree.ModuleTree.d.ts | 535 | declare namespace jdk {
namespace nashorn {
namespace api {
namespace tree {
interface ModuleTree extends jdk.nashorn.api.tree.Tree {
getImportEntries(): java.util.List<jdk.nashorn.api.tree.ImportEntryTree>
getLocalExportEntries(): java.util.List<jdk.nashorn.api.tree.ExportEntry... | mit |
lucagtc/protocollo | src/GL/ProtocolloBundle/GLProtocolloBundle.php | 132 | <?php
namespace GL\ProtocolloBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class GLProtocolloBundle extends Bundle
{
}
| mit |
LEEwith/google-map-react | src/components/places_item.js | 1854 | /**
* Created by lee on 10/13/17.
*/
import React, { Component } from 'react';
export default class PlacesItem extends Component {
constructor(props) {
super(props);
this.config = this.config.bind(this);
this.rateStars = this.rateStars.bind(this);
this.startBounce = this.startB... | mit |
Jamp/random | LICENSE.md | 1077 | The MIT License (MIT)
Copyright (c) 2015 Jaro Marval
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, publ... | mit |
daicang/Leetcode-solutions | 268-missing-number.py | 388 | class Solution(object):
def missingNumber(self, nums):
"""
:type nums: List[int]
:rtype: int
"""
xor = len(nums)
for i, n in enumerate(nums):
xor ^= n
xor ^= i
return xor
inputs = [
[0],
[1],
[3,0,1],
[9,6,4,2,3,5,7,0... | mit |
zOrg1331/xorg-drv-vivante | dri/src/sarea.h | 3526 | /****************************************************************************
*
* Copyright (c) 2005 - 2012 by Vivante Corp. All rights reserved.
*
* The material in this file is confidential and contains trade secrets
* of Vivante Corporation. This is proprietary information owned by
* Vivante Corporation... | mit |