Sometimes I have multiple jQuery variables that I want to perform the same action on. So I find myself doing something like...
var $header = $( 'body > header' );
var $nav = $( 'body > nav.burger-menu' );
server { | |
listen 80; | |
server_name www.justwriting.com; | |
root /data/web/www.justwriting.com; | |
index index.html index.php; | |
# set expiration of assets to MAX for caching | |
location ~* \.(ico|css|js|gif|jpe?g|png)(\?[0-9]+)?$ { | |
expires max; |
<?php | |
defined('BASEPATH') OR exit('No direct script access allowed'); | |
/** | |
* CodeIgniter Filebase Class | |
* | |
* HOW TO USE - see at the bottom of the file. | |
* | |
* @package CodeIgniter | |
* @subpackage Third Party |
<?php | |
(defined('BASEPATH')) OR exit('No direct script access allowed'); | |
/** | |
* CI_Arr - Arr.php | |
* | |
* This class was taken from Fuelphp and adapted to be used with CodeIgniter. | |
* | |
* @package CodeIgniter | |
* @category Core |
<?php | |
defined('BASEPATH') OR exit('No direct script access allowed'); | |
/** | |
* Dinabase Class | |
* | |
* @package CodeIgniter | |
* @subpackage Libraries | |
* @author Kader Bouyakoub <[email protected]> | |
* @link http://www.bkader.com/ | |
* @license MIT, DBAD |
<?php | |
defined('BASEPATH') OR exit('No direct script access allowed'); | |
/** | |
* @package Content Delivery Network - BelanCon.com | Belanja Icon | |
* @version 1.0 | |
* @author Belancon Dev Team | |
* @copyright Copyright © 2016 Belancon - Belanja Icon. | |
* @link https://belancon.com | |
*/ |
{ | |
"_id": "d08a4d8d-5c30-42a7-a6fe-42af3d3243da1448627578734", | |
"_class": "com.geekedin.domain.entities.mongo.EDeveloper", | |
"scores": [ | |
{ | |
"technology": "CSS", | |
"score": 1141, | |
"lastCompute": { | |
"sec": 1470051310, | |
"usec": 552000 |
The git command-line utility has plenty of inconsistencies http://steveko.wordpress.com/2012/02/24/10-things-i-hate-about-git/
A GUI like http://sourcetreeapp.com is often helpful, but staying on the command line usually quicker. This is a list of the commands I use most frequently, listed by functional category:
git status
list which (unstaged) files have changed
<?php | |
require "vendor/autoload.php"; | |
$parser = new Parsedown; | |
?> | |
<!DOCTYPE html> | |
<html> | |
<head> |