This file contains 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
# | |
# Recurring Job using Delayed::Job | |
# | |
# Setup Your job the "plain-old" DJ (perform) way, include this module | |
# and Your handler will re-schedule itself every time it succeeds. | |
# | |
# Sample : | |
# | |
# class MyJob | |
# include Delayed::ScheduledJob |
This file contains 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
apt-get install build-essential vim git-core curl | |
apt-get install bison openssl zlib1g zlib1g-dev libssl-dev libyaml-dev libxml2-dev autoconf libc6-dev | |
apt-get install libcurl4-openssl-dev libapr1-dev libaprutil1-dev libedit-dev libreadline-dev | |
for Ubuntu 18 | |
apt purge libssl-dev && apt install libssl1.0-dev |
This file contains 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
var test = window.open(null,"","width=1,height=1"); | |
setTimeout(function(){ | |
if (test && test.innerHeight && test.innerHeight > 0) { | |
// POPUP BLOCKER DISABLED | |
test.close(); | |
} | |
}, 10); |
NewerOlder