Skip to content

Instantly share code, notes, and snippets.

View hikumealan's full-sized avatar

Bryan Olson hikumealan

View GitHub Profile
@hikumealan
hikumealan / ng-commands.md
Created December 26, 2023 16:41 — forked from dantullis/ng-commands.md
Angular ng commands

Angular ng commands

Not inclduing those that are commonly in the package.json file

Create new angular application

ng new project-name --routing --style scss
ng new angular-client --routing --style scss

Create module with routing

@hikumealan
hikumealan / gist:0e64d04ed875ddfcaea34b995ea45d56
Last active November 2, 2023 02:18
MacBook Pro Env Setup
1. Install Apps
https://www.spectacleapp.com/
https://desktop.github.com/
https://code.visualstudio.com/
2. Show all hidden files
`defaults write com.apple.Finder AppleShowAllFiles true`
`killall Finder`
3. Create Terminal Profile
@hikumealan
hikumealan / index-1.html
Created May 24, 2023 01:05 — forked from frostzzone/index-1.html
Using ejs browser client
<!-- File 1/1 -->
<body>
<template id="names">
<% for (let name of names) { %>
<div><%= name%></div>
<% } %>
</template>
<!-- Import ejs -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/ejs.min.js"></script>
<div id="target"></div>
@hikumealan
hikumealan / introrx.md
Created July 16, 2018 16:54 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@hikumealan
hikumealan / README.md
Created October 20, 2017 16:58 — forked from pbojinov/README.md
Two way iframe communication- Check out working example here: http://pbojinov.github.io/iframe-communication/

Two way iframe communication

The main difference between the two pages is the method of sending messages. Recieving messages is the same in both.

Parent

Send messages to iframe using iframeEl.contentWindow.postMessage Recieve messages using window.addEventListener('message')

iframe

@hikumealan
hikumealan / angular.md
Created August 21, 2017 18:05 — forked from sinedied/angular.md
The Missing Introduction to Angular 2 and Modern Design Patterns

Introduction to Angular

Angular (aka Angular 2) is a new framework completely rewritten from the ground up, replacing the famous AngularJS framework (aka Angular 1.x).

More that just a framework, Angular should now be considered as a whole platform which comes with a complete set of tools, like its own CLI, debug utilities or performance tools.

Getting started

@hikumealan
hikumealan / ngrxintro.md
Created August 11, 2017 21:15 — forked from btroncone/ngrxintro.md
A Comprehensive Introduction to @ngrx/store - Companion to Egghead.io Series

Comprehensive Introduction to @ngrx/store

By: @BTroncone

Also check out my lesson @ngrx/store in 10 minutes on egghead.io!

Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!

Table of Contents

@hikumealan
hikumealan / build-and-deploy.sh
Created June 12, 2017 17:54 — forked from jrschumacher/build-and-deploy.sh
Ionic Automated Build and Deploy to HockeyApp
#!/bin/bash
PROJECT_NAME=MyApp
SCHEME_NAME=MyApp
STARTTIME=$(date +%s);
set -e
set -x
### Install dependencies
echo "--- Install dependencies [Time Elapsed $(($(date +%s) - $STARTTIME))s]"
@hikumealan
hikumealan / gist:bc0547dd31eded09e44575015f475c93
Created June 12, 2017 17:52 — forked from DavidFrahm/gist:4409d6b74e46377e7be7
Ionic build iOS app for release, open in HockeyApp for deploying to team
#!/bin/bash
echo "Building Ionic/Cordova iOS release..."
ionic build --release ios
# Save current directory and cd to other dir
pushd platforms/ios/
# Build archive
xcodebuild -scheme "MyApp" -configuration Release clean archive
# Can also specify archive path:
/**
* ================== angular-ios9-uiwebview.patch.js v1.1.1 ==================
*
* This patch works around iOS9 UIWebView regression that causes infinite digest
* errors in Angular.
*
* The patch can be applied to Angular 1.2.0 – 1.4.5. Newer versions of Angular
* have the workaround baked in.
*
* To apply this patch load/bundle this file with your application and add a