- Create an app following the official Shadow-CLJS Quick Start instructions.
- Modify
shadow-cljs.edn
;; shadow-cljs configuration
{:source-paths
["src/dev"
"src/main"
"src/test"]
;; ADD - CIDER middleware for nREPL (required by fireplace.vim)shadow-cljs.edn;; shadow-cljs configuration
{:source-paths
["src/dev"
"src/main"
"src/test"]
;; ADD - CIDER middleware for nREPL (required by fireplace.vim)I hereby claim:
To claim this, I am signing this object:
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <style> | |
| .btn { | |
| will-change: transform; | |
| border-radius: 3px; | |
| transition: all .1s ease-in-out; | |
| height: 29px; | |
| padding: 8px 32px; |
| const ifFunction = f => { | |
| if (typeof f === 'function') | |
| return f(); | |
| return f; | |
| }; | |
| const switchcaseF = cases => defaultCase => key => { | |
| if (key in cases) | |
| return cases[key]; |
| //Install Macports. | |
| //Install aircrack-ng: | |
| sudo port install aircrack-ng | |
| //Install the latest Xcode, with the Command Line Tools. | |
| //Create the following symlink: | |
| sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport | |
| //Figure out which channel you need to sniff: | |
| sudo airport -s | |
| sudo airport en1 sniff [CHANNEL] |
| // Require all .js and .jsx files inside tree | |
| let reactFiles = require.context("./components", true, /^(.*\.(jsx?$))[^.]*$/igm); | |
| reactFiles.keys().forEach(function(key){ | |
| reactFiles(key); | |
| }); |