A collection of commands that change the Arc Browser icon on macOS.
Theme | Command |
---|---|
Candy Arc | defaults write company.thebrowser.Browser currentAppIconName candy |
function blockEnter(evt) {return true;} | |
function validarNoUsarTecladoReal_OnKeyPress(_object){return false;} |
################################################################# | |
# | |
# File: lib/api.rb | |
# | |
################################################################# | |
require 'user' # ActiveRecord model | |
# Connect to the db | |
ActiveRecord::Base.establish_connection(ENV['DATABASE_URL']) |
#Descargar imagenes de un css
para dar solucion a un pequeño problema que tuve, que necesicaba extraer todas las imagenes de un archivo css en especial.
extraemos las imagenes.
grep -o 'http[a-zA-Z0-9/.:_-]*' test.css > test/images.txt
descargamos las imagenes.
wget -i test/images.txt
With Heroku's JRuby support you may have already seen that you can run TorqueBox Lite on Heroku. But, that only gives you the web features of TorqueBox. What about scheduled jobs, backgroundable, messaging, services, and caching?
With a small amount of extra work, you can now run the full TorqueBox (minus STOMP support and clustering) on Heroku as well! I've successfully deployed several test applications, including the example Rails application from our Getting Started Guide which has a scheduled job, a service, and uses backgroundable and messaging.
This example uses TorqueBox 3.0.2, but the instructions may work with other TorqueBox versions.