I hereby claim:
- I am angelbotto on github.
- I am bottico (https://keybase.io/bottico) on keybase.
- I have a public key whose fingerprint is 6818 B785 2FCC 7746 0A3F F9A7 5FB3 400B 9445 C11B
To claim this, I am signing this object:
/* | |
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses | |
Floated div edition | |
01-05-2017 | |
(c) 2017 - Loran Kloeze - loran@ralon.nl | |
This script creates a UI on top of the WhatsApp Web interface. It enumerates certain kinds | |
of information from a range of phonenumbers. It doesn't matter if these numbers are part | |
of your contact list. At the end a table is displayed containing phonenumbers, profile pics, | |
about texts and online statuses. The online statuses are being updated every |
I hereby claim:
To claim this, I am signing this object:
ignore = %w(name dafuq) | |
replace_with = "*" | |
data = { | |
secure: { | |
name: 'value 1', | |
last: 'value 2' | |
}, | |
content: { | |
dinamic: { | |
name: 'value 3' |
!function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="/build/",e(0)}([function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}var r=n(5),o=i(r),s=n(20),a=i(s),u=n(21),c=i(u),l=n(40),h=i(l),f=n(41),d=i(f),p=n(75),v=i(p),m=n(78),g=i(m),y=n(85),b=i(y),_=n(88),w=i(_);n(91),(0,o["default"])(a["default"].config,h["default"].development),a["default"].use(c["default"]),a["default"].use(d["default"]),a["default"].component("modal",g["default"]),a["default"].component("personal",b["default"]),a["default"].component("billing",w["default"]),new a["default"]({el:"#vlipco",components:[v["default"],g["default"],b["default"],w["default"]]})},,,,,function(t,e,n){t.exports={"default":n(6),__esModule:!0}},function(t,e,n){n(7),t.exports=n(10).Object.assign},function(t,e,n){var i=n(8);i(i.S+i.F,"Object",{assign:n(13)})},function(t,e,n){var i=n(9),r=n(10),o=n(11),s="prot |
#!/bin/bash | |
cpuused=`top -bn1 | grep "Cpu(s)" | sed "s/.*, *\([0-9.]*\)%* id.*/\1/" | awk '{print 100 - $1}'` | |
critical=90 | |
warning=60 | |
if [[ $cpuused > $critical ]]; then | |
echo "CPU CRITIC $cpuused" | |
exit 2 | |
elif [[ $cpuused > $warning ]]; then | |
echo "CPU HIGH $cpuused" |
#!/bin/bash | |
git stash -q --keep-index | |
echo -e "👮 Wait, run all test before commit!\n" | |
FAILS=`rspec --format progress | grep -E '(\d*) failure(s?)' -o | awk '{print $1}'` | |
git stash pop -q | |
if [ $FAILS -ne 0 ]; then |
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.
server { | |
listen 80; | |
server_name neo.cheersapp.io; | |
access_log /var/log/nginx/neo4j.access.log; | |
location / { | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |