Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
license: gpl-3.0 |
boot.img http://dl.free.fr/h4GMnkXNR | |
system.img http://dl.free.fr/fCtptJFxs |
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
If you want your terminal vim to open files you double click, follow the following steps (MacOS only): | |
1. Open Automator | |
2. Select Application | |
3. Copy the attached file | |
4. Save and set as default for opening files | |
Multiple files are opened in vim tabs. | |
If there is already a vim instance running, files are opened in it. |
" A minimal vimrc for new vim users to start with. | |
" | |
" Referenced here: http://www.benorenstein.com/blog/your-first-vimrc-should-be-nearly-empty/ | |
" Original Author: Bram Moolenaar <[email protected]> | |
" Made more minimal by: Ben Orenstein | |
" Last change: 2012 Jan 20 | |
" | |
" To use it, copy it to | |
" for Unix and OS/2: ~/.vimrc |
require 'net/http' | |
require 'json' | |
require 'uri' | |
@token = '' | |
def list_files | |
ts_to = (Time.now - 30 * 24 * 60 * 60).to_i # 30 days ago | |
params = { | |
token: @token, |
# You should download the ffmpeg source code from the http://ffmpeg.org/ | |
# libx264 need yasm, so we install yasm first | |
sudo apt-get install yasm | |
sudo apt-get install libx264-dev | |
# then, install the required packages | |
sudo apt-get install libfaac-dev | |
sudo apt-get install libmp3lame-dev | |
sudo apt-get install libtheora-dev |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator $(which alacritty) 50 | |
sudo update-alternatives --config x-terminal-emulator |