This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set noexpandtab " use tabs, not spaces | |
set tabstop=8 " tabstops of 8 | |
set shiftwidth=8 " indents of 8 | |
set textwidth=78 " screen in 80 columns wide, wrap at 78 | |
set autoindent smartindent " turn on auto/smart indenting | |
set smarttab " make <tab> and <backspace> smarter | |
set backspace=eol,start,indent " allow backspacing over indent, eol, & start | |
filetype plugin indent on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "SqueezeNext-1.0-2.3-v5" | |
engine: "MKL2017" | |
name: "SqueezeNet 1.1" | |
layer { | |
name: "data" | |
type: "Data" | |
top: "data" | |
top: "label" | |
include { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "SqueezeNext-1.0-23" | |
engine: "MKL2017" | |
layer { | |
name: "data" | |
type: "Data" | |
top: "data" | |
top: "label" | |
include { | |
phase: TRAIN | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Original code: https://gist.github.com/lesstif/8185f143ba7b8881e767900b1c8e98ad | |
SL=/etc/apt/sources.list | |
cp ${SL} ${SL}.org | |
## | |
sed -e 's/\(us.\)\?archive.ubuntu.com/mirror.kakao.com/g' -e 's/security.ubuntu.com/mirror.kakao.com/g' < ${SL}.org > ${SL} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Original code: http://stackoverflow.com/questions/2616011/easy-way-to-parse-a-url-in-c-cross-platform */ | |
#include <string> | |
struct url { | |
public: | |
url(const std::string& url_s) { | |
this->parse(url_s); | |
} | |
std::string protocol_, host_, path_, query_; | |
private: | |
void parse(const std::string& url_s); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Performance & Power Monitor Script for Odroid-XU3 | |
# Author: Gyeonghwan Hong<[email protected]> | |
# Original Author: Dongig Shin<[email protected]> | |
GOVN_COLO="\033[31m" | |
WARN_COLO="\033[31;47m" | |
INFO_COLO="\033[36m" | |
INIT_COLO="\033[0m" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* list_head-like hash table implementation | |
* Author: Gyeonghwan Hong <[email protected]> | |
* Original Author: Tony Thompson <[email protected]> | |
*/ | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <limits.h> |