Totally stolen from elsewhere, but worked for me...
- Edit file
/etc/systemd/system/getty.target.wants/getty@tty1.service - Find the
[Service]section and changeExecStartline to read ExecStart=-/sbin/agetty --noclear -a YOUR_USERNAME_HERE %I 38400
| ### Open Terminal then get homebrew if you don't already have it. | |
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
| ### Then run these commands (this is not the order from the video, but should be cleaner here). | |
| brew install openssl readline sqlite3 xz zlib android-platform-tools tcl-tk | |
| ### Then set these env variables to ensure pyenv is built correctly and install it: |
| mkdir fixed | |
| # WAV Files need to be Stereo, 44100, 16bit and have no metadata | |
| for file in *.wav; do ffmpeg -y -i $file -ac 2 -ar 44100 -sample_fmt s16 -map_metadata -1 -fflags +bitexact -flags:v +bitexact -flags:a +bitexact fixed/$file; done |
| javascript: (function() { | |
| var showNew = function () { | |
| $('.chart-element__trend:not(.chart-element__trend--new)'). | |
| closest('.chart-list__element').remove(); | |
| $('.chart-list__ad').remove(); | |
| $('.chart-list__element').each(function () { | |
| if ($(this).find('.chart-element__trend').text() === 'Re-Enter') { | |
| $(this).remove(); | |
| return; | |
| } |
| 0xCEBD0f28178330F5b31ff0b3cb0293C8e42763A3 |
| 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, |
| For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set mydate=%%c-%%a-%%b) | |
| For /f "tokens=1-3 delims=/:/ " %%a in ('time /t') do (set mytime=%%a-%%b-%%c) | |
| start VirtualDub.exe /capture /capdevice c525 /capfile "C:\Users\unrared\Storage\Video\VirtualDub\%mydate%_%mytime%_c525.avi" /priority realtime /capstart | |
| start VirtualDub.exe /capture /capdevice c920 /capfile "C:\Users\unrared\Storage\Video\VirtualDub\%mydate%_%mytime%_c920.avi" /priority realtime /capstart |
| $ brew update && brew doctor # Repeat, until you've done *all* the Dr. has ordered! | |
| $ brew install postgresql # You'll need postgres to do this... you may also need to 'initdb' as well. Google it. | |
| $ brew install elixir | |
| $ mix local.hex # Answer y to any Qs | |
| $ createuser -d postgres # create the default 'postgres' user that Chris McCord seems to like -- I don't create mine w/a pw... | |
| # Use the latest Phoenix from here: http://www.phoenixframework.org/docs/installation -- currently this is 1.0.3 | |
| # ** Answer y to any Qs ** | |
| $ mix archive.install https://github.com/phoenixframework/phoenix/releases/download/v1.0.3/phoenix_new-1.0.3.ez |
| #!/bin/sh | |
| # For Atlassian Bamboo version 5.14.3.1+ | |
| # The script here was out of date: | |
| # https://confluence.atlassian.com/bamboo/running-bamboo-as-a-linux-service-416056046.html | |
| set -e | |
| ### BEGIN INIT INFO | |
| # Provides: bamboo |
| <?php | |
| /** | |
| * Dev Helper for 404'd Images | |
| */ | |
| function placehold_404( $image ) { | |
| if ( !file_exists( str_replace(get_home_url().'/', '', $image[0]) ) ) { | |
| // Replace the image source with a placeholder at the proper dimensions. | |
| $image[0] = "http://placehold.it/{$image[1]}x{$image[2]}/ffd602/000000"; | |
| } | |
| return $image; |