I hereby claim:
- I am lightningspirit on github.
- I am lightningspirit (https://keybase.io/lightningspirit) on keybase.
- I have a public key ASAI2ZZ17AmXsEVDqamcQBB76i_2Rw8Yne8rvKloLkjjRwo
To claim this, I am signing this object:
| <?php | |
| if ( !function_exists( 'array_implode' ) ) : | |
| /** | |
| * Implode an array with the key and value pair giving | |
| * a glue, a separator between pairs and the array to implode. | |
| * @param string $glue The glue between key and value | |
| * @param string $separator Separator between pairs | |
| * @param array $array The array to implode | |
| * @return string The imploded array | |
| */ |
| <?php | |
| $query = url_encode( array_implode( '=', '&', $array ) ); | |
| echo '<input '.array_implode( '=”', '” ', $array ).' />'; | |
| ?> |
| <?php | |
| function change_post_menu_label() { | |
| global $menu, $submenu; | |
| $menu[5][0] = __( 'News' ); | |
| $submenu['edit.php'][5][0] = __( 'News' ); | |
| $submenu['edit.php'][10][0] = __( 'Add News' ); | |
| } | |
| add_action( 'admin_menu', 'change_post_menu_label' ); |
| <?php | |
| if ( !function_exists( 'get_pagination' ) ) : | |
| /** | |
| * Return the pagination for the current (or instead, given) WP_Query or WP_Query_Users | |
| * object returned by paginate_links() function. | |
| * | |
| * @since 3.5.5 | |
| * @uses paginate_links() | |
| * @uses $wp_query |
I hereby claim:
To claim this, I am signing this object:
| country_code | type | price | |
|---|---|---|---|
| AR | tollfree | $0.70 | |
| AR | local | $0.04 | |
| AT | local | $0.02 | |
| AT | national | $0.04 | |
| AU | tollfree | $0.12 | |
| AU | local | $0.04 | |
| BA | national | $0.20 | |
| BB | local | $0.10 | |
| BE | local | $0.02 |
| (defn wrap-options | |
| [app] | |
| (fn [request] | |
| (if (= (request :request-method) :options) | |
| (into request {:status 204}) | |
| (app request)))) | |
| (defn add-header | |
| [r name value] | |
| (assoc-in r [:headers name] value)) |
| #!/usr/bin/env node | |
| const fs = require('fs') | |
| const usage = () => { | |
| console.log('Usage: unload <aws-arn> <sql-statement-filepath> <name-of-file-in-s3>') | |
| } | |
| if (process.argv.length < 5 || process.argv[2] == '-h') { | |
| usage() |
| #!/usr/bin/env sh | |
| docker rm $(docker ps -a | awk '{print $1}') | |
| docker rmi $(docker images | awk '{print $3}') |