insalling dockly
curl -sL https://deb.nodesource.com/setup_8.x | sudo bash -
sudo apt-get install -y nodejs
sudo apt install npm
sudo npm install -g dockly
dockly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tasks_ = task.application.instance_variable_get(:@tasks) | |
| tasks_['db:rails_migrate'] = tasks_['db:migrate'] | |
| tasks_.delete('db:migrate') | |
| task.application.instance_variable_set(:@tasks, tasks_) | |
| namespace :db do | |
| desc 'This task sends out notifcations, needs to run at least hourly to work.' | |
| task migrate: :environment do | |
| byebug |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [global_config] | |
| [keybindings] | |
| [profiles] | |
| [[default]] | |
| use_custom_command = True | |
| login_shell = True | |
| custom_command = cd ~/path/to/default/folder; /bin/bash -l; | |
| [layouts] | |
| [[default]] | |
| [[[child0]]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'rspec/autorun' | |
| # Resources: | |
| # http://literacy.kent.edu/Minigrants/Cinci/romanchart.htm | |
| # https://en.wikipedia.org/wiki/Roman_numerals#Roman_numeric_system | |
| # https://coderpad.io/ Remote Pairing/recording of interview | |
| describe 'Numeral' do | |
| [ | |
| [ 1, 'I' ], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Open up a chrome console while viewing the files of a Github PR and paste this: | |
| var deleted_nodes = document.querySelectorAll(".blob-code.blob-code-deletion .blob-code-inner"); | |
| var added_nodes = document.querySelectorAll(".blob-code.blob-code-addition .blob-code-inner"); | |
| var neutral_nodes = document.querySelectorAll(".blob-code.blob-code-context .blob-code-inner"); | |
| var removeNodes = function(nodes) { | |
| for(var i=0; i < nodes.length; i++) { | |
| nodes[i].removeChild(nodes[i].childNodes[0]); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "color_scheme": "Packages/Color Scheme - Default/Twilight.tmTheme", | |
| "file_exclude_patterns": | |
| [ | |
| "*.log" | |
| ], | |
| "font_size": 10, | |
| "tab_size": 2, | |
| "word_wrap": false | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name JIRA Card colorizer | |
| // @namespace liquid-software.com | |
| // @version 0.9.3 | |
| // @description A script to colorize jira cards based on their priority. Works on the backlog and sprint view with any cards of priority other than "Minor" "Major" or "Trivial". | |
| // @author Corey Fleming | |
| // @match https://*.atlassian.net/secure/RapidBoard.jspa* | |
| // @updateURL https://gist.github.com/KoRMaK/7f864cdfd0769eba508b44cc4a796ab2/raw/jira_card_colorizer.user.js | |
| // @downloadURL https://gist.github.com/KoRMaK/7f864cdfd0769eba508b44cc4a796ab2/raw/jira_card_colorizer.user.js | |
| // @grant none |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Youtube Playlist Automation | |
| // @namespace liquid-software.com | |
| // @version 0.01 | |
| // @description Allows you to run a playlist and override it with some automation | |
| // @author You | |
| // @match https://www.youtube.com/*list=PLL2432vvJ7x-nG555LeuvpJ47eBnceLQt* | |
| // ==/UserScript== | |
| var big_data_hash = {}; //the override for the videos |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //wirtten by kormak DO NOT STEAL distrubted free as in free speach, not free burgs heuheuh | |
| // https://gist.github.com/KoRMaK/2df0841fe53c80a2c312 | |
| //runs through the playlist and grabs all the urls and stash them in an array. also outputs | |
| //their address to the console for easy copy and paste | |
| playlist_urls = [] | |
| //cool oneliner. thanks spacecheif, thpeif | |
| $.each(pl, function(i, v) {playlist_urls.push( (v.video_provider == "vm" ? "http://www.vimeo.com/" : "http://www.youtube.com/watch/") + v.video_id + " : " + v.title );}) | |
| console.log(playlist_urls.join("\n")); //throw them all to the console |
NewerOlder