authored Jul 3 2015 by kengz
- Account with Google Cloud Platform.
- Install Google Cloud Platform SDK to use
cloudin the terminal. - Install Docker for the VM container.
- Locally, login for the first time:
gcloud auth login
| 1587072856180000195 |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>404 redirect</title> | |
| <meta http-equiv="refresh" content="0;URL='https://lukyvj.github.io/populus.js/'"></meta> | |
| </head> | |
| <body> | |
| | |
| |
| const selector = '.favorited .ProfileTweet-action--favorite .ProfileTweet-actionButtonUndo' | |
| const generateClickPromise = (el, index) => { | |
| return new Promise((resolve) => { | |
| setTimeout(() => { | |
| el.click() | |
| resolve() | |
| }, index * 200 + 200 * Math.random()) | |
| }) | |
| } |
authored Jul 3 2015 by kengz
cloud in the terminal.gcloud auth login| Array.from(document.querySelectorAll('*')).map(node => { | |
| Object.keys(getComputedStyle(node)).map(styleKey => { | |
| if (node[styleKey] === '') return | |
| try { | |
| node[styleKey] = node.style[styleKey].replace(';', ' !important;') | |
| } catch(e) {} | |
| }) | |
| }) |
| var linkContents = {}; | |
| document.addEventListener('mouseover', function(event) { | |
| var url = event.srcElement.href; | |
| if (event.srcElement.nodeName !== 'A') return | |
| else if (url.indexOf(location.href) === -1) return | |
| else if (linkContents[url]) return | |
| else fetchContent(url) |
| $ git checkout --orphan git.chat | |
| $ touch git.chat.json #this will be a configuration file, theme, motd, etc. | |
| $ git add . | |
| $ git commit -m 'initiate git.chat' |
| <!DOCTYPE html> <title>gistploy works</title> <style>body,html{background:#fff;color:#000;display:-ms-flexbox;display:flex;font-family:Menlo!important;font-size:20px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;min-height:80vh;width:100vw;overflow:hidden;-ms-flex-direction:column;flex-direction:column}left{text-align:left}right{text-align:right}::-moz-selection{color:#fff;background:#000}::selection{color:#fff;background:#000}html{font-size:100%;transition:font-size .5s}h1,h2,h3,h4,h5,h6,p{font-weight:400;background:#fff;padding:.25rem 1rem;text-align:center}h1{font-size:3rem;font-weight:500;margin:.75rem auto}h2{font-size:2rem;margin:.5rem auto}h3{font-size:1.75rem;margin:.4375rem auto}h4{margin:.375rem auto}h4,p,ul{font-size:1.5rem}p,ul{line-height:2rem}pre{text-align:left}small h1{font-size:2.25rem}small h2{font-size:1.5rem}small h3{font-size:1.3125rem}small h4,small p{font-size:1.125rem}big h1{font-size:3.75rem}big h2{font-size:2.5rem}big h3{font-size:2.1875rem}big |
| <!DOCTYPE html> <title>gistploy works</title> <style>body,html{background:#fff;color:#000;display:-ms-flexbox;display:flex;font-family:Menlo!important;font-size:20px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;min-height:80vh;width:100vw;overflow:hidden;-ms-flex-direction:column;flex-direction:column}left{text-align:left}right{text-align:right}::-moz-selection{color:#fff;background:#000}::selection{color:#fff;background:#000}html{font-size:100%;transition:font-size .5s}h1,h2,h3,h4,h5,h6,p{font-weight:400;background:#fff;padding:.25rem 1rem;text-align:center}h1{font-size:3rem;font-weight:500;margin:.75rem auto}h2{font-size:2rem;margin:.5rem auto}h3{font-size:1.75rem;margin:.4375rem auto}h4{margin:.375rem auto}h4,p,ul{font-size:1.5rem}p,ul{line-height:2rem}pre{text-align:left}small h1{font-size:2.25rem}small h2{font-size:1.5rem}small h3{font-size:1.3125rem}small h4,small p{font-size:1.125rem}big h1{font-size:3.75rem}big h2{font-size:2.5rem}big h3{font-size:2.1875rem}big |
| <!DOCTYPE html> <title>a new beginning</title> <style>body,html{background:#fff;color:#000;display:-ms-flexbox;display:flex;font-family:Menlo!important;font-size:20px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;min-height:80vh;width:100vw;overflow:hidden;-ms-flex-direction:column;flex-direction:column}left{text-align:left}right{text-align:right}::-moz-selection{color:#fff;background:#000}::selection{color:#fff;background:#000}html{font-size:100%;transition:font-size .5s}h1,h2,h3,h4,h5,h6,p{font-weight:400;background:#fff;padding:.25rem 1rem;text-align:center}h1{font-size:3rem;font-weight:500;margin:.75rem auto}h2{font-size:2rem;margin:.5rem auto}h3{font-size:1.75rem;margin:.4375rem auto}h4{margin:.375rem auto}h4,p,ul{font-size:1.5rem}p,ul{line-height:2rem}pre{text-align:left}small h1{font-size:2.25rem}small h2{font-size:1.5rem}small h3{font-size:1.3125rem}small h4,small p{font-size:1.125rem}big h1{font-size:3.75rem}big h2{font-size:2.5rem}big h3{font-size:2.1875rem}big |