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 |
|---|---|---|---|---|---|
command:
yum install docker
systemctl enable docker
systemctl start docker
| dna2github/dna2oldmemory | Others/centos-docker-install.sh | Shell | mit | 75 |
<section class="thirteen columns">
<h1>Professional Services</h1>
<article>
<p>
<em>KDD: 2019, 2020, 2021</em>
</p>
<p>
<em>AAAI: 2021</em>
</p>
<p>
<em>SysML: 2019</em>
</p>
<p>
<em>DASFAA: 2020, 2021</em>
... | bluesjjw/bluesjjw.github.io | _includes/services.html | HTML | mit | 415 |
; decimal up counter
.model small
.stack
.data
temp dw 00
.code
mov ax,@data
mov ds,ax
mov cx,0063d
mov ax,0000h
lp3:mov temp,ax
mov ah,0fh ; clearing the screen every time
int 10h
mov ah,00h
int 10h
mov ax,temp
call disp
call delay
mov ax,temp
inc ax
loop lp... | Amanskywalker/mp-lab | lab programs/10a.asm | Assembly | mit | 567 |
import { connectModule } from '../../lib/phoneContext';
import DialerPanel from '../../components/DialerPanel';
export default connectModule((phone) => phone.dialerUI)(DialerPanel);
| ringcentral/ringcentral-js-widget | packages/ringcentral-widgets/containers/DialerPage/index.js | JavaScript | mit | 183 |
require "gql/version"
require 'active_support/core_ext/string'
require 'logger'
require 'gql/libgraphqlparser/builder'
require 'gql_ext'
require 'gql/core_ext'
require 'gql/field_exp'
require 'gql/base_type'
require 'gql/schema'
require 'gql/parser'
require 'gql/visitor'
require 'gql/operation'
module Gql
modul... | raykin/gql | lib/gql.rb | Ruby | mit | 668 |
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>three.js webgl - geometry hierarchy 2</title>
<meta charset="utf-8">
<style type="text/css">
body {
background:#fff;
padding:0;
margin:0;
font-weight: bold;
overflow:hidden;
}
</style>
</head>
<body>
<!-- <script type="text/javascrip... | rwaldron/three.js | examples/webgl_geometry_hierarchy2.html | HTML | mit | 9,989 |
'-------------------------------------------------------------------------------------------'
' Inicio del codigo
'-------------------------------------------------------------------------------------------'
' Importando librerias
'--------------------------------------------------------------------------------------... | kodeitsolutions/ef-reports | rClientes_Tipos.aspx.vb | Visual Basic | mit | 4,088 |
/** Implementation of a Gain Filter */
public class GainFilter implements Filter<Double> {
/** Class the Gain Filter is made from */
FIRFilter parent;
/** Creates an instance of FIRFilter configured as a GainFilter. Called through a static factory
* @param multiplier the gain constant for the filter
*/
pr... | BillyBarbaro/Filters | GainFilter.java | Java | mit | 1,417 |
// Generated by CoffeeScript 1.6.3
(function() {
var Console, FileSystem, colors, _data,
__bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };
colors = require('colors');
module.exports = {
Console: Console = (function() {
var MODE_REPL, MODE_RUN;
MODE_REPL = 0... | darkoverlordofdata/katra | template/_assets/rte.node.js | JavaScript | mit | 4,595 |
# Runs on Ubuntu Sessions
apt-get install apache2 php5 nano -y
| mike-bailey/cyberweblessons | envsetup.sh | Shell | mit | 63 |
define :go_service_user, :user => '', :group => '', :shell => '', :home => '' do
user = params[:user]
group = params[:group]
shell = params[:shell]
home = params[:home]
home = "/home/#{user}" unless !home.to_s.empty?
shell = "/bin/bash" unless !shell.to_s.empty?
group group do
not_if { group == 'root' }
end... | gotchef/go-service | definitions/go_service_user.rb | Ruby | mit | 496 |
<?php /* Smarty version Smarty-3.1.11, created on 2013-03-23 17:42:08
compiled from "/var/www/hermes.sztaki.hu/hermes/moduls/templates/default/MainSemantic.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1660047115514ca473affef5-75475272%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_... | ttoth/thesis | WebAlkalmazas/hermes-web/libs/smarty/templates_c/93e600525c56d3a71d8a42aa24731b4515ed6127.file.MainSemantic.tpl.php | PHP | mit | 4,318 |
from neo.Core.UIntBase import UIntBase
class UInt256(UIntBase):
def __init__(self, data=None):
super(UInt256, self).__init__(num_bytes=32, data=data)
@staticmethod
def ParseString(value):
"""
Parse the input str `value` into UInt256
Raises:
ValueError: if the ... | hal0x2328/neo-python | neo/Core/UInt256.py | Python | mit | 688 |
Phalcon\Ext\Mailer
==============
Mailer wrapper over SwiftMailer for Phalcon.
## Installing ##
Install composer in a common location or in your project:
curl -s http://getcomposer.org/installer | php
Create the composer.json file as follows:
```
{
"require": {
"phalcon-ext/mailer": "~2.0"
}
}
```
Run th... | phalcon-ext/mailer | README.md | Markdown | mit | 3,476 |
<?php
namespace Application\Migrations;
use Doctrine\DBAL\Migrations\AbstractMigration,
Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your need!
*/
class Version20130626195556 extends AbstractMigration
{
public function up(Schema $schema)
{
// this up() migration... | amsross/Ultimatefris.be | app/DoctrineMigrations/Version20130626195556.php | PHP | mit | 849 |
---
layout: post
title: "Plério"
modified:
categories: contos
excerpt:
tags: [plério,contos,princesa]
image:
feature:
comments: true
share: true
date: 2014-08-11T16:39:55-04:00
---
A princesa perdida em seus pensamentos
mesmo em um momento como esse
onde qualquer tolo erro ou hesitação pode ser fatal
Desnudou-s... | adultangst/adultangst.github.io | _posts/contos/2014-08-12-plerio.md | Markdown | mit | 1,028 |
var Joi = require('joi');
var ObjectAssign = require('object-assign');
var BaseModel = require('hapi-mongo-models').BaseModel;
var Slug = require('slug');
var AdminGroup = BaseModel.extend({
constructor: function (attrs) {
ObjectAssign(this, attrs);
},
hasPermissionTo: function (permission) {
if (this... | williamle8300/aqua | server/models/admin-group.js | JavaScript | mit | 1,001 |
package com.codingpan.leetcode.todo;
import edu.princeton.cs.algs4.StdOut;
public class LC877StoneGames {
public boolean stoneGame(int[] piles) {
if (piles == null || piles.length == 0) return false;
return f(piles, 0, piles.length - 1) > s(piles, 0, piles.length - 1);
}
private int f(int... | wszdwp/AlgorithmPractice | src/main/java/com/codingpan/leetcode/todo/LC877StoneGames.java | Java | mit | 873 |
---
title: shipcloud webhooks response JSON schema
---
{% highlight json %}
{% include schemas/webhooks_response.json %}
{% endhighlight %}
[<i class="fas fa-download"></i> download]({{ site.baseurl }}/schemas/webhooks_response.json)
| shipcloud/shipcloud.github.io | reference/webhooks_response_schema.md | Markdown | mit | 236 |
namespace UiMetadataFramework.Web
{
using System.IO;
using Microsoft.AspNetCore.Hosting;
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
.UseIISIntegration()
.UseStartup<Startup>()... | UNOPS/UiMetadataFramework | UiMetadataFramework.Web/Program.cs | C# | mit | 391 |
/* wld: wayland-shm.c
*
* Copyright (c) 2013, 2014 Michael Forney
*
* 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 us... | michaelforney/wld | wayland-shm.c | C | mit | 7,280 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SoccerManager.UI.Base
{
public class BaseForm : Form
{
public BaseForm()
{
KeyPreview = true;
... | leonardoacoelho/Soccer_Manager | SoccerManager/SoccerManager.UI/Base/BaseForm.cs | C# | mit | 1,550 |
# games-http-cards-war
Basic "war" card game on Ruby Rails. Needlessly using a database for practicing / learning.
| austinpeters/games-http-cards-war | README.md | Markdown | mit | 115 |
---
title: Statistical regression modeling
---
Here I investigate the relationship between car speed and stop distance in feet. Data from 1920s.
Taking a stab at regression visualization, using both lowess and abline techniques.
I will be looking further at the more technical statistical applications of r in future... | eastandwestwind/notes | _posts/2015-07-29-cars.md | Markdown | mit | 3,066 |
<?php
namespace HechoEnMx\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* @var array
*/
protected $middleware = [
\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::... | wafto/hechoenmx | app/Http/Kernel.php | PHP | mit | 1,155 |
package com.eaw1805.www.client.asyncs.army;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.eaw1805.data.dto.web.army.BrigadeDTO;
import com.eaw1805.www.client.views.layout.ForceReloadPanel;
import com.eaw1805.www.shared.stores.units.ArmyStore;
import java.util.List;
import java.util.Map;
public clas... | EaW1805/www | src/main/java/com/eaw1805/www/client/asyncs/army/ArmyNewAsyncCallback.java | Java | mit | 702 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.cghislai.organiseurilesdepaix.view.control;
import com.cghislai.organiseurilesdepaix.domain.User;
import com.cghislai.orga... | cghislai/organiseur | OrganiseurIlesDePaix/src/main/java/com/cghislai/organiseurilesdepaix/view/control/UserController.java | Java | mit | 1,850 |
using CodeJam._2015.QualificationRound.InfiniteHouseOfPancakes.src;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests._2015.QualificationRound
{
[TestClass]
public class InfiniteHouseOfPancakesTest
{
[TestMethod]
public void DinersEatTest()
{
var solve... | michaelmilessmith/code-jam-solutions | C#/Tests/2015/QualificationRound/InfiniteHouseOfPancakesTest.cs | C# | mit | 3,885 |
CHANGELOG_BAK=/tmp/qtav_changelog
mkchangelog() {
cat >debian/changelog<<EOF
qtav ($1) $2; urgency=low
* Upstream update
-- Wang Bin (Lucas) <wbsecg1@gmail.com> $(LANG=C date -R)
`cat $CHANGELOG_BAK`
EOF
}
DISTRIBUTIONS=(trusty vivid wily xenial)
DATE=`date -d @$(git log -n1 --format="%at") +%Y%m%d`
for D in ... | fuyanzhi1234/DevelopQt | QtAV-master/debian/ubuntu.sh | Shell | mit | 640 |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| T... | agronauts/poll | application/config/routes.php | PHP | mit | 2,074 |
'''
Build a tweet sentiment analyzer
'''
from __future__ import print_function
import cPickle as pickle
import sys
import time
from collections import OrderedDict
import numpy
import theano
import theano.tensor as tensor
from theano import config
from theano.sandbox.rng_mrg import MRG_RandomStreams as RandomStreams
... | bitesandbytes/upgraded-system | src/vanilla_lstm.py | Python | mit | 22,530 |
require 'spec_helper'
RSpec.describe Hsquare::Notification do
describe '#deliver' do
let(:recipient_id) { 123 }
let(:message) { 'message' }
let(:notification) { Hsquare::Notification.new(recipient_id: recipient_id, message: message) }
context 'when no app ids is set' do
it do
Hsquare.c... | inbeom/hsquare | spec/lib/hsquare/notification_spec.rb | Ruby | mit | 2,106 |
function Usage
{
Write-Host "Usage :"
Write-Host ""
Write-Host " CreateQueue.ps1 <-c,d> <queuename> <Y/N - Private> <user> <all:restrictedPermission> [T:Transactional]"
Write-Host ""
exit;
}
$opeartion = $Args[0]
$queuename = ".\" + $Args[1]
$private = $Args[2]
$User = $Args[3]
$permission = $Ar... | lholman/AutoBot | lib/psake/CreateQueue.ps1 | PowerShell | mit | 2,409 |
---
name: r-bloggers
layout: post
title: R-bloggers
author: Scott Chamberlain
date: 2011-01-05 08:11:00 -06:00
sourceslug: _posts/2011-01-05-r-bloggers.md
tags:
- R
---
Just a quick FYI note in case you haven't seen this site.
R-bloggers is an awesome site, bringing together more than 140 blogs (including mine) abo... | sckott/sckott.github.com | _posts/2011-01-05-r-bloggers.md | Markdown | mit | 548 |
*{
margin: 0;
padding: 0;
}
body{
font-family: "open sans",sans-serif;
font-size: 14px;
line-height: 1.4em;
min-width: 600px;
}
.adminMenuWarp{
position:relative;
float:left;
width:160px;
background-color: #222222;
}
.adminmenu{
clear:left;
margin:12px 0;
list-sty... | nail2008/cookbook-angularjs | app/jk-vedio/cj_proj04_nav/Wp.css | CSS | mit | 613 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | prorobbert/RPG_Game | Programma/RPG_Game_Binding_of_ROB/RPG_Game_Binding_of_ROB/Properties/Settings.Designer.cs | C# | mit | 1,080 |
In this folder the screenshot for snip feature is stored | dreitagebart/crispy-fish | assets/scr/README.md | Markdown | mit | 56 |
#2015年10月8日
##querySelector和querySelectorAll
```js
document.querySelector("body");//放回body节点
document.querySelector("#k");//返回id为k的节点
document.querySelector("#k span");//返回id为k的节点下的第一个span节点
document.querySelector("#k").querySelector("span");//返回id为k的节点下的第一个span节点
document.querySelectorAll("li");//返回所用tagName为li的节点集合(... | Niefee/My-study-records | 2015/10/2015年10月8日.markdown | Markdown | mit | 701 |
//
// UIColor+HexString.h
// seanYang
//
// Created by yang on 16/5/26.
// Copyright © 2016年 yangshiyu. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIColor (HexString)
+(UIColor *)colorWithHexString:(NSString *) hexString;
@end
| yanghl/seanYang | seanYang/UIColor+HexString.h | C | mit | 254 |
<?php
class DBUserRegistrator extends DBPlayerGlobalInfo
{
private static $queries = array(
'addNewUser' => 'INSERT INTO `players`(`login`, `password`, `email`) VALUES(:login,:password, :email)'
);
public static function register ($login, $password, $email = ''){
$state = true;
... | Ghivan/wordsgames | login/server_scenarios/_includes/classes/DBUserRegistrator.php | PHP | mit | 3,060 |
---
layout: default
title: Linux(CentOS)时间设置及同步
category: Linux
---
一、时区
显示时区
date --help 获取帮助
date -R
date +%z
上面两个命令都可
[root@localhost ~]# date -R; date +%z
Fri, 19 Oct 2012 23:34:27 +0800
+0800
主要就是后面的+0800,东八区
修改时区
cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
时区的信息存在/usr/share/zoneinfo/下面,本机的时区信息存... | klotski/klotski.github.io | _posts/1970-01-01-Linux_Time_Setting_and_Sync.md | Markdown | mit | 1,857 |
/*
Copyright 2013, KISSY UI Library v1.40dev
MIT Licensed
build time: Aug 14 23:54
*/
KISSY.add("editor/plugin/dent-cmd",function(m,q,r){function s(c){return c.nodeType==k.NodeType.ELEMENT_NODE&&"li"==k.nodeName(c)}function v(c,d,e){for(var f=c.startContainer,a=c.endContainer;f&&!f.parent().equals(d);)f=f.parent();for(... | jayli/kissy | build/editor/plugin/dent-cmd-min.js | JavaScript | mit | 2,792 |
import rinocloud
import requests
from requests_toolbelt import MultipartEncoder, MultipartEncoderMonitor
from clint.textui.progress import Bar as ProgressBar
from clint.textui import progress
import json
def upload(filepath=None, meta=None):
encoder = MultipartEncoder(
fields={
'file': ('file... | rinocloud/rinocloud-python | rinocloud/http.py | Python | mit | 4,102 |
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Stockfighter.Client.Data
{
/// <summary>
/// An enum that represents buy/sell
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum Direction
{
Buy,
Sell
}
}
| aaronmell/NetStockfighter | Stockfighter.Client/Data/Direction.cs | C# | mit | 292 |
import os
import json
import pytest
from .. import bot, PACKAGEDIR
EXAMPLE_TWEET = json.load(open(os.path.join(PACKAGEDIR, 'tests', 'examples', 'example-tweet.json'), 'r'))
EXAMPLE_RETWEET = json.load(open(os.path.join(PACKAGEDIR, 'tests', 'examples', 'retweeted-status.json'), 'r'))
EXAMPLE_NARCISSISTIC = json.load(... | mrtommyb/AstroFuckOffs | bot/tests/test_bot.py | Python | mit | 1,600 |
<!DOCTYPE html>
<!--[if lt IE 7]> <html lang="en" ng-app="Q_REPLACE_CAMELCASED" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html lang="en" ng-app="Q_REPLACE_CAMELCASED" class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html lang="en" ng-app="Q_REPLACE_CAMELCASED" class=... | AlquimiaWRG/alquimia-wa | app/index.html | HTML | mit | 877 |
import _isArray from "./internal/is_array";
/**
* Returns `true` if the argument is an atom; `false` otherwise. An atom is defined as any
* value that is not an array, `undefined`, or `null`.
*
* @func
* @memberOf R
* @category Array
* @sig a -> Boolean
* @param {*} x The element to consider.
* @return {boole... | markprzepiora/eigensheep | eigensheep/is_atom.js | JavaScript | mit | 732 |
<?php
/**
* Created by PhpStorm.
* User: stefan
* Date: 28.05.15
* Time: 17:22
*/
namespace Structure\Classes;
use Structure\Classes\AbstractStructure;
use Request\Classes\Request\Post;
use Structure\Interfaces\Value;
use Structure\Classes\Form\Input\Hidden;
/**
* Class Form
* @package Structure\Classes
*/
c... | StefftheEmperor/3rei | Structure/Classes/Form.php | PHP | mit | 2,078 |
---
title: "Aleksandr Neudachin"
permalink: /alumni/Aleksandr_Neudachin
author_profile: false
comments: false
sidebar: false
---
<div style="padding: 20px;">
<img src="https://raw.githubusercontent.com/pyneng/pyneng.github.io/master/alumni/Aleksandr_Neudachin.png" alt="Python for network engineers">
</div>
| pyneng/pyneng.github.io | _certificates/Aleksandr_Neudachin.md | Markdown | mit | 312 |
/* nobleNote, a note taking application
* Copyright (C) 2012 Christian Metscher <hakaishi@web.de>,
Fabian Deuchler <Taiko000@gmail.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... | taiko000/ThaiDictionary | lineedit.h | C | mit | 1,767 |
#! /bin/bash
#SBATCH -o /home/hpc/pr63qi/di69fol/workspace/sweet/benchmarks_plane/sl-rexi/unstablejet_simtime10d_swefullnl_viscdiv0/job_bench_RT_tsm_l_rexi_na_sl_nd_settls_tso2_tsob2_C2.250e+02_S864000/output.out
#SBATCH -e /home/hpc/pr63qi/di69fol/workspace/sweet/benchmarks_plane/sl-rexi/unstablejet_simtime10d_swefull... | schreiberx/sweet | benchmarks_plane/sl-rexi/unstablejet_simtime10d_swefullnl_viscdiv0/job_bench_RT_tsm_l_rexi_na_sl_nd_settls_tso2_tsob2_C2.250e+02_S864000/run.sh | Shell | mit | 2,222 |
---
layout: page
title: About GEVI
permalink: /about/
tags: about
---
| gpernelle/gpernelle.github.io | _draft/about.md | Markdown | mit | 70 |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<!-- Responsive Meta Data -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalab... | hacke2/jsrockshq.github.io | index.html | HTML | mit | 70,474 |
<?php
session_start();
header('Content-Type: application/json');
require_once('./../../api/utils.php');
if(!$_SESSION['_admin_userid']){
Utils::json(0, '没有获取该数据', 'No permissions');
}
$userid = $_SESSION['_admin_userid'];
//获取页数
$page = $_REQUEST['page'];
if(!$page) $page = 1;
$page = (int)$pag... | vczero/aissues | base/api/get_books.php | PHP | mit | 2,187 |
# Disclosure - A mini maze game.
You have to reach the exit of the maze, but be careful, your flashlight won't last forever...

## Items
You might find some items on your way, they will be stored automagically in your inventory. Here is a list of the available items and ... | evuez/disclosure | README.md | Markdown | mit | 1,285 |
#ifndef ILLA_TYPES_H
#define ILLA_TYPES_H
#include "orz/exception.h"
#include <cstdint>
namespace Err {
struct CodecError:public std::runtime_error {
CodecError(const std::string& msg):std::runtime_error("Codec error: " + msg) {}
};
struct InvalidHeader:public CodecError {
InvalidHeader(const std::string& msg... | poppeman/Pictus | source/deps/illa/types.h | C | mit | 1,965 |
require 'minitest_helper'
describe Fog::XenServer::Compute::Models::HostPatchs do
let(:host_patchs_class) { Fog::XenServer::Compute::Models::HostPatchs }
it 'should be a collection of HostPatchs' do
host_patchs_class.model.must_equal(Fog::XenServer::Compute::Models::HostPatch)
end
end | fog/fog-xenserver | spec/fog/xenserver/compute/models/host_patchs_spec.rb | Ruby | mit | 297 |
namespace SimpleJudje.IO
{
using SimpleJudje.Attributes;
using SimpleJudje.Contracts;
using SimpleJudje.Exceptions;
[Alias("cdrel")]
public class ChangeRelativePathCommand : Command, IExecutable
{
[Inject]
private readonly IDirectoryManager inputOutputManager;
public C... | HristoSpasov/C-Sharp-Advanced | Bashsoft/SimpleJudje/IO/ChangeRelativePathCommand.cs | C# | mit | 786 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Original URL: http://www.finitegeometry.org/sc/gen/bdes/index.html
Date Downloaded: 1/9/2016 12:17:48 AM !-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--project01-->
<meta name="description" content="B... | m759/m759.github.io | gen/bdes/index.html | HTML | mit | 9,221 |
# FingerLock
[](https://travis-ci.org/dokun1/FingerLock)
[](https://twitter.com/dokun24)
[{ %>
<div class="col-xs-12 col-sm-<%- gridInput%>">
<label class="radio-inline">
<input type="radio" <%if (i < 1) { %> checked="checked" <% } %>... | pacozaa/uxformbuilder | assets/js/templates/snippet/multipleradiosinline.html | HTML | mit | 397 |
"""Defines the SMEFT class that provides the main API to smeftrunner."""
from . import rge
from . import io
from . import definitions
from . import beta
from . import smpar
import pylha
from collections import OrderedDict
from math import sqrt
import numpy as np
import ckmutil.phases, ckmutil.diag
class SMEFT(object)... | DsixTools/python-smeftrunner | smeftrunner/classes.py | Python | mit | 11,842 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>hammer-tactics: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.02.3-2.0.6/released/8.4.6~camlp4/hammer-tactics/1.2+8.10.html | HTML | mit | 7,534 |
---
layout: category-post
title: "Curious Korlia"
excerpt: "aka, the bisonal backdoor"
date: 2014-11-25T18:43:44-05:00
---
### Introduction
Reverse engineers organize discrete of pieces of malware into families. While digging through my malware collection I stumbled across this hash (B8FDFEE08DEEE5CCC1794BAF9ED553CE)... | securitykitten/securitykitten.github.io | _posts/2014-11-25-curious-korlia.md | Markdown | mit | 6,022 |
| <%= ruleId %> | <%= ruleCount %> | <%= visual %> |
| sven-piller/eslint-formatter-markdown | templates/md-template-stats-row.md | Markdown | mit | 53 |
define([
'app-lib/vstack'
], function(vstack) {
/*
afterAll(function(done) {
vstack.dropTables().then(function() {
done();
});
});
*/
describe("test that createTables vstack works when tables exist.", function() {
it("returns successfully", function(done) {
... | VStackPlatform/VStack | app/test/lib/vstackSpec.js | JavaScript | mit | 500 |
package xyz.thepathfinder.chimneyswap;
import com.google.android.gms.maps.model.LatLng;
import com.google.gson.JsonObject;
import java.io.IOException;
import xyz.thepathfinder.android.Cluster;
import xyz.thepathfinder.android.CommodityStatus;
import xyz.thepathfinder.android.Pathfinder;
public class SwapChimneysReq... | CSSE497/pathfinder-android | examples/ChimneySwap/app/src/main/java/xyz/thepathfinder/chimneyswap/SwapChimneysRequest.java | Java | mit | 1,764 |
---
layout: page
title: Deleon 45th Anniversary
date: 2016-05-24
author: George Cooper
tags: weekly links, java
status: published
summary: Pellentesque placerat leo non venenatis lacinia. Duis mi justo.
banner: images/banner/leisure-04.jpg
booking:
startDate: 08/14/2016
endDate: 08/17/2016
ctyhocn: ORFGLHX
grou... | KlishGroup/prose-pogs | pogs/O/ORFGLHX/D4A/index.md | Markdown | mit | 2,692 |
# Kraken PHP Framework ~ Release the Kraken!
[](https://travis-ci.org/kraken-php/framework)
[](https://packagist.org/packages/kraken-php/framework)
[;
var zip = require('gulp-zip');
var del = require('del');
var install = require('gulp-install');
var runSequence = require('run-sequence');
var awsLambda = require("node-aws-lambda");
gulp.task('clean', function() {
return del(['./dist', './dist.zip']);
});
gulp.task('js', function() {
... | davidtron/aws-lambda-pipeline | gulpfile.js | JavaScript | mit | 1,004 |
# Guía de uso
Para empezar a usar el script, crea un marcador en tu navegador y como URL, copia y pega el contenido del [bookmarklet](https://raw.githubusercontent.com/xusoo/netflix-coming-soon-script/master/dist/bookmarklet.js).

Una vez *instalado*, ve a uno de los siguientes bus... | xusoo/netflix-coming-soon-script | HOWTO.md | Markdown | mit | 1,760 |
/*
* Usage:
*
* <div class="wppl-cube-grid">
* <div class="wppl-cube wppl-cube1"></div>
* <div class="wppl-cube wppl-cube2"></div>
* <div class="wppl-cube wppl-cube3"></div>
* <div class="wppl-cube wppl-cube4"></div>
* <div class="wppl-cube wppl-cube5"></div>
* <div c... | shatmanov/wp-preloader | css/cube-grid.css | CSS | mit | 2,370 |
import java.util.concurrent.ConcurrentHashMap;
public class ConcurrentHashMapDemo {
public static void main(String[] args) {
// Remember hashes are key-value pairs
// e.g. animal id number to noise it makes
// 1 -> "meow"
// 17 -> "moo"
// 4 -> "cluck"
// Can be in any order, can be gaps
ConcurrentHashM... | laboon/CS1530_Summer2017 | sample_code/concurrency/ConcurrentHashMapDemo.java | Java | mit | 583 |
import {Component} from '@angular/core'
import {JoDirectService, JoDirectResponse, JoDirectCode} from '../../services/jodirect.service'
@Component({
selector: `jodirect-send-page`,
template: `
<div id="parent">
<span [style.display]="itemDisplay">You can only send one message to a token, s... | Grarak/grarak.com | src/app/pages/jodirect/jodirectsend.component.ts | TypeScript | mit | 2,816 |
/**
* Copyright 2008 The University of North Carolina at Chapel Hill
*
* 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
*
... | dee-bee/decisionz | decisionz/lib/jquery.xmleditor-master/demo/stylesheets/reset.css | CSS | mit | 1,748 |
<?php
if (!count($_POST)) { include DIR."/php/view/admin/landcover.php"; die(); }
use Trust\JSONResponse;
use SSBIN\Landcover;
use Trust\Forms;
use Trust\Pager;
$services = ['saveNew','saveOld','delete','get'];
if (in_array($_POST['a'], $services)) $_POST['a'](); else JSONResponse::Error("Service unavailable");
func... | fandisus/SSBIN | php/controller/admin/landcover.php | PHP | mit | 2,155 |
// Use this mixin at HTML/BODY level to enable pjax behavior
// Your fluxexapp should provide routeToURL() for this mixin
// See routeToURL.js for more info
//
// To support IE8,
// You will need to npm install html5-history-api,
// then add require('fluxex/extra/history'); in your fluxexapp.js
module.exports = {
... | zordius/fluxex | extra/pjax.js | JavaScript | mit | 2,195 |
from collections import namedtuple
import sublime
from sublime_plugin import WindowCommand
from ..git_command import GitCommand
MenuOption = namedtuple("MenuOption", ["requires_action", "menu_text", "filename", "is_untracked"])
CLEAN_WORKING_DIR = "Nothing to commit, working directory clean."
ADD_ALL_UNSTAGED_FILES... | ypersyntelykos/GitSavvy | core/commands/quick_stage.py | Python | mit | 3,133 |
## Top Ranked Startups in Gibraltar
1. [easy.office](http://www.startupranking.com/easy-office)
2. [epic-brands](http://www.startupranking.com/epic-brands)
3. [fair-game-studio](http://www.startupranking.com/fair-game-studio)
| softvar/awesome-startups | countries/gibraltar.md | Markdown | mit | 228 |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef SYSCOIN_UTIL_TIME_H
#define SYSCOIN_UTIL_TIME_H
#include <stdint.h>
#inc... | syscoin/syscoin2 | src/util/time.h | C | mit | 1,810 |
<HTML><HEAD>
<TITLE>Review for Best Man, The (1999/I)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0168501">Best Man, The (1999/I)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Jonatha... | xianjunzhengbackup/code | data science/machine_learning_for_the_web/chapter_4/movie/21417.html | HTML | mit | 3,674 |
import angular from 'angular';
import { Inject, Bind } from 'angular-es-utils';
import {hasScrolled} from '../../../common/utils/style-helper';
import { isPromiseLike } from 'angular-es-utils/type-auth';
@Inject('$scope', '$element')
export default class DropdownSelectCtrl {
// 选项 item 字段映射
static defaultMapping = {... | ShuyunFF2E/ccms-components | src/components/dropdown/dropdown-select/DropdownSelectCtrl.js | JavaScript | mit | 9,781 |
# standard imports
import os
import logging
import traceback
# Qt imports
from PyQt5.QtCore import pyqtSignal, pyqtSlot
from PyQt5.QtWidgets import QPlainTextEdit
# toolbox imports
from dltb.util.debug import edit
# GUI imports
from ..utils import protect
# logging
LOG = logging.getLogger(__name__)
class QLogHa... | Petr-By/qtpyvis | qtgui/widgets/logging.py | Python | mit | 5,929 |
正则表达式
去掉html中的tags:
示例:
demo.html
<b>This</b> is what <span style="text-decoration: underline;">I</span> meant. Understand?
替换命令:
# 如果你这样搞的话,就会有问题
$ sed 's/<.*>//g' demo.html
meant. Understand?
# 要解决上面的那个问题,就得像下面这样。
# 其中的'[^>]' 指定了除了>的字符重复0次或多次。
$ s... | sunyoboy/java-tutorial | book/Sed.md | Markdown | mit | 955 |
import dispatcher from "../stores/dispatcher";
export function createPosts(post) {
dispatcher.dispatch({
type: "CREATE_POST",
post
});
}
export function deletePost(id) {
dispatcher.dispatch({
type: "DELETE_POST",
id
})
} | melvinodsa/my-react-experiments | 2-personal-website/js/components/actions/postActions.js | JavaScript | mit | 234 |
#include "editaddressdialog.h"
#include "ui_editaddressdialog.h"
#include "addresstablemodel.h"
#include "guiutil.h"
#include <QDataWidgetMapper>
#include <QMessageBox>
EditAddressDialog::EditAddressDialog(Mode mode, QWidget *parent) :
QDialog(parent),
ui(new Ui::EditAddressDialog), mapper(0), mode(mode), mo... | pixicoin/pixicoin | src/qt/editaddressdialog.cpp | C++ | mit | 3,732 |
package metrics_test
import (
"net/http"
"net/http/httptest"
"testing"
"github.com/gkarlik/quark-go"
"github.com/gkarlik/quark-go/metrics/prometheus"
"github.com/gkarlik/quark-go/middleware/metrics"
tr "github.com/gkarlik/quark-go/service/trace/noop"
"github.com/stretchr/testify/assert"
)
type TestService st... | gkarlik/quark-go | middleware/metrics/middleware_test.go | GO | mit | 1,598 |
//
// eBayAPIHandler.h
// QRPrice
//
// Created by Alec Kretch on 2/12/16.
// Copyright © 2016 Alec Kretch. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "Constants.h"
@class EBayAPIHandler;
@protocol EBayAPIHandlerDelegate <NSObject>
- (void)getEbayCategoryId:(NSString *)categoryId;
- (void... | aleckretch/QRPrice | Source/QRPrice/QRPrice/EBayAPIHandler.h | C | mit | 1,052 |
---
author: admin
comments: true
date: 2006-10-11 06:03:00
layout: post
slug: i-want-prison-break
title: I Want Prison Break
wordpress_id: 127
categories:
- 蛋疼的事
---
每个人都活在一座监狱里
TOBECONTINUE……
| besteric/besteric.github.io | _posts/2006-10-11-i-want-prison-break.markdown | Markdown | mit | 233 |
#!/bin/bash
## Parse command line arguments
## !! --> Also, will mkdir the install location if it does not exist!
for i in "$@"; do case $i in
-p=*|--prefix=*) PREFIX="${i#*=}"; shift;;
-b=*|--build=*) BUILDTYPE="${i#*=}"; shift;;
-s=*|--searchpath=*) SEARCHPATH="${i#*=}"; shift;;
-t|--te... | shaunharker/CHomP | .install/parse.sh | Shell | mit | 1,124 |
/*
* This is a part of the BugTrap package.
* Copyright (c) 2005-2009 IntelleSoft.
* All rights reserved.
*
* Description: Preview dialog.
* Author: Maksim Pyatkovskiy.
*
* This source code is only intended as a supplement to the
* BugTrap package reference and related electronic documentation
* provided with... | bchavez/BugTrap | source/Client/PreviewDlg.cpp | C++ | mit | 19,721 |
/*
* contract.h
*
* Created on: Apr 12, 2014
* Author: wilfeli
*/
#ifndef CONTRACT_H_
#define CONTRACT_H_
#include "Asset.h"
#include "PaymentSystem.h"
class IBuyerL;
class ISellerL;
class IPSAgent;
//template<typename Ti, typename Th> class Contract: public Asset<Th>{
//// auto holder;
//// auto issu... | wilfeli/DMGameBasic | src/Contract.h | C | mit | 1,194 |
# urgot
Projeto teste desenvolvido com o intuito de desenvolver minhas habilidades com o Angularjs, Gulpjs e Nodejs. Seu objetivo principal é exibir imagens com marcações.
Atenção: este projeto esta parado devido a falta de tempo.
| geanpeixoto/urgot | README.md | Markdown | mit | 239 |
package com.wizzardo.http.http2;
/**
* Created by wizzardo on 27.07.15.
*/
public class Frame {
public enum Type {
DATA(0),
HEADERS(1),
PRIORITY(2),
RST_STREAM(3),
SETTINGS(4),
PUSH_PROMISE(5),
PING(6),
GOAWAY(7),
WINDOW_UPDATE(8),
... | wizzardo/http | src/main/java/com/wizzardo/http/http2/Frame.java | Java | mit | 1,680 |
/**
* @param {number} c
* @return {boolean}
*/
const judgeSquareSum = function (c) {
for (let i = 0; i <= Math.sqrt(c / 2); ++i) {
let x = c - i * i;
let sqrtX = Math.sqrt(x);
if (sqrtX === Math.floor(sqrtX)) {
return true;
}
}
return false;
};
module.exports ... | alenny/leetcode | src/sum-of-square-numbers/index.js | JavaScript | mit | 337 |
import * as React from 'react'
import * as css from './styles.scss'
import { Classes } from 'helpers'
export interface P {
name?: string;
type?: 'button' | 'checkbox' | 'file' | 'hidden' | 'password' | 'radio' | 'text';
label?: string;
value?: string | number;
focus?: boolean;
integer?: boolean;
floatin... | lnked/react-starter | src/components/simple-input/index.tsx | TypeScript | mit | 3,214 |
export default {
dialPlaceholder: "Name oder Nr. eingeben"
};
// @key: @#@"dialPlaceholder"@#@ @source: @#@"Enter Name or Number"@#@
| ringcentral/ringcentral-js-widget | packages/ringcentral-widgets/components/Rcui/RecipientsInput/i18n/de-DE.js | JavaScript | mit | 136 |
<?php
/*
* This file is part of the Presque package.
*
* (c) Justin Rainbow <justin.rainbow@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Presque\Command;
use Symfony\Component\Console\Input\InputInterface... | justinrainbow/presque | src/Presque/Command/WorkerCommand.php | PHP | mit | 1,131 |
class Dorsale::UsersController < ::Dorsale::ApplicationController
before_action :set_objects, only: [
:show,
:edit,
:update,
]
def index
authorize User, :list?
@users ||= scope.all.order(is_active: :desc)
end
def new
@user ||= scope.new
authorize @user, :create?
end
def cr... | agilidee/dorsale | app/controllers/dorsale/users_controller.rb | Ruby | mit | 1,381 |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.4
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... | JinkiJung/PAUT | VRAT/vrat/Assets/Plugins/NoesisGUI/Scripts/Proxies/Setter.cs | C# | mit | 3,175 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.