Add admin user for Homebrew management and a standard user for daily work.
As admin user:
0. umask 002
sudo mkdir /usr/localsudo chown root:admin /usr/local- Install Homebrew in
/usr/local
| Instructions below - meant for versions prior to x11-base/xorg-drivers-1.19 - will work unless one hits this bug: | |
| + https://bugs.freedesktop.org/show_bug.cgi?id=92792 | |
| Additional three steps to success. The focus lies on "booting with monitor turned on or off". | |
| Therefore I assume KMS works as expected and edid.bin exists inside /lib/firmware/edid. | |
| Adjust your output connector and resolutions in all configs accordingly: | |
| 1. Kernel config (tested with 4.9.9) | |
| + CONFIG_FIRMWARE_IN_KERNEL=y | |
| + CONFIG_EXTRA_FIRMWARE="edid/edid.bin" |
| while IFS=" " read -ra packages; do emerge -pq "${packages[0]}"; done < /etc/portage/package.use/world |
| [alias] | |
| su = "!switchuser() { git config user.name $1 && git config user.email $2; }; switchuser" |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| # Get raw encoder value | |
| ffprobe -v quiet -print_format compact=print_section=0:nokey=1:escape=csv -show_entries format_tags=encoder "$input_file" | |
| # Get raw duration value | |
| ffprobe -v quiet -print_format compact=print_section=0:nokey=1:escape=csv -show_entries format=duration "$input_file" | |
| # Generate spectrogram | |
| ffmpeg -ss "$start_position" -t "$duration" -i "$input_file" -f sox - | sox -t sox - -n spectrogram -o "${output_name}.png" | |
| # Generate raw data used in spectrogram |
| #!/usr/bin/env bash | |
| paths=( | |
| "/bin" | |
| "/sbin" | |
| ) | |
| backup="/root/bbbackup" | |
| if [[ ! -d "$backup" ]]; then |
| # An openrc init script (local.d) which sets the io scheduler in "/sys/block/sd?/queue/scheduler" | |
| # for a custom list of known solid state drives. | |
| enable=false | |
| local_start() | |
| { | |
| local ssd_scheduler | |
| local -a ssd_devices |
| /** | |
| * A chainable function to fade in a number of elements one | |
| * after another. | |
| * | |
| * @param {Object} timing | |
| * | |
| */ | |
| $.fn.leVader = function( timing ) { | |
| this.each(function( index ) { | |
| $( this ).delay( index * timing.delay ).fadeIn( timing.duration ); |
| UPDATE `tx_dam` | |
| SET | |
| `title`='title', | |
| `loc_country`='country', | |
| `loc_city`='city', | |
| `description`='description', | |
| `alt_text`='alt_text', | |
| `caption`='caption', | |
| `abstract`='abstract' | |
| WHERE `sys_language_uid`=1 (AND `file_mime_type`='image') |