brew install mongodb
mkdir -p /data/db
| rm(list=ls()) | |
| setwd("~") | |
| library(jsonlite) | |
| pageSize <- 10000 | |
| total <- 9620 | |
| for (i in 1:total){ | |
| print(i) |
| #!/bin/bash | |
| # brew install jq | |
| # apt-get install jq | |
| # yum install jq | |
| pageSize=100 | |
| total=962000 | |
| for i in `seq 0 1 $total` |
| sudo tune2fs -O ^dir_index /dev/xvda1 | |
| sudo tune2fs -O dir_index /dev/xvda1 |
| { | |
| "countries": [{ | |
| "iso": "AF", | |
| "name": "Afghanistan", | |
| "code": "+93" | |
| }, | |
| { | |
| "iso": "AL", | |
| "name": "Albania", | |
| "code": "+355" |
| # Editor configuration, see http://editorconfig.org | |
| root = true | |
| [*] | |
| charset = utf-8 | |
| indent_style = space | |
| indent_size = 2 | |
| insert_final_newline = true | |
| trim_trailing_whitespace = true |
| brew update | |
| brew install maven |
| const React = window.React; | |
| const { Map, TileLayer, Marker, Popup } = window.ReactLeaflet; | |
| const style = { | |
| map: { | |
| height: '400px', | |
| width: '100%' | |
| } | |
| } |
brew install python3
pip3 install pylint
pip3 install awscli
pip3 install boto3
| import signal | |
| import sys | |
| from time import sleep | |
| SIGINT = False | |
| def signal_handler(signal, frame): | |
| print('Ctrl + C received...') | |
| global SIGINT | |
| SIGINT = True |