fist things first
- this is dope
- this is dope too
const damn: string = 'daaaaamn';fist things first
const damn: string = 'daaaaamn';| { | |
| "name": "fem-ng2-simple-app", | |
| "version": "0.0.1", | |
| "license": "SEE LICENSE IN LICENSE", | |
| "repository": { | |
| "type": "git", | |
| "url": "https://github.com/onehungrymind/fem-ng2-simple-app/" | |
| }, | |
| "scripts": { | |
| "start": "webpack-dev-server --inline --watch", |
| # Set architecture flags | |
| export ARCHFLAGS="-arch x86_64" | |
| # Ensure user-installed binaries take precedence | |
| PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin | |
| # Setting PATH for Python 2.7 | |
| PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}" | |
| export PATH | |
| # Changing the colors so the terminal isn't so bland |
| * { | |
| box-sizing: border-box; | |
| font-family: 'Raleway', sans-serif; | |
| } | |
| form { | |
| background-color: white; | |
| padding: 20px; | |
| border-radius: 3px; | |
| margin-bottom: 20px; | |
| } |
| import * as _ from 'lodash'; | |
| import {Config} from '../interfaces'; | |
| const ENV: string = process.env.NODE_ENV = process.env.NODE_ENV || 'dev'; | |
| let mainConfig: Config = { | |
| }; | |
| export const config: Config = _.merge(mainConfig, require(`./${ENV}`).default); // what ever file is required here does not get bundled |
| %YAML 1.2 | |
| --- | |
| # http://www.sublimetext.com/docs/3/syntax.html | |
| name: Angular 2 | |
| file_extensions: | |
| - ts | |
| scope: source.ts | |
| contexts: | |
| main: | |
| - include: expression |
| Angular 2 uses observables for many features and has a peer dependency on [RxJs](http://reactivex.io/rxjs/) for its robust API around observables. The community has adopted a single store approach for dealing with state in modern applications. Let's build a store for our Angular applications that is both reactive and easy to use with RxJs. | |
| ## Single store is awesome | |
| We'll create this store with intentions on it being the only store in our app. By doing this, we can provide a better experience and lower the difficulty of reasoning about state in our app, because all the state is in one place! First we'll create the [provider](https://angular.io/docs/ts/latest/guide/dependency-injection.html#!#injector-providers) for the store itself. | |
| ```typescript | |
| export class AppStore {} | |
| ``` |
| const thenify = require('thenify') | |
| const webpack = require('webpack') | |
| const MemoryFS = require('memory-fs') | |
| const validateNpmPackageName = require('validate-npm-package-name') | |
| class InstallMissingModules { | |
| constructor(options) { | |
| this.options = options | |
| } |
| .composite-title, .composite-title, .vs-dark .monaco-workbench>.activitybar>.content { | |
| background-color: rgba(40, 44, 52, 1) !important; | |
| } | |
| .tabs-container, .tab, .tab.active, .title-actions, .tablist, .tabs-container, .tabs, .composite.title { | |
| background-color: rgba(40, 44, 52, 1) !important; | |
| } | |
| .tab.active, .tab { | |
| border-right: 0px !important; |
| green=$'\e[1;32m' | |
| teal=$'\e[1;36m' | |
| magenta=$'\e[1;35m' | |
| normal_colors=$'\e[m' | |
| export GITAWAREPROMPT=~/.bash_theme | |
| source $GITAWAREPROMPT/main.sh | |
| export PS1="\[$txtpur\]\u:\[$teal\][\w]:\[$green\]\$git_branch\[$txtred\]\$git_dirty\[$txtred\] <%>\[$normal_colors\] " | |
| export SUDO_PS1="\[$bakred\]\u@\h\[$txtrst\] \w\$ " |