Going over the state of advertising/marketing/brochure sites in 2021
I hereby claim:
- I am ijadams on github.
- I am ijadams (https://keybase.io/ijadams) on keybase.
- I have a public key ASBDvkSQmgygs6h91pqRcqS8Txhx-Re9RbMs7QTpO5ahWAo
To claim this, I am signing this object:
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
{ | |
"signup": "https://www.apple.com/" | |
} |
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
// iterative | |
var topView = (head) => { | |
if (!head) | |
return false | |
let left = []; | |
let center = head.value | |
let right =[] | |
while (!head.left && !head.right) { |
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
/* Binary Search Tree */ | |
class Node { | |
constructor(data, left = null, right = null) { | |
this.data = data; | |
this.left = left; | |
this.right = right; | |
} | |
} |
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
function spongeBob(str){ | |
return str.split('').map((v,i) => i % 2 ? v.toLowerCase(): v.toUpperCase()).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
#!/bin/bash | |
ls | while read dir | |
do | |
if [ -d $dir ] | |
then | |
cd $dir | |
git pull | |
git checkout some_branch_name | |
cd .. |
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
## arrow up | |
"\e[A":history-search-backward | |
## arrow down | |
"\e[B":history-search-forward |
NewerOlder