Skip to content

Instantly share code, notes, and snippets.

Setting up Babel and nodemon

Inital set-up

Set up project:

mkdir project
cd project
npm init -y
const jwt = require('jsonwebtoken');
const s = require('signale');
const token = jwt.sign({
user: 'johan'
}, 'aaaaa', {
expiresIn: '2s'
});
s.time('expires');
apm install autocomplete-clang file-icons platformio-ide platformio-ide-terminal language-vue
Meslo LG M DZ for Powerline
vue init vuetifyjs/webpack demo-app
cd demo-app
npm run dev

Down latest Android tcpdump https://www.androidtcpdump.com/

install adb (this is Arch)

yaourt -Sy android-tools
adb push tcpdump /storage/emulated/0 
adb shell
#wifi
wifi-menu
netctl start nameProfile
ping nu.nl
opstarten stick
Arch x86_84 > e > nomodeset
@zoutepopcorn
zoutepopcorn / 1989
Last active February 6, 2018 07:39
FFMPEG
docker run --privileged -d -p 6080:6080 -p 5554:5554 -p 5555:5555 -e DEVICE="Nexus 5" --name android-container butomo1989/docker-android-x86-7.0
FROM python:latest
MAINTAINER nobody
RUN apt-get update
WORKDIR /home
RUN git clone https://github.com/jonluca/Anubis
WORKDIR /home/Anubis
RUN pip install -r requirements.txt
RUN pip install -e .[test]
RUN echo "echo 'https://github.com/jonluca/Anubis\n\nanubis -t reddit.com'" >> /root/.bashrc
CMD ["/bin/bash"]
// DISABLE PIN CODE
AT+CPIN?
> +CPIN: READY
> OK
AT+CLCK="SC",2
> +CLCK: 1 //query SIM PIN status 0 = sim pin disabled
> OK
AT+CLCK="SC",0,"0000" //disable sim pin usage
@zoutepopcorn
zoutepopcorn / README.md
Last active December 17, 2017 20:10
Location

node index.js [mac]