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 |
|---|---|---|---|---|---|
/*
Hero Landing Page template styles.
*/
/****** Override Bootparts styles ******/
.hero-subscription-form .right-bottom .form-container {
border-radius: 0px;
padding-bottom: 20px;
}
.image-with-text, .text-with-image {
background: #fff;
padding-top: 50px;
padding-bottom: 50px;
}
.thr... | yelluw/Bootparts | templates/hero-landing-page/css/main.css | CSS | mit | 390 |
# About shadowsocks of Docker
#
# Version:1.0.1
FROM ubuntu:14.04
MAINTAINER Dubu Qingfeng <1135326346@qq.com>
ENV REFRESHED_AT 2015-06-05
RUN apt-get -qq update && \
apt-get install -q -y wget build-essential python-pip python-m2crypto && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN pip install... | izuolan/dockerfiles | shadowsocks-ubuntu/single-user/Dockerfile | Dockerfile | mit | 861 |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Login extends CI_Controller {
function __construct(){
parent::__construct();
$this->load->model('m_login');
}
public function index()
{
$this->load->view('pembangun/logindanpendaftaran/v_startcreatebody')... | ealihanip/koperasiprajamuktiweb | application/controllers/Login.php | PHP | mit | 1,997 |
package com.minxing365.connector.model;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import javax.servlet.ServletInputStre... | wangpeile/mx-connector-1.5 | src/com/minxing365/connector/model/OfficialAccount.java | Java | mit | 12,511 |
namespace Hello {
partial class ExamplePicker {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param na... | ericrrichards/rts | Hello/ExamplePicker.Designer.cs | C# | mit | 3,620 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Identity.Client.Http;
using Mic... | AzureAD/microsoft-authentication-library-for-dotnet | src/client/Microsoft.Identity.Client/PlatformsCommon/Shared/NullDeviceAuthManager.cs | C# | mit | 1,076 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.;
using System;
using System.Threading.Tasks;
using Microsoft.Identity.Client;
using Microsoft.Identity.Client.Cache.CacheImpl;
namespace WebApi.Misc
{
internal interface ICacheSerializationProvider
{
// Im... | AzureAD/microsoft-authentication-library-for-dotnet | tests/devapps/WebApi/Misc/AbstractPartitionedCacheSerializer.cs | C# | mit | 4,487 |
# Please require your code below, respecting the naming conventions in the
# bioruby directory tree.
#
# For example, say you have a plugin named bio-plugin, the only uncommented
# line in this file would be
#
# require 'bio/bio-plugin/plugin'
#
# In this file only require other files. Avoid other source code.
requ... | wwood/bioruby-rectos | lib/bio-rectos.rb | Ruby | mit | 348 |
/** @jsx jsx */
import { Editor } from 'slate'
import { jsx } from '../../..'
export const run = editor => {
Editor.delete(editor, { reverse: true })
}
export const input = (
<editor>
<block>Hello</block>
<block>
<block>
<cursor />
world!
</block>
</block>
</editor>
)
e... | isubastiCadmus/slate | packages/slate/test/transforms/delete/point/depths-reverse.js | JavaScript | mit | 435 |
package fr.pizzeria.admin.web.rest;
import java.sql.SQLException;
import java.util.List;
import javax.inject.Inject;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.... | amonmart/formation_DTA | Maven Pizzeria/pizzeria-admin-app/src/main/java/fr/pizzeria/admin/web/rest/PizzaResource.java | Java | mit | 1,365 |
# jquery.nonSuckyYouTubeEmbed
Embedding videos using YouTube's iFrame embed code sucks. Just how much does it suck you might ask? Well, each YouTube video you embed forces the user to download roughly 400K of data before they even click play.
Use *jquery.nonSuckyYouTubeEmbed.js* for a huge performance boost whenever... | mpchadwick/jquery.nonSuckyYouTubeEmbed | README.md | Markdown | mit | 3,948 |
<?php
class Chofer_controller extends CI_Controller
{
public function __construct()
{
parent::__construct();
$this->load->model('Chofer_model');
}
//carga la vista solo si existen las variables de sesion
function vista_agregar_chofer()
{
if($this->s... | cindygp/froyo_pedidos | application/controllers/Chofer_controller.php | PHP | mit | 8,564 |
@pushd "%~dp0"
@set location=%~dp0
@set EXIT_CODE=0
@call log a a a
@setx script_a a
@goto :SUCCESS
:ERROR
@set EXIT_CODE=1
@call log %~n0: exited with error %1
:SUCCESS
@popd
echo %DATE% %TIME% %~n0
@exit /b %EXIT_CODE%
| mvw684/Experiments | BatchFile/a.cmd | Batchfile | mit | 224 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xam... | MaxS1996/UWP-TU-Dresden-Mensa | FC_TUD_Mensa/FC_TUD_Mensa/App.xaml.cs | C# | mit | 6,987 |
/*******************************************************************************
* bars coming out from a circle
*/
function VizRadialBars(variant) {
this.dampen = true;
this.hasVariants = true;
this.variants = [[false], [true]];
this.vary(variant);
}
VizRadialBars.prototype.resize = function() {}
VizRadialB... | ianharmon/visualizer | js/vizRadialBars.js | JavaScript | mit | 1,401 |
processGoogleToken({"newToken":"AE3Dx9aK3LQnhKzNv0kv9PYihJmwErt6SUKSiCdFy2nuPqU9RIHm72lwytcOh_wVXg","validLifetimeSecs":86400,"freshLifetimeSecs":86400,"1p_jar":"2018-1-31-12","pucrd":"CgwIABAAGAMgACgAOAESAhgH"}); | ReasonOnFaith/ReasonOnFaith.github.io | Reddit/Unfulfilled or fulfilled prophecy/Unfulfilled or fulfilled prophecy_files/integrator(1).js | JavaScript | mit | 213 |
/*
* The MIT License
*
* Copyright (c) 2016 Marcelo "Ataxexe" Guimarães <ataxexe@devnull.tools>
*
* 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, includ... | devnull-tools/boteco | plugins/boteco-plugin-user/src/main/java/tools/devnull/boteco/plugins/user/BotecoUserManager.java | Java | mit | 3,288 |
test:
@./node_modules/.bin/mocha test/commands --timeout 15000
.PHONY: test | apigee/swagger-apigee-node-utility | Makefile | Makefile | mit | 77 |
// line comment
// line comment with prefix space
/**
* block comment
*/
function test () {
var a = 'ok'
var error
}
| ustccjw/editorconfig-validate | test/dir/indent.js | JavaScript | mit | 129 |
using System;
using System.Collections.Generic;
using System.Xml;
namespace SharpOCSP
{
public class Configuration
{
private Dictionary<string, string> _config = new Dictionary<string, string>();
public string getConfigValue(string key)
{
try{
return _config[key];
}catch (KeyNotFou... | vtsingaras/SharpOCSP | SharpOCSP/Configuration.cs | C# | mit | 4,548 |
import Route from '@ember/routing/route';
import { inject as service } from '@ember/service';
import { isBlank } from '@ember/utils';
export default Route.extend({
/**
Service that get current project contexts.
@property currentProjectContext
@type {Class}
@default service()
*/
currentProjectConte... | Flexberry/ember-flexberry-designer | addon/routes/fd-architecture.js | JavaScript | mit | 2,092 |
var searchData=
[
['incomelinks',['incomeLinks',['../classDAGraphNode.html#abdf9c01751f27d2294ce2bd00f197778',1,'DAGraphNode']]]
];
| olga-perederieieva/TAsK | vendor/Docs/search/variables_7.js | JavaScript | mit | 134 |
import layout from '../templates/components/input-for';
import FormControl from './form-control';
import Ember from 'ember';
const {
get,
set,
isPresent,
computed
} = Ember;
export default FormControl.extend({
layout,
classNameBindings: ['hasValue'],
init() {
this._super(...arguments);
let fi... | quipuapp/ember-quipu-forms | addon/components/input-for.js | JavaScript | mit | 692 |
#include <vector>
#include <list>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <fstream>
#include <iomanip>
#include <cstdio>
#include <... | fvannee/competitive-coding | UvA/BAPC2013A.cpp | C++ | mit | 3,620 |
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Client side html widgets</title>
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
... | pofider/jsreport-embedding | views/example3.html | HTML | mit | 2,786 |
require 'spec_helper'
describe Capistrano::NetStorage::Config do
let(:config) { Capistrano::NetStorage::Config.new }
before :context do
env = Capistrano::Configuration.env
env.set :deploy_to, '/path/to/deploy'
env.server 'web1', role: %w(web), active: true
env.server 'web2', role: %w(web), no_rele... | DeNADev/capistrano-net_storage | spec/capistrano/net_storage/config_spec.rb | Ruby | mit | 4,386 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<A name=1></a><hr>
<A name=2></a><hr>
<A name=3></a><hr>
<A name=4></a><hr>
<A name=5></a><hr>
<A name=6></a><hr>
<A name=7></a><hr>
<A name=8></a><hr>
<A name=9></a>Directional Survey Certification<br>
Operator:... | datamade/elpc_bakken | html/pdf/W29035.pdfs.html | HTML | mit | 141,612 |
//
// The MIT License (MIT)
//
// Copyright 2013-2014 The MilkCat Project Developers
//
// 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 th... | milkcat/MilkCat | src/util/util_posix.cc | C++ | mit | 1,352 |
<!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... | Shopify/unity-buy-sdk | docs/class_shopify_1_1_unity_1_1_graph_q_l_1_1_customer_create_payload-members.html | HTML | mit | 6,645 |
<?php
/* WebProfilerBundle:Collector:memory.html.twig */
class __TwigTemplate_751c0a009a5df8996652fe3991435306 extends Twig_Template
{
protected $parent;
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->blocks = array(
'toolbar' => array($... | codeninja-ru/overmap | app/cache/dev/twig/75/1c/0a009a5df8996652fe3991435306.php | PHP | mit | 2,299 |
// Copyright (c) 2001-2019 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
// "as is", without warranty of any kind, either expressed or implied.
/////////////////////////////////////////... | asposewords/Aspose_Words_Java | ApiExamples/JavaPorting/ExStyles.java | Java | mit | 11,727 |
<html>
<head>
<title>Duncan Weir's panel show appearances</title>
<script type="text/javascript" src="../common.js"></script>
<link rel="stylesheet" media="all" href="../style.css" type="text/css"/>
<script type="text/javascript" src="../people.js"></script>
<!--#include virtual="head.txt" -->
</head>
<body>
<!--#i... | slowe/panelshows | people/gpxf3n0j.html | HTML | mit | 1,065 |
# vi: ts=8 sts=4 sw=4 et
#
# robot.py: web robot detection
#
# This file is part of Draco2. Draco2 is free software and is made available
# under the MIT license. Consult the file "LICENSE" that is distributed
# together with this file for the exact licensing terms.
#
# Draco2 is copyright (c) 1999-2007 by the Draco2 a... | geertj/draco2 | draco2/draco/robot.py | Python | mit | 2,805 |
<?php
$name='DejaVuSerifCondensed-Italic';
$type='TTF';
$desc=array (
'CapHeight' => 729,
'XHeight' => 519,
'FontBBox' => '[-755 -347 1480 1109]',
'Flags' => 68,
'Ascent' => 928,
'Descent' => -236,
'Leading' => 0,
'ItalicAngle' => -11,
'StemV' => 87,
'MissingWidth' => 540,
);
$unitsPerEm=2048;
$up=-... | faobd/forest-inventory | mpdf/ttfontdata/dejavuserifcondensedI.mtx.php | PHP | mit | 20,587 |
"use strict";
(function () {
var app = angular.module("storeProducts", []);
app.directive("productTitle", function () {
return {
restrict: "A",
templateUrl: "product-title.html"
}
});
app.directive("productDescription", function () {
return {
restrict: "E",
templateUrl: "p... | var-bin/angularjs-training | FlatlanderCraftedGems/public/js/products.js | JavaScript | mit | 2,097 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>poltac: 1 m 0 s</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="styl... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.10.0-2.0.6/extra-dev/8.11.dev/poltac/0.8.11.html | HTML | mit | 19,236 |
# BorderModel.Empty Property
Additional header content
Gets an empty border.
**Namespace:** <a href="N_iTin_Export_Model">iTin.Export.Model</a><br />**Assembly:** iTin.Export.Core (in iTin.Export.Core.dll) Version: 2.0.0.0 (2.0.0.0)
## Syntax
**C#**<br />
``` C#
public static BorderModel Empty { get; }
... | iAJTin/iExportEngine | source/documentation/iTin.Export.Documentation/Documentation/P_iTin_Export_Model_BorderModel_Empty.md | Markdown | mit | 773 |
#!/bin/bash -xe
# -------------------------------------------------------------------
# This example shows how to use the image preprocessing script
# which uses an XLS spreadsheet process a set of input sections in
# a typical image format (png, tif, jpg, anything which is well
# supported by the ImageMagick into a 3... | pmajka/poSSum | test/test_preprocess_slices_simple/step_01_workflow.sh | Shell | mit | 4,893 |
# speclj [](http://travis-ci.org/slagyr/speclj)
### (pronounced "speckle" [spek-uhl]) ###
It's a TDD/BDD framework for [Clojure](http://clojure.org/) and [Clojurescript](http://clojurescript.org/), based on [RSpec](http://rspec.info/).
[Insta... | slagyr/speclj | README.md | Markdown | mit | 10,674 |
require 'rhapsody/authentication'
require 'rhapsody/client'
require 'rhapsody/request'
require 'rhapsody/version'
| serv/rhapsody | lib/rhapsody.rb | Ruby | mit | 114 |
<?php
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\Component\Order;
use Sonata\CoreBundle\Model\M... | Soullivaneuh/sonata-ecommerce | src/Component/Order/OrderManagerInterface.php | PHP | mit | 1,077 |
using System;
using System.Collections.Generic;
using System.Linq;
using Examine;
using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Core.Services;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.DatabaseModelDefinitions;
using Umbraco.Core.Persistence.Querying;
namespace Umbraco.Examine
{
... | rasmuseeg/Umbraco-CMS | src/Umbraco.Examine/ContentIndexPopulator.cs | C# | mit | 3,985 |
/*
* This file is part of PV-Star for Bukkit, licensed under the MIT License (MIT).
*
* Copyright (c) JCThePants (www.jcwhatever.com)
*
* 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 ... | JCThePants/PV-Star | src/com/jcwhatever/pvs/arenas/settings/PVArenaSettings.java | Java | mit | 6,853 |
/*
* Copyright 2014 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | aroller/tango-caminada | AreaLearningJava/src/com/projecttango/experiments/javaarealearning/GoDialog.java | Java | mit | 2,440 |
dokku-app-hooks
===============
Run hooks per app
| jtangelder/dokku-app-hooks | README.md | Markdown | mit | 51 |
<?php
/**
* Data5
*
* PHP version 5
*
* @category Class
* @package Swagger\Client
* @author Swaagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen
*/
/**
* SKU Comments Sentiment API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagge... | dcaravana/interview_restapi | clients/swagger/php/SwaggerClient-php/lib/Model/Data5.php | PHP | mit | 4,826 |
using QuickCollab.Models;
using QuickCollab.Session;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
namespace QuickCollab.Controllers.MVC
{
public class LobbyController : Controller
{
private ISessionInstanceReposit... | nevtum/QuickCollab | QuickCollab/Controllers/MVC/LobbyController.cs | C# | mit | 1,726 |
DROP TABLE IF EXISTS t_linkedin;
CREATE TABLE t_linkedin
(
c_id CHAR(36) NOT NULL COMMENT '主键',
c_key VARCHAR(255) NOT NULL COMMENT '引用key',
c_name VARCHAR(255) DEFAULT NULL COMMENT '名称',
c_app_id VARCHAR(255) DEFAULT NULL COMMENT 'APP ID',
c_secret VARCHAR(255) DEFAULT NULL COMMENT '密钥',
PRIMARY KEY pk(c_... | heisedebaise/ranch | ranch-linkedin/src/main/resources/org/lpw/ranch/linkedin/create.sql | SQL | mit | 431 |
<?php
/**
* TOP API: taobao.jushita.jdp.user.delete request
*
* @author auto create
* @since 1.0, 2013-12-10 16:57:25
*/
class JushitaJdpUserDeleteRequest
{
/**
* 要删除用户的昵称
**/
private $nick;
/**
* 需要删除的用户编号
**/
private $userId;
private $apiParas = array();
public function setNick($nick)
{
... | allengaller/mazi-cms | web/doc/Resources/open/taobao/taobao-sdk-PHP-online_standard-20131210/top/request/JushitaJdpUserDeleteRequest.php | PHP | mit | 1,004 |
<?php
/**
* GpsLab component.
*
* @author Peter Gribanov <info@peter-gribanov.ru>
* @copyright Copyright (c) 2016, Peter Gribanov
* @license http://opensource.org/licenses/MIT
*/
namespace GpsLab\Bundle\DateBundle\Tests;
use Symfony\Component\Translation\TranslatorInterface;
use GpsLab\Bundle\DateBundle\Fo... | gpslab/date-bundle | tests/FormatterTest.php | PHP | mit | 4,998 |
---
title: Bruno Timeline
layout: timeline
---
<link rel="stylesheet" href="{{ site.baseurl }}/css/bruno.css">
<section class="panel-footer"></section>
<section id="timeline" class="bg-primary">
<div class="container">
<div class="row">
<div class="text-center">
<h2 class="section-heading">Bruno Timeline</h... | valenemendiola/valenemendiola.github.io | history/bruno.html | HTML | mit | 6,989 |
# coding: utf-8
# frozen_string_literal: true
require 'time'
module Movies
module Cinema
class Theatre < Cinema
CINEMA_CLOSED_MSG = 'Кинотеатр закрыт, касса не работает'
SCHEDULE_INVALID_MSG = 'Расписание некорректно (сеансы не должны пересекаться в одном зале)'
include Cashbox
attr_re... | esaulkov/movies | lib/movies/cinema/theatre.rb | Ruby | mit | 3,401 |
from django.conf.urls import patterns, url
from rai00base.raccordement import getModeleRaccordement, createRaccordement, deleteRaccordement, listRaccordement
urlpatterns = patterns('',
url('getModeleRaccordement/$', getModeleRaccordement),
url('createRaccordement/$', createRaccordement),
url('deleteRaccord... | DarioGT/docker-carra | src/rai00base/urls.py | Python | mit | 401 |
value_None = object()
class FactoryException(Exception):
pass
class Factory:
class Item:
def __init__(self, factory, i):
self.factory = factory
self.i = i
@property
def value(self):
return self.factory.value(self.i)
@value.setter
... | bigblindbais/pytk | src/pytk/factory/factory.py | Python | mit | 1,952 |
Example:
```js
<div style={{background: 'black', textAlign: 'center', padding: '1em'}}>
<OpenNew />
</div>
``` | LastCallMedia/Mannequin | ui/src/components/Icons/OpenNew.md | Markdown | mit | 114 |
#!/usr/bin/env ruby
# frozen_string_literal: false
require 'tk'
require 'tkextlib/blt'
# Example of a pareto chart.
#
# The pareto chart mixes line and bar elements in the same graph.
# Each processing operating is represented by a bar element. The
# total accumulated defects is displayed with a single line element.... | rokn/Count_Words_2015 | fetched_code/ruby/pareto.rb | Ruby | mit | 2,781 |
import pandas as pd
from pandas import DataFrame
df = pd.read_csv('sp500_ohlc.csv', index_col = 'Date', parse_dates=True)
#notice what i did, since it is an object
df['H-L'] = df.High - df.Low
print df.head()
df['100MA'] = pd.rolling_mean(df['Close'], 100)
# must do a slice, since there will be no value for 100... | PythonProgramming/Pandas-Basics-with-2.7 | pandas 5 - Column Operations (Basic mathematics, moving averages).py | Python | mit | 416 |
<html>
<head>
<title>{title}</title>
<?php echo link_tag("asset/css/bootstrap.min.css"); ?>
<script src="<?php echo base_url(); ?>asset/js/jquery.js"></script>
<script src="<?php echo base_url(); ?>asset/js/bootstrap.min.js"></script>
</head> | chin8628/Backend-ToBeIT | application/views/templates/header_nologged.php | PHP | mit | 285 |
using System;
namespace DMTools.Tidier
{
class TidierTools
{
public static bool IsPathToClangTidyValid( string path )
{
return System.IO.File.Exists( path ) && System.IO.Path.GetFileName( path ).ToLower() == "clang-tidy.exe";
}
public static string TryFindPathToCla... | dmateja/Tidier | src/TidierTools.cs | C# | mit | 1,365 |
import numpy as np
from nlpaug.augmenter.spectrogram import SpectrogramAugmenter
from nlpaug.util import Action
import nlpaug.model.spectrogram as nms
class LoudnessAug(SpectrogramAugmenter):
"""
Augmenter that change loudness on mel spectrogram by random values.
:param tuple zone: Default value is (0.2... | makcedward/nlpaug | nlpaug/augmenter/spectrogram/loudness.py | Python | mit | 1,919 |
# From 5.1 to 6.0
## Warning
GitLab 6.0 is affected by critical security vulnerabilities CVE-2013-4490 and CVE-2013-4489.
## Deprecations
### Global projects
The root (global) namespace for projects is deprecated.
So you need to move all your global projects under groups or users manually before update or they wi... | ibiart/gitlabhq | doc/update/5.1-to-6.0.md | Markdown | mit | 6,977 |
@extends('muffincms::layouts.index')
@section('title', ucfirst(unSlug(mypage()->name)))
@section('meta')
<meta name="description" content="{{mypage()->desc}}">
<meta name="muffin-url" content="{{mypage()->name}}">
@endsection
@section('stylesheet')
<link rel="stylesheet" href="{{asset('vendor/muffincms/t... | johnguild/muffincms | src/MVC/views/pages/notfound.blade.php | PHP | mit | 5,228 |
package averybigsum
import (
"testing"
)
func TestExample(t *testing.T) {
ar := []int32{1000000001, 1000000002, 1000000003, 1000000004, 1000000005}
result := AVeryBigSum(ar)
if result != 5000000015 {
t.Errorf("AVeryBigSum failed the example test")
}
}
| altermarkive/Coding-Interviews | algorithm-design/hackerrank/a_very_big_sum/a_very_big_sum_test.go | GO | mit | 261 |
<!DOCTYPE html>
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="PortabilityAnalysis0">.NET Portability Report</title>
<style>
... | kuhlenh/port-to-core | Reports/ya/yandex.translator.1.3.0/Yandex.Translator-net40.html | HTML | mit | 11,624 |
<?php
/**
* LoginWidget.php
*
* @since 23/09/16
* @author gseidel
*/
namespace Enhavo\Bundle\UserBundle\Widget;
use Enhavo\Bundle\AppBundle\Type\AbstractType;
use Enhavo\Bundle\ThemeBundle\Widget\WidgetInterface;
use Symfony\Component\Security\Core\Security;
use Symfony\Component\Security\Core\Exception\Authent... | jennyhelbing/enhavo | src/Enhavo/Bundle/UserBundle/Widget/LoginWidget.php | PHP | mit | 2,503 |
var diff = require('../');
var left = {
left: 'yes',
right: 'no',
};
var right = {
left: {
toString: true,
},
right: 'no',
};
console.log(diff(left, right)); // eslint-disable-line no-console
| flitbit/diff | examples/issue-71.js | JavaScript | mit | 209 |
# Banker
React powered tiny "personal accounting" app
### motivation
I'm doing this app for a couple reasons, which are
- my personal usage (if it works, why not use it :)
- my react training; the app is developped using React, "react-router", and the Redux pattern.
it might also use things like SASS or Aphrodite in ... | NicolasThebaud/Banker | README.md | Markdown | mit | 394 |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | 0xmohit/vscode | src/vs/editor/contrib/suggest/suggest.ts | TypeScript | mit | 9,385 |
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include "omahaodds.h"
int main( int argc, char *argv[] ) {
card *hand = malloc(sizeof(card) * 5);
get_hand_rank(hand);
return 0;
}
| mok4ry/OmahaOdds | src/main.c | C | mit | 204 |
/*
,i::,
:;;;;;;;
;:,,::;.
1ft1;::;1tL
t1;::;1,
:;::; _____ __ ___ __
fCLff ;:: tfLLC / ___/ / |/ /____ _ _____ / /_
CLft11 :,, i1tffLi \__ \ ____ / /|_/ //... | S-Mach/s_mach.validate | validate-core/src/main/scala/s_mach/validate/Explain.scala | Scala | mit | 3,163 |
<!DOCTYPE html>
<html>
<head>
<title>Sia</title>
<!-- Stylesheets -->
<link rel="stylesheet" href="css/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="css/pure-min.css">
<link rel="stylesheet" href="css/grids-responsive-min.css">
<link rel="stylesheet" href="css/roboto-condensed-min.cs... | bitspill/Sia-UI | app/index.html | HTML | mit | 1,886 |
# RegexLib
Regular Expression Library in C#
| TheFellow/RegexLib | README.md | Markdown | mit | 44 |
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace SignalGo.Server.Models
{
public static class Extensions
{
public static void Add(this IDictionary<string, string[]> headers, string key, string value)
{
headers.Add(key, value.Split(','));
}
... | SignalGo/SignalGo-full-net | SignalGo.Server/Models/Extensions.cs | C# | mit | 818 |
# frozen_string_literal: true
require "application_system_test_case"
# Test viewing engine run statistics.
class EngineRunsTest < ApplicationSystemTestCase
setup do
@engine_run = engine_runs(:one)
@admin = users(:admin)
end
test "visit the index" do
visit_login(@admin)
visit admin_engine_runs_u... | remomueller/slice | test/system/engine_runs_test.rb | Ruby | mit | 723 |
namespace SharePoint.Utilities.Rest
{
using System.Collections.Generic;
public class ItemCountResult<TDto>
{
private readonly int totalItems;
private readonly IEnumerable<TDto> items;
public ItemCountResult(int totalItems, IEnumerable<TDto> items)
{
this.total... | devdigital/SharePointAurelia | SharePoint.Utilities/Rest/ItemCountResult.cs | C# | mit | 665 |
require 'spec_helper'
describe 'ScalrApiV2::Servers.list' do
subject do
with_modified_env SCALR_URL: 'https://test.scalr.local', SCALR_KEY_ID: '1234', SCALR_KEY_SECRET: '5678', SCALR_ENV_ID: '1' do
ScalrApiV2::Servers.new.list
end
end
# list method tests
it '.list returns an array' do
expect... | autotraderuk/scalr_api_v2 | spec/servers_spec.rb | Ruby | mit | 568 |
/*
* This file is part of the hyyan/woo-poly-integration plugin.
* (c) Hyyan Abo Fakher <tiribthea4hyyan@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
(function ($, document, HYYAN_WPI_VARIABLES) {
/**
* Cons... | decarvalhoaa/woopoly | public/js/Variables.js | JavaScript | mit | 3,685 |
"""
HLS and Color Threshold
-----------------------
You've now seen that various color thresholds can be applied to find the lane lines in images. Here we'll explore
this a bit further and look at a couple examples to see why a color space like HLS can be more robust.
"""
import numpy as np
import cv2
import matplot... | akshaybabloo/Car-ND | Term_1/advanced_lane_finding_10/color_space_10_8.py | Python | mit | 2,835 |
using System;
class DeclareVar
{
static void Main()
{
ushort firstNum = 52130;
Console.WriteLine(firstNum);
sbyte secondNum = -115;
Console.WriteLine(secondNum);
int thirdNum = 4825932;
Console.WriteLine(thirdNum);
byte fourthNum = 97;
Console.Wr... | madbadPi/TelerikAcademy | CSharpPartOne/PrimitiveTypesAndVariables/1.DeclareVar/DeclareVar.cs | C# | mit | 420 |
package ca.antonious.sample.about;
/**
* Created by George on 2017-01-08.
*/
public class Library {
private String title;
private String sourceControlUrl;
public Library(String title, String sourceControlUrl) {
this.title = title;
this.sourceControlUrl = sourceControlUrl;
}
pub... | gantonious/ViewCellAdapter | sample-app/src/main/java/ca/antonious/sample/about/Library.java | Java | mit | 456 |
<html>
<head>
<title>
Haiti under Washington's thumb
</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<?php include "../../legacy-includes/Script.htmlf" ?>
</head>
<body bgcolor="#FFFFCC" text="000000" link="990000" vlink="660000" alink="003366" leftmargin="0" topmargin="0">
<table w... | ISO-tech/sw-d8 | web/2004-1/492/492_02_Haiti.php | PHP | mit | 5,608 |
<?php
namespace Xjchen\OAuth2\Client\Token;
use InvalidArgumentException;
class AccessToken
{
/**
* @var string accessToken
*/
public $accessToken;
/**
* @var int expires
*/
public $expires;
/**
* @var string refreshToken
*/
public $refreshToken;
/**... | xjchengo/oauth2-wechat | src/Token/AccessToken.php | PHP | mit | 2,450 |
<?php
namespace Gcmaz\MainBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class PageController extends Controller
{
public function indexAction()
{
return $this->render('GcmazMainBundle:Page:index.html.twig');
}
public function fbgcmazAction()
{
r... | gcmaz/gcmaz | src/Gcmaz/MainBundle/Controller/PageController.php | PHP | mit | 404 |
#!/usr/bin/python
from __future__ import print_function
from __future__ import unicode_literals
import os
import sys
import time
import argparse
from datetime import datetime, timedelta, tzinfo
from textwrap import dedent
import json
from random import choice
import webbrowser
import itertools
import log... | bendemott/solr-zkutil | solrzkutil/__init__.py | Python | mit | 38,530 |
\begin{tabular}{ c c c c c c }
Program & Size & Allocs & Runtime & Elapsed & TotalMem\\
\hline
\end{tabular}
\begin{verbatim}
[("Project name","The Glorious Glasgow Haskell Compilation System")
,("GCC extra via C opts"," -fwrapv -fno-builtin")
,("C compiler command","C:\\TeamCity\\buildAgent\\work\\a45bb99c6f82efd... | Mistuke/GhcWindowsBuild | nofib-reports/report.2019.02.23.tex | TeX | mit | 3,239 |
ml.module('three.extras.objects.ImmediateRenderObject')
.requires('three.Three',
'three.core.Object3D')
.defines(function(){
/**
* @author alteredq / http://alteredqualia.com/
*/
THREE.ImmediateRenderObject = function ( ) {
THREE.Object3D.call( this );
this.render = function ( renderCallback ) { };
}... | zfedoran/modulite-three.js | example/js/threejs/src/extras/objects/ImmediateRenderObject.js | JavaScript | mit | 411 |
---
author: robmyers
comments: false
date: 2004-01-28 03:00:43+00:00
layout: post
slug: minara-2
title: Minara
wordpress_id: 83
categories:
- Projects
---
[Minara](/minara/) is going well. Basic graphics and buffers are implemented so I'm onto the Lisp code for event and tool handling now. I've written utilities to co... | robmyers/robmyers.org | _posts/2004-01-28-minara-2.md | Markdown | mit | 448 |
import cv2
import numpy as np
import sys
def reshapeImg(img, l, w, p):
# reshape image to (l, w) and add/remove pixels as needed
while len(img) % p != 0:
img = np.append(img, 255)
olds = img.size / p
news = l*w
if news < olds:
img = img[:p*news]
elif news > olds:
img = np.concatenate( (img, np.zeros(p*(ne... | andykais/painting-base2 | examples/create-image2.py | Python | mit | 839 |
import numpy
import pandas
import statsmodels.api as sm
'''
In this exercise, we will perform some rudimentary practices similar to those of
an actual data scientist.
Part of a data scientist's job is to use her or his intuition and insight to
write algorithms and heuristics. A data... | rmhyman/DataScience | Lesson1/titanic_data_heuristic1.py | Python | mit | 2,937 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="zh-TW">
<head>
<title>æè²é¨ãæèªå
¸ã</title>
<meta http-equiv="Pragma" content="no-cache">
<meta name="AUTHOR" content="FlySheet Information Services, Inc.">
<meta h... | BuzzAcademy/idioms-moe-unformatted-data | cw-data/1000-1999/CW0000001156.html | HTML | mit | 16,302 |
# -*- coding: utf-8 -*-
"""
Translator module that uses the Google Translate API.
Adapted from Terry Yin's google-translate-python.
Language detection added by Steven Loria.
"""
from __future__ import absolute_import
import json
import re
import codecs
from textblob.compat import PY2, request, urlencode
from textblob.... | nvoron23/TextBlob | textblob/translate.py | Python | mit | 2,924 |
<ol class="list-unstyled">
<li *ngFor="let archive of archives"><a href="#">{{archive}}</a></li>
</ol>
<!--<ol class="list-unstyled">
<li><a href="#">March 2014</a></li>
<li><a href="#">February 2014</a></li>
<li><a href="#">January 2014</a></li>
<li><a href="#">December 2013</a></li>
<li><a href="#">Novemb... | Znow/ZnowBlog | src/app/archive/archive.component.html | HTML | mit | 615 |
#!/bin/bash
geoc vector gradientstyle -i naturalearth.gpkg -l countries -f PEOPLE -n 6 -c greens > countries_gradient_green.sld
geoc map draw -f vector_gradient_greens.png -l "layertype=layer file=naturalearth.gpkg layername=ocean style=ocean.sld" \
-l "layertype=layer file=naturalearth.gpkg layername=countries st... | jericks/geoc | examples/vector_gradientstyle.sh | Shell | mit | 688 |

*DESIGN PATH is a simple online quiz to help budding designers find their career path*
[VISIT DESIGNPATH](http://designpath.me/)
This repository keeps track of the full stack of code that runs this website. This documentation is solely about the setup and develo... | mirai418/DesignPath | README.md | Markdown | mit | 4,352 |
import Colors from "v2/Assets/Colors"
import { avantgarde } from "v2/Assets/Fonts"
import { Component } from "react";
import styled from "styled-components"
import MultiStateButton, {
MultiButtonState,
} from "../../Buttons/MultiStateButton"
import { media } from "../../Helpers"
import StyledTitle from "../../Title"
... | artsy/force-public | src/v2/Components/Onboarding/Steps/Layout.tsx | TypeScript | mit | 2,803 |
<TS language="mn" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Create a new address</source>
<translation>Шинэ хаяг нээх</translation>
</message>
<message>
<source>&New</source>
<translation>&Шинэ</translation>
</message>
<messag... | qtumproject/qtum | src/qt/locale/bitcoin_mn.ts | TypeScript | mit | 35,934 |
const initialState = {
types: [],
running: [],
performatives: []
}
const reduce = (state = initialState, action) => {
switch (action.type) {
case 'ADD_TYPES':
return {
...state,
types: [...state.types, ...action.types]
};
case 'ADD_RUNNING':
return ... | nemanja-m/matrix | web/static/js/reducers/agents.js | JavaScript | mit | 1,073 |
<!-- HTML header for doxygen 1.8.7-->
<!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" conte... | yuikns/argcv | docs/html/iter_8h.html | HTML | mit | 6,389 |
module.exports = require('material-ui/Dialog');
| rynti/material-ui-next | Dialog/index.js | JavaScript | mit | 48 |
// This file is automatically generated.
package adila.db;
/*
* Hisense F270BW
*
* DEVICE: F270BW
* MODEL: F270BW
*/
final class f270bw_f270bw {
public static final String DATA = "Hisense|F270BW|";
}
| karim/adila | database/src/main/java/adila/db/f270bw_f270bw.java | Java | mit | 211 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.