sysctl -w fs.file-max=12000500
sysctl -w fs.nr_open=20000500
# Set the maximum number of open file descriptors
ulimit -n 20000000
# Set the memory size for TCP with minimum, default and maximum thresholds
sysctl -w net.ipv4.tcp_mem='10000000 10000000 10000000'
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
//sample entry file | |
require('./node_modules/riot/dist/riot.js'); | |
require('./timer.tag') | |
require('./todo.tag') | |
require('./todo.css') | |
riot.mount('todo', { | |
title: 'I want to behave!', | |
items: [ |
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
# Download latest Android image, "hammerhead" for Nexus 5 (GSM/LTE) | |
https://developers.google.com/android/nexus/images#hammerhead | |
# Download latest TWRP | |
https://dl.twrp.me/hammerhead/ | |
# Download latest SuperSu | |
https://download.chainfire.eu/supersu | |
Enable USB debugging. |