I hereby claim:
- I am ezkl on github.
- I am ezkl (https://keybase.io/ezkl) on keybase.
- I have a public key ASCPwOcej5TxiXcuaSH0EJJHvOozAW-U_IKKQyZ6-JtEsQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| /* How to calculate postgreSQL database size in disk ? */ | |
| SELECT pg_size_pretty(pg_database_size('thedbname')); | |
| /* Calculate size of a table including or excluding the index */ | |
| SELECT pg_size_pretty(pg_total_relation_size('big_table')); | |
| SELECT pg_size_pretty(pg_relation_size('big_table')); /* without index */ | |
| /* See indexes on a table with `\d tablename` */ |
This script installs a patched version of ruby 1.9.3-p327 with boot-time performance improvements (#66 and #68), and runtime performance improvements (#83 and #84). It also includes the new backported GC from ruby-trunk.
Many thanks to funny-falcon for the performance patches.
| ~ $ cat <<EOF > testest | |
| heredoc> $RANDOM | |
| heredoc> EOF | |
| ~ $ cat testest | |
| 15816 | |
| ~ $ |
This script installs a patched version of ruby 1.9.3-p194 with patches for boot-time performance improvements (#66 and #68), and runtime performance improvements (#83 and #84). It also includes the new backported GC from ruby-trunk.
Huge thanks to funny-falcon for the performance patches.
| #!/usr/bin/env bash | |
| apt-get -y update | |
| apt-get -y upgrade | |
| apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev | |
| cd /tmp | |
| wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz | |
| tar -xvzf ruby-1.9.3-p194.tar.gz | |
| cd ruby-1.9.3-p194/ | |
| ./configure --prefix=/usr/local | |
| make |
| require 'sinatra' | |
| post '/' do | |
| puts params | |
| end |
| PATH | |
| remote: . | |
| specs: | |
| ronin-exploits (1.0.0.pre1) | |
| data_paths (~> 0.3) | |
| open_namespace (~> 0.3) | |
| ronin (~> 1.4) | |
| ronin-gen (~> 1.1) | |
| ronin-support (~> 0.4) | |
| ruby-yasm (~> 0.2) |
| #!/usr/bin/env bash | |
| browser_regex='Firefox|Chrome|Safari' | |
| infected=0 | |
| shift | |
| echo "=============================" | |
| echo "Scanning for Flashback Trojan" | |
| echo "=============================" | |
| echo | |
| shopt -s nullglob |