One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
# download iot core iso file | |
# curl http://go.microsoft.com/fwlink/?LinkId=616847 | |
curl http://download.microsoft.com/download/8/C/B/8CBE5D09-B5C5-462B-8043-DAC64938FDAC/IOT%20Core%20RPi.ISO > IOT-Core-RPi.iso | |
# install p7zip for decompress *.iso and *.msi files | |
sudo port install p7zip | |
# decompress files | |
7z x IOT-Core-RPi.ISO | |
7z x Windows_10_IoT_Core_RPi2.msi |
from flask import send_file | |
from pandas import DataFrame | |
class MyModelView(ModelView): | |
@expose('/export') | |
def export(self): | |
# Grab parameters from URL | |
page, sort_idx, sort_desc, search, filters = self._get_list_extra_args() | |
sort_column = self._get_column_by_idx(sort_idx) | |
if sort_column is not None: | |
sort_column = sort_column[0] |
.PHONY: using-gcc using-gcc-static using-clang | |
using-gcc: | |
g++-4.8 -o main-gcc -lasan -O -g -fsanitize=address -fno-omit-frame-pointer main.cpp && \ | |
ASAN_OPTIONS=symbolize=1 ASAN_SYMBOLIZER_PATH=$(shell which llvm-symbolizer) ./main-gcc | |
using-gcc-static: | |
g++-4.8 -o main-gcc-static -static-libstdc++ -static-libasan -O -g -fsanitize=address -fno-omit-frame-pointer main.cpp && \ | |
ASAN_OPTIONS=symbolize=1 ASAN_SYMBOLIZER_PATH=$(shell which llvm-symbolizer) ./main-gcc-static |
__author__ = 'artemr' | |
''' | |
왜 파이썬 데코레이터를 만들때, @wraps어노테이션을 쓰는 것을 권장하는 걸까? | |
이유인 즉슨, 데코레이터 내부에서 인자로 전달받은 함수가 익명함수 처럼 취급되어 버리므로 디버깅이 난해해지는 단점이 있었기 때문이다. | |
자세한 설명은 아래의 링크에 첨부되어 있다. | |
원본: http://artemrudenko.wordpress.com/2013/04/15/python-why-you-need-to-use-wraps-with-decorators/ | |
사본: https://www.evernote.com/shard/s174/sh/78eaad5f-a8f2-4496-b984-e3385fb963c0/922d9ab4b5cd23ac7b85aab42536aa4f | |
''' | |
/* | |
Written by Amit Seal Ami | |
*/ | |
#include <stdio.h> | |
#include <string.h> | |
/* | |
Instructions | |
============ |
Prereq:
apt-get install zsh
apt-get install git-core
Getting zsh to work in ubuntu is weird, since sh
does not understand the source
command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
# GNU Screen - main configuration file | |
# All other .screenrc files will source this file to inherit settings. | |
# Author: Christian Wills - cwills.sys@gmail.com | |
# Allow bold colors - necessary for some reason | |
attrcolor b ".I" | |
# Tell screen how to set colors. AB = background, AF=foreground | |
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' |