Skip to content

Instantly share code, notes, and snippets.

View mattroz's full-sized avatar
:electron:
...

Matt Rozanov mattroz

:electron:
...
  • Germany, München
View GitHub Profile
1. write image to USB:
1.1 sudo umount /dev/sdX
1.2 sudo dd if=/path/to/image.iso of=/dev/sdX bs=4M && sync
print all environment variables: printenv
@mattroz
mattroz / SSH
Created October 21, 2016 06:44
To copy a file from B to A while logged into B:
`scp /path/to/file username@a:/path/to/destination`
To copy a file from B to A while logged into A:
`scp username@b:/path/to/file /path/to/destination`
cat /etc/services - list of network ports and services on 'em
ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -qscale 0 /tmp/out.mpg
@mattroz
mattroz / Statistics
Last active August 29, 2017 07:00
Statistics: n vs (n-1) in standard deviation
https://www.youtube.com/watch?v=ANsVodOu1Tg
git commands and tricks in comments |
v