- Use
/usr/bin/loggerto log to syslog (-tto tag messages) - Example crontab entry:
0 12 * * * /path/to/myapp 2>&1 | /usr/bin/logger -t myapp - View syslog:
tail -f /var/log/syslog - Logs are rotated and saved as
/var/log/syslog.*.gz
- Use 2 separate USB sticks
- Install Windows 7 Pro from ISO
- Download Bootcamp tools (e.g. Bootcamp 5.1.5640)
- https://twocanoes.zendesk.com/hc/en-us/articles/203424697
- https://www.microsoft.com/en-us/download/windows-usb-dvd-download-tool
- Crop & convert:
ffmpeg -i source.wav -codec:a libmp3lame -qscale:a <quality> -ss <start> -to <end> out.mp3 - Further cropping:
ffmpeg -i out.mp3 -ss <start> -to <end> -acodec copy part1.mp3 <quality>is 0-9, 0 being best. This should be 0-3 for highest transparent quality.andare timestamps, e.g.00:05:30or03:45:00.
- Vim is a modal editor with four primary modes
- Normal: default mode used for movement and commands
- Insert: typical text editing mode
- Visual: selection mode for selecting characters, lines, and blocks of text
- Command-line: for entering editor commands (e.g.
:qor:help)
- Vim strives to be purely keyboard-driven
- If your secondary account is hosted on Google Apps, you might need to allow less secure apps to enable sending and forwarding
- See details here
- Settings > Accounts and Import > Send mail as > Add another email address you own
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
| 'atom-workspace': | |
| 'ctrl-shift-f': 'project-find:show' | |
| 'ctrl-t': 'fuzzy-finder:toggle-file-finder' | |
| '.platform-win32 atom-text-editor': | |
| 'ctrl-=': 'editor:auto-indent' | |
| 'ctrl-w': 'core:close' | |
| 'ctrl-a': 'core:select-all' | |
| 'ctrl-s': 'core:save' | |
| 'ctrl-left': 'editor:move-to-beginning-of-word' |
Create authors.txt with a mapping from svn users to git users:
jane.doe = Jane Doe <[email protected]>
john.smith = John Smith <[email protected]>
Clone the svn repo using git svn:
- Requires Windows 10 Professional or better
- Enable Hyper-V: (as admin)
bcdedit /set hypervisorlaunchtype Auto - Enable DEP: (as admin)
bcdedit /set {current} nx OptOut - Download and install Docker for Windows Beta
- Start Docker
- To allow sharing volumes: System Tray -> Docker -> Settings -> Shared Drives -> C -> Enter Password
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
| REM In admin prompt | |
| REM Ensure web server/application is listening on all interfaces (0.0.0.0) | |
| netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=80 connectaddress=10.0.75.2 connectport=80 | |
| netsh advfirewall firewall add rule name="App" dir=in action=allow protocol=TCP localport=80 remoteport=80 | |
| netsh interface portproxy show v4tov4 | |
| netsh advfirewall firewall show rule "App" | |
| netsh interface portproxy delete v4tov4 listenaddress=0.0.0.0 listenport=80 | |
| netsh advfirewall firewall del rule name="App" |