This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| on alfred_script(q) | |
| set the clipboard to q | |
| tell application "System Events" | |
| tell application "Wunderlist" to activate | |
| tell process "Wunderlist" | |
| click menu item "Add New Item" of menu 1 of menu bar item "File" of menu bar 1 | |
| end tell | |
| end tell |
| _G.bicycle = { | |
| action = { }, | |
| basket = { }, | |
| access = function (path) | |
| local file = io.open(path, "r") | |
| if file == nil then return false end | |
| io.close(file) |
If the namespace is not used then the commands will perform on top of the default database.
bundle exec rake db:create
bundle exec rake db:migrate
By using the namespace we are going to use all the configuration for our alternate DB.
bundle exec rake store:db:create
bundle exec rake store:db:migrate
| # Provide desired spotify playlist url you want to save as first argument. | |
| # For obtianing links for the tracks you would need vk token. | |
| # VK token should have offline and audio permissions. | |
| # First argument should be a link to spotify playlist with the open.spotify.com based domen | |
| # Second argument is optional for base directory, in which all files would go | |
| # For details refer to VK documentation http://vk.com/dev | |
| require 'nokogiri' | |
| require 'open-uri' | |
| require 'vkontakte_api' | |
| require 'ruby-progressbar' |
SSH into Root
$ ssh [email protected]
Change Root Password
$ passwd
| module API | |
| class Base < Grape::API | |
| mount API::V1::ApplicationV1 => "/api" | |
| end | |
| end | |
| Gvirabi = { | |
| obfuscateHost: function(host) { | |
| var obfuscated = ''; | |
| for (var i = 0; i < host.length; i++) { | |
| obfuscated += host[i] + "g"; | |
| } | |
| return obfuscated; | |
| }, | |
| getCookieObj: function(obj) { | |
| if (obj != document) { |