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 |
|---|---|---|---|---|---|
MultiCAS
===
[![Latest Version on Packagist][ico-version]][link-packagist]
[![Software License][ico-license]](LICENSE.md)
[![Build Status][ico-travis]][link-travis]
[![Total Downloads][ico-downloads]][link-downloads]
Multi CAS server SSO authentication in Laravel 5.x
this version base on xavrsl/cas v1.2.5 Compatible... | liyunde/laravel5-multi-cas | README.md | Markdown | mit | 2,333 |
---
layout: post
title: "Welcome to Williamsburg!"
date: 2014-08-29 14:34:25
categories: jekyll update
tags:
image: /assets/article_images/2014-08-29-welcome-to-jekyll/desktop.jpg
---
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild th... | NorthBrooklynAirBnB/northbrooklynairbnb.github.com | _posts/2014-08-29-welcome-to-jekyll.markdown | Markdown | mit | 1,839 |
{{/* Pages Widget */}}
{{/* Initialise */}}
{{ $ := .root }}
{{ $st := .page }}
{{ $items_type := $st.Params.content.page_type | default "post" }}
{{ $items_offset := $st.Params.content.offset | default 0 }}
{{ $items_count := $st.Params.content.count }}
{{ if eq $items_count 0 }}
{{ $items_count = 65535 }}
{{ else ... | docmanny/docmanny.github.io | themes/hugo-academic/layouts/partials/widgets/pages.html | HTML | mit | 3,349 |
const Sequelize = require('sequelize'),
connection = require('./sequelize.js');
const attributes = {
id: {
type: Sequelize.UUID,
primaryKey: true,
defaultValue: Sequelize.UUIDV4
},
username: {
type: Sequelize.STRING,
allowNull: false,
unique: true,
validate: {
is: /^[a-z0-... | WikiWebOrg/wikiweb-dot-org | app/model/user.js | JavaScript | mit | 1,284 |
package iurii.job.interview.cracking;
import java.util.ArrayList;
import java.util.List;
import java.util.Stack;
/**
* Stacks and Queues
*/
public class CrackingCodingInterview3 {
/**
* 3.1 implement 3 stacks using one array.
* This can be done in two ways.
* 1) just divide array into 3 equal par... | Iurii-Dziuban/algorithms | src/main/java/iurii/job/interview/cracking/CrackingCodingInterview3.java | Java | mit | 7,097 |
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="sl-SI">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Dajte svoje namizje v souporabo</title>
<link rel="stylesheet" type="text/css" href="../vodnik_1404.css">
<link rel="stylesheet" type="tex... | ubuntu-si/ubuntu.si | vodnik/12.04/sharing-desktop.html | HTML | mit | 8,337 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Documentation</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../">
<link rel="icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/normalize.css">
<link rel="styles... | jordanbrauer/unit-converter | docs/files/src-calculator-formula-length-astronomicalunit-tohands.html | HTML | mit | 6,454 |
Symfony Standard Editionss
========================
Welcome to the Symfony Standard Edition - a fully-functional Symfony2
application that you can use as the skeleton for your new applications.
This document contains information on how to download, install, and start
using Symfony. For a more detailed explanation, se... | engineer-itpnu/hotell | README.md | Markdown | mit | 5,845 |
var searchData=
[
['lib_2ehpp',['lib.hpp',['../lib_8hpp.html',1,'']]],
['lib_5f8hpp_2ejs',['lib_8hpp.js',['../lib__8hpp_8js.html',1,'']]]
];
| bhargavipatel/808X_VO | docs/html/search/files_a.js | JavaScript | mit | 145 |
---
layout: single
title: "Prynth lives!"
author_name: "Ivan Franco"
author_profile: true
---
The Prynth site is now live. This is a work in progress so be patient with any missing information. I promise to try to keep it fresh and updated. To stay tuned there's RSS or Facebook links located at the footer.
| prynth/prynth.github.io | _posts/2016-09-20-scdmi-site-live.md | Markdown | mit | 309 |
{% extends "WebsiteBundle:Default:index.html.twig" %}
{% block title %}
<title>{{ partner.pessoa.nome }} - Parceiros - WTIS</title>
{% endblock %}
{% block metas %}
{% set metaPageTopic = 'Wtis Soluções em Tecnologia e Marketing para Web' %}
{% set metaPageClassification = 'Wtis Soluções em Tecnologia e Marke... | wtis/website | src/WebsiteBundle/Resources/views/Partner/partner.view.html | HTML | mit | 8,651 |
package edu.neu.ccs.cs5004.assignment10;
import java.util.List;
/**
* Represents the main controller of the text document processor.
* Created by yanxu on 4/2/17.
*/
class MainController {
/**
* Given the command line arguments, checks the validity of the arguments,
* if the arguments if valid, process th... | magic-stone/Markdown-Document-Processor | src/main/java/edu/neu/ccs/cs5004/assignment10/MainController.java | Java | mit | 1,219 |
# -*- coding: utf-8
from __future__ import unicode_literals, absolute_import
from django.conf.urls import url, include
from unach_photo_server.urls import urlpatterns as unach_photo_server_urls
urlpatterns = [
url(r'^', include(unach_photo_server_urls, namespace='unach_photo_server')),
]
| javierhuerta/unach-photo-server | tests/urls.py | Python | mit | 296 |
# A flashcard web application driven by a machine learning model.
Trained on multiple PSLC datasets. Built with python Lentil and Sci-kit packages primarily.
| josephtey/Flask-MachineLearning-Flashcards | README.md | Markdown | mit | 160 |
# Œ 700 ‰
---
jYqsrI mhlw 5 Gru 3
<> siqgur pRswid ]
koeI jwnY kvnu eIhw jig mIqu ] ijsu hoie ik®pwlu soeI ibiD bUJY qw kI
inrml rIiq ]1] rhwau ] mwq ipqw binqw suq bMDp iest mIq Aru BweI
] pUrb jnm ky imly sMjogI AMqih ko n shweI ]1] mukiq mwl kink lwl
hIrw mn rMjn kI mwieAw ] hw hw krm ibhwnI AvDih qw mih sMqoKu n
pw... | bogas04/SikhJS | assets/docs/md/SGGS/Ang 700.md | Markdown | mit | 1,427 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>cats-in-zfc: 4 m 6 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.04.2-2.0.5/released/8.7.2/cats-in-zfc/8.7.0.html | HTML | mit | 14,919 |
<?php
namespace Cdn\View\Helper;
use Zend\View\Helper\AbstractHelper;
use Zend\Stdlib\Exception\InvalidArgumentException;
use Zend\Uri\Http as HttpUri;
class Link extends AbstractHelper
{
/**
* Enable state
* @var boolean
*/
protected $enabled;
/**
* Cdn config, array of server conf... | ZrtLab/Cdn | src/src/Cdn/View/Helper/Link.php | PHP | mit | 4,005 |
<div class="commune_descr limited">
<p>
Hannaches est
un village
géographiquement positionné dans le département de l'Oise en Picardie. Elle comptait 124 habitants en 2008.</p>
<p>À proximité de Hannaches sont localisées les villes de
<a href="{{VLROOT}}/immobilier/buicourt_60114/">Buicourt</a> située à... | donaldinou/frontend | src/Viteloge/CoreBundle/Resources/descriptions/60296.html | HTML | mit | 1,244 |
---
tags: perl
layout: post
title: "Perl Message Queue"
---
<p>I posted a message about message queues in perl to clpm
but no newsgroup response. A couple interesting items via
email, but that's it. So the <a
href="http://www.advogato.org/proj/PerlMQ/">PerlMQ</a> project now exists on
sourceforge. Of course, th... | cwinters/cwinters.github.io | _posts/2001-02-15-perl_message_queue.md | Markdown | mit | 1,013 |
<html>
<head>
<title>TestNG: Default test</title>
<link href="../testng.css" rel="stylesheet" type="text/css" />
<link href="../my-testng.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.log { display: none;}
.stack-trace { display: none;}
</style>
<script type="text/javascript">
<!--
function flip... | quchunguang/test | testjava/testjava/test-output/Default suite/Default test.html | HTML | mit | 5,781 |
#!/bin/bash
set -e
curl -Lo "openssl.tar.xz" "https://github.com/Skycoder42/ci-builds/releases/download/${OPENSSL_VERSION}/openssl_${OPENSSL_VERSION}_${PLATFORM}.tar.xz"
tar -xf openssl.tar.xz
rm -f openssl.tar.xz
| Skycoder42/SeasonProxer | gui/quick/openssl/get_openssl.sh | Shell | mit | 215 |
class Admin::AdminController < ApplicationController
layout "layouts/admin"
end | haldun/myweb | app/controllers/admin/admin_controller.rb | Ruby | mit | 81 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>The Startup Scholarship</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="The Startup Scholarship is a unique 9-week summer program in Lisbon, Portugal, in collaboration with... | diasdavid/startupscholarship.org | public/partners.html | HTML | mit | 28,464 |
// Generated by CoffeeScript 1.8.0
module.exports = (function(_this) {
return function(stream, stdout, stderr) {
var count, type;
type = null;
count = 0;
return stream.on('readable', function() {
var header, payload;
while (true) {
while (count > 0) {
payload = stream.rea... | metocean/ducke-modem | src/demuxstream.js | JavaScript | mit | 747 |
#include "editaddressdialog.h"
#include "ui_editaddressdialog.h"
#include "addresstablemodel.h"
#include "guiutil.h"
#include <QDataWidgetMapper>
#include <QMessageBox>
EditAddressDialog::EditAddressDialog(Mode mode, QWidget *parent) :
QDialog(parent),
ui(new Ui::EditAddressDialog), mapper(0), mode(mode), mo... | Aphroditecoin/Aphrodite- | src/qt/editaddressdialog.cpp | C++ | mit | 3,733 |
package actionlist.implementation;
import java.util.Iterator;
import com.badlogic.gdx.utils.Array;
/**
* @author meisteroff
*/
public class ActionList extends Action {
private final Array<Action> actions = new Array<Action>();
private final Array<Action> previous = new Array<Action>();
public ActionList(boolea... | meisteroff/Schmiedebuch | src/actionlist/implementation/ActionList.java | Java | mit | 1,212 |
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <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 regenerate... | Fairlay/FairlayDotNetClient | AndroidSample/Resources/Resource.Designer.cs | C# | mit | 2,830 |
<?php declare(strict_types = 1);
use Phinx\Migration\AbstractMigration;
class RemoveUnnecessaryDepartmentColumn extends AbstractMigration
{
public function up()
{
$this->execute("ALTER TABLE `tickets` DROP COLUMN `department`;");
}
public function down()
{
$this->execute("ALTER TA... | jschreuder/SpotDesk | migrations/20170429231859_remove_unnecessary_department_column.php | PHP | mit | 414 |
header {
background-color: #1F3F69;
height: 70px;
}
.logo {
padding-left: 10px;
padding-top: 18px;
}
.logo-text {
color: #FFF;
font-size: 24px;
}
.logo-img {
margin-top: -10px;
margin-right: 10px;
}
.wrapper {
background-color: #EEE;
height: 100%;
min-height: 100vh;
}
.app-box {
}
#pre-text... | AndrewKishino/palindrome-highlighter | css/styles.css | CSS | mit | 1,049 |
# Ember Owner Test Utils
[](https://travis-ci.org/rondale-sc/ember-owner-test-utils)
[](https://emberobserver.com/addons/ember-owner-test-utils)
... | rondale-sc/ember-owner-test-utils | README.md | Markdown | mit | 2,594 |
#-------------------------------------------------------------------------
# Name - processall.sh
# Desc - The program processes files (some genral steps) in serial order
# Author - Ranjit Kumar (ranjit58@gmail.com)
#-------------------------------------------------------------------------
# Run the program as
# pro... | QWRAP/QWRAPv2 | processall.sh | Shell | mit | 1,288 |
require 'spec_helper'
require 'guard/listeners/polling'
describe Guard::Polling do
it_should_behave_like "a listener that reacts to #on_change"
it_should_behave_like "a listener scoped to a specific directory"
end
| johnbintz/guard | spec/guard/listeners/polling_spec.rb | Ruby | mit | 221 |
#!/bin/bash
echo "Setting remote access for agent $1"
export ROS_MASTER_URI=http://192.168.$1.11:11311
echo "ROS_MASTER_URI is set to" $ROS_MASTER_URI | NASLab/GroundROS | setRemote.sh | Shell | mit | 151 |
# mpgconvert
[](https://travis-ci.org/attila/mpgconvert) [](https://coveralls.io/github/attila/mpgconvert?branch=master)
Convert fuel consumption bet... | attila/mpgconvert | README.md | Markdown | mit | 1,555 |
# othello
CGI-based Othello Server, for a classroom competition.
| simsong/othello | README.md | Markdown | mit | 65 |
require 'test_helper'
class ListPolicyTest < ActiveSupport::TestCase
def setup
@list = lists :one
@member = members :one
@current_context = CurrentContext.new @member.user, @member.group, @member
end
# test exceptions
test "should raise NotGroupMemberError when user is not part of group" do
... | lrosskamp/makealist-public | test/policies/list_policy_test.rb | Ruby | mit | 1,575 |
<div class="col-md-8 mainlist">
<form>
<div class="col-md-2 text-right itemcreatebutton" ng-click="createAlbum()">
<span class="glyphicon glyphicon-plus"></span><span ng-if="listLarge"> {{ 'create' | translate }}</span>
</div>
<div class="col-md-6 itemsearch">
<input type="text" class="... | msansm1/medek-server | src/main/webapp/app/views/album/albumslist.html | HTML | mit | 1,011 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Management.Search.Fluent
{
using Microsoft.Azure.Management.ResourceManager.Fluent.Core;
using Microsoft.Azure.Management.Search.... | hovsepm/azure-libraries-for-net | src/ResourceManagement/Search/AdminKeysImpl.cs | C# | mit | 1,260 |
/* ** GENEREATED FILE - DO NOT MODIFY ** */
package com.wilutions.mslib.office.impl;
import com.wilutions.com.*;
@SuppressWarnings("all")
@CoClass(guid="{C09B8C5B-A463-DB41-5DAE-69E7A5F7FCBC}")
public class OfficeDataSourceObjectImpl extends Dispatch implements com.wilutions.mslib.office.OfficeDataSourceObject {... | wolfgangimig/joa | java/joa/src-gen/com/wilutions/mslib/office/impl/OfficeDataSourceObjectImpl.java | Java | mit | 4,182 |
<!DOCTYPE html>
<html class="theme-next mist use-motion" lang="">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2"/>
<meta name="theme-color" content="#222">
<meta ht... | zhenchaozhu/zhenchaozhu.github.io | archives/2018/08/index.html | HTML | mit | 10,275 |
#include <string.h>
#include "basic.h"
#include "files.h"
#include "fills.h"
#include "list.h"
#include "minunit.h"
#include "traverse.h"
#include "util.h"
#include "yama.h"
int tests_run;
int verbose;
#define RECORDS 4
static char *test_history() {
YAMA *yama = yama_new();
yama_item *items[RECORDS];
fill_updat... | aragaer/libyama | test/main.c | C | mit | 2,051 |
package org.codehaus.xfire.util.stax;
import javax.xml.namespace.NamespaceContext;
import javax.xml.namespace.QName;
import javax.xml.stream.Location;
import javax.xml.stream.XMLStreamConstants;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamReader;
/**
* An XMLStreamReader which keeps ... | eduardodaluz/xfire | xfire-core/src/main/org/codehaus/xfire/util/stax/DepthXMLStreamReader.java | Java | mit | 6,285 |
/*
+----------------------------------------------------------------------+
| Zend Engine |
+----------------------------------------------------------------------+
| Copyright (c) 1998-2015 Zend Technologies Ltd. (http://www.zend.com) |
+---------... | lunaczp/learning | language/c/testPhpSrc/php-5.6.17/Zend/zend_ini.c | C | mit | 18,021 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Class template basic_filter_factory</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index... | davehorton/drachtio-server | deps/boost_1_77_0/libs/log/doc/html/boost/log/basic_filter_factory.html | HTML | mit | 16,141 |
import axios from 'axios';
import MockAdapter from 'axios-mock-adapter';
import { createContext } from '../../common';
import {deleteDroplet} from './delete-droplet';
import * as MOCK from './delete-droplet.mock';
describe('droplet', () => {
const DROPLET_ID = 123;
const URL = `/droplets/${DROPLET_ID}`;
const TO... | pjpimentel/dots | src/droplet/delete-droplet/delete-droplet.spec.ts | TypeScript | mit | 1,849 |
/**
* Created by sam on 17/1/2.
*/
"use strict";
const mongoose = require('mongoose');
const SystemConfig = require('./config');
const {
exceptionLogger: ExceptionLogger,
dbMongoLogger : MongoLogger
} = require('./logger');
const ProcessExitError = require('./error').ProcessExitError;
const mongoConfig =... | SamHwang1990/planer | libs/connect_client/mongod.js | JavaScript | mit | 1,441 |
function execute(sender, commandName, action, ...)
Player(sender):addScriptOnce("cmd/fighter.lua", action, ...)
return 0, "", ""
end
function getDescription()
return "Adds fighters to players hangar."
end
function getHelp()
return "Adds fighters to players hangar. Usage:\n/fighter add <weapon> [rarity] [material]... | AvorionCommands/avorion-scripts | scripts/commands/fighter.lua | Lua | mit | 335 |
sf-tools
===================
This is fork of [**forcedotcom-builder**](https://github.com/jonathanrico/forcedotcom-builder)
Force.com builder for atom.io
This builder provides a simple wrapper for the ANT Migration tool provided by Salesforce, allows you to run your build.xml ant targets.

## Who is it for
Well,
* if you have some automatic downloaders like Couchpotato or Sickrage/Sickbeard,
* and yo... | BrainDoctor/clusterbrake | README.md | Markdown | mit | 1,866 |
~function () {
/**
* Create a new player.
*/
function Player(params) {
params || (params = {});
for (var key in params)
this[key] = params[key];
_createAnimation(this);
_createMesh(this);
_setThirdPersonCamera(this);
this.score = 0;
this.target = this.mesh.position.clone();
}
Player.prototype... | jeremt/RunnerBMA | scripts/Player.js | JavaScript | mit | 3,122 |
<?php
/* :posicion:show.html.twig */
class __TwigTemplate_e7e12512fd8a30ab8adb1ff0b29848a5a9cd7341e0ee62a7a591e78cbc0a0e8a extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("base.html.tw... | mwveliz/sitio | app/prod/cache/twig/ce/ced520151dab74a216181884502077008348cb17443831f80ff4f03ef9fc0c9c.php | PHP | mit | 6,143 |
---
layout: post
title: This is Only a Marvelous Test for Word Wrapping and Layout
categories: review
img: cm_lets_python.jpg
label: Material
---
Deep Learning Resources
* ....
| rheartpython/cisw | _posts.bkup/0003-01-01-test.markdown | Markdown | mit | 180 |
module NetforumEnterprise
VERSION = '2.4.1'.freeze
end
| blueskybroadcast/netforum_enterprise | lib/netforum_enterprise/version.rb | Ruby | mit | 57 |
7.0-alpha3:8c1bce8cc9d7b1f8cc04c02e81bda0e7596f5729dfac9c527e733e157971a037
7.0-alpha4:8c1bce8cc9d7b1f8cc04c02e81bda0e7596f5729dfac9c527e733e157971a037
7.0-alpha5:8c1bce8cc9d7b1f8cc04c02e81bda0e7596f5729dfac9c527e733e157971a037
7.0-alpha6:8c1bce8cc9d7b1f8cc04c02e81bda0e7596f5729dfac9c527e733e157971a037
7.0-alpha7:8c1bc... | GoZOo/Drupaloscopy | hashs-database/hashs/misc___ui___jquery.ui.accordion.css | CSS | mit | 4,095 |
body,html {
background-color: rgb(249,209,212);
height:auto;
}
.width970 {
width: 970px;
}
.main-header {
height:60px;
width:100%;
line-height:60px;
color:#fff;
font-family:"Microsoft yahei";
font-size:24px;
background-color:rgb(240,145,146);
}
.main-footer {
width:100%;
... | ruiluoxie/ruiluoxie.github.io | stylesheets/style.css | CSS | mit | 948 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>BoostBook element postconditions</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<me... | calvinfarias/IC2015-2 | BOOST/boost_1_61_0/doc/html/boostbook/dtd/postconditions.html | HTML | mit | 3,963 |
"use strict";
/* exported deleteGroupOnClick */
function deleteGroupOnClick(event)
{
var name = "";
for(var i = 0; i < GROUPS.length; i++)
{
if(GROUPS[i].id === getAttribute(event, "id"))
{
name = GROUPS[i].name
break;
}
}
var aq = new ActionQueue([new Action(CONFIG.apiuri + "/group/" + encodeURIComp... | GenaBitu/OdyMaterialy | src/admin/js/actions/deleteGroup.js | JavaScript | mit | 580 |
<?php
namespace OpenDominion\Listeners;
use Illuminate\Events\Dispatcher;
interface SubscriberInterface
{
public function subscribe(Dispatcher $events);
}
| Kender2/OpenDominion | src/Listeners/SubscriberInterface.php | PHP | mit | 162 |
jQuery(document).ready(
function (){
$('#ingresar').click(
function () {
var $usuario = $('input[name=usuario]');
var $pass = $('input[name=pass]');
//alert($usuario.val() + "-" + $pass.val());
//----//
if ($usuari... | Kunai11/municipalidad | admin-panel/js/tips/login.js | JavaScript | mit | 1,955 |
import { templates } from "./templates";
import { tools } from "./tools";
import { DB, STORE, DBVERSION, OptionTypes, m } from "./schema";
import { store } from "./storage";
import { controls } from "./controls";
import { routing } from "./routing";
import { web } from "./web";
import { lists } from "./lists";
import {... | metronical/metron | src/framework.ts | TypeScript | mit | 9,465 |
<?php
/**
* Locale data for 'kaj'.
*
* This file is automatically generated by yiic cldr command.
*
* © 1991-2007 Unicode, Inc. All rights reserved.
* Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
*
* @copyright 2008-2013 Yii Software LLC (http://www.yiiframework.com/license/)
*... | ProfilerTeam/Profiler | protected/vendors/yii/i18n/data/kaj.php | PHP | mit | 3,539 |
#ifndef GITSUBMODULE_H
#define GITSUBMODULE_H
// generated from class_header.h
#include <nan.h>
#include <string>
extern "C" {
#include <git2.h>
}
#include "../include/submodule.h"
#include "../include/repository.h"
#include "../include/oid.h"
#include "../include/buf.h"
#include "../include/submodule_update_options.... | jiumx60rus/grishyGhost | node_modules/nodegit/include/submodule.h | C | mit | 4,302 |
describe('Bikini.BikiniStore', function() {
var TEST = {
data : {
firstName: 'Max',
sureName: 'Mustermann',
age: 33
}
};
it('creating bikini store', function() {
assert.isString(serverUrl, 'Server url is defined.');
assert.isFunction(Bi... | mwaylabs/bikini | test/data/test.bikini.js | JavaScript | mit | 7,186 |
// Source : https://leetcode.com/problems/range-sum-query-mutable/
// Author : Yijing Bai
// Date : 2016-01-15
/**********************************************************************************
*
* Given an integer array nums, find the sum of the elements between indices i and j (i
* ≤ j), inclusive.
*
* The u... | yijingbai/LeetCode | Design/RangeSumQueryMutable/RangeSumQueryMutable.cpp | C++ | mit | 2,874 |
---
layout: page
title: Cliffs Solutions Trade Fair
date: 2016-05-24
author: Julia Kelly
tags: weekly links, java
status: published
summary: Mauris ac metus malesuada enim viverra pharetra id et orci.
banner: images/banner/office-01.jpg
booking:
startDate: 12/12/2018
endDate: 12/13/2018
ctyhocn: YNGCFHX
groupCo... | KlishGroup/prose-pogs | pogs/Y/YNGCFHX/CSTF/index.md | Markdown | mit | 2,113 |
(function () {
'use strict';
var url = $('.cart-item-selector').data('variant-action'),
stockMessage = $("#stockMessage"),
totalPrice = $('#totalPrice'),
selectedSKUID = $('#selectedVariantID');
$('.js-variant-selector').change(function () {
var id = $(this).val();
... | Kentico/Mvc | samples/LearningKit/Scripts/variantSelector.js | JavaScript | mit | 636 |
package demo.dp.b.bridge;
/**
* The ConcreteImplementor
*/
public class TextImpMac implements TextImp {
public TextImpMac() {
}
public void DrawTextImp() {
System.out.println("The text has a Mac style !");
}
} | myid999/dpdemo | src/main/java/demo/dp/b/bridge/TextImpMac.java | Java | mit | 246 |
# laradiner-di-ioc-sample
Laradiner 讀書會 DI 及 IoC 示範程式碼
| shengyou/laradiner-di-ioc-example | README.md | Markdown | mit | 73 |
<!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... | v8-dox/v8-dox.github.io | 22793da/html/classv8_1_1_debug_1_1_client_data.html | HTML | mit | 5,129 |

# ProGet.Net
[](https://ci.appveyor.com/project/lvermeulen/proget-net) [](https://github.com/lverme... | lvermeulen/ProGet.Net | README.md | Markdown | mit | 1,948 |
var inherits = require('inherits')
var Stream = require('stream')
function Leveler(fn) {
Stream.call(this)
this.readable = this.writable = true
this.points = 0
this.reached = Object.create(null)
this.level = 0
this.fn = fn || function(x) {
return Math.floor(Math.floor(25 + Math.sqrt(625 + 100 * x)) / 5... | shama/leveler | index.js | JavaScript | mit | 906 |
# encoding: UTF-8
# Author:: Akira FUNAI
# Copyright:: Copyright (c) 2009 Akira FUNAI
class Bike::Storage::Temp < Bike::Storage
def self.available?
true
end
def persistent?
false
end
def val(id = nil)
@val ||= {}
id ? @val[id] : @val
end
def build(v)
@val = v
self
end
... | afunai/bike | lib/_storage/temp.rb | Ruby | mit | 1,057 |
# -*- coding: utf-8 -*-
# Generated by Django 1.9.9 on 2016-09-04 23:50
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('courses', '0013_auto_20160903_0212'),
]
operations = [
migrations.RenameField(
... | aspc/mainsite | aspc/courses/migrations/0014_auto_20160904_2350.py | Python | mit | 1,605 |
/*
* Copyright (c) 2003, 2013 Magnus Lind.
*
* This software 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 software.
*
* Permission is granted to anyone to use this software, alter it and re-
* distribut... | maxim-zhao/bmp2tilecompressors | compressors/exomizer/src/bprg_renumber.c | C | mit | 12,424 |
---
layout: post
title: "Django学习之进阶--model的多继承"
categories: [Tech]
excerpt: django中model多继承的方法
tags:
- django
---
### 事情起因
| single-thread/single-thread.github.io | _posts/django/2017-06-06-Django学习之进阶--model的多重继承.md | Markdown | mit | 167 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>paco: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.07.1-2.0.6/released/8.11.1/paco/3.0.0.html | HTML | mit | 7,125 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ext-lib: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.09.0-2.0.5/extra-dev/dev/ext-lib/0.9.7.html | HTML | mit | 6,542 |
from tornado.web import RequestHandler
class BaseHandler(RequestHandler):
def initialize(self):
_settings = self.application.settings
self.db = self.application.db
#self.redis = _settings["redis"]
self.log = _settings["log"]
| code-shoily/tornado-cljs | handlers/base.py | Python | mit | 264 |
from django.contrib import admin
from django.db import models
from pagedown.widgets import AdminPagedownWidget
from .models import Faq, Category
class FaqAdmin(admin.ModelAdmin):
formfield_overrides = {
models.TextField: {'widget': AdminPagedownWidget},
}
fieldsets = [
('Faq', {'fields'... | ildoc/homeboard | faqs/admin.py | Python | mit | 900 |
=head1 NAME
GeodSolve -- perform geodesic calculations
=head1 SYNOPSIS
B<GeodSolve> [ B<-i> | B<-l> I<lat1> I<lon1> I<azi1> ] [ B<-a> ]
[ B<-e> I<a> I<f> ] B<-u> ]
[ B<-d> | B<-:> ] [ B<-w> ] [ B<-b> ] [ B<-f> ] [ B<-p> I<prec> ] [ B<-E> ]
[ B<--comment-delimiter> I<commentdelim> ]
[ B<--version> | B<-h> | B<--help>... | ObjSal/GeographicLib | man/GeodSolve.pod | Perl | mit | 12,153 |
class Rubygem < ActiveRecord::Base
include Pacecar
has_many :owners, :through => :ownerships, :source => :user
has_many :ownerships, :dependent => :destroy
has_many :subscribers, :through => :subscriptions, :source => :user
has_many :subscriptions
has_many :versions, :dependent => :destroy do
def lates... | technoweenie/gemcutter | app/models/rubygem.rb | Ruby | mit | 3,424 |
/* Move down content because we have a fixed navbar that is 50px tall */
body {
padding-top: 50px;
padding-bottom: 20px;
}
.base-page {
margin-top: 20px;
} | romaricdrigon/OrchestraBundle | Resources/public/css/base.css | CSS | mit | 168 |
using PlayerIOClient;
namespace CupCake.Messages.Receive
{
/// <summary>
/// Occurs when the server sends information pertaining to low-level functions like (a) you were kicked or (b) the room
/// is full or (c) rate limit exceeded.
/// </summary>
public class InfoReceiveEvent : ReceiveEven... | Yonom/CupCake | CupCake.Messages/Receive/InfoReceiveEvent.cs | C# | mit | 1,043 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AppStudio.Common;
using AppStudio.Common.Actions;
using AppStudio.Common.Commands;
using AppStudio.Common.Navigation;
using AppStudio.DataProviders;
using AppStudio.DataProviders.Flickr;
using AppStudio.DataProviders.... | tiksn/Denomination-Calculator | Code/DenominationCalculator.W10/ViewModels/MainViewModel.cs | C# | mit | 3,595 |
---
redirect_to:
- http://tech.hbc.com/2015-01-20-video-why-engineers-should-work-with-the-dark.html
layout:: post
title: 'Video: "Why Engineers Should Work with the ‘Dark Side’ of Tech"'
date: '2015-01-20T15:04:00-05:00'
tags:
- Gilt
- Gilt Groupe
- Gilt Tech
- Gilttech
- Talks
- Tech Talks
- NYC
- Events
- Meetups
- ... | gilt/tech-blog | _posts/tumblr/2015-01-20-video-why-engineers-should-work-with-the-dark.html | HTML | mit | 1,494 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Enigmation
{
class Enigmation
{
static void Main(string[] args)
{
Thread.CurrentThread.CurrentCulture = C... | ilian1902/BGcoder-C-1-exam | C#1 - 2013 2014/Telerik Academy Exam 1 @ 6 December 2013 Evening/03.Enigmanation/Enigmanation.cs | C# | mit | 4,517 |
![pt-BR Pluralization Service - Logo][logo]
# pt-BR Pluralization Service
[](https://www.nuget.org/packages/PluralizationServices/)
[](https://www.nuget.org/packages/PluralizationServic... | kibiluzbad/PtBrPluralizationService | README.md | Markdown | mit | 1,320 |
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
module Simulation.Node.Service.Http
( HttpService
, Service
, Routes (..)
, activate
, as
, toSnapRoutes
, selfStore
, basePrefix
, module Snap.Core
) where
import Control.Applicative (Applicative, Alterna... | kosmoskatten/programmable-endpoint | src/Simulation/Node/Service/Http.hs | Haskell | mit | 3,288 |
//=================================================================================================
/*!
// \file blaze/math/shims/Invert.h
// \brief Header file for the invert shim
//
// Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Blaze library. You can redistribute ... | camillescott/boink | include/goetia/sketches/sketch/vec/blaze/blaze/math/shims/Invert.h | C | mit | 14,000 |
@font-face {
font-family: "Top Secret";
src: url("/font/Top_Secret.ttf");
}
body {
background: #f9e5e5;
color: #FFD700;
font-family: "Top Secret";
text-align: center;
font-size: 10px;
}
.board {
background: #bbbda0;
margin: 0 auto;
padding: 8px;
width: 472px;
height: 472px;
}
h1 {
font-family ... | sgomezdekset/8402 | css/main.css | CSS | mit | 4,164 |
#include "guiutil.h"
#include "bitcoinaddressvalidator.h"
#include "walletmodel.h"
#include "bitcoinunits.h"
#include "util.h"
#include "init.h"
#include "base58.h"
#include <QString>
#include <QDateTime>
#include <QDoubleValidator>
#include <QFont>
#include <QLineEdit>
#include <QUrl>
#include <QTextDocument> // For ... | tgcion/code-Tigercon | src/qt/guiutil.cpp | C++ | mit | 13,505 |
package hu.bme.mit.inf.gs.dsl.validators.collectiontypesinthearchitecture;
import java.util.Arrays;
import org.eclipse.viatra2.emf.incquery.runtime.api.IPatternMatch;
import org.eclipse.viatra2.emf.incquery.runtime.api.impl.BasePatternMatch;
import org.eclipse.viatra2.patternlanguage.core.patternLanguage.Patter... | darvasd/gsoaarchitect | hu.bme.mit.inf.gs.dsl.validators/src-gen/hu/bme/mit/inf/gs/dsl/validators/collectiontypesinthearchitecture/CollectionTypesInTheArchitectureMatch.java | Java | mit | 3,371 |
# frozen_string_literal: true
class Name < AbstractModel
# Changes the name, and creates parents as necessary. Throws a RuntimeError
# with error message if unsuccessful in any way. Returns nothing. *UNSAVED*!!
#
# *NOTE*: It does not save the changes to itself, but if it has to create or
# update any pare... | JoeCohen/mushroom-observer | app/models/name/change.rb | Ruby | mit | 3,612 |
package com.mapbox.geojson;
import androidx.annotation.Keep;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonToken;
import com.google.gson.stream.JsonWriter;
import com.mapbox.geojson.exception.GeoJsonException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List... | mapbox/mapbox-java | services-geojson/src/main/java/com/mapbox/geojson/ListofListofListOfPointCoordinatesTypeAdapter.java | Java | mit | 2,195 |
//
// MasterViewController.h
// WeatherWorld
//
// Created by Pol Quintana on 4/11/14.
// Copyright (c) 2014 Pol Quintana. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "CoreDataPoweredTableViewController.h"
@interface MasterViewController : CoreDataPoweredTableViewController
@end
| suxinde2009/SXD_iOS_Toys | Learning_materials/MagicalRecord_Demos_From_Github/iOS---WeatherWorld--master/WeatherWorld/Controller/MasterViewController.h | C | mit | 301 |
<!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/234567152601.html | HTML | mit | 34,870 |
/*!
* jQuery JavaScript Library v1.10.2
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-07-03T13:48Z
*/ (function(window, undefined) {
... | ejci/MrMizo.com | dist/old/vendor/jquery/jquery-1.10.2.js | JavaScript | mit | 365,268 |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><circle cx="16.5" cy="2.38" r="2" /><path d="M24 11.88v-4.7l-5.05-2.14c-.97-.41-2.09-.06-2.65.84l-1 1.6c-.67 1.18-1.91 2.06-3.41 2.32l.06.06c.69.69 1.52 1.07 2.46 1.17.8-.42 1.52-.98 2.09-1.64l... | kybarg/material-ui | packages/material-ui-icons/src/SportsKabaddiTwoTone.js | JavaScript | mit | 1,114 |
package com.eeeya.fantuan.api.java.client.api;
import com.eeeya.fantuan.api.java.client.invoker.ApiException;
import com.eeeya.fantuan.api.java.client.invoker.ApiInvoker;
import com.eeeya.fantuan.api.java.client.model.ResultModelOfTableInfo;
import com.sun.jersey.multipart.FormDataMultiPart;
import java.util.HashMap;... | huizhong/fantuan | fantuan-api-java-client/src/main/java/com/eeeya/fantuan/api/java/client/api/RestaurantApi.java | Java | mit | 4,171 |
<?php
namespace Ongoing;
class FileResultClass
{
/**
* @var string $ErrorMessage
*/
protected $ErrorMessage = null;
/**
* @var string $GoodsOwnerOrderNumber
*/
protected $GoodsOwnerOrderNumber = null;
/**
* @var int $OrderId
*/
protected $OrderId = null;
/... | starweb/ongoing | src/Ongoing/FileResultClass.php | PHP | mit | 3,221 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.