- git checkout master
- git pull
- git checkout branch
- git merge master
| -- show running queries (pre 9.2) | |
| SELECT procpid, age(query_start, clock_timestamp()), usename, current_query | |
| FROM pg_stat_activity | |
| WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
| ORDER BY query_start desc; | |
| -- show running queries (9.2) | |
| SELECT pid, age(query_start, clock_timestamp()), usename, query | |
| FROM pg_stat_activity | |
| WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
| preLoginHandler: function(formData, req, res, next) { | |
| var authRequest = { | |
| username: formData.login, | |
| password: formData.password | |
| }; | |
| //Try to authenticate the user | |
| req.app.get('stormpathApplication').authenticateAccount(authRequest, function(err, result) { | |
| //if (err) return helpers.handleError(err,res); | |
| if (err && err.code == 7100) { |
- http://www.archiveteam.org/index.php?title=Deathwatch
- http://fortune.com/2016/02/12/verizon-closes-two-public-cloud-services/
- http://www.androidpolice.com/2016/02/01/barracuda-is-shutting-down-the-copy-cloud-storage-service-on-may-1st/
- http://lifehacker.com/near-unlimited-cloud-storage-service-copy-com-is-shutti-1756413619
- Even google: http://www.networkworld.com/article/2173255/cloud-computing/cloud-s-worst-case-scenario-what-to-do-if-your-provider-goes-belly-up.html
- http://www.nytimes.com/2016/04/22/technology/apple-no-longer-immune-to-chinas-scrutiny-of-us-tech-firms.html (no longer loads! ironic!)
- http://www.techrepublic.com/blog/the-enterprise-cloud/what-happens-when-your-cloud-provider-goes-out-of-business/
Tageless Final interpreters are an alternative to the traditional Algebraic Data Type (and generalized ADT) based implementation of the interpreter pattern. This document presents the Tageless Final approach with Scala, and shows how Dotty with it's recently added implicits functions makes the approach even more appealing. All examples are direct translations of their Haskell version presented in the Typed Tagless Final Interpreters: Lecture Notes (section 2).
The interpreter pattern has recently received a lot of attention in the Scala community. A lot of efforts have been invested in trying to address the biggest shortcomings of ADT/GADT based solutions: extensibility. One can first look at cats' Inject typeclass for an implementation of [Data Type à la Carte](http://www.cs.ru.nl/~W.Swierstra/Publications/DataTypesA
| const fs = require("fs") | |
| module.exports = AppManifestParser | |
| function isNumeric(n) { | |
| return !isNaN(parseFloat(n)) && isFinite(n); | |
| } | |
| function recInt(obj) { //replace numeric strings with integers | |
| for (var p in obj) | |
| if (typeof obj[p] == "object") obj[p] = recInt(obj[p]); |
| /* | |
| * This tool will decrypt files encrypted by the Magniber ransomware with | |
| * AES128 ( CBC mode ) algorithm. | |
| * | |
| * RE and report by MalwareBytes ( @hasherezade ) | |
| * | |
| * https://blog.malwarebytes.com/threat-analysis/2017/10/magniber-ransomware-exclusively-for-south-koreans/ | |
| * | |
| * Decryptor written by Simone 'evilsocket' Margaritelli | |
| * |