I hereby claim:
- I am attila on github.
- I am attila (https://keybase.io/attila) on keybase.
- I have a public key whose fingerprint is 250D 6A91 F602 62A9 66C7 8ADF E4EC 4774 F1CC 878D
To claim this, I am signing this object:
# Example crontab | |
# PATH is extended to include locally installed pip packages, for linode-cli | |
# m h dom mon dow command | |
*/15 * * * * PATH=~/.local/bin:$PATH ~/bin/update_dns.sh 2>&1 | logger -t DYN_DNS |
import * as D from "io-ts/Decoder"; | |
import { extract } from "fp-ts/lib/Identity"; | |
import { fold } from "fp-ts/lib/Either"; | |
import { pipe } from "fp-ts/lib/function"; | |
// Utility to assert/coerce type. | |
export const decodeType = <P>(type: D.Decoder<unknown, P>, value: unknown): P => | |
pipe( | |
type.decode(value), | |
fold(() => { |
/** | |
* Run asynchronous computations sequentially | |
* | |
* @param {Function} f computation | |
* @returns {function(*): *} | |
*/ | |
const sequence = f => entries => | |
entries.reduce( | |
(promise, entry) => | |
promise.then( |
const operation = () => new Promise((resolve, reject) => { | |
if (Math.random() > 0.8) { | |
resolve('all good'); | |
} else { | |
reject(new Error('failure')); | |
} | |
}); | |
const pause = duration => new Promise(resolve => setTimeout(resolve, duration)); |
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc | |
index 0428bd3..1814aa8 100644 | |
--- a/includes/bootstrap.inc | |
+++ b/includes/bootstrap.inc | |
@@ -2360,6 +2360,10 @@ function _drupal_bootstrap_configuration() { | |
timer_start('page'); | |
// Initialize the configuration, including variables from settings.php. | |
drupal_settings_initialize(); | |
+ | |
+ // Sanitize unsafe keys from the request. |
$color: red; |
(function() { | |
'use strict'; | |
var CSSCriticalPath = function(w, d, opts) { | |
var opt = opts || { | |
allowHosts: [ | |
w.location.hostname | |
] | |
}; | |
var css = {}; |
#!/usr/bin/expect | |
set timeout 60 | |
spawn ufw enable | |
while {1} { | |
expect { | |
eof {break} | |
"Proceed with operation" {send "y\r"} | |
} | |
} |
[ui] | |
username=John Doe <[email protected]> | |
[hooks] | |
pretxncommit = ~/bin/requireCaseId.sh |
I hereby claim:
To claim this, I am signing this object: