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
let completionengines = ["duckduckgo", "google-maps", "youtube", "wikipedia"] | |
let defaultengine = "duckduckgo" | |
let searchalias y = "youtube" | |
let searchalias m = "google-maps" | |
let searchalias w = "wikipedia" | |
let blacklists = ["https://trello.com/*","https://www.youtube.com/*","https://mail.google.com/*","https://soundcloud.com/*","https://www.reddit.com/*","https://hackrice.typeform.com/*","https://repl.it/*","https://calendar.google.com/*","https://codepen.io/*","https://cckl.github.io/*","http://localhost/*","http://keycode.info/*","https://www.figma.com/*","https://photos.google.com/*","http://jefftang.world/*","https://dashboard.lytmus.io/*","https://app.codesignal.com/*","https://docs.google.com/*","https://web.telegram.org/*","https://coderpad.io/*","http://webchat.freenode.net/*","http://ternjs.net/*","https://github.com/*projects/*"] | |
map zx zi | |
map zc zo |
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
// n = 6 | |
// 5 ' ' 1 '#' = 6 | |
// 4 ' ' 2 '#' = 6 | |
// 3 ' ' 3 '#' = 6 | |
// 2 ' ' 4 '#' = 6 | |
// <= inclusive | |
// < exclusive | |
/* | |
* worst case, Big O of O(n*n) |
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
const assert = require('assert') | |
/* takes in two strings, and returns if they are anagrams */ | |
function isAnagram(a,b) { | |
if (a.length != b.length) { | |
return false | |
} | |
var o1 = {} | |
var o2 = {} |
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
{ | |
"blockedSites": [], | |
"charsToAutoInsertUserList": [ | |
[ | |
"(", | |
")" | |
], | |
[ | |
"{", | |
"}" |
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
# print names of all branches | |
cat ./data/all_branches.json \ | |
| jq 'map(.name)' \ | |
> ./data/all_branches.txt | |
# filter to only include branches that start with "RS" | |
cat ./data/all_branches.json \ | |
| jq 'map(select(.name | test("^RS")) | .name)' \ | |
> ./data/rs_branches.txt |
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
''' | |
class signatures | |
''' | |
''' | |
everything is an object in ruby | |
everything is a system in the universe. when emergent properties emerge is the | |
line for a system | |
''' | |
class System: |
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
''' | |
author: | |
@tangjeff0 | |
https://www.notion.so/tangjeff0/Public-Home-0e2636bd409b454ea64079ad8213491f | |
inspired by: https://praxis.fortelabs.co/p-a-r-a-iii-building-an-idea-generator-400347ef3bb6/ | |
with help from: https://medium.com/@jamiealexandre/introducing-notion-py-an-unofficial-python-api-wrapper-for-notion-so-603700f92369 | |
credits: | |
@jamiealexandre |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
.rm-page-ref { | |
font-weight: bold; | |
} | |
a:hover, .rm-page-ref:hover { | |
font-style: italic; | |
} | |
.rm-page-ref-link-color { | |
color: #1aae9f; /* teal */ |
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
(defn ignore | |
[expr] ;; expression evaluated | |
nil) | |
(ignore (pr "hello world")) | |
(defmacro ignore | |
[expr] ;; expression never evaluated | |
nil) |
OlderNewer