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
# Software | |
## Mind Mapping / Exploration | |
FreeMind: https://sourceforge.net/projects/freemind/ |
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/sh | |
# Expects sway to be installed | |
# Not much here atm | |
mkdir -p ~/.config/sway | |
cp /etc/sway/config ~/.config/sway/config | |
exit 0 |
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/sh | |
set -e # fail on error | |
set -u # fail on access to unset variable | |
set -x # write commands (post-expansion) to STDERR as they are executed | |
# configure network services | |
systemctl start systemd-resolved.service | |
systemctl enable systemd-resolved.service | |
mkdir -p /etc/iwd |
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/sh | |
set -e # fail on error | |
set -u # fail on access to unset variable | |
set -x # write commands (post-expansion) to STDERR as they are executed | |
# bootstrap system | |
pacman -S iwd vi tmux lynx man-db man-pages | |
pacman -S mesa wayland xorg-server-xwayland |
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
Show hidden characters
{ | |
"folders": [ | |
{ | |
"path": "." | |
} | |
], | |
"settings": { | |
"files.encoding": "utf8", | |
"editor.detectIndentation": false, // Needed to set spaces, tab size | |
"editor.insertSpaces": true, |
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
import angular from 'angular'; | |
import ngRedux from 'ng-redux'; | |
import thunk from 'redux-thunk'; | |
import createLogger from 'redux-logger'; | |
import RootReducer from './reducers/reducers'; | |
function immutable(mutable) { return JSON.parse(JSON.stringify(mutable));} | |
StoreConfig.$inject = ['$ngReduxProvider', 'rootReducerProvider']; | |
function StoreConfig($ngReduxProvider, rootReducerProvider) { let rootReducer = rootReducerProvider.createReducer(); let middlewares = [ thunk, createLogger({ level: 'info', collapsed: true }) ]; $ngReduxProvider.createStoreWith(rootReducer, middlewares);} |
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
/** | |
* Assuming karma.conf.js like: | |
* ==================================== | |
* module.exports = function (config) { | |
config.set({ | |
files: [ | |
'my', | |
'required', | |
'files' | |
] |
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
/* Angular 1.x ES2015 Resource Definition Module | |
* @depends: gulp, gulp-plumber, gulp-jspm, gulp-rename, gulp-sourcemaps, gulp-watch, gulp-batch | |
* JSPM must be set up for the project. | |
* @input(s): A single JS file that serves as the entry module to the application. | |
* @output(s): A single minified JS file that contains all of the applications modules and the SystemJS bootstrap. | |
* A single sourcemap that allows the sources to be inspected in the debugger. | |
*/ | |
// Node imports | |
import path from 'path'; |
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
/* Sass Resource Definition Module | |
* @depends: gulp, gulp-plumber, gulp-sass, gulp-autoprefixer, gulp-rename, | |
* gulp-sourcemaps, gulp-watch, gulp-batch | |
* @input(s): A single SCSS file that resolves any others needed via imports | |
* @output(s): A single minified CSS file that has all properties autoprefixed for modern browsers. | |
* A single sourcemap that allows the sources to be properly inspected in the browser. | |
*/ | |
// Node imports | |
import path from 'path'; |