This file contains 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
_ __,----'~~~~~~~~~`-----.__ | |
. . `//====-_ ___,-' ` | |
-. \_|// . /||\\ `~~~~`---.___./ | |
______-==. _-~o~ \/ ||| \\ _,'` | |
__,--' ,=='||\=_ ;_--~/_-'|- |`\ \\ ,' | |
_-' ' | \\`. '-'~7 /- / || `\. / | |
.' | \\ \_ / /- / || \ / | |
/ ____ __ | \\.`-_/ /|- _/ ,|| \ / |
This file contains 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
{ | |
"Right Option Key Sends" : 0, | |
"Tags" : [ | |
], | |
"Ansi 12 Color" : { | |
"Green Component" : 0.83529411764705885, | |
"Red Component" : 0.40784313725490196, | |
"Blue Component" : 1 | |
}, |
This file contains 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
# forked from agnoster.zsh-theme | |
CURRENT_BG='NONE' | |
case ${SOLARIZED_THEME:-dark} in | |
light) CURRENT_FG='white';; | |
*) CURRENT_FG='black';; | |
esac | |
# Special Powerline characters |
This file contains 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
// add custom fields' content to search results | |
function cf_search_join( $join ) { | |
global $wpdb; | |
if ( is_search() ) { | |
$join .=' LEFT JOIN '.$wpdb->postmeta. ' ON '. $wpdb->posts . '.ID = ' . $wpdb->postmeta . '.post_id '; | |
} | |
return $join; | |
} |
This file contains 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
{ | |
"trailingComma": "es5", | |
"tabWidth": 2, | |
"semi": true, | |
"singleQuote": true, | |
"overrides": [ | |
{ | |
"files": "*.scss", | |
"options": { | |
"tabWidth": 4 |
This file contains 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
<script type="text/javascript"> | |
// hard-coded product id of mile rate woocommerce product | |
let productId = 246; | |
let map, auto; | |
const v1_url = window.theme_bundle_data.rest_url + 'sim/cremation/shop/v1/'; | |
const v2_url = window.theme_bundle_data.rest_url + 'sim/cremation/shop/v2/'; |
This file contains 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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=~/.oh-my-zsh | |
DEFAULT_USER="kenzie" | |
ZSH_THEME="kenziebottoms" |
This file contains 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
"use strict"; | |
const angular = require("angular"); | |
// reference: https://stackoverflow.com/questions/17470790/how-to-use-a-keypress-event-in-angularjs | |
angular.module("mixtape").directive("ngEnter", function () { | |
return { | |
controller: "MixCtrl", | |
link: function (scope, element, attrs) { | |
element.bind("keydown keypress", function (event) { |
This file contains 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
// social media links settings page | |
function social_links_page() { ?> | |
<div class="wrap"> | |
<h1>Social Links</h1> | |
<form method="post" action="options.php"> | |
<?php settings_fields("section"); | |
do_settings_sections("social-links"); | |
submit_button(); ?> | |
</form> |
NewerOlder