- Hit
Ctrl
-Alt
-T
to open a Terminal window. - Type
passwd
and hit Enter. - Type your current password and hit Enter. Nothing will show up on the screen when you type. This is for security.
- Type a new password and hit Enter.
- Retype the new password and hit Enter again.
- Close the Terminal window.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$terms = get_the_terms($post->ID, 'industry'); | |
// Terms is now an array filled with taxonomy term objects. | |
var_dump($terms); | |
// Loop through terms using foreach | |
foreach ($terms as $term): | |
$term_link = get_term_link($term->term_id, 'industry'); | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$pod = pods('image', 12); | |
$src = $pod->field('source'); | |
$url = pods_image_url($src); | |
?> | |
<img src="<?php echo $url; ?>"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MSIE Overrides | |
html.lt-ie10 { | |
#mobile-navigation nav { | |
right: -17.5em; | |
&.open { | |
right: 0; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Innovate Debug Functions | |
*/ | |
/** | |
* Descends through an element's children, their children's children, etc. and | |
* prints a list of their bound event handlers to console. | |
* | |
* ex. $('.sub-nav').parent().boundEventsTree(); | |
*/ |
I hereby claim:
- I am mikedamage on github.
- I am mikegreen (https://keybase.io/mikegreen) on keybase.
- I have a public key whose fingerprint is 5B5D 819D 06C0 24E8 0B85 E6FF 7035 DE92 01C7 6011
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
jQuery Ancestry Climber Plugin | |
Defines a class that traces an element's ancestry, executing | |
a callback on each ancestor. | |
*/ | |
(function() { | |
var AncestryClimber; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
jQuery Ancestry Climber Plugin | |
Defines a class that traces an element's ancestry, executing | |
a callback on each ancestor. | |
### | |
class AncestryClimber | |
constructor: (@elem, @callback = $.noop) -> | |
throw new Error 'Please supply a DOM element' unless @elem |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Controller name: Authentication | |
Controller description: Login and logout functionality exposed over AJAX | |
*/ | |
class JSON_API_Authentication_Controller { | |
public function login() { | |
global $json_api; |