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 |
|---|---|---|---|---|---|
### MacDeploy ###
You will need the appscript package for the fancy disk image creation to work:
sudo easy_install appscript
For Snow Leopard (which uses [Python 2.6](http://www.python.org/download/releases/2.6/)), you will need the param_parser package:
sudo easy_install argparse
This script should not be run ... | corefork/astrocoincore | contrib/macdeploy/README.md | Markdown | mit | 573 |
<?php $this->load->view('common/header'); ?>
<div class="jumbotron">
<div class="container">
<form class="navbar-form">
<div class="form-group">
<input type="text" placeholder="Keyword" class="form-control">
</div>
<div class="form-group">
<select class="form-control" id="sel1">
... | cubicwebsolutions/pstar | application/views/user/thank_view.php | PHP | mit | 1,218 |
module MedialibClient
VERSION = '1.9.0' unless defined? MedialibClient::VERSION
end
| Go-Promo/medialib-client | lib/medialib_client/version.rb | Ruby | mit | 86 |
module.exports = {
entry: './test/unit/specs/index.js',
output: {
path: './test/unit',
filename: 'specs.js'
},
module: {
loaders: [
{
test: /\.js$/,
exclude: /test|node_modules\/dist/,
loader: 'babel-loader'
}
]
}
}
| Clunt/clantujs | test/unit/webpack.config.js | JavaScript | mit | 278 |
<!DOCTYPE html>
<html lang = "es">
<head>
<meta charset="UTF-8">
<title>App Movil</title>
<link rel="shortcut icon" type="text/css" href="{{STATIC_URL}}img/icono de la Aplicacion Movil.png">
<link rel="stylesheet" type="text/css" href="{{STATIC_URL}}jquery.mobile-1.3.1/jquery.mobile-1.3.1.css">
<script type="text/... | pynef/turismo | mobile/plantillas/lugares_tipo.html | HTML | mit | 2,035 |
#!/bin/bash
TEMP_PROJECT_DIR=/tmp/bumper_$(date +%s)
git clone https://github.com/Latyntsev/bumper.git "${TEMP_PROJECT_DIR}"
${TEMP_PROJECT_DIR}/scripts/build.sh BAMPER_INSTALL_ROOT="/usr/local"
bumper --h | Latyntsev/bumper | scripts/install.sh | Shell | mit | 206 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AttemptOnUnregisteredTypeBsonSerializationConfiguration{T}.cs" company="OBeautifulCode">
// Copyright (c) OBeautifulCode 2018. All rights reserved.
// </copyright>
// ----------... | OBeautifulCode/OBeautifulCode.Serialization | OBeautifulCode.Serialization.Bson/SerializationConfiguration/CannedConfigurations/UnregisteredType/AttemptOnUnregisteredTypeBsonSerializationConfiguration{T}.cs | C# | mit | 1,684 |
//
// SCAboutNode.h
// Scnr
//
// Created by Steve Dekorte .
// Copyright (c) Steve Dekorte. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <NavKit/NavKit.h>
#import "SCArtists.h"
#import "SCUnpurchased.h"
@interface SCRootNode : NavInfoNode
+ (SCRootNode *)sharedSCRootNode;
@property (strong, nonatomic... | stevedekorte/Scnr | Scnr/Classes/SCRootNode.h | C | mit | 406 |
# Downgen PHP
Downgen is on-air markdown documentation parser.
## Why Downgen?
I was really bored always commiting my project documentation written in markdown to project repo when I wanted to see how it looks. For this reason I wrote Downgen. And I really wanted simple and clean design.
## How it works
You setup yo... | jirihybek/downgen | README.md | Markdown | mit | 3,385 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_101) on Sat Jul 08 21:03:43 CEST 2017 -->
<title>YarnString (jarn 1.0.0 API)</title>
<meta name="date" content="2017-07-08">
<link rel="stylesh... | mini2Dx/jarn | docs/javadoc/1.0.0/org/mini2Dx/yarn/types/YarnString.html | HTML | mit | 9,013 |
/**
* "First, solve the problem. Then, write the code. -John Johnson"
* "Or use Vangav M"
* www.vangav.com
* */
/**
* MIT License
*
* Copyright (c) 2016 Vangav
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software... | vangav/vos_instagram | app/com/vangav/vos_instagram/cassandra_keyspaces/ig_logging/DailyRequestsCounters.java | Java | mit | 22,265 |
import { Injector } from '@angular/core';
import { TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { HTTP_INTERCEPTORS, HttpClient } from '@angular/common/http';
import { HttpClientTestingModule, HttpTestingController, TestRequest } from '@angular/common/htt... | yoryu/cardinn | src/00.core/00.auth/token/simple/simple.interceptor.spec.ts | TypeScript | mit | 8,474 |
/*
* File: demo_table.css
* CVS: $Id$
* Description: CSS descriptions for DataTables demo pages
* Author: Allan Jardine
* Created: Tue May 12 06:47:22 BST 2009
* Modified: $Date$ by $Author$
* Language: CSS
* Project: DataTables
*
* Copyright 2009 Allan Jardi... | bartongroup/AlmostSignificant | almostSignificant/static/almostSignificant/css/datatable.css | CSS | mit | 10,796 |
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
#include <IDirect3DViewport3.hpp>
START_ATF_NAMESPACE
typedef IDirect3DViewport3 *LPDIRECT3DVIEWPORT3;
END_ATF_NAMESPACE
| goodwinxp/Yorozuya | library/ATF/LPDIRECT3DVIEWPORT3.hpp | C++ | mit | 277 |
<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head><body>Time,TemperatureF,DewpointF,PressureIn,WindDirection,WindDirectionDegrees,WindSpeedMPH,WindSpeedGustMPH,Humidity,HourlyPrecipIn,Conditions,Clouds,dailyrainin,SoftwareType<br>
<!-- 0.204:1 -->
</body></html> | arkadyan/Wind-Dance | data/winddatafiles/264WXDailyHistory.asp.html | HTML | mit | 305 |
define(function(require, exports, module){
'use strict';
var layers = require('cqwrap/layers');
var BaseLayer = layers.BaseLayer, BgLayer = layers.BgLayer;
var BaseScene = cc.Scene.extend({
ctor:function() {
this._super();
this.init.apply(this, arguments);
cc.associateWithNative( this, cc... | lyosaki88/DotNetRocks | DotNetRocks.Web/WebApp/flappybird/cqwrap/scenes.js | JavaScript | mit | 1,890 |
# `today_cmd`
A simple script to create and manipulate a directory for loose files made on a particular day.
```
$ tree ~/today/
/Users/matt/today/
├── 2015-07-15
│ └── notes.md
└── 2015-07-19
└── commandresults
```
## Getting started
Clone the repo.
```bash
git clone https://github.com/mdsummers/today_cmd.gi... | mdsummers/today_cmd | README.md | Markdown | mit | 2,121 |
import { assert } from "chai";
import * as helper from "./helper/index";
import { getConfig } from "../src/config/config";
const { defaults } = getConfig();
const searchDefaults = defaults.placesSearch;
const { Place } = helper;
describe("Place Model", () => {
before(async function () {
this.timeout(0);
awai... | ideal-postcodes/postcodes.io | test/place.search.unit.ts | TypeScript | mit | 7,062 |
'use strict';
var React = require('React');
var createReactClass = require('create-react-class');
var Component = createReactClass({
displayName: 'Component',
render() {
return <div />;
},
});
| reactjs/react-codemod | transforms/__testfixtures__/class/class-no-conversion.output.js | JavaScript | mit | 207 |
<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="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>... | BuzzAcademy/idioms-moe-unformatted-data | all-data/15000-15999/15063-22.html | HTML | mit | 1,336 |
package controllers
/**
* Created by Stanislaw Robak on 2014-12-31.
*/
class CanvasController {
}
| fib1123/scagraph | src/main/scala/controllers/CanvasController.scala | Scala | mit | 102 |
import Ember from 'ember';
import layout from '../templates/container';
import UnlessDestroyedMixin from '../mixins/unless-destroyed';
const { RSVP, Component, Logger:logger } = Ember;
const AsyncActionContainer = Component.extend(UnlessDestroyedMixin, {
layout,
inFlight: false,
result: null,
actions: {
i... | jasonmit/async-container | addon/components/container.js | JavaScript | mit | 977 |
/*jslint nomen:true*/
/*global define*/
define([
'backgrid',
'orodatagrid/js/datagrid/formatter/cell-formatter'
], function (Backgrid, CellFormatter) {
'use strict';
var StringCell;
/**
* String column cell. Added missing behaviour.
*
* @export oro/datagrid/cell/string-cell
* ... | morontt/platform | src/Oro/Bundle/DataGridBundle/Resources/public/js/datagrid/cell/string-cell.js | JavaScript | mit | 880 |
require "socket"
gs = TCPServer.open(0, 20000)
socks = [gs]
addr = gs.addr
addr.shift
printf("server is on %s\n", addr.join(":"))
while true
Thread.start(gs.accept) do |s|
print(s, " is accepted\n")
while s.gets
%w[1 5 15 20 30 40 50 60].each do |ss|
ii = Time.now.to_i
sleep ss.to_i * 60... | higanworks/ruby-tcptest | rt.rb | Ruby | mit | 454 |
class Admin::RoundsController < ApplicationController
before_action :authenticate_user!
before_action :authenticate_admin!
def index
@rounds = Round.order(from_date: :desc).page(params[:page])
end
def mark_as_close
@round = Round.find(params[:round_id])
@round.round_close
redirect_to admin_r... | prasadsurase/code-curiosity | app/controllers/admin/rounds_controller.rb | Ruby | mit | 341 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/tr/html4/loose.dtd">
<html>
<head>
<!-- Generated by chxdoc (build 606) on 2013-03-01 -->
<title>Overlay (awe6)</title>
<meta name="date" content="2013-03-01"/>
<meta name="keywords" content="awe6.core.Overlay alias"/>
<link href="..... | hypersurge/awe6 | docs/api/types/awe6/core/Overlay.html | HTML | mit | 1,359 |
# -*- coding: utf-8 -*-
import sys
def diff(a,b):
return compareTree(a, b)
def getType(a):
if isinstance(a, dict):
return 'object'
elif isinstance(a, list):
return 'array'
elif isinstance(a, str):
return 'string'
elif isinstance(a, int):
return 'number'
elif isi... | syuhei176/json-mergepy | jsonutil.py | Python | mit | 3,813 |
<?php
namespace Cheetahmail\Data\Subscribers;
class ArrayOfString implements \ArrayAccess, \Iterator, \Countable
{
/**
* @var string[] $string
*/
protected $string = null;
public function __construct()
{
}
/**
* @return string[]
*/
public function getString()
... | pgrimaud/cheetahmail-sdk | src/Data/Subscribers/ArrayOfString.php | PHP | mit | 2,818 |
---
title: "Release notes 1.2.0"
date: 2017-04-07
draft: false
weight: 270
---
Avola 1.2-20170406.4 was released on April 7th, 2017.
##### Features
* You can now manage your domain's knowledge sources. Navigate to "Domains" and find the new tab. You can attach your source documents, limited to 50MB per document. Con... | Avola/docs | content/releases/release-notes-1.2.0.md | Markdown | mit | 3,310 |
#!/usr/bin/env python3
# Copyright (c) 2016 The PlanBcoin developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Test segwit transactions and blocks on P2P network."""
from test_framework.mininode import *
from test_framewo... | planbcoin/planbcoin | test/functional/p2p-segwit.py | Python | mit | 90,174 |
"Levantando su mano gritó herejes" | deltaworld/create-your-own-adventure | espanol/templo/manos/manoArriba.md | Markdown | mit | 35 |
---
layout: post
date: 2017-01-06
title: "Antonio Riva CS_158"
category: Antonio Riva
tags: [Antonio Riva]
---
### Antonio Riva CS_158
Just **$329.99**
###
<a href="https://www.readybrides.com/en/antonio-riva/6059-antonio-riva-cs158.html"><img src="//img.readybrides.com/13116/antonio-riva-cs158.jpg" alt="Antonio Riva... | HOLEIN/HOLEIN.github.io | _posts/2017-01-06-Antonio-Riva-CS158.md | Markdown | mit | 529 |
'
' News Articles for DotNetNuke - http://www.dotnetnuke.com
' Copyright (c) 2002-2007
' by Ventrian ( sales@ventrian.com ) ( http://www.ventrian.com )
'
Imports System
Imports System.Configuration
Imports System.Data
Imports DotNetNuke.Common.Utilities
Namespace Ventrian.NewsArticles.Components.Types
... | ventrian/News-Articles | Components/Types/TextEditorModeType.vb | Visual Basic | mit | 422 |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not... | rafaeljuzo/makeuptown | site/controllers/front/OrderFollowController.php | PHP | mit | 4,661 |
Rails.application.routes.draw do
post '/sign-up' => 'users#signup'
post '/sign-in' => 'users#signin'
delete '/sign-out/:id' => 'users#signout'
patch '/change-password/:id' => 'users#changepw'
resources :users, only: [:index, :show]
end
| ga-wdi-boston/rails-validations-constraints | config/routes.rb | Ruby | mit | 246 |
import { PipeTransform, Pipe } from '@angular/core';
import { IProduct } from './product'
@Pipe({
name: 'productFilter'
})
export class ProductFilterPipe implements PipeTransform {
transform(value: IProduct[], filterBy: string): IProduct[] {
filterBy = filterBy ? filterBy.toLocaleLowerCase() : null;
... | sebastienmuller/Angular2-GettingStarted | APM - Start/app/products/product-filter.pipe.ts | TypeScript | mit | 476 |
#!/usr/bin/perl
use strict;
use warnings;
use diagnostics;
# This works for IMGUI 1.50 WIP and does not get all functions
#
# to use ./generate_imgui_bindings.pl <imgui.h >imgui_iterator.cpp
# and define macros properly as in example imgui_lua_bindings.cpp
#
# check imgui_iterator for explanations of why some functions... | slages/love-imgui | generate_imgui_bindings.pl | Perl | mit | 14,170 |
<!DOCTYPE html>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (... | AppGyver/supersonic | docs/en/3.5.3/steroids_Steroids Views_Steroids.layers_index.md.html | HTML | mit | 7,608 |
---
title: COPPER
is_name: true
---
COPPER (name)
| stokeclimsland/stokeclimsland | _cards/Copper.md | Markdown | mit | 55 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Система управления презентациями</title>
<link rel="stylesheet" href="style/main.css"/>
<!-- <script type="text/javascript" src="js/lib/jquery.js"></script>
<script type="text/javascript" src="js/lib/jquery.mousewheel.min.js"></script>
<... | BelirafoN/slideSystem | example/index.html | HTML | mit | 7,289 |
java ^
-Djava.library.path=../.. ^
-classpath ../../aparapi.jar;info.jar ^
com.amd.aparapi.sample.info.Main
| sadikovi/spark-gpu | aparapi/samples/info/info.bat | Batchfile | mit | 112 |
#ifndef ___INANITY_OIL_VIEW_SCRIPT_OBJECT_HPP___
#define ___INANITY_OIL_VIEW_SCRIPT_OBJECT_HPP___
#include "oil.hpp"
#include <map>
BEGIN_INANITY_OIL
class ViewPluginInstance;
class ViewRenderer;
/// Script object for 'view' plugin instance.
class ViewScriptObject : public Object
{
private:
ViewPluginInstance* plu... | quyse/oil | ViewScriptObject.hpp | C++ | mit | 1,071 |
require 'spec_helper'
require 'shared_examples_for_randomizers'
require 'tabletop/randomizers/fudge_die'
module Tabletop
RSpec.describe FudgeDie do
it_behaves_like 'a randomizer', :roll, [-1,0,1]
describe "#sides" do
it "is always 3" do
expect(subject.sides).to eq 3
end
end
descr... | nicknovitski/tabletop | spec/tabletop/randomizers/fudge_die_spec.rb | Ruby | mit | 588 |
require 'sequel'
require 'configatron/plus'
require_relative "db_connection/version"
module Nmo
module DbConnection
# Your code goes here...
end
end
require 'sequel'
require 'configatron/plus'
require_relative 'db_connection/version'
### CONFIGURATION
conf.load_files! '.nmorc'
DB = Sequel.mysql2(conf.db_nam... | NeuroMorpho/nmo-db_connection | lib/nmo/db_connection.rb | Ruby | mit | 403 |
#!/bin/bash
set -euo pipefail
printf 'Building swap from commit %s\n' "$TRAVIS_COMMIT"
if [[ "$TRAVIS_BRANCH" == "develop" ]]; then
echo "Start running build_auto_dev"
npm run build_auto_dev
echo "Finished running build_auto_dev"
echo "Start running build_auto_ropsten"
npm run build_auto_ropsten &> /dev/nu... | KyberNetwork/KyberWallet | .travis/build_swap.sh | Shell | mit | 1,162 |
<table cellspacing="0" cellpadding="0" style="width: 100%" class="data">
<tbody>
<tr class="firstr">
<th class="width100perc nopad">torrent name</th>
<th class="center"><a rel="nofollow" href="/usearch/elementary%20os/?field=size&sorder=desc">size</a></th>
<th class="center"><span cl... | ncpierson/KickassScala | src/test/resources/search.html | HTML | mit | 7,963 |
form.login {
width: 23%;
border-radius: 10px;
margin: 5em auto;
box-shadow: 4px 4px 14px #000000;
}
form.login p {
margin: 0;
}
form.login .row {
position: relative;
}
form.login .username input,
form.login .password input {
width: 68%;
}
form.login .username {
border-top-left-radius... | shamess/PR-me-bro | css/login.css | CSS | mit | 944 |
# 前六天课程大复习
> 爬楼密码:六六大顺
小伙伴们,咱们的基金专列已经过去6站啦,勤奋努力并坚持到现在的你,真的非常棒!允许让你小骄傲一下,就一下哦!
本来计划大周末给大家来点浓浓的鸡汤,想了想还是算了吧,大家可能也是周末有加班有不休息的,有宝妈都特别辛苦,班班相信大家不是不想听课,只是时间上有些忙不开,班班也很理解,但是!我们也不能一直松懈,今天听课率直线下降,班班真是有些着急了,我们要对自己负责,同时班班也会一直督促大家,所以我的小皮鞭可能要出现了。大家没听得课程要追赶上来,班班还是那句话要对得起自己的钱!
直接进入今天的主题哈,希望咱们沉迷学习无法自拔,内心里除了学习还是学习!
6天的时间我们学习了哪些知识,大家... | R-ambler/R-ambler.github.io | money/jijin/lesson/0901wanfenxiang.md | Markdown | mit | 3,869 |
# flotilla
flotilla
| simulatedsimian/flotilla | README.md | Markdown | mit | 20 |
<?php
namespace Ray\Di\Demo;
use Ray\Di\Injector;
use Ray\Di\AbstractModule;
require __DIR__ . '/bootstrap.php';
class ProviderBindingModule extends AbstractModule
{
protected function configure()
{
$this->bind(LangInterface::class)->toProvider(PhpProvider::class);
$this->bind()->annotatedWi... | deizel/Ray.Di | docs/demo/03-provider-binding.php | PHP | mit | 646 |
# -*- coding: utf-8 -*-
"""
Decorators module
"""
import logging
from docktors.core import decorated
from docktors.wdocker import DockerContainer
logger = logging.getLogger(__name__)
def docker(func=None, **kwargs):
"""
Decorator to startup and shutdown a docker container.
:param image: The name of the ... | Patouche/pydocktors | docktors/decorators.py | Python | mit | 1,226 |
package com.mbh.mbutils.db.sharedprefs;
/**
* Created By MBH on 2016-06-21.
*/
public interface IPreferences {
boolean contains(String key);
int getInt(String key, int defValue);
String getString(String key, String defValue);
boolean getBoolean(String key, boolean defValue);
void putInt(String ... | iballan/MBUtils | MBUtils/src/main/java/com/mbh/mbutils/db/sharedprefs/IPreferences.java | Java | mit | 575 |
<?php
// Create connection
include "ConnectDB.php";
$request = json_decode(file_get_contents('php://input'));
$id = $conn->real_escape_string($request->id);
$table = $conn->real_escape_string($request->table);
$delete_row = $conn->query("DELETE FROM $table WHERE id=$id");
$conn->close();
?> | aekfin/Movies-Store-SE | php/RemoveDataByID.php | PHP | mit | 294 |
<!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.dev/contrib:karatsuba/dev/2014-11-29_17-44-14.html | HTML | mit | 6,937 |
require 'active_support/core_ext/string/output_safety'
require 'gmaps/js'
require 'gmaps/rails/core_ext'
class GMaps
class << self
def [](*args)
GMaps.new(*args)
end
end
attr_accessor :map, :directives
def initialize(options={})
@map = options
@directives = []
end
def method_missin... | kentaroi/gmaps-rails | lib/gmaps.rb | Ruby | mit | 827 |
/* The MIT License (MIT)
*
* Copyright (c) 2015 Marc Clifton
*
* 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,... | cliftonm/clifton | Clifton.Core/Clifton.Core.Utils/ConcurrentList.cs | C# | mit | 5,364 |
using System;
using System.Collections.Generic;
using System.Linq;
using SJP.Schematic.Core;
using SJP.Schematic.Core.Extensions;
namespace SJP.Schematic.Dot
{
/// <summary>
/// A formatter for constructing a DOT graph for tables in a relational database.
/// </summary>
/// <seealso cref="IDotFormatte... | sjp/SJP.Schema | src/SJP.Schematic.Dot/DotFormatter.cs | C# | mit | 12,160 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WMAP.Common.Consts;
namespace WMAP.Common.Security
{
public static class RandomCode
{
#region Random Setting
private const int RandomDefaultLength = 16;
#endregio... | wang-xinhong/wechat-mvc-webapp | src/wechat-mvc-webapp/WMAP.Common/Security/RandomCode.cs | C# | mit | 1,230 |
var conectaN_8cpp =
[
[ "main", "conectaN_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4", null ]
]; | antcc/practicas-mp | final_conecta_N/v1.0/doc/html/conectaN_8cpp.js | JavaScript | mit | 101 |
# frozen_string_literal: true
module HTMLProofer
module Configuration
require_relative 'version'
PROOFER_DEFAULTS = {
allow_missing_href: false,
allow_hash_href: false,
alt_ignore: [],
assume_extension: false,
check_external_hash: false,
check_favicon: false,
check_... | georgeluong/georgeluong.github.io | vendor/bundle/ruby/2.6.0/gems/html-proofer-3.15.2/lib/html-proofer/configuration.rb | Ruby | mit | 2,390 |
<!--
Unsafe sample
input : get the field userData from the variable $_GET via an object, which store it in a array
SANITIZE : use of rawurlencode
File : unsafe, use of untrusted data in a quoted property value (CSS)
-->
<!--Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or ... | stivalet/PHP-Vulnerability-test-suite | XSS/CWE_79/unsafe/CWE_79__object-Array__func_rawurlencode__Use_untrusted_data_propertyValue_CSS-quoted_Property_Value.php | PHP | mit | 1,648 |
-- fts3b.test
--
-- execsql {
-- SELECT snippet(t3) FROM t3 WHERE t3 MATCH 'test';
-- }
SELECT snippet(t3) FROM t3 WHERE t3 MATCH 'test'; | bkiers/sqlite-parser | src/test/resources/fts3b.test_14.sql | SQL | mit | 142 |
/*
* Copyright (c) 2006-2007 Christopher J. W. Lloyd
*
* 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, mo... | DmitrySkiba/itoa-foundation | src/todo/Foundation/characterset/NSMutableCharacterSet_bitmap.h | C | mit | 1,505 |
module Cifrado
class Progressbar
include Cifrado::Utils
def initialize(segments, current_segment, options = {})
@style = (options[:style] || :fancy).to_sym
@segments = segments
@current_segment = current_segment
end
def block
if @style == :fancy
fancy
elsif @st... | rubiojr/cifrado | lib/cifrado/cli/progressbar.rb | Ruby | mit | 2,455 |
console.log("Hello space !"); | seraum/nectarjs | example/with space.js | JavaScript | mit | 29 |
require 'bio-ucsc'
describe "Bio::Ucsc::Hg18::EncodeNhgriDnaseHsChipRawHepG2" do
describe "#find_by_interval" do
context "given range chr1:1-150,000,000" do
it 'returns a record (r.chrom == "chr1")' do
Bio::Ucsc::Hg18::DBConnection.default
Bio::Ucsc::Hg18::DBConnection.connect
i = ... | misshie/bioruby-ucsc-api | spec/hg18/encodenhgridnasehschiprawhepg2_spec.rb | Ruby | mit | 510 |
<?php
/*
V4.990 11 July 2008 (c) 2000-2008 John Lim (jlim#natsoft.com). All rights reserved.
Released under both BSD license and Lesser GPL library license.
Whenever there is any discrepancy between the two licenses,
the BSD license will take precedence.
Set tabs to 4 for best viewing.
Latest version is... | N3X15/ATBBS-Plus | includes/3rdParty/adodb/drivers/adodb-borland_ibase.inc.php | PHP | mit | 2,248 |
'use strict';
const
Input = require('./input'),
Level = require('./level'),
StartScreen = require('./start-screen'),
LevelEnding = require('./level-ending'),
GameEnding = require('./game-ending'),
Sound = require('./sound'),
FpsCounter = require('./fps-counter');
const
... | hiddenwaffle/mazing | src/js/game.js | JavaScript | mit | 5,667 |
extern zend_class_entry *zendframework_view_exception_invalidhelperexception_ce;
ZEPHIR_INIT_CLASS(ZendFramework_View_Exception_InvalidHelperException);
| golovanov/php-ext-zendframework | php-ext-zendframework/ext/zendframework/view/exception/invalidhelperexception.zep.h | C | mit | 156 |
<?php
class Passport extends CI_Controller
{
public function __construct(){
parent::__construct();
$this->load->model('user_model');
$this->load->helper('url_helper');
$this->app_id = $this->config->item('app_id');
$this->app_secret = $this->config->item('app_secret');
$this->template_id = $this->c... | szuswzx/sdbk | application/controllers/Passport.php | PHP | mit | 9,558 |
export { default } from 'ember-fhir/models/encounter-class-history'; | davekago/ember-fhir | app/models/encounter-class-history.js | JavaScript | mit | 68 |
/*
Generates a deck of cards. You can swap cards between the "main" deck and other decks (which can represent players, dealers etc)
Sebastian Lenton 2013
*/
"use strict";
//globals
var cardValues = [ 'ace', 2, 3, 4, 5, 6, 7, 8, 9, 10, 'jack', 'queen', 'king' ];
var suits = [ 'hearts', 'diamonds', 'spades', 'clubs' ];... | sebastianlenton/Sebs-Cards | js/main.js | JavaScript | mit | 2,765 |
<?php
namespace AppBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use AppBundle\Entity\Ordenantzaparrafoa;
use AppBundle\... | PasaiakoUdala/ZergaOrdenantzak | src/AppBundle/Controller/OrdenantzaparrafoaController.php | PHP | mit | 4,235 |
# Makefile for Hagstrom time-interpolation fortran drivers & MEX. Unix/MAC only.
# Alex Barnett 12/16/16
#
# Note the MEX interface is to Alex's f77 versions, eg interpmatnoalloc which
# uses already-allocated and fixed size incoming umat, upmat arrays
FC=gfortran
FLIBS= -llapack -lblas # for driver linking (... | ahbarnett/BIE3D | timedomainwaveeqn/timeinterp/Makefile | Makefile | mit | 2,442 |
package de.rub.lafaag.binaryclock;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public v... | DarthPanda69/BinaryClock | app/src/test/java/de/rub/lafaag/binaryclock/ExampleUnitTest.java | Java | mit | 403 |
require 'oj'
require 'active_support/core_ext/module/delegation'
require 'active_support/core_ext/array/wrap'
require 'active_support/core_ext/hash'
require 'active_support/core_ext/array/conversions'
require 'active_support/core_ext/hash/keys'
require 'enumerable_observer'
require 'concurrent'
module JSONAPIonify::St... | brandfolder/jsonapionify | lib/jsonapionify/structure/objects/base.rb | Ruby | mit | 4,581 |
<?php
namespace Couture\TailleurBundle\Entity;
//use FOS\UserBundle\Model\User as BaseUser;
use Sonata\UserBundle\Entity\BaseUser as BaseUser;
use Doctrine\ORM\Mapping as ORM;
use Couture\CoutureBundle\Entity\Couture as Couture ;
/**
* Tailleur
*
* @ORM\Table(name="tailleur")
* @ORM\Entity
*/
class Tailleur ext... | teleinformatique/spiderman | src/Couture/TailleurBundle/Entity/Tailleur.php | PHP | mit | 7,342 |
using System;
static class LogLine
{
public static string Message(string logLine)
{
throw new NotImplementedException("Please implement the (static) LogLine.Message() method");
}
public static string LogLevel(string logLine)
{
throw new NotImplementedException("Please implement the... | exercism/xcsharp | exercises/concept/log-levels/LogLevels.cs | C# | mit | 532 |
## Web_Study
This is a repo hosted for my practice of learning web development
| medifle/Web_Study | README.md | Markdown | mit | 80 |
/* -----------------------------------------------------------------------------------------------
* BuddyTok Application
* ----------------------------------------------------------------------------------------------*/
/* global jQuery, _, OT, Backbone, log, alert */
/* global LocalUser, BuddyList, InvitationList, ... | aoberoi/buddytok-php | web/js/app.js | JavaScript | mit | 3,372 |
/**
* AssMinus.hpp -
* @author: Jonathan Beard
* @version: Mon Feb 10 08:27:56 2014
*/
#ifndef _ASSMINUS_HPP_
#define _ASSMINUS_HPP_ 1
#include "Assignment.hpp"
namespace Node {
class AssMinus : public Assignment {
public:
AssMinus();
virtual ~AssMinus() = default;
};
}
#endif /* END _ASSMINUS_HPP_ */
| jonathan-beard/Raft | ASTNodes/AssMinus.hpp | C++ | mit | 315 |
.win-pivot .win-pivot-surface {
height: 75vh;
}
.win-pivot .win-pivot-viewport {
padding-top: 0px;
margin-top: 98px;
}
.win-pivot-item .win-pivot-item-content {
padding: 0px;
}
.hubpage header[role=banner] {
position: relative;
z-index: 2;
}
.hubpage section[role=main] {
-ms-grid-row: 1;
-ms-gr... | ThorgalAegirsson/Reason-for-Windows-Phone-8.1 | ProjectFreedomWP81/pages/hub/hubPhone - Copy.css | CSS | mit | 4,743 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta content="Craig McClellan" name="author">
<title>Craig McClellan - T250336585801940992 </title>
<lin... | craigwmcclellan/craigwmcclellan.github.io | _site/2012/09/24/t250336585801940992.html | HTML | mit | 4,889 |
//-----------------------------------------------------------------------------
// <copyright file="Extensions.cs" company="WheelMUD Development Team">
// Copyright (c) WheelMUD Development Team. See LICENSE.txt. This file is
// subject to the Microsoft Public License. All other rights reserved.
// </copyright... | ArcherSys/ArcherSys | Mud/WheelMUD-master/src/Utilities/Extensions.cs | C# | mit | 2,522 |
---
layout: post
title: 147
date: 2010-03-09 06:10
comments: false
categories: [aphorisms]
---
A lot of what you say sounds like something you would say.
| thisduck/nothing | _posts/aphorisms/2010-03-09-147.markdown | Markdown | mit | 155 |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
using KUtils;
namespace KFrameWork
{
public enum HttpConnectionType
{
Post,
Get,
}
public class HttpMessage : PoolCls<HttpMessage>, NetMessage,IPool
{
public string url;
p... | cjsjy123/KFrameWork | Assets/KFrameWork/FrameWork/Modules/Net/Http/HttpMessage.cs | C# | mit | 2,420 |
# Plugins
## LowG33kDev/cakephp-gravatar-plugin
```
https://github.com/LowG33kDev/cakephp-gravatar-plugin/archive/Cake-3.X.zip
``` | el-cms/elabs | plugins/README.md | Markdown | mit | 132 |
#ifndef CARD_H
#define CARD_H
#include <string>
#include <vector>
using namespace std;
/* Represents a single chance or community chest card */
class Card {
public:
// Basic card, no actions
Card(const string& name, const string& type);
// Card that can advance to a specific space (or negative if relative)
Ca... | mikehelmick/teaching | uc/computerScience2/fall2013/liveDemos/solutions/monopoly-helmick/Card.h | C | mit | 1,131 |
!-------------------------------------------------------------------------------
! Copyright (c) 2019 FrontISTR Commons
! This software is released under the MIT License, see LICENSE.txt
!-------------------------------------------------------------------------------
module hecmw_local_matrix
use hecmw_util
use he... | FrontISTR/FrontISTR | hecmw1/src/solver/matrix/hecmw_local_matrix.f90 | FORTRAN | mit | 120,168 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_22) on Sun Aug 26 15:13:09 EDT 2012 -->
<TITLE>
org.newdawn.slick.tests.shader Class Hierarchy (Slick - The 2D Library)
</TITLE>
<META NAME... | dxiao/PPBunnies | slick/trunk/Slick/javadoc/org/newdawn/slick/tests/shader/package-tree.html | HTML | mit | 8,133 |
---
layout: post
title: You're up and running!
---
Hello Internet! This blog is up, running, and ready to cover development topics, testing, and my personal favorite - soft skills improvement.
I have to say that I love forking a repo, editing some files, and having a blog up and running quickly without needing a l... | AnnAddicks/AnnAddicks.github.io | _posts/2015-4-2-Hello-World.md | Markdown | mit | 411 |
'use strict';
/* global angular */
(function() {
var register = angular.module('register');
register.controller('RegisterController', function($rootScope, $scope, $state, sessionFactory) {
$scope.stateName = 'register';
$scope.name = '';
$scope.email = '';
$scope.password = '';
$scope.loading = false;
... | RyanWarner/app-sprout-client | app/states/register/register_controller.js | JavaScript | mit | 698 |
module Gitlab
module PathRegex
extend self
# All routes that appear on the top level must be listed here.
# This will make sure that groups cannot be created with these names
# as these routes would be masked by the paths already in place.
#
# Example:
# /api/api-project
#
# th... | dplarson/gitlabhq | lib/gitlab/path_regex.rb | Ruby | mit | 7,915 |
import json
class JSONRenderer(object):
def render(self, data):
return json.dumps(data)
| Quantify-world/apification | src/apification/renderers.py | Python | mit | 101 |
---
layout: post
title: Trois jours et c'est le week-end
categories:
- Musique
tags: []
status: publish
type: post
published: true
meta:
_utw_tags_0: a:2:{i:0;O:8:"stdClass":1:{s:3:"tag";s:7:"Bootleg";}i:1;O:8:"stdClass":1:{s:3:"tag";s:7:"Musique";}}
enclosure: "http://www.musicremixed.org/dunproofin/Dunproofin-Fid... | alienlebarge/alienlebarge.github.com | _posts/2007-05-14-trois-jours-et-cest-le-week-end.html | HTML | mit | 534 |
require 'pathname'
require 'time'
require_relative './file_utils/idempotent'
require_relative './setup/collector_id_generator'
require_relative './setup/structure'
require_relative './setup/creator'
require_relative './gathering/rspec/listener'
require_relative './file_tree/git/snapshot'
require_relative './storage/ap... | MitinPavel/suspect | lib/suspect/rspec_listener.rb | Ruby | mit | 1,955 |
using SumIntList;
using System;
using Xunit;
namespace SumIntListTest
{
public class SumIntListTest
{
Random _generator = new Random();
[Fact]
public void ShouldReturnNoElementsWhenNoInput()
{
// Arrange
int[] elements = new int[] { };
... | slimktari/tdd_code_katas | src/SumIntList/SumIntListTest/SumIntListTest.cs | C# | mit | 3,251 |
INSERT INTO ORDER_DETAIL VALUES
(10100, 'S18_1749', 30, 171.70, 3),
(10100, 'S18_2248', 50, 67.80, 2),
(10100, 'S18_4409', 22, 86.51, 4),
(10100, 'S24_3969', 49, 34.47, 1),
(10101, 'S18_2325', 25, 151.28, 4),
(10101, 'S18_2795', 26, 145.13, 1),
(10101, 'S24_1937', 45, 31.20, 3),
(10101, 'S24_202... | zvorygin/graphql-over-sql | graphql-it/src/main/resources/data/07_order_detail.sql | SQL | mit | 116,307 |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*
*/
/*
* THIS FILE IS AUTOGENERATED. DO NOT MODIFY IT; ALL CHANGES WILL BE LOST IN
* VAIN.
*
* @generated
*/
#pragma on... | facebook/mcrouter | mcrouter/lib/network/gen/MemcacheRouterStats.h | C | mit | 7,797 |
from django.apps import AppConfig
class MemosConfig(AppConfig):
name = 'memos'
| a-kirin/Dockerfiles | sample01/web/sample01/memos/apps.py | Python | mit | 85 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.