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
module Components.Home.Messages exposing (..) | |
import Components.Signup.Messages exposing (..) | |
type Msg | |
= OpenSignupModal | |
| CloseSignupModal | |
| SignupMsg Components.Signup.Messages.Msg |
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
function transformFirebaseUser(firebaseUser) { | |
const storeUser = {}; | |
const userProperties = [ | |
'displayName', | |
'email', | |
'emailVerified', | |
'isAnonymous', | |
'photoURL', | |
'providerData', |
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 * as types from './actionTypes'; | |
import {beginAjaxCall, ajaxCallError} from './ajaxStatusActions'; | |
import FirebaseApi from '../api/mockFirebaseApi'; | |
import * as firebase from 'firebase'; | |
/// THIS WORKS | |
export function userCreatedSuccess(user) { | |
return {type: types.USER_CREATED_SUCCESS, user: { | |
email: user.email | |
}}; |
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
curl -L http://install.ohmyz.sh | sh |
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
# Connect to EC2 | |
ssh -i key.pem [email protected] | |
# Update, install the compiler and git | |
sudo yum update | |
sudo yum install gcc-c++ make | |
sudo yum install openssl-devel | |
sudo yum install git | |
# install nodejs |
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
.particleJs | |
background-color transparent | |
width 35% | |
height 100% | |
display block | |
position absolute | |
top 0px | |
left 0px |
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
/* | |
How to use: | |
on inputs: | |
<input type="password" id="pw2" name="pw2" | |
ng-model="pw2" ng-required="" password-confirm="pw1" /> | |
get errors with: | |
"myForm.pw2.$error.passwordmatch" | |
*/ | |
angular.module('myApp') | |
.directive('passwordConfirm', [function () { |
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
sudo yum install openssl openssl-devel | |
sudo yum groupinstall "Development Tools" | |
sudo yum install git-core | |
git clone [email protected]:nodejs/node.git | |
cd node | |
./configure | |
make |