- Homebrew
Confirmed working with
| # Stop all running containers | |
| docker stop $(docker ps -q | paste -sd " " -) | |
| # Stop and remove all containers | |
| docker rm -f $(docker ps -aq | paste -sd " " -) | |
| # Stop and remove all images | |
| docker rmi -f $(docker images -aq | paste -sd " " -) |
| /* -------------------------------------------------------------------------- */ | |
| // All Bootstrap 4 Sass Mixins [Cheat sheet] | |
| // Updated to Bootstrap v4.1.x | |
| // @author https://anschaef.de | |
| // @see https://github.com/twbs/bootstrap/tree/v4-dev/scss/mixins | |
| /* -------------------------------------------------------------------------- */ | |
| // Grid variables | |
| $grid-columns: 12 !default; | |
| $grid-gutter-width: 30px !default; |
#Heading 1 ##Heading 2 ###Heading 3 ####Heading 4 #####Heading 5 ######Heading 6
Paragraph
This will allow you to include additional directories to what cd will look at for completions. From the bash man page:
The search path for the cd command. This is a colon-separated list of directories in which the shell looks for destination directories specified by the cd command.
| // change this variable to change timeout for async scroll load | |
| var TIMEOUT_IN_MS = 1000 | |
| // script from https://gist.github.com/xavhan/87717da0217b9b8299df | |
| // start from www.shazam.com/myshazam | |
| // print all shazam songs loaded on the page | |
| // TODO: Change format to JSON | |
| function printShazamSongs(){ | |
| $(".ti__details").each(function(i){ | |
| var artist = $(this).find(".ti__artist meta").attr("content"); |
| var data = []; | |
| $(".ti__details").each(function(i){ | |
| var artist = $(this).find(".ti__artist meta").attr("content"); | |
| var title = $(this).find(".ti__title").attr("content"); | |
| var format = artist + " - " + title; | |
| var yt = 'http://www.youtube.com/results?search_type=&search_query=' + encodeURI(artist + " " + title) + '&aq=f&oq='; | |
| var spoti = 'https://play.spotify.com/search/'+ encodeURI(artist + " " + title); | |
| var item = new Object; | |
| console.groupCollapsed(format); | |
| console.log(yt); |
| on searchReplace(theText, SearchString, ReplaceString) | |
| set OldDelims to AppleScript's text item delimiters | |
| set AppleScript's text item delimiters to SearchString | |
| set newText to text items of theText | |
| set AppleScript's text item delimiters to ReplaceString | |
| set newText to newText as text | |
| set AppleScript's text item delimiters to OldDelims | |
| return newText | |
| end searchReplace |