#Mac SSH or VPN 设置教程
This guide is written by @slaindev, the text editor is Mou
specially for @neolau & @ dinosaurshmily
##SSH 设置篇
###工具准备
#Mac SSH or VPN 设置教程
This guide is written by @slaindev, the text editor is Mou
specially for @neolau & @ dinosaurshmily
##SSH 设置篇
###工具准备
#Research:
#Media:
#Code:
// ==UserScript== | |
// @name Desktop Notification 4 Web WeChat | |
// @namespace https://gist.github.com/4639820 | |
// @version 1.0 | |
// @description nothing | |
// @match https://web.wechatapp.com/ | |
// @copyright 2013+, Carmack.Shi | |
// ==/UserScript== | |
var mainFunc = function () { |
// ==UserScript== | |
// @name 58.com Filter | |
// @namespace http://use.i.E.your.homepage/ | |
// @version 0.1 | |
// @description For my girlfriend | |
// @include http://bj.58.com/hezu/* | |
// @copyright 2012+, You | |
// ==/UserScript== | |
//Constants |
/** | |
* Created with JetBrains WebStorm. | |
* User: Baoxu Shi | |
* Date: 13-4-19 | |
* Time: PM12:09 | |
* To change this template use File | Settings | File Templates. | |
*/ | |
var uuidGen = require('./uuidGenerator.js'); |
#!/bin/bash | |
FILES="./*.txt" | |
DEST="/afs/dropbox" | |
SUFIX=".txt" | |
for f in $FILES | |
do | |
echo "${f:2}" | |
TMP=${f:2} |
import org.apache.spark.graphx._ | |
import org.apache.spark.{SparkConf, SparkContext} | |
object StackOverFlow { | |
def main(args: Array[String]) { | |
val conf = new SparkConf().setAppName("HDTM") | |
.setMaster("local[4]") | |
val sc = new SparkContext(conf) |
####### Please Check github.com/bxshi/rdsg for new updates, this gist will not be change in the future ####### | |
## However, you can still use this since it is correct so far ## | |
# Port of original DeltaCon to R | |
# Baoxu(Dash) Shi | |
# Data Sciense Group | |
# University of Notre Dame | |
# | |
# Citation | |
# D. Koutra, J. T. Vogelstein, and C. Faloutsos: |
#!/usr/bin/python3 | |
import csv | |
import os | |
import sys | |
from lxml import etree | |
if len(sys.argv) is not 5: | |
print("Usage simple_parser.py dblp.xml article.csv author.csv citation.csv") | |
exit(1) |
#ifndef SOLUTION_UNIQUE_STR_CPP | |
#define SOLUTION_UNIQUE_STR_CPP | |
#include <string> | |
// Github Repository https://github.com/bxshi/interview-code/blob/master/src/CtCI5/1_1_unique_char.cpp | |
size_t _partition(std::string& str, size_t i, size_t j) { | |
size_t low = i; | |
size_t high = j; |