This file contains hidden or 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
### Keybase proof | |
I hereby claim: | |
* I am fredrikroos on github. | |
* I am fredrikroos (https://keybase.io/fredrikroos) on keybase. | |
* I have a public key whose fingerprint is 3156 A6C0 C411 C977 4527 7ABD 0F85 715E B3B1 6460 | |
To claim this, I am signing this object: |
This file contains hidden or 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
// dependencies | |
var async = require('async'); | |
var AWS = require('aws-sdk'); | |
var gm = require('gm') | |
.subClass({ imageMagick: true }); // Enable ImageMagick integration. | |
var util = require('util'); | |
// constants | |
var MAX_WIDTH = 100; | |
var MAX_HEIGHT = 100; |
This file contains hidden or 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
!!! |
This file contains hidden or 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
SELECT c.relname AS ctablename, ipg.relname AS indexname, x.indnatts AS number_of_columns, idx_scan, idx_tup_read, idx_tup_fetch,indexrelname FROM pg_index x JOIN pg_class c ON c.oid = x.indrelid JOIN pg_class ipg ON ipg.oid = x.indexrelid JOIN pg_stat_all_indexes psai ON x.indexrelid = psai.indexrelid where c.relname = 'objektareas' order by idx_scan desc; |
This file contains hidden or 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
SELECT nspname || '.' || relname AS "relation", | |
pg_size_pretty(pg_relation_size(C.oid)) AS "size" | |
FROM pg_class C | |
LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace) | |
WHERE nspname = 'hn_prod' | |
ORDER BY pg_relation_size(C.oid) DESC | |
LIMIT 40; |
This file contains hidden or 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
My woman's in LA | |
who wants to grab a beer after work | |
My woman just informed me | |
that she'll work extra this very evening, | |
the universe is telling us something! | |
My woman tells me to clean the windows. | |
My windows tells me to get a woman. | |
That's poo if anyone wonders | |
My woman tells me to pick up the kids, |
This file contains hidden or 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
<html> | |
<body> | |
<iframe src="https://rpm.newrelic.com/public/charts/jiSPQSRxlVR" width="500" height="300" scrolling="no" frameborder="no"></iframe>></iframe> | |
<iframe src="https://rpm.newrelic.com/public/charts/lcyDXjnWP1X" width="500" height="300" scrolling="no" frameborder="no"></iframe> | |
<iframe src="https://rpm.newrelic.com/public/charts/bj18VWbCe8G" width="500" height="300" scrolling="no" frameborder="no"></iframe> | |
</body> | |
</html> |