repo_name stringlengths 8 58 | path stringlengths 4 186 | size stringlengths 2 6 | content stringlengths 12 215k | license stringclasses 3
values |
|---|---|---|---|---|
danielbierwirth/DropboxBrowser | sql/pgq/structure/func_internal.sql | 12153 | body {
font-family: helvetica, arial, sans-serif;
font-size: 24px;
line-height: 36px;
background: url("3264857348_0cfd8d7e4f_b-lowquality.jpg");
background-position: top center;
background-size: cover;
background-repeat: none;
overflow: hidden;
}
* {
box-sizing: border-box;
-moz-... | isc |
sec51/clamav-yara | experiments.html | 171 | # mpps
web repository
| mit |
steven-borthwick/check-support | unicorn/format.cpp | 557 | /*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | mit |
BuzzAcademy/idioms-moe-unformatted-data | clean/Linux-x86_64-4.06.1-2.0.5/released/8.7.1+1/zchinese/8.9.0.html | 79928 | package main
import (
"testing"
)
func TestParseHdbSignatureRow(t *testing.T) {
signature := new(signature)
sample := "e11c2aff804ca144a3e49c42d6ac5783:1006:Exploit.CVE_2012_0779"
sig := parseHdbSignatureRow(sample, signature)
if sig.Size != 1006 {
t.Fatal("Error parsing HDB or HSB signature length")
}
if ... | mit |
huddlej/safe_projects | lugre/baselib/openal-soft-1.8.466/Alc/alcReverb.c | 1453 | ---
layout: post
title: Mughal Empire
categories:
- Learning
---
[Mughal Empire](http://en.wikipedia.org/wiki/Mughal_Empire) (1526 – 1857) rulers...
- 1526-1530 [Babur ](http://en.wikipedia.org/wiki/Babur)
- 1530–1539 and after restoration 1555–1556 [Humayun ](http://en.wikipedia.org/wiki/Humayun)
- 1556–1605 [Akbar... | mit |
BuzzAcademy/idioms-moe-unformatted-data | Portal.CMS.Web/Areas/PageBuilder/Controllers/ComponentController.cs | 1375 | import React from 'react';
import { TypeChooser } from 'react-stockcharts/lib/helper'
import Chart from './Chart'
import { getData } from './util';
class ChartComponent extends React.Component {
componentDidMount () {
getData().then(data => {
this.setState({ data})
})
}
render () {
if (this.st... | mit |
Spurch/ASP-.NET-WebForms | README.md | 1406 | import React from 'react';
import './skills.scss';
export default () => {
return (
<section className="skills-section">
<svg className="bigTriangleColor separator-skills" width="100%" height="100" viewBox="0 0 100 102" preserveAspectRatio="none">
<path d="M0 0 L0 100 L70 0 L100 100 L100 0 Z" />
... | mit |
elanderson/ASP.NET-Core-Email | README.md | 113 | import { createContext } from 'react';
export const defaultApiStatus = {
offline: false,
apiUnreachable: '',
appVersionBad: false,
};
export default createContext(defaultApiStatus);
| mit |
Dmitry-Me/coreclr | raw_data/arkive-endangered-html/eleutherodactylus-simulans.html | 651 | # Dreedi
To start your this app:
1. Install dependencies with `mix deps.get`
2. Create and migrate your database with `mix ecto.create && mix ecto.migrate`
3. Start Phoenix endpoint with `mix phoenix.server`
Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.
| isc |
mfil/getebook | app/view/users/list-all.tpl.php | 1517 | require 'test_helper'
class VigenereTest < MiniTest::Test
def setup
super
@cipher = Cryptolalia::Cipher::Vigenere.new
end
def test_encodes
@cipher.plaintext = 'This is a super secret message.'
@cipher.keyword = 'qwerty'
@cipher.encode!
assert_equal "jdmj bq q oygxp iagixr cawjteu", @ci... | mit |
bjrmatos/docs | AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyArray/auto_rest_swagger_bat_array_service/models/product.py | 601 | # Minitest::Mock::Easily
use MiniTest::Mock with easier API
## Installation
Add this line to your application's Gemfile:
gem 'minitest-mock-easily'
And then execute:
$ bundle
Or install it yourself as:
$ gem install minitest-mock-easily
## Usage
```
include MockEasily
m = mock do
expect :hello,... | mit |
yuuki2006628/boid | intl/Tool/会声会影安装与激活/会声会影安装与激活.md | 1660 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleCiphers.Models
{
public static class ArrayOperations
{
// Содержится ли text в encAbc. Если да, то возвращаются индексы в encAbc
// a b text = 1
// ... | mit |
ldionne/hana-cppnow-2015 | content/th/admin-processes.md | 552 | <?php
if (empty($content)) {
return;
}
$title = 'Bank Emulator Authorization Center';
?>
<html lang="ru">
<?=
View::make('ff-bank-em::layouts.head', array(
'title' => $title,
)); ?>
<body>
<div class="navbar navbar-default">
<?=
View::make('ff-bank-em::layouts.navbar-header', array(
'title' => $title,
)); ?>... | mit |
daveenguyen/propitious-melting-pot | spec/zk/threadpool_spec.rb | 889 | version https://git-lfs.github.com/spec/v1
oid sha256:f5c198d5eef0ca0f41f87746ef8fefe819a727fcd59a6477c76b94b55d27128d
size 1730
| mit |
monsterhunteronline/monsterhunteronline.github.io | fuel/app/views/admin/order/index.php | 2095 | require 'spec_helper'
describe Webpack::Rails do
it 'has a version number' do
expect(Webpack::Rails::VERSION).not_to be nil
end
end
| mit |
jdavidberger/rikitiki | interface-gen.js | 149 | import hashlib
import json
import logging
import os
import subprocess
import sys
import time
from collections import defaultdict
from shutil import copy
from shutil import copyfile
from shutil import copystat
from shutil import copytree
from tempfile import mkdtemp
import boto3
import botocore
import yaml
import sys
... | isc |
hankaibo/myangular | src/Master/AdvertBundle/Controller/DefaultController.php | 14943 | import * as yargs from "yargs";
import { getEnvironment, getSlimConfig } from "../cli-helpers";
export const devCommand: yargs.CommandModule = {
command: "dev",
describe: "Start a development server.",
builder: {
open: {
alias: "o",
type: "boolean",
description: ... | mit |
eliace/ergojs-site | NLE/NL_ImguiD3D11Renderer.cpp | 1588 | /*
* database.hpp
*
* Created on: Sep 22, 2016
* Author: dan
*/
#ifndef SRC_TURBO_BROCCOLI_DATABASE_HPP_
#define SRC_TURBO_BROCCOLI_DATABASE_HPP_
#include <boost/filesystem.hpp>
#include <turbo_broccoli/type/key.hpp>
#include <turbo_broccoli/type/value.hpp>
#include <turbo_broccoli/type/blob.hpp>
#include... | mit |
alexlarsson/gthree | app/src/main/java/biz/golek/whattodofordinner/business/contract/presenters/EditDinnerPresenter.java | 216 | package billing
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated... | mit |
coq-bench/coq-bench.github.io | ENB-data/enb_pages/enb12523e.html | 4749 | // Template Source: BaseEntityCollectionPage.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -----------------------------... | mit |
RadicalFx/Radical.Windows | KGProceduralSphere/Assets/Demo/Rotate.cs | 4496 | \chapter{Constanten}
\section{Globale Constanten}
Dikwijls gebruik je bepaalde waarden doorheen je hele programma. Zo zou je, in een programma dat veel berekeningen met circels moet doen, vaak het getal pi nodig hebben. Dat getal kan je elke keer opnieuw berekenen, maar dat is niet zo'n goed idee omdat de uitkomst van ... | mit |
cyclosproject/cyclos4-ui | install_gems.sh | 45371 | .root {
display: inline-block;
position: relative;
z-index: 1;
cursor: var(--cursor-pointer);
height: var(--navbar-height);
line-height: var(--navbar-height);
border: none;
padding: var(--navbar-dropdown-padding);
font-size: var(--font-size-large);
}
.root:not(:last-child) {
mar... | mit |
ChinaKim/AdvanceAdapter | node_modules/lottie-web/player/js/utils/text/LetterProps.js | 6563 | function LetterProps(o, sw, sc, fc, m, p) {
this.o = o;
this.sw = sw;
this.sc = sc;
this.fc = fc;
this.m = m;
this.p = p;
this._mdf = {
o: true,
sw: !!sw,
sc: !!sc,
fc: !!fc,
m: true,
p: true,
};
}
LetterProps.prototype.update = function (o, sw, sc, fc, m, p) {
... | mit |
phillydorn/CAProject2 | core/classes/data.js | 2725 | <!DOCTYPE html>
<html>
<head>
<meta charset='UTF-8'>
<script src='matrices.js'></script>
<style>
.indent {
padding-left: 2em;
}
</style>
</head>
<body>
<h3>Color space:</h3>
Spec: <select id='e_color_space'>
<option value='rec601' selected>Rec601</option>
<option value='rec709'>Rec709<... | mit |
arapaka/algorithms-datastructures | javadoc/src-html/com/restfb/types/send/ListViewElement.html | 88399 | ---
title: The Little Eye Blog
# View.
# 1 = List
# 2 = Compact
# 3 = Card
view: 3
aliases: ["/the-little-eye/"]
# Optional header image (relative to `static/img/` folder).
header:
caption: ""
image: ""
---
### A Point of View on Microscopy Research, the History of the Microscope and a hint of Interdiscip... | mit |
a172862967/ProceduralSphere | src/main/java/org/spongepowered/common/mixin/api/mcp/tileentity/TileEntityDropperMixin_API.java | 10136 | /*
* WARNING: do not edit!
* Generated by util/mkbuildinf.pl
*
* Copyright 2014-2017 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the s... | mit |
ihenvyr/react-parse | Packets/Server/LevelFinalize.cs | 1623 | <?php
/**
* File: SimpleImage.php
* Author: Simon Jarvis
* Modified by: Miguel Fermín
* Based in: http://www.white-hat-web-design.co.uk/articles/php-image-resizing.php
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as publish... | mit |
KlishGroup/prose-pogs | main.go | 3340 | from api_request import Api
from util import Util
from twocheckout import Twocheckout
class Sale(Twocheckout):
def __init__(self, dict_):
super(self.__class__, self).__init__(dict_)
@classmethod
def find(cls, params=None):
if params is None:
params = dict()
response = ... | mit |
vusion/proto-ui | example/locales/en.js | 1262 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// ActionOnDispose.cs
//
//
// Implemention of IDisposable that runs a del... | isc |
dkubb/axiom-optimizer | MVCForum.IOC/Bootstrapper.cs | 6302 | using Portal.CMS.Entities.Enumerators;
using Portal.CMS.Services.Generic;
using Portal.CMS.Services.PageBuilder;
using Portal.CMS.Web.Architecture.ActionFilters;
using Portal.CMS.Web.Architecture.Extensions;
using Portal.CMS.Web.Areas.PageBuilder.ViewModels.Component;
using Portal.CMS.Web.ViewModels.Shared;
using Syst... | mit |
patkub/pltw-vex-robotc | URBSegmentedControl.h | 6970 | /*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
Copyright (c) 2001-2011 Hartmut Kaiser
http://spirit.sourceforge.net/
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at h... | mit |
cborrow/MyColors | python3/koans/about_iteration.py | 1391 | exports.login = function* (ctx) {
const result = yield ctx.service.mine.login(ctx.request.body);
if (!result) {
ctx.status = 400;
ctx.body = {
status: 400,
msg: `please check your username and password`,
}
return;
}
ctx.body = {
access_token: result.access_token,
msg: 'login ... | mit |
Kwoin/KGate | src/Cursor.js | 977 | <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>... | mit |
ryno888/thehappydog | ajax/libs/openlayers/2.12/lib/OpenLayers/Format/XLS/v1_1_0.js | 2326 | //-----------------------------------------------------------------------
// <copyright file="IDemPlateFileGenerator.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation 2011. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
name... | mit |
bountysource/core | chunk_test.go | 1200 | YUI.add("inputex-inplaceedit", function(Y){
var lang = Y.Lang;//, Event = YAHOO.util.Event, Dom = YAHOO.util.Dom, CSS_PREFIX = 'inputEx-InPlaceEdit-';
/**
* Meta field providing in place editing (the editor appears when you click on the formatted value).
* @class inputEx.InPlaceEdit
* @extends inputEx.Field
*... | mit |
GlukKazan/GlukKazan.github.io | README.md | 438 | /*-
* builtin.c
* This file is part of libmetha
*
* Copyright (c) 2008, Emil Romanus <emil.romanus@gmail.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear... | mit |
ibara/chargend | src/identification/Identifier.py | 927 | /* Copyright (c) 2019, 2022 Dennis Wölfing
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR D... | gpl-2.0 |
DanielAeolusLaude/DPF-NTK | bundle/Installer/ContentTypeInstaller.php | 8457 | {% extends "layout.html" %}
{% block body %}
<title>All Events - Media Services</title>
<form id="adminForm" action="" method=post>
<div class="container">
<table class="table">
<thead>
<td>
<ul class="nav nav-pills">
<li class="nav-item">
<a class="nav-link active" href="#">Upcoming... | mit |
jonahgroup/SpliceJS.Modules | src/sbearssl/sbearssl_skey_to.c | 1813 | /*
* THIS FILE IS AUTO GENERATED FROM 'lib/lex/lexer.kep'
* DO NOT EDIT
*/
define(["require", "exports", "bennu/parse", "bennu/lang", "nu-stream/stream", "ecma-ast/token", "ecma-ast/position",
"./boolean_lexer", "./comment_lexer", "./identifier_lexer", "./line_terminator_lexer", "./null_lexer",
"./number_lexe... | mit |
tcdowney/cred_hubble | Code/CultureInfoEditor/Properties/Resources.Designer.cs | 260 | <?php
/* SRVDVServerBundle:Registration:email.txt.twig */
class __TwigTemplate_d9fb642ef38579dd6542f4eacc9668ce91ac497e0fd5b3f1b1ca25429847bdfe extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks ... | mit |
k0gaMSX/scc | week-9/review.js | 649 | package se.dsv.waora.deviceinternetinformation;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.widget.TextView;
/**
* <code>ConnectionActivity</code> presents... | mit |
andream91/fusion-form | XVim2/Helper/rd_route.c | 591 | RSpec.describe AuthorizeIf do
let(:controller) {
double(:dummy_controller, controller_name: "dummy", action_name: "index").
extend(AuthorizeIf)
}
describe "#authorize_if" do
context "when object is given" do
it "returns true if truthy object is given" do
expect(controller.authorize_if(t... | mit |
rockettpw/jumplinks | test/unit/resource/accounts.js | 4325 | #include <stdio.h>
#include "list.h"
#define N 10
link reverse(link);
int main(void) {
int i;
link head, x;
// Population
head = new_link(0);
x = head;
for (i = 1; i < N; ++i) {
x = insert_after(x, new_link(i));
}
// Reversal
head = reverse(head);
// Traversal
x = head;
do {
printf("%i\n", x->i... | mit |
pegurnee/2013-03-211 | monsters/basarios/data.js | 129 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>paramcoq: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | mit |
kdhp/play | doc/api/files/usr/lib/ruby/gems/1_8/gems/activesupport-3_0_0_beta4/lib/active_support/core_ext/time/calculations_rb.html | 10909 | 'use strict';
angular.module('mean.system').directive('googleMaps', ['GoogleMaps', 'Global',
function(GoogleMaps, Global) {
return {
restrict: 'E',
template: '<div id="map" style="height: 600px; width: 100%;"></div>',
controller: function() {
var mapOptions;
if ( GoogleMaps ) {
... | mit |
hmeinertrita/MyPlanetGirlGuides | public/pages/cloudappBlocker.html | 3568 | <?php
namespace PxS\PeerReviewingBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class DefaultControllerTest extends WebTestCase
{
public function testIndex()
{
$client = static::createClient();
$crawler = $client->request('GET', '/hello/Fabien');
$this... | mit |
scarlethammergames/scarlethammergames.github.io | test/integration/configuration.test.js | 5145 | export default {
hello : "hello"
};
| mit |
ginolhac/ginolhac.github.com | src/addrman.cpp | 133225 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Phenotype Demo</title>
<meta name="description" content="Phenotype Demo">
<link rel="stylesheet" href="style.css">
<script src="phenotype.js" type="application/javascript"></script>
</head>
<body>
<a ... | mit |
SummerBuger/summerbuger.github.io | SharedWeekends.MVC/Areas/Administration/Controllers/AdminController.cs | 2098 | /*
* Read and write JSON.
*
* Copyright (c) 2014 Marko Kreen
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "A... | mit |
XVimProject/XVim2 | lib/util/handshake.js | 1505 | <?php
/**
* Time Controller
*
* @package Argentum
* @author Argentum Team
* @copyright (c) 2008 Argentum Team
* @license http://www.argentuminvoice.com/license.txt
*/
class Time_Controller extends Website_Controller {
/**
* Creates a new time block on a ticket
*/
public function add($ticket_id)
{
... | mit |
JulesMarcil/colocall | db/migrate/20170506210330_create_lists.rb | 15655 | #!/bin/sh
set -e
NEEDS_CONFIG=0
if [ "$#" -lt "1" ]; then
echo "Bad usage: check_reconf.sh [target_package] (optional configure arguments)"
exit 1
fi
if [ "$ONYX_ARCH" = "" ]; then
echo "ONYX_ARCH needs to be set!"
exit 1
fi
if [ "$HOST" = "" ]; then
echo "HOST needs to be set!"
exit 1
fi
if [ "$SYSROOT" = "... | mit |
wangyu892449346/wangyu892449346.github.io | Infrastructure/CSharpGL.Models/FormPropertyGrid.Designer.cs | 296 | require 'cred_hubble/resources/credential'
module CredHubble
module Resources
class UserValue
include Virtus.model
attribute :username, String
attribute :password, String
attribute :password_hash, String
def to_json(options = {})
attributes.to_json(options)
end
... | mit |
DanceCats/CoreCat | Client/src/app/layouts/user/user.component.ts | 18003 | import { createSelector } from 'reselect';
import * as movie from './../actions/movie';
import { Movie } from './../models';
import * as _ from 'lodash';
import { AsyncOperation, AsyncStatus, makeAsyncOp } from "./../utils";
export interface State {
entities: { [movieId: string]: Movie };
mapMovieToCinema:... | mit |
coinkeeper/2015-06-22_19-00_ziftrcoin | test/misc/binary_search_test.cpp | 366 | import json
import os
from flask import request, g, render_template, make_response, jsonify, Response
from helpers.raw_endpoint import get_id, store_json_to_file
from helpers.groups import get_groups
from json_controller import JSONController
from main import app
from pymongo import MongoClient, errors
HERE = os.pat... | mit |
boomcms/boom-core | src/config/api.js | 4775 | <!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">
<link rel="shortcut icon" href="https://newsblur.com/media/img/favicon.ico" type="image/png" />
<link rel="icon" href="https:... | mit |
yogeshsaroya/new-cdnjs | javascripts/dbm/classes/dbm/thirdparty/facebook/constants/EventTypes.js | 12108 | // # Ghost Configuration
// Setup your Ghost install for various environments
// Documentation can be found at http://support.ghost.org/config/
var path = require('path'),
config;
config = {
// ### Production
// When running Ghost in the wild, use the production environment
// Configure your URL and m... | mit |
Arrekusu/datamover | source/rc2/model/RCWorkspaceCache.h | 200 | <?php
class Neostrada
{
const API_HOST = 'https://api.neostrada.nl/';
private $_key;
private $_secret;
public function __construct($key, $secret)
{
$this->_key = $key;
$this->_secret = $secret;
}
public function domain($domain)
{
return new Neostrada_Domain($this, $domain);
}
public function save(N... | mit |
bsmr-x-script/vscode | src/UserInterface/Animation/SizeAnimation.java | 1753 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using InTheHand.Net;
using InTheHand.Net.Sockets;
using InTheHand.Net.Bluetooth;
namespace NXTLib
{
public static class Utils
{
public static string AddressByte2String(byte[] address, bool withcolons)
{
... | mit |
adamjking3/react-typing-animation | app/components/Chart/index.js | 8589 | # gitflow-publisher-bower
> a bower publish processor for gitflow-publisher


[](https://... | mit |
rayjun/awesome-algorithm | app/controllers/user.rb | 3342 | package logbook.data;
import java.io.BufferedReader;
import java.io.Closeable;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.... | mit |
stephenbunch/type | lib/Zycon42/Security/Application/PresenterRequirementsChecker.php | 1014 | {% extends "content_template.html" %}
{% from "components/page-header.html" import page_header %}
{% from "components/copy-to-clipboard.html" import copy_to_clipboard %}
{% block per_page_title %}
Billing details
{% endblock %}
{% block content_column_content %}
{{ page_header('Billing details') }}
<p cl... | mit |
vlyahovich/Task-Manager | plugin/src/com/microsoft/alm/plugin/idea/tfvc/ui/ServerPathCellEditor.java | 1524 | #!/bin/bash
DATESTR=$(date +"%Y%m%d%H%M%S")
LOCAL_BACKUP_DIR=/home/rails/db_backups/dsi
function fetch_ntriples() {
FILE_NAME="$LOCAL_BACKUP_DIR/$1"
GRAPH_URI=$2
SOURCE_URI=http://46.4.78.148/dsi/data?graph=$GRAPH_URI
curl -s -H "Accept:text/plain" -f -o $FILE_NAME $SOURCE_URI
CURL_STATUS=$?
... | mit |
nickleefly/gulp-boilerplate | docs/embedding.md | 12744 | import { stringify } from 'qs'
import _request from '@/utils/request'
import mini from '@/utils/mini'
import env from '@/config/env'
// import { modelApis, commonParams } from './model'
// import { version } from '../package.json'
let apiBaseUrl
apiBaseUrl = `${env.apiBaseUrl}`
const regHttp = /^https?/i
const isMoc... | mit |
skerit/alchemy | README_cn.md | 552 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>circuits: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | mit |
bkorobeinikov/movieapp-ionic | wp-content/themes/sage/node_modules/asset-builder/node_modules/main-bower-files/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/unique-stream/node_modules/es6-set/polyfill.js | 1877 | SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL';
-- ----------------------------------------------------------------------------------------------------------
-- ... | mit |
thomasmeadows/citibank-van | src/migration/Generator.php | 886 | // wb_t@CÌCN[h
#include <windows.h> // WWindowsAPI
#include <tchar.h> // TCHAR^
#include <string.h> // C¶ñ
// ÖÌvg^Cvé¾
LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); // EBhEbZ[WÉÎµÄÆ©Ìð·éæ¤Éè`µ½R[obN... | mit |
kbreidenbach/akka-emailer | main/logbook/data/ScriptLoader.java | 17723 | ---
layout: page
title: Pride Solutions Conference
date: 2016-05-24
author: Carl Mccarty
tags: weekly links, java
status: published
summary: Curabitur ipsum ante, aliquam sit.
banner: images/banner/office-01.jpg
booking:
startDate: 05/26/2016
endDate: 05/31/2016
ctyhocn: LITWTHX
groupCode: PSC
published: true
-... | mit |
InfiniteInteractive/LimitlessSDK | src.java/org/anodyneos/xp/tag/core/DebugTag.java | 261 | using CertificateManager.Entities;
using CertificateManager.Entities.Interfaces;
using System.Collections.Generic;
using System.Security.Claims;
namespace CertificateManager.Logic.Interfaces
{
public interface IAuditLogic
{
IEnumerable<AuditEvent> GetAllEvents();
void LogSecurityAuditSuccess(C... | mit |
Roughsketch/discordrb | src/Pelasoft.AspNet.Mvc.Slack.Tests/Properties/AssemblyInfo.cs | 323 | require 'spec_helper'
require 'serializables/vector3'
describe Moon::Vector3 do
context 'Serialization' do
it 'serializes' do
src = described_class.new(12, 8, 4)
result = described_class.load(src.export)
expect(result).to eq(src)
end
end
end
| mit |
robinpowered/glamorous-native | _talks/2021-juliacon.md | 546 | <?php
namespace infinitydevphp\gii\migration;
use infinitydevphp\MultipleModelValidator\MultipleModelValidator;
use infinitydevphp\tableBuilder\TableBuilder;
use infinitydevphp\tableBuilder\TableBuilderTemplateMigration;
use infinitydevphp\gii\models\Field;
use yii\db\ColumnSchema;
use yii\db\Schema;
use yii\db\TableS... | mit |
Ledoux/ShareYourSystem | test/fixtures/for-in/actual.js | 823 | ---
layout: post
title: More Office Interop in PowerShell
---
As part of our team's workflow we create various data files and then generate
tracking issues that we then import into our issue tracking system.
We have a semi-automated process to do this which works fairly well but for
some older issues we had imported ... | mit |
sdaza/sdaza.github.com | distrho/src/DistrhoPluginLV2export.cpp | 396 | /*
* Copyright 2005-2019 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | mit |
tedunderwood/genre | test/engine/test_execute.py | 948 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Ninject.Modules;
using Ninject.Extensions.Conventions;
namespace SongManager.Web.NinjectSupport
{
/// <summary>
/// Automatically loads all Boot Modules and puts them into the Ninject Dependency Resolver
/// </summary>
publ... | mit |
johnkors/IdentityServer3.Contrib.ElasticSearchEventService | e2e-tests/scenarios.js | 6161 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Andersc.CodeLib.Tester.Helpers
{
public class Book
{
public string Title { get; set; }
public string Publisher { get; set; }
public int Year { get; set; }
}
}
| mit |
frankyhung93/Learn_Coding | Readme.md | 2072 | <?php
/**
* Created by PhpStorm.
* User: robert
* Date: 1/14/15
* Time: 3:06 PM
*/
namespace Skema\Directive;
class Binding extends Base {
} | mit |
Squama/Master | test/splam_test.rb | 330 | import { strictEqual } from 'assert';
import { Config, HttpResponse, HttpResponseOK } from '../core';
import {
SESSION_DEFAULT_COOKIE_HTTP_ONLY,
SESSION_DEFAULT_COOKIE_NAME,
SESSION_DEFAULT_COOKIE_PATH,
SESSION_DEFAULT_CSRF_COOKIE_NAME,
SESSION_DEFAULT_SAME_SITE_ON_CSRF_ENABLED,
SESSION_USER_COOKIE_NAME,
} ... | mit |
WorldWideTelescope/wwt-tile-sdk | Scribe.Data/Entities/Page.cs | 79 | #!/bin/bash
cp index.html /var/www/
cp -r js /var/www
cp -r img /var/www/img
| mit |
OpenBazaar/openbazaar-go | src/components/Loading/Loading.css | 1283 | <?php
namespace PHPAuth;
class Auth
{
protected $dbh;
public $config;
public $lang;
public function __construct(\PDO $dbh, $config, $language = "en_GB")
{
$this->dbh = $dbh;
$this->config = $config;
if (version_compare(phpversion(), '5.5.0', '<')) {
... | isc |
heatd/Onyx | ansible/modules/hashivault/hashivault_approle_role_get.py | 4901 | #include <stdio.h>
#include "cgm_play.h"
#include "cgm_list.h"
#ifndef _CGM_TYPES_H_
#define _CGM_TYPES_H_
#ifdef __cplusplus
extern "C" {
#endif
typedef int(*CGM_FUNC)(tCGM* cgm);
typedef struct {
double xmin;
double xmax;
double ymin;
double ymax;
} tLimit;
typedef struct {
unsigned long red;
u... | mit |
hammadirshad/dvare | redirects/redirects4/en-getting-startedLearn.html | 1712 | #include "NL_ImguiD3D11Renderer.h"
#include <d3d11.h>
#include <d3dcompiler.h>
#include <imgui.h>
namespace NLE
{
namespace GRAPHICS
{
struct VERTEX_CONSTANT_BUFFER
{
float mvp[4][4];
};
ImguiD3D11Renderer::ImguiD3D11Renderer() :
_vertexBuffer(nullptr),
_indexBuffer(nullptr),
_vertexShad... | mit |
courtenay/splam | README.md | 1649 | class SessionsController < ApplicationController
before_filter :authenticate_user, :only => [:home, :profile, :setting]
before_filter :save_login_state, :only => [:login, :login_attempt]
def login
end
def login_attempt
authorized_user = User.authenticate(params[:username_or_email],params[:login_password])
if au... | mit |
youngshook/YSCategorys | config.js | 1100 | require File.join(File.dirname(__FILE__), 'test_helper')
require 'activesupport'
class SplamTest < Test::Unit::TestCase
class FixedRule < Splam::Rule
def run
add_score 25, "The force is strong with this one"
end
end
# It should not be in the default set
Splam::Rule.default_rules.delete SplamTest... | mit |
THLabs/ghostdown | lib/edifact_converter/command_line_parser.rb | 800 | // generates an interface file given an eni file
// you can generate an eni file using the aws-cli
// example:
// aws ec2 describe-network-interfaces --network-interface-ids eni-2492676c > eni-7290653a.json
var ENI_FILE = "json/eni-651e2c2c.json";
// the interface you want to configure
var INTERFACE = "eth1";
// po... | mit |
steliyan/ProjectEuler | JXA/PlistUtils.md | 18581 | module.exports = FormButtonsDirective;
function FormButtonsDirective () {
return {
restrict: 'AE',
replace: true,
scope: {
submitClick: '&submitClick',
cancelClick: '&cancelClick'
},
templateUrl: '/src/utils/views/formButtons.tmpl.html',
link:... | mit |
curtclifton/curtclifton.github.io | VideoEffect/VideoEffect.Shared/Transforms/AbstractTransform.h | 2186 |
var PassThrough = require('stream').PassThrough
describe('Object Streams', function () {
it('should be supported', function (done) {
var app = koala()
app.use(function* (next) {
var body = this.body = new PassThrough({
objectMode: true
})
body.write({
message: 'a'
})... | isc |
dennis95/dennix | README.md | 752 | ---
title: A List of the White Rabbit Mechanics We Are Considering
author: all
date: 15/01/11
tags: [concept, summary, gamemechanics, whiterabbit]
layout: post
---
The white rabbit.
Here is a list of some of the rabbits we could pull out of our designer's magical top hat.
## Cooperative Rope Walking
### Summary
One... | mit |
Dirbaio/btcd | test/config/routes.rb | 3388 | <div class="demo-menu">
<div class="menu-section">
<p>You clicked on: {{ selected }}</p>
<md-toolbar>
<button md-icon-button [md-menu-trigger-for]="menu">
<md-icon>more_vert</md-icon>
</button>
</md-toolbar>
<md-menu #menu="mdMenu">
<button md-menu-item *ngFor="let item of ... | isc |
2Checkout/2checkout-python | src/store/reducers/movie.ts | 1069 | #include "HotNeedleLightControl.h"
HotNeedleLightControlClass::HotNeedleLightControlClass(uint8_t background[NEOPIXEL_COUNT][COLOR_BYTES], uint8_t hotNeedleColor[COLOR_BYTES], float highlightMultiplier, bool useHighlight, uint16_t fadeTime, uint8_t framePeriod, Adafruit_NeoPixel *strip) : LightControlClass(framePeriod... | mit |
joelpurra/bespoke-secondary | WinFormsApp/Properties/Settings.Designer.cs | 663 | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Progress extends CI_Controller {
/**
* Index Page for this controller.
*
* Maps to the following URL
* http://example.com/index.php/welcome
* - or -
* http://example.com/index.php/welcome/index
* - or -
* Since this contr... | mit |
julien-noblet/cad-killer | SumOfDistances.cpp | 522 | #!/usr/bin/bash
# Hard variables
# Directory containing Snakemake and cluster.json files
snakefile_dir='/nas/longleaf/home/sfrenk/pipelines/snakemake'
usage="\nCreate directory with Snakemake files required for pipeline \n\n setup_dir -p <pipeline> -d <directory> \n\n pipelines: bowtie_srna, hisat2_rna, srna_telo\n\... | mit |
pharpend/dotfiles | etymology/html/leviathan103.html | 18337 | // Copyright (c) 2016-2020 The ZCash developers
// Copyright (c) 2020 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
/*
See the Zcash protocol specification for more information.
https://github.com/zcash/zip... | mit |
primasalama/simoniks2 | src/js/modules/content/list/listController.js | 1318 | #ifndef __GTHREE_VECTOR_KEYFRAME_TRACK_H__
#define __GTHREE_VECTOR_KEYFRAME_TRACK_H__
#if !defined (__GTHREE_H_INSIDE__) && !defined (GTHREE_COMPILATION)
#error "Only <gthree/gthree.h> can be included directly."
#endif
#include <gthree/gthreekeyframetrack.h>
G_BEGIN_DECLS
#define GTHREE_TYPE_VECTOR_KEYFRAME_TRACK ... | mit |
iotdesignshop/FizViz-Arduino | src/xapian/common/safesysstat.h | 703 | /* Copyright (c) 2016, 2021 Dennis Wölfing
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR D... | mit |
kalinalazarova1/SharedWeekends | build/js/app.js | 7717 |
#include <stdarg.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <sys/endian.h>
#include <sysexits.h>
#include <mpg123.h>
#include "audio.h"
#include "mp3.h"
struct mp3 {
mpg123_handle *h;
int fd;
int first;
int rate;
int chann... | mit |
nickaugust/bsfs | decorator.py | 1242 | module.exports = {
//"@context": { type: String, default: "http://schema.org" },
//"@type": { type: String, default: "Article" },
//>>Properties from NewsArticle
//dateline: String,//The location where the NewsArticle was produced.
//printColumn: String,//The number of the column in which the NewsArticle appears ... | mit |
wvuRc2/rc2client | tests/helpers/mock-project.js | 17538 | <?php
/* TwigBundle:Exception:traces.html.twig */
class __TwigTemplate_034400bfb816a72b7b3da36dd2d8e07ee89621bac614688be25a4e8ff872b3ad extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(... | mit |
shamshoum/map-queries | services/preview/billing/mgmt/2020-05-01-preview/billing/operations.go | 553 | /* SaveFileController
*
* Version 1.0
*
* November 13, 2017
*
* Copyright (c) 2017 Cup Of Java. All rights reserved.
*/
package com.cmput301f17t11.cupofjava.Controllers;
import android.content.Context;
import com.cmput301f17t11.cupofjava.Models.Habit;
import com.cmput301f17t11.cupofjava.Models.HabitEvent;
imp... | mit |
yvanvds/EsenthelCourse | src/utils.js | 10155 | using System.Collections.Generic;
namespace ConsoleDemo.Visitor.v0
{
public class CommandsManager
{
readonly List<object> items = new List<object>();
// The client class has a structure (a list in this case) of items (commands).
// The client knows how to iterate through the structure... | mit |
pscedu/slash2-stable | README.md | 5618 | <?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInit037b77112e3f60b3fb10492299961fe0::getLoader();
| mit |
sfrenk/rna-seq_pipelines | doc/jruby-openssl-0.7/rdoc/classes/Buffering.src/M000045.html | 504 | <!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [sip.js](./sip.js.md) > [RegistererOptions](./sip.js.registereroptions.md) > [instanceId](./sip.js.registereroptions.instanceid.md)
## RegistererOptions.instanceId property
UUID to provide with "+sip.... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.