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
inp ;sum 5 inputs | |
sta sum | |
inp | |
add sum | |
sta sum | |
inp | |
add sum | |
sta sum | |
inp | |
add sum |
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
# ~/.gitconfig | |
[init] | |
templatedir = ~/.git_template | |
[user] | |
email = me@example.com | |
name = js | |
# git ac "my commit message" | |
[alias] | |
rom = rebase origin/master |
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
# Output as 6.56 MB, 19.65 MB | |
[<1000000]0.00," KB";[<1000000000]0.00,," MB";0.00,,," GB" |
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
<?xml version="1.0" encoding="utf-8"?> | |
<!DOCTYPE xsl:stylesheet [ | |
<!ENTITY nbsp " "> | |
<!ENTITY lsaquo "‹"> | |
<!ENTITY rsaquo "›"> | |
<!ENTITY laquo "«"> | |
<!ENTITY raquo "»"> | |
<!ENTITY copy "©"> | |
<!ENTITY apos "'"> | |
<!ENTITY quot """> |
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
<!-- Used for outputting an include without a doctype, shows MultiEdit button --> | |
<xsl:output method="html" version="4.0" indent="yes" encoding="UTF-8" include-content-type="no" omit-xml-declaration="yes"/> | |
<!-- Used for outputting an include without a doctype, doesn't show MultiEdit button --> | |
<xsl:output method="xml" version="1.0" indent="yes" encoding="UTF-8" include-content-type="no" omit-xml-declaration="yes"/> |
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
# Can't match on full string, some have site tag, some don't | |
F: | |
"/_resources/xsl/interior.xsl" | |
R: | |
"/_resources/update20/xsl/interior.xsl" | |
# Not all pages have all old layout options, delete all options first, then delete the parameter |
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
{ | |
"lineTemplate": "<span class=\"{value}}\"></span> {{text}}", | |
"options": [ | |
":Default background:{{text}}", | |
"bg-white:White", | |
"bg-primary:Yellow (Primary)", | |
"bg-spring-wood:Light Grey", | |
"bg-light-blue:Light Blue", | |
"bg-azure:Blue", | |
"bg-secondary:Dark Blue" |
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
## Changes side nav structure from ./includes/_sidenav.inc to ./_nav.inc for all subfolders | |
# example, move all _sidenav.inc files up a level (outside includes folder) | |
find . -mindepth 3 -name "*.inc" -type f -execdir mv "{}" $(dirname "{}")/.. \; | |
# remove all folders named includes | |
find . -name includes -type d -exec rm -rf {} \; | |
# rename all _sidenav.inc to _nav.inc | |
find . -name "_sidenav.inc" -type f -execdir mv "{}" _nav.inc \; |
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
.s, h3, cite span, .action-menu, g-section-with-header { | |
display: none !important; | |
} |
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
if (typeof me.onChange === "function") { | |
// safe to use the function | |
} |
NewerOlder