To create an anchor to a heading in github flavored markdown.
Add - characters between each word in the heading and wrap the value in parens (#some-markdown-heading)
so your link should look like so:
[create an anchor](#anchors-in-markdown)
ffmpeg -i input.mp3 -acodec pcm_s16le -ac 1 -ar 16000 output.wav | |
# To convert all mp3 files in a directory in Linux: | |
for f in *.mp3; do ffmpeg -i "$f" -acodec pcm_s16le -ac 1 -ar 16000 "${f%.mp3}.wav"; done | |
# Or Windows: | |
for /r %i in (*) do ffmpeg -i %i -acodec pcm_s16le -ac 1 -ar 16000 %i.wav |
-- Autoscroll script for luakit (luakit.org). | |
-- Originally by @mason-larobina | |
-- (https://gist.github.com/mason-larobina/726550) | |
-- | |
-- Install instructions: | |
-- * Add to rc.lua before window spawning code | |
-- Or | |
-- * Save to $XDG_CONFIG_HOME/luakit/autoscroll.lua and | |
-- add `require "autoscroll"` to your rc.lua | |
---------------------------------------------------------------- |
Some things takes much less time and stress once you know the right tool. Below, there is a community edited list of software for scientists.
in General purpose text/code editors. It may be better to have a good editor for everything, than different ones for different languages, scripts, notes.
Install the dependencies for the archiso
package:
(root): pacman -S make squashfs-tools libisoburn dosfstools patch lynx devtools git
I recommend archiso
getting them from git, there is a package in the repositories, however, at this time of writing, it will not work with the instructions below.
So, grab the most recent version from git and install it:
(user): git clone git://projects.archlinux.org/archiso.git && cd archiso
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4 |
Cleaning up your Github account from those repositories you once forked and then forgot about is a tedious process when done manually.
Lets speed up this process with some automagic:
./clean-repos.sh
This is a guide to setup a Raspberry Pi as a webserver running Arch Linux ARM.
Some important links:
Raspberry Pi 2 B: much more powerfull than previous models, has 1GB RAM and a 900MHz CPU, very capable as a home server.