code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
package com.normalexception.app.rx8club.fragment.utils;
/************************************************************************
* NormalException.net Software, and other contributors
* http://www.normalexception.net
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this soft... | paimonsoror/RX8Club.com-Forum-Application | src/com/normalexception/app/rx8club/fragment/utils/UtilitiesDialog.java | Java | mit | 2,935 |
<!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/html; charset=gb2312" />
<meta name="Keywords" content="北极熊投资管理有限公司" />
<meta name="Description" con... | xiaopihang/fortune | application/views/fortune/concept.php | PHP | mit | 1,517 |
/*
* protos.h
* by WN @ May. 27, 2010
*/
#ifndef PROTOS_H
#define PROTOS_H
#ifndef ATTR_HIDDEN
# define ATTR_HIDDEN __attribute__((visibility ("hidden")))
#endif
#include <xasm/unistd_32.h>
#include "syscall_table.h"
/* provide prototypes of system call handlers */
extern int
trivial_pre_handler(struct pusha_r... | pi3orama/Snitchaser | src/arch/x86/interp/syscalls/protos.h | C | mit | 1,097 |
function loadProjects(loadTarget) {
console.log(loadTarget);
$('.filter li').removeClass();
$('#filter-' + loadTarget).addClass('active');
var isLoaded = true;
switch (loadTarget) {
case 'all':
renderProjects(featured);
$('.load-more').removeClass('display-none');
$('.more-work').removeClass('isLoaded'... | jayhxmo/jayhxmo.github.io | js/main.js | JavaScript | mit | 910 |
<!-- Copyright (c) Microsoft Corporation. All rights reserved. -->
<!-- Licensed under the MIT license. See LICENSE file in the project root for details. -->
<cordova-panel id="camera" caption="Camera">
<cordova-group id="camera-options">
<cordova-radio id="camera-host">Use host system camera</cordova-radi... | guillaumejenkins/taco-simulate-server | src/plugins/cordova-plugin-camera/sim-host-panels.html | HTML | mit | 946 |
require('dotenv').config();
const api_key = process.env.MAILGUN_API_KEY;
const domain = process.env.MAILGUN_DOMAIN;
const mailgun = require('mailgun-js')({apiKey: api_key, domain: domain});
const list = mailgun.lists('subscriberlist@example.com');
const data = {
from: 'Dylan <me@... | Dtoyne/open-minds | server/email.js | JavaScript | mit | 1,276 |
require File.join(File.dirname(__FILE__), '..', 'test_helper')
# class MyClassTest < GUnit::TestCase
# groundwork "Some fixtures should be created here"
#
# context "An instance of MyClass"
# groundwork "renamed" do
# @foo.rename("the foo")
# end
# end
# end
class GUnit::GroundworkTest < Test::... | gsterndale/GUnit | test/unit/groundwork_test.rb | Ruby | mit | 2,692 |
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- vim:set ts=4 sw=4 sts=4 noet: */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "flint/utf8string.h"
#include <libxml/xmlmemory.h>
#define BOOST_TEST_MODULE test_trim
#include "test.h"
struct F {
F()
: s(nullptr)
, t(nullptr)
... | flintproject/Flint | test/flint/test-trim.cc | C++ | mit | 1,108 |
package net.bartushk.picletest.Filter;
import org.opencv.core.Core;
import org.opencv.core.Mat;
import org.opencv.imgcodecs.Imgcodecs;
import net.bartushk.picle.Program;
public class BaseFilterTest
{
public Mat catImage;
public BaseFilterTest(){
System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
... | bartushk/picle | src/test/java/net/bartushk/picletest/Filter/BaseFilterTest.java | Java | mit | 444 |
rspec_dir = File.dirname(__FILE__)
$LOAD_PATH.unshift(File.join(rspec_dir, '..', 'lib'))
$LOAD_PATH.unshift(rspec_dir)
require 'rspec'
require 'whoops_logger'
require 'fakeweb'
# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{rspec_dir}/support/**/*.rb"]... | flyingmachine/whoops_logger | spec/spec_helper.rb | Ruby | mit | 421 |
/**
* @author Toru Nagashima
* @copyright 2016 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/
"use strict"
module.exports = {
generate: require("./lib/generate"),
createFixer: require("./lib/fixer"),
}
| mysticatea/appcache-manifest | index.js | JavaScript | mit | 263 |
define([
'../core',
'../var/rnotwhite',
'./accepts'
], function (jQuery, rnotwhite) {
function Data () {
// Support: Android<4,
// Old WebKit does not have Object.preventExtensions/freeze method,
// return new empty object instead with no [[set]] accessor
Object.defineProperty(this.cache = {}, 0... | luoyjx/gaoqi-blog | public/lib/jquery/src/data/Data.js | JavaScript | mit | 5,422 |
package argparse
// Copyright (c) 2017 by Gilbert Ramirez <gram@alumni.rice.edu>
import (
"fmt"
"io"
"os"
)
type ArgumentParser struct {
// If this is set, instead of printing the help statement,
// when --help is requested, to os.Stdout, the output goes here.
Stdout io.Writer
// If this is set, instead of p... | gilramir/argparse | v2/argparse.go | GO | mit | 2,735 |
package models
import (
"time"
"encoding/json"
"fmt"
"github.com/go-xorm/xorm"
api "github.com/gogits/go-gogs-client"
"github.com/gogits/gogs/models/errors"
"github.com/gogits/gogs/pkg/setting"
"github.com/gogits/gogs/pkg/sync"
gouuid "github.com/satori/go.uuid"
log "gopkg.in/clog.v1"
)
var ServiceQueue ... | dancewing/gogs | models/service_config.go | GO | mit | 13,354 |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Payment extends CI_Controller {
public function __construct()
{
parent::__construct();
$id = (int) $this->session->userdata('adminid');
if ($id === 0)
redirect(base_url());
}
public function index($e... | Ekta3012/codeigniter_afewtaps | admin/app/controllers/Payment.php | PHP | mit | 1,096 |
# fizz.rb
1.upto(ARGV[0].to_i) do |n|
if n % 15 == 0
print "FizzBuzz "
elsif n % 5 == 0
print "Buzz "
elsif n % 3 == 0
print "Fizz "
else print "#{n} "
end
end
puts
| J-Y/RubyQuiz | ruby_quiz/quiz126_sols/solutions/darren kirby/fizz.rb | Ruby | mit | 187 |
\hypertarget{vs__imgui__image_8bin_8h}{\section{/mnt/windows/data/programming/crapengine2/source/video/include/bgfx/imgui/vs\+\_\+imgui\+\_\+image.bin.\+h File Reference}
\label{vs__imgui__image_8bin_8h}\index{/mnt/windows/data/programming/crapengine2/source/video/include/bgfx/imgui/vs\+\_\+imgui\+\_\+image.\+bin.\+h@{... | stevenblaster/crapengine | doc/latex/vs__imgui__image_8bin_8h.tex | TeX | mit | 433 |
//
// Use this file to import your target's public headers that you would like to expose to Swift.
//
#import <GPUImage.h>
#import <GPUImage/GPUImageFASTCornerDetectionFilter.h>
| jsharp83/jsharp83.github.io | source/ios/GPUImageBlurTest/GPUImageBlurTest/GPUImageBlurTest-Bridging-Header.h | C | mit | 180 |
//
// DDPVolumeView.h
// DanDanPlayForiOS
//
// Created by JimHuang on 2017/10/2.
// Copyright © 2017年 JimHuang. All rights reserved.
//
#import <MediaPlayer/MediaPlayer.h>
@interface DDPVolumeView : MPVolumeView
@property (assign, nonatomic) CGFloat ddp_volume;
@end
| sunsx9316/DanDanPlayForiOS | DanDanPlayForiOS/ViewController/播放器/View/控制/DDPVolumeView.h | C | mit | 277 |
package knorxx.framework.generator.reloading;
import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.ClassWriter;
import org.objectweb.asm.Opcodes;
/**
*
* @author sj
*/
public abstract class ClassChangeVisitor extends ClassVisitor {
private final ClassWriter cla... | janScheible/knorxx | generator/src/main/java/knorxx/framework/generator/reloading/ClassChangeVisitor.java | Java | mit | 747 |
# encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative sou... | tyrauber/email_engine | spec/dummy/db/schema.rb | Ruby | mit | 802 |
const { describe, it, beforeEach } = require('kocha')
const { createStore, documentObject } = require('./helper')
const genel = require('genel')
const { expect } = require('chai')
const { Action } = require('~')
const { make } = capsid
let store
describe('Store', () => {
beforeEach(async () => {
store = await ... | kt3k/moneybit-app | src/store/__tests__/index.js | JavaScript | mit | 1,578 |
#pragma once
/*////////////////////////////////////////////////////////////////////////////
GmshWriter.h
Writes a gmsh .msh file.
Copyright 2017 HJA Bird
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... | hjabird/HBTK | include/HBTK/GmshWriter.h | C | mit | 2,696 |
<?php
/*
* 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 LoadProducts
*
* @author student
*/
namespace Pizza\CustomerBundle\DataFixtures\ORM;
use Doctrine\Com... | phptuts/symfonypizzaexampleapp | src/Pizza/CustomerBundle/DataFixtures/ORM/LoadProducts.php | PHP | mit | 4,481 |
import React, { Component } from 'react'
import { Icon, Menu } from 'shengnian-ui-react'
export default class MenuExampleIcons extends Component {
state = { activeItem: 'gamepad' }
handleItemClick = (e, { name }) => this.setState({ activeItem: name })
render() {
const { activeItem } = this.state
retur... | shengnian/shengnian-ui-react | docs/app/Examples/collections/Menu/Variations/MenuExampleIcons.js | JavaScript | mit | 859 |
'use strict';
var React = require('react');
var LoginForm = require('./LoginForm');
var SignUpForm = require('./SignUpForm');
var Tab = require('./tabs/Tab');
var TabContents = require('./tabs/TabContents');
var TabbedPanel = require('./tabs/TabbedPanel');
var Tabs = require('./tabs/Tabs');
var ObtainUser = React.cre... | cleggatt/gift-tracker | src/main/component/ObtainUser.js | JavaScript | mit | 770 |
<span class="bg-status" ng-class="{'bg-new': (order.status == 0), 'bg-cancel':(order.status == -1), 'bg-confirm':(order.status == 1), 'bg-complete':(order.status == 2)}">
{{order.status | getOrderStatusText}}
</span> | brooklynb7/nnb-mean | public/modules/orders/views/_order-status.client.view.html | HTML | mit | 222 |
//
// EsaKit.h
// EsaKit
//
// Created by pixyzehn on 2016/11/17.
// Copyright © 2016 pixyzehn. All rights reserved.
//
#import <Foundation/Foundation.h>
//! Project version number for EsaKit.
FOUNDATION_EXPORT double EsaKitVersionNumber;
//! Project version string for EsaKit.
FOUNDATION_EXPORT const unsigned ch... | pixyzehn/EsaKit | Sources/EsaKit/EsaKit.h | C | mit | 482 |
## 这是 pylSER 的个人技术博客
### 特别感谢 mzlogin [hover: https://github.com/mzlogin/mzlogin.github.io]
| pylSER/pylSER.github.io | README.md | Markdown | mit | 118 |
try:
from StringIO import StringIO
except ImportError:
from io import StringIO
from inspect import isgenerator
class Element(object):
tag = ''
self_closing = False
def __init__(self, *children, **attrs):
if children and isinstance(children[0], dict):
self.attrs = children[0]
... | russiancow/stag | stag/base.py | Python | mit | 1,436 |
#!/bin/sh
set -u
# Internal variables
CONFIG_FILE="/etc/driveclient/bootstrap.json"
LOG_FILE="/var/log/driveclient.log"
WAIT_TIME=30
PID=0
#########################################################
# Fill the config with provided values via ENV variables
# Globals:
# API_HOST
# API_KEY
# ACCOUNT_ID
# USERNAM... | million12/docker-rackspace-cloud-backup | container-files/run.sh | Shell | mit | 2,542 |
MIT License
Copyright (c) 2015-2019 Daniel Doubrovkine, Artsy 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 Software without restriction, including
without limitation the rights to use,... | dblock/slack-ruby-client | LICENSE.md | Markdown | mit | 1,104 |
'use strict';
/*
* Creates a fake project object for unit tests.
*
* @method getProject
* @private
*/
function getProject(options) {
options = options || {};
let root = options.root || 'default-root';
let pkg = options.pkg || {
version: '1.0.0'
};
return {
root,
pkg,
};
}
/*
* Creates ... | salsify/ember-cli-pact | node-tests/helpers/command.js | JavaScript | mit | 921 |
// Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "walletview.h"
#include "addressbookpage.h"
#include "genandprintdialog.h"
#include "askpassphrasedialog.h"
#include... | mytestcoin/mytestcoin | src/qt/walletview.cpp | C++ | mit | 12,411 |
package chunkstore
import (
"errors"
. "github.com/huin/chunkymonkey/types"
)
// MultiStore provides the ability to load a chunk from one or more potential
// sources of chunk data. The primary purpose of this is to read from a
// persistant store first, then fall back to generating a chunk if the
// persistant st... | huin/chunkymonkey | chunkstore/multistore.go | GO | mit | 1,453 |
# [Stylus](http://learnboost.github.io/stylus/) Plugin for [DocPad](http://docpad.org)
<!-- BADGES/ -->
[](http://travis-ci.org/docpad/docpad-plugin-stylus "Check this project's build status on TravisCI")
[;
module.exports = function(grunt) {
var firebaseUrl = 'webhook';
var firebaseUri = null;
if(firebaseUrl) {
firebaseUri = 'https://' + firebaseUrl + '.firebaseio.com/generator_version.json';
}
var checkVersion = function(callback) {
if(fire... | robheath/webhook-movietrailerhub | tasks/generatorTasks.js | JavaScript | mit | 4,627 |
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Network::Mgmt::V2019_11_01
module Models
#
# Effective Route.
#
class EffectiveRoute
include MsRestAzure
# @re... | Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-11-01/generated/azure_mgmt_network/models/effective_route.rb | Ruby | mit | 4,244 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34209
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | tomaspinho/PADIMapNoReduce | PADIMapNoReduce/PuppetMaster/Properties/Settings.Designer.cs | C# | mit | 1,069 |
<?php
namespace Suppliercheck\AdminBundle\Entity;
use Doctrine\ORM\EntityRepository;
/**
* ProductRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class ProductRepository extends EntityRepository
{
}
| Hley/SupplierCheck | src/Suppliercheck/AdminBundle/Entity/ProductRepository.php | PHP | mit | 271 |
local nvim = require 'neovim'
local sys = require 'sys'
local is_file = require('utils.files').is_file
local pyignores = RELOAD('filetypes.python').pyignores
local cmd = { 'flake8' }
local global_settings = vim.fn.expand(sys.name == 'windows' and '~/.flake8' or '~/.config/flake8')
-- NOTE: flake8 does not support py... | Mike325/.vim | after/compiler/flake8.lua | Lua | mit | 796 |
/* The following code example is taken from the book
* "The C++ Standard Library - A Tutorial and Reference, 2nd Edition"
* by Nicolai M. Josuttis, Addison-Wesley, 2012
*
* (C) Copyright Nicolai M. Josuttis 2012.
* Permission to copy, use, modify, sell and distribute this software
* is granted provided this copyr... | iZhangHui/cppstdlib | i18n/timeput.cpp | C++ | mit | 1,823 |
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define('/Plugin/bootstrap-treeview', ['exports', 'jquery', 'Plugin', 'Config'], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require('jquery'), require('Plugin'), require('Config'));
} else {
var... | harinathebc/sample_codeigniter | assets/js/Plugin/bootstrap-treeview.js | JavaScript | mit | 2,716 |
# frozen_string_literal: true
require 'spec_helper'
describe Cronut::Parser::Any do
describe '#possibilities' do
subject { described_class.new(segment: '*', minimum: 1, maximum: 5) }
it 'returns all integer values between supplied minimum to maximum' do
expect(subject.possibilities).to eq([1, 2, 3, 4... | mcmillan/cronut | spec/parser/any_spec.rb | Ruby | mit | 344 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Coq bench</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet... | coq-bench/coq-bench.github.io-old | clean/Linux-x86_64-4.02.1-1.2.0/unstable/8.4.5/contrib:lambda/dev/2014-11-17_16-11-16.html | HTML | mit | 5,332 |
<?php
/**
* mcrypt polyfill
*
* PHP 7.1 removed the mcrypt extension. This provides a compatibility layer for legacy applications.
*
* PHP versions 5 and 7
*
* LICENSE: Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softw... | phpseclib/mcrypt_compat | lib/mcrypt.php | PHP | mit | 44,042 |
<div class="container" style="margin-top: 80px; height: 100%; padding: 0px; margin-bottom: 50px;">
<div class="row" style="">
<div class="col-lg-12">
<h2 class="page-header" style="margin-top: 0px;">Penjualan SPG</h2>
<ol class="breadcrumb" style="background-color: white; margin-top... | ocreatagit/penggajian | application/views/v_penjualan_spg.php | PHP | mit | 10,756 |
#define CODE_ANALYSIS
using System.Windows;
using System.Diagnostics.CodeAnalysis;
namespace Microsoft.PlayerFramework
{
/// <summary>
/// Represents the method that will handle the System.Windows.Controls.MediaElement.RateChanged.
/// </summary>
/// <param name="sender">The instance of MediaPlayer t... | bondarenkod/pf-arm-deploy-error | playerframework/WP8.SL.Core/Primitives/RateChangedRoutedEventArgs.cs | C# | mit | 1,247 |
#
# Cookbook:: secrets_management
# Spec:: default_spec
#
# maintainer:: Exosphere Data, LLC
# maintainer_email:: chef@exospheredata.com
#
# Copyright:: 2017, Exosphere Data, LLC, All Rights Reserved.
require 'spec_helper'
describe 'secrets_management_test::data_bag' do
before do
stub_data_bag_item('simple', 'i... | exospheredata/secrets_management | spec/unit/recipes/data_bag_spec.rb | Ruby | mit | 1,555 |
<?php
namespace Oro\Bundle\WorkflowBundle\Tests\Unit\Model\Action;
use Oro\Bundle\EntityBundle\Tests\Unit\ORM\Stub\ItemStub;
use Oro\Bundle\WorkflowBundle\Entity\WorkflowItem;
use Oro\Bundle\WorkflowBundle\Model\Action\StartWorkflow;
use Oro\Component\ConfigExpression\ContextAccessor;
use Symfony\Component\PropertyAc... | orocrm/platform | src/Oro/Bundle/WorkflowBundle/Tests/Unit/Model/Action/StartWorkflowTest.php | PHP | mit | 7,892 |
<?php
namespace Oro\Bundle\NavigationBundle\Migrations\Schema\v1_9;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\DBAL\Types\Type;
use Oro\Bundle\MigrationBundle\Migration\Migration;
use Oro\Bundle\MigrationBundle\Migration\QueryBag;
class ChangeUrlsLength implements Migration
{
/**
* {@inheritdoc}
*/
... | orocrm/platform | src/Oro/Bundle/NavigationBundle/Migrations/Schema/v1_9/ChangeUrlsLength.php | PHP | mit | 1,065 |
<?php
namespace Bundle\AdminBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
class AlbumType extends AbstractType
{
/**
* @param FormBuilderInterface $builder
* @param array $options
... | Lilrom/collectionOM | src/Bundle/AdminBundle/Form/AlbumType.php | PHP | mit | 915 |
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using System;
namespace Genocs.Pizia.Web.Api.Infrastructure
{
public class ApplicationRoleManager : RoleManager<IdentityRole>
{
public ApplicationRoleManager(IR... | giovanninocco/Genocs.Pizia | src/Genocs.Pizia.Web.Api/Infrastructure/ApplicationRoleManager.cs | C# | mit | 735 |
### 2016-02-26
#### swift
* <img src='https://avatars0.githubusercontent.com/u/1310293?v=3&s=40' height='20' width='20'>[
IBM-Swift
/
Kitura
](https://github.com/IBM-Swift/Kitura):
Web framework and HTTP server for Swift
* <img src='https://avatars2.githubusercontent.com/u/698982?v=3&s=40... | josephyzhou/github-trending | 2016/2016-02-26.md | Markdown | mit | 31,534 |
#!/usr/bin/env bash
#
: ${EM:='em'}
# dired: Open directories with Emacs.
dired ()
{
declare -a args=()
declare -a dirs=()
for arg; do
if test -d "$arg"; then
dirs+=( "$(printf '%q' "$arg")" )
else
args+=( "$arg" )
fi
done
if (( ${#dirs[@]} == 0 ));... | slewsys/emacs-cli-front-end | contrib/dired.sh | Shell | mit | 439 |
var Game = {
tileW: 16,
tileH: 16,
width: 400,
height: 300,
System: {},
Map: {}
};
Game.BOOT = function() {};
Game.BOOT.prototype = {
preload: function() {
this.game.stage.backgroundColor = '#eee';
Game.operate = new Game.System.Operate(this.game);
Game.player = new Game.System.Player(this.ga... | Clunt/shqz | client/game.js | JavaScript | mit | 442 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE-edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags must come first in the head -->
<title>The Family Summit Foundation - A Center for Grieving Children<... | markhaslam/familysummit.org | groups/index.html | HTML | mit | 9,460 |
<!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... | GoC-Spending/data-corporations | html/234567156463.html | HTML | mit | 37,164 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>zorns-lemma: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.09.1-2.0.6/released/8.14.1/zorns-lemma/8.6.0.html | HTML | mit | 7,074 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>hedges: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.08.1-2.0.5/released/8.7.1+1/hedges/8.8.0.html | HTML | mit | 7,035 |
'use strict';
notesApp.controller('showNotesController', function showNotesController($scope, $location, NotesData) {
$scope.notes = NotesData.getNotes();
$scope.searchFor = '';
$scope.$watch('[searchFor]', function () {
if ($scope.searchFor.trim() === '') {
$scope.notes = Not... | alexadam/notes | public_html/angular/js/controllers/showNotesController.js | JavaScript | mit | 537 |
# window 对象
BOM 的核心对象是 window ,它表示浏览器的一个实例。在浏览器中, window 对象有双重角色,它既是通过 JavaScript 访问浏览器窗口的一个接口,又是 ECMAScript 规定的 **Global 对象**。这意味着在网页中定义的任何一个对象、变量和函数,都以 window 作为其 Global 对象,因此有权访问parseInt() 等方法。 | zhaohaodang/pro-js-talk | chapter08/01/window-object.md | Markdown | mit | 403 |
var GameCookieKey = "pic2wordkey";
var LevelsCookieKey = "pic2wordlevels";
function Controller() {
//questions
this.currentQuestionId;
this.currentQuestionLevel;
this.currentQuestionIndex;
this.nextQuestionLevel;
this.questions = [];
this.questionLevels = [];
this.questionRepo = [];
t... | gracianani/pic2word | js/Controller.js | JavaScript | mit | 6,301 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport"/>
<meta content="telephone=no" name="format-detection"/>
<meta content="address=no" name="format-detection"/>
<title> 葡萄酒功效 </title>
<link href="./css/drug.cs... | hucaihua/cmssp | server/html/disease/306.html | HTML | mit | 2,046 |
/**
* Nada
*/
| amk221/ember-cli-twitter-entities | tests/dummy/app/styles/app.css | CSS | mit | 16 |
# Copyright (C) Ivan Kravets <me@ikravets.com>
# See LICENSE for details.
# pylint: disable=W0212,W0613
from twisted.internet.defer import Deferred, DeferredList
from twisted.python.failure import Failure
from twisted.trial.unittest import TestCase
import smartanthill.litemq.exchange as ex
from smartanthill.exceptio... | smartanthill/smartanthill1_0 | smartanthill/test/test_litemq.py | Python | mit | 4,944 |
#Copyright 2008, Meka Robotics
#All rights reserved.
#http://mekabot.com
#Redistribution and use in source and binary forms, with or without
#modification, are permitted.
#THIS SOFTWARE IS PROVIDED BY THE Copyright HOLDERS AND CONTRIBUTORS
#"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
#LIMITED... | ahoarau/m3meka | python/scripts/m3qa/calibrate_arm_a1r1.py | Python | mit | 4,744 |
---
layout: page
title: Hayden - Ingram Wedding
date: 2016-05-24
author: Elizabeth Travis
tags: weekly links, java
status: published
summary: Maecenas sagittis tortor a rutrum iaculis. Quisque maximus gravida lacinia.
banner: images/banner/leisure-03.jpg
booking:
startDate: 04/06/2016
endDate: 04/09/2016
ctyhocn:... | KlishGroup/prose-pogs | pogs/M/MTJCOHX/HIW/index.md | Markdown | mit | 3,377 |
/***Generated Resource **/
var resource = require('resource');
var ComedyEvent = resource.define('ComedyEvent');
ComedyEvent.schema.description = "Event type: Comedy event.";
ComedyEvent.persist('fs');
ComedyEvent.property('additionalType', {
"name" : "additionalType",
"displayName" : "Additional Type",
... | SkiftCreative/node-schema-org | resources/ComedyEvent/index.js | JavaScript | mit | 6,241 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noarchive">
<meta name="description" content="All of the registration prices, payment methods and instructions are provided for you here.">
<meta name="keywords" content="nanotechno... | intaset/nbconference | _site/registration.html | HTML | mit | 45,894 |
'use strict';
const dobby_bot = require('./jslib/dobby_bot');
const dobby_pull = require('./jslib/dobby_pull');
const dobby_spark = require('./jslib/dobby_spark');
const dobby_cass = require('./jslib/dobby_cass');
const async = require('async');
if (process.argv.length != 4) {
console.log('usage: node dobby.js <cha... | dobby-spark/dobby-app | dobby.js | JavaScript | mit | 7,851 |
package me.ryanhamshire.GriefPrevention.command;
import me.ryanhamshire.GriefPrevention.WelcomeTask;
import org.spongepowered.api.command.CommandResult;
import org.spongepowered.api.command.CommandSource;
import org.spongepowered.api.command.args.CommandContext;
import org.spongepowered.api.command.spec.CommandExecuto... | hsyyid/GriefPrevention | src/me/ryanhamshire/GriefPrevention/command/CommandClaimBook.java | Java | mit | 740 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nucleus.Game
{
/// <summary>
/// An enum to store the type of a cell during map generation
/// </summary>
public enum CellGenerationType
{
Untouched,
Void,
... | pnjeffries/freebuild | Nucleus/Nucleus.Game/Artitecture/CellGenerationType.cs | C# | mit | 800 |
// LICENSE : MIT
"use strict";
import {RuleHelper} from "textlint-rule-helper";
import alex from "alex";
const defaultOptions = {
allow: undefined,
deny: undefined,
noBinary: false,
profanitySureness: 0
};
module.exports = function textlintRuleAlex(context, options = {}) {
const {Syntax, RuleError, ... | azu/textlint-rule-alex | src/textlint-rule-alex.js | JavaScript | mit | 1,533 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of');
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
var _c... | Moccine/global-service-plus.com | web/libariries/bootstrap/node_modules/cst/lib/elements/types/CatchClause.js | JavaScript | mit | 2,175 |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the fr... | vivekdizzal/beamon-boss | application/user/config/autoload.php | PHP | mit | 4,105 |
var uuid = require('uuid'),
logging = require('@tryghost/logging');
/**
* @TODO:
* - move middleware to ignition?
*/
module.exports = function logRequest(req, res, next) {
var startTime = Date.now(),
requestId = uuid.v1();
function logResponse() {
res.responseTime = (Date.now() - startT... | TryGhost/gscan | app/middlewares/log-request.js | JavaScript | mit | 802 |
<!DOCTYPE html>
<!--[if lt IE 7]> <html lang="en" ng-app="myApp" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html lang="en" ng-app="myApp" class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html lang="en" ng-app="myApp" class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]... | ashesi-SE/Sample-1 | app/index.html | HTML | mit | 3,003 |
/* globals Promise:true */
var _ = require('lodash')
var EventEmitter = require('events').EventEmitter
var inherits = require('util').inherits
var timers = require('timers')
var Promise = require('bluebird')
var bitcore = require('bitcore')
var p2p = require('bitcore-p2p')
var RpcClient = require('bitcoind-rpc')
var ... | jeorgen/chromanode-old | app/master/network.js | JavaScript | mit | 5,495 |
/*
LICENSE
-------
Copyright (C) 2007-2010 Ray Molenkamp
This source code is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this source code or the software it produces.
Permission is granted to anyone to u... | morphx666/CoreAudio | CoreAudio/Interfaces/DeviceTopology/IAudioVolumeLevel.cs | C# | mit | 1,226 |
import React from 'react';
import {
header,
tabs,
tab,
description,
importExample,
title,
columns,
divider,
example,
playground,
api,
testkit,
} from 'wix-storybook-utils/Sections';
import { storySettings } from '../test/storySettings';
import BasicExample from '!raw-loader!./examples/BasicExa... | wix/wix-style-react | packages/wix-style-react/src/CustomModalLayout/docs/index.story.js | JavaScript | mit | 5,054 |
@import "form.css";
@import "problem.css";
div.errors {
border: 1px solid red;
}
div.errors ul {
list-style: none;
padding-left: 1em;
}
input.demoButton {
display: block;
margin-top: 30px;
margin-left: auto;
margin-right: auto;
width: 60px;
}
.overlay {
background: transparent;
... | gslewis/dmex-app | web/form/style/exsession.css | CSS | mit | 1,145 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace DreamNet.TCPServer
{
public class TCPServer
{
#region Variables
private TcpListener server = null;
... | kleberandrade/dream-net | DreamNet.TCPServer/TCPServer.cs | C# | mit | 3,932 |
/*
** Backbone-books by Sebastien Chopin
** @Atinux
** http://www.atinux.fr
*/
(function () {
// Please use your Google API key, be cool :) (http://code.google.com/apis/books/docs/v1/getting_started.html)
var Book, Books, BookView, LibraryView, apiKey = 'AIzaSyAUpierWu7ydjKsa2141jS55CCnqu7JXZo';
// Model
Book = Back... | Atinux/backbone-books | src/app.js | JavaScript | mit | 5,713 |
<?php
namespace AppBundle\Repository;
use Doctrine\ORM\EntityRepository;
/**
* OperasiRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class OperasiRepository extends EntityRepository
{
}
| dzakiafif/rumah-sakit | src/AppBundle/Repository/OperasiRepository.php | PHP | mit | 259 |
using System.Collections.Generic;
using System.Threading.Tasks;
using Depot.Services.Entries.Models;
using MongoDB.Driver;
using MongoDB.Driver.Linq;
namespace Depot.Services.Entries.Repositories
{
public class MongoEntryRepository : IEntryRepository
{
private readonly IMongoDatabase _database;
... | spetz/Depot | src/Depot.Services.Entries/Repositories/MongoEntryRepository.cs | C# | mit | 919 |
# tattle
Governate deployments
| octoblu/tattle | README.md | Markdown | mit | 31 |
using Subsonic.Common.Classes;
using Subsonic.Common.Interfaces;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Subsonic.Client.Activities
{
public class Search2ActivityDelegate<TImageType> : SubsonicActivityDelegate<SearchResult2, TImageType> where TImageType : class, IDisp... | archrival/SubsonicSharp | Subsonic.Client/Activities/Search2ActivityDelegate.cs | C# | mit | 5,597 |
<?php
namespace SystemUsersBundle\Entity;
use Doctrine\ORM\EntityRepository;
/**
* RoleResourceRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class RoleResourceRepository extends EntityRepository
{
}
| gitmehedi/symauth | src/SystemUsersBundle/Entity/RoleResourceRepository.php | PHP | mit | 273 |
<!DOCTYPE html>
<html lang="en-us">
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- Enable responsiveness on mobile devices-->
<meta name="viewport" content="width=devic... | asoplata/asoplata.github.io | _site/page2/index.html | HTML | mit | 5,853 |
extern crate hyper;
mod credentials;
mod error;
mod http;
use std::process;
use std::thread;
use std::time::Duration;
use credentials::Credentials;
use http::Client;
use error::Error;
fn main() {
let credentials = credentials();
let client = Client::new(credentials);
let interval = Duration::from_secs(5... | matt-thomson/github-sweep | src/main.rs | Rust | mit | 957 |
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Cosmosdb::Mgmt::V2019_08_01
module Models
#
# Model object.
#
#
class SpatialSpec
include MsRestAzure
# @r... | Azure/azure-sdk-for-ruby | management/azure_mgmt_cosmosdb/lib/2019-08-01/generated/azure_mgmt_cosmosdb/models/spatial_spec.rb | Ruby | mit | 1,812 |
<!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/html; charset=utf-8" />
<meta name="GENERATOR" content="VSdocman - documentation generator; htt... | asiboro/asiboro.github.io | vsdoc/topic_00000000000000F2.html | HTML | mit | 12,411 |
package service;
import database.Jdbc;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.ws.rs.GET;
import javax.... | SGCProject/Web-ser | Web-ser/src/service/Crime.java | Java | mit | 3,026 |
---
layout: page
title: Banner Vision Technologies Award Ceremony
date: 2016-05-24
author: Willie Larson
tags: weekly links, java
status: published
summary: Phasellus lobortis neque sem, ut lacinia leo.
banner: images/banner/people.jpg
booking:
startDate: 04/25/2016
endDate: 04/26/2016
ctyhocn: ATLFRHX
groupCod... | KlishGroup/prose-pogs | pogs/A/ATLFRHX/BVTAC/index.md | Markdown | mit | 2,523 |
package main
import (
"bytes"
"fmt"
"io/ioutil"
"os"
"runtime"
"strings"
"testing"
"github.com/jstemmer/go-junit-report/parser"
)
type TestCase struct {
name string
reportName string
report *parser.Report
noXMLHeader bool
packageName string
}
var testCases = []TestCase{
{
name: "0... | tadukurow/go-junit-report | go-junit-report_test.go | GO | mit | 9,599 |
package com.sqlboaconnector.server;
import com.caucho.hessian.io.Hessian2Input;
import com.caucho.hessian.io.Hessian2Output;
import com.sqlboaconnector.server.CommandContext;
import org.json.JSONObject;
import java.io.IOException;
import java.io.OutputStream;
import java.sql.SQLException;
public interface ServerCom... | tremechus/boaconnector_android | app/src/main/java/com/sqlboaconnector/server/ServerCommand.java | Java | mit | 452 |
<?php
/**
* phpGedView Research Assistant Tool - ra_Configure
*
* phpGedView: Genealogy Viewer
* Copyright (C) 2002 to 2009 John Finlay and Others
*
* 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... | fweber1/Annies-Ancestors | PhpGedView/modules/research_assistant/forms/ra_Configure.php | PHP | mit | 7,626 |
/////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2009-2014 Alan Wright. All rights reserved.
// Distributable under the terms of either the Apache License (Version 2.0)
// or the GNU Lesser General Public License.
////////////////////////////////////////////////////////////... | afklm/lucenekit | Pod/Libraries/Header/LowerCaseFilter.h | C | mit | 757 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.