MD5: 59bab8f71f8c096cd3f72cd73851515d
Rename it to: Sublime Text
Make it executable with: chmod u+x Sublime\ Text
| How to convert a video file to an animated GIF on Linux: | |
| Install required software: | |
| apt-get install ffmpeg gifsicle imagemagick: | |
| Convert the video file to a series of small images: | |
| mkdir /tmp/gif/ | |
| ffmpeg -i YOURVIDEOFILE.mp4 -r 10 /tmp/gif/out%04d.gif | |
| Combine these images together into a GIF animation: | |
| gifsicle –delay=10 –loop /tmp/gif/*.gif > animation.gif | |
| Optimise the GIF animation so the file size is smaller: |
| (* Script to record and tag spotify tracks, by Lloyd Moore *) | |
| (* Modified by Tiffany G. Wilson to resolve audio splitting issues, automate starting/stopping, and add recording customization *) | |
| (* Snippets for controlling Spotify are from Johnny B on tumblr (http://johnnyb.tumblr.com/post/25716608379/spotify-offline-playlist) *) | |
| (* The idea of using delayed tagging/filename updating is from a guest user on pastebin (http://pastebin.com/rHqY0qg9) *) | |
| (* The only thing to change in the script is the output format; you must change the file extension and the recording format to match *) | |
| (* Run this script once a song you want to record is queued (stopped at beginning) or playing *) | |
| (* Running the script will initiate hijacking, recording and audio playback *) | |
| (* To stop script, pause Spotify or wait for album/playlist to end*) | |
| (* To set id3 tags, use application Kid3 (http://sourceforge.net/projects/kid3/) and copy '%{artist} - %{album} - %{track} - %{title}' from file name to Tag 2 *) |
| #!/bin/bash | |
| # | |
| # Notify of Homebrew updates via Notification Center on Mac OS X | |
| # | |
| # Author: Chris Streeter http://www.chrisstreeter.com | |
| # Requires: terminal-notifier. Install with: | |
| # brew install terminal-notifier | |
| TERM_APP='/Applications/Terminal.app' | |
| BREW_EXEC='/usr/local/bin/brew' |
Orientiert sich an: http://taigaio.github.io/taiga-doc/dist/setup-production.html mit Anpassungen für Uberspace
| # -*- coding: utf-8 -*- | |
| """ | |
| Python Script to download the Chrome Extensions (CRX) file directly from the google chrome web store. | |
| Referred from http://chrome-extension-downloader.com/how-does-it-work.php | |
| """ | |
| from __future__ import division | |
| import argparse | |
| import requests |
Since 2008 or 2009 I work on Apple hardware and OS: back then I grew tired of Linux desktop (which is going to be MASSIVE NEXT YEAR, at least since 2001), and switched to something that Just Works. Six years later, it less and less Just Works, started turning into spyware and nagware, and doesn't need much less maintenance than Linux desktop — at least for my work, which is system administration and software development, probably it is better for the mythical End User person. Work needed to get software I need running is not less obscure than work I'd need to do on Linux or othe Unix-like system. I am finding myself turning away from GUI programs that I used to appreciate, and most of the time I use OSX to just run a terminal, Firefox, and Emacs. GUI that used to be nice and unintrusive, got annoying. Either I came full circle in the last 15 years of my computer usage, or the OSX experience degraded in last 5 years. Again, this is from a sysadmin/developer ki
| # Author: @vitovalov | |
| # Description: pass it a mp4 and you will have a gif | |
| # Dependencies: ffmpeg, gifsicle | |
| if [ "$#" -le 1 ]; then | |
| echo "\nUsage: sh gifit.sh <source path to original mp4> <delay between frames>" | |
| echo "Warning! filenames shouldn't contain the extension\n" | |
| exit 1 | |
| fi | |
| ffmpeg -i $1.mp4 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=$2 > $1.gif |
| #!/bin/sh | |
| help=0 | |
| latest=0 | |
| verbose=0 | |
| status=0 | |
| usage() { | |
| cat <<-EOF | |
| ${0##*/} [options] |
| [[[HSRC]]] | |
| [[[STEP]]] | |
| [[[DEFINE routername="OpenWrt Barrier Breaker"/]]] | |
| [[[/STEP]]] | |
| [[[STEP]]] | |
| [[[REQUEST]]] | |
| POST /cgi-bin/luci HTTP/1.1 | |
| Host: %%%routerip%%% |