(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <sys/mman.h> | |
#include <string.h> | |
void get_root(void) { | |
void * (*prepare_kernel_cred)(void *) = (void *) 0xc00387f4; | |
void (*commit_cred)(void *) = (void *) 0xc00384b4; |
import os | |
import sys | |
import struct | |
import ctypes | |
import compress | |
#compress.py from https://github.com/magical/nlzss/blob/master/compress.py | |
#slightly modified padding | |
def getWord(b, k, n=4): | |
return sum(list(map(lambda c: b[k+c]<<(c*8),range(n)))) |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
* Coverity integration, with uqs@ (lwhsu) | |
* Clang builds for doing static analysis with | |
scan-build (lwhsu) | |
* integrating Jenkins with Kyua (rodrigc, jmmv) | |
* boot time testing of images built with Jenkins. | |
-> libvirt to boot in VM's? | |
-> boot on real hardware? | |
-> reuse scripts from Kyua for booting in QEMU? | |
* provisioning VM's for doing Jenkins builds | |
-> look at pc-sysinstall scripts written by lwhsu |
/* | |
* 這是神人大大剛剛發的JS | |
* 我稍微分析了一下 | |
* 請各位不要幹這種無腦的事情 | |
* 還好他很 ______ 的只會讓你追蹤他,按他讚,Tag更多好友中標 | |
* 如果今天神人大大是真正的Hacker.... | |
* 他可以偷走你的個人資料,對你的帳號做各種奇怪的事情 | |
* Ex:對你的好友發送詐騙訊息,把你加入奇怪的社團 | |
* 在瀏覽器內執行來路不明的 JavaScript 是非常危險的... | |
*/ |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
There are a lot of ways to serve a Go HTTP application. The best choices depend on each use case. Currently nginx looks to be the standard web server for every new project even though there are other great web servers as well. However, how much is the overhead of serving a Go application behind an nginx server? Do we need some nginx features (vhosts, load balancing, cache, etc) or can you serve directly from Go? If you need nginx, what is the fastest connection mechanism? This are the kind of questions I'm intended to answer here. The purpose of this benchmark is not to tell that Go is faster or slower than nginx. That would be stupid.
So, these are the different settings we are going to compare:
@版本 2.0.0
譯注:此翻譯版,主要給不能流利的讀英文的人看,相關專有名詞還是保留原文。翻譯不好地方請協助pull request.
此repository包含了一些前端開發的面試問題,來審查一個有潛力的面試者。這並不是建議你對同一個面試者問上所有的問 (那會花費好幾小時)。從列表中挑幾個題目,應該就夠幫助你審查面試者是否擁有你需要的技能。
Rebecca Murphey 的 Baseline For Front-End Developers 也是一篇很棒且值得讀的文章在你開始面試之前。
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
#!/bin/sh | |
TARGET="mips-unknown-linux-uclibc" | |
TOOLCHAIN_PATH="$HOME/x-tools/$TARGET" | |
SYSROOT="$HOME/sysroot/$TARGET" | |
SCAN_BUILD_DIR="$HOME/src/llvm-svn/tools/clang/tools/scan-build" | |
SCAN_BUILD_CC="$HOME/bin/$TARGET-clang" | |
SCAN_BUILD_CXX="$HOME/bin/$TARGET-clang++" | |
SCAN_BUILD_OUT="analysis" |