Return the first N items of the Fibonacci sequence.
The input will be a whole number greater than or equal to zero.
The output should be iterable.
<?php | |
$countries = array | |
( | |
'AF' => 'Afghanistan', | |
'AX' => 'Aland Islands', | |
'AL' => 'Albania', | |
'DZ' => 'Algeria', | |
'AS' => 'American Samoa', | |
'AD' => 'Andorra', |
{ | |
"application_id":"YOUR_APP_ID", | |
"src":"https://www.librato.com/", | |
"src_data" : { "viewport" : "1600x800" }, | |
"src_type":"screen_shot_url", | |
"functions":[ | |
{ | |
"name":"resize_to_fit", | |
"params":{ | |
"width":400 |
#!/bin/sh | |
# joomlaupdate | |
# Updates your Joomla 2.5/3.1 website to the latest version. | |
# | |
# Usage: joomlaupdate [-s] [-b] [-h] [-l] | |
# | |
# Default action is verbose on, no backup. | |
# -s Silent. Do not display any informational messages. | |
# -b Backup. Create a backup before updating. |
.htaccess | |
administrator/cache/* | |
administrator/components/com_admin/* | |
administrator/components/com_banners/* | |
administrator/components/com_cache/* | |
administrator/components/com_categories/* | |
administrator/components/com_checkin/* | |
administrator/components/com_config/* | |
administrator/components/com_contact/* | |
administrator/components/com_content/* |
<?php | |
/** | |
* Add the product's short description (excerpt) to the WooCommerce shop/category pages. The description displays after the product's name, but before the product's price. | |
* | |
* Ref: https://gist.github.com/om4james/9883140 | |
* | |
* Put this snippet into a child theme's functions.php file | |
*/ | |
function woocommerce_after_shop_loop_item_title_short_description() { | |
global $product; |
Return the first N items of the Fibonacci sequence.
The input will be a whole number greater than or equal to zero.
The output should be iterable.
/** Pre requisites | |
1) Make an Alias to Chrome | |
alias chrome="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome" | |
alias chrome-canary="/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary" | |
2) Make Sure yarn is installed (it caches packages so you don't have to download them again) | |
`npm i yarn` | |
3) Use yarn to install dependencies: | |
`yarn add lighthouse` |
{ | |
// Place your snippets for dart here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
// "Print to console": { | |
// "prefix": "log", | |
// "body": [ | |
// "console.log('$1');", |