(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| # Source: http://www.hpcsd.org/district.cfm?subpage=29208 | |
| grade1 = "annoy attention calm comfortable consequences curious curve decide directions discover disappointed embarrassed enormous exhausted explore fair fascinating feast focus gigantic grumpy huge ignore instead investigate invite important jealous leader list lovely frustrated leader listen measuring miserable mumble negative nervous nibbled note notice observing opposite ordinary positive precious prefer problem protect proud question reminds repeat report rhyme respect rhyme searching special spotless squirm stomped suddenly suggestion surprise uncomfortable warning wonder worried" | |
| grade2 = "Amaze Amusing Analyze Annoy Arranged Avoid Cause Classify Community Conclusion Connection Continue Cooperation Curious Cycle Data Describe Detail Diagram Difference Different Discover Drowsy Edit Effect Energy Enormous Escape Estimate Exercise Expect Famous Flock Friendly Frighten Frown Gasp Gather Gust Helpful Include Insist Investigate Label Leaned Living M |
| // this is the background code... | |
| // listen for our browerAction to be clicked | |
| chrome.browserAction.onClicked.addListener(function (tab) { | |
| // for the current tab, inject the "inject.js" file & execute it | |
| chrome.tabs.executeScript(tab.ib, { | |
| file: 'inject.js' | |
| }); | |
| }); |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Polling Example</title> | |
| <style type="text/css"> | |
| .title, .result { | |
| display: inline-block; | |
| padding: 10px; | |
| background-color: #fffeee; | |
| } |
| #!/bin/bash | |
| echo 'Hi there, this code will turn off the current ngixn and turn on XAMPP' | |
| turnoff="sudo systemctl stop nginx" | |
| #eval turnoff | |
| eval $turnoff |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ | |
| @media (min-width: 1281px) { | |
| //CSS | |
| npm i --save-dev @fortawesome/fontawesome-free @fortawesome/fontawesome-svg-core @fortawesome/free-solid-svg-icons @fortawesome/vue-fontawesome bootstrap jquery popper.js firebase vuefire |
| ### Keybase proof | |
| I hereby claim: | |
| * I am yeungon on github. | |
| * I am vuong (https://keybase.io/vuong) on keybase. | |
| * I have a public key ASCBIKyysSZl_snIsyVwrL70ilFNqppqdcL3EPtoy21USQo | |
| To claim this, I am signing this object: |
| handleSubmit(event) { | |
| const form = event.target; | |
| const data = {} | |
| for (let element of form.elements) { | |
| if (element.tagName === 'BUTTON') { continue; } | |
| data[element.name] = element.value; | |
| } | |
| } |
| <?php | |
| function serveFilePartial($fileName, $fileTitle = null, $contentType = 'application/octet-stream') | |
| { | |
| if( !file_exists($fileName) ) | |
| throw New \Exception(sprintf('File not found: %s', $fileName)); | |
| if( !is_readable($fileName) ) | |
| throw New \Exception(sprintf('File not readable: %s', $fileName)); |