Skip to content

Instantly share code, notes, and snippets.

@Crazy-Ace
Crazy-Ace / index.html
Created December 10, 2017 18:56 — forked from dvreed77/index.html
Copy an image to clipboard
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<p>
<textarea class="js-copytextarea">Hello I'm some text</textarea>
@Crazy-Ace
Crazy-Ace / Gruntfile.js
Created October 27, 2016 16:40 — forked from mariohmol/Gruntfile.js
Configure Build grunt tasks for Strongloop + AngularJS + Bower modules
/*
* https://github.com/angular-fullstack/generator-angular-fullstack/blob/master/Gruntfile.js
* https://docs.strongloop.com/display/public/LB/AngularJS+Grunt+plugin
* http://amsterdam.luminis.eu/2014/12/10/improve-my-angularjs-project-with-grunt/
* https://github.com/olov/ng-annotate
* https://github.com/mgol/grunt-ng-annotate
* https://oclazyload.readme.io/docs
https://github.com/strongloop/loopback-example-offline-sync/blob/master/Gruntfile.js
ANGULAR PROJECT START
updatemac
yo angular-fullstack <project name>
Use ngRoute
NGMATERIAL
Look at https://material.angularjs.org/latest/ - has a numbe rof these features, uses ngRoute, ngMessage and ngSanitize
Don't update css not as part of ngmaterial
@Crazy-Ace
Crazy-Ace / Express starter
Created October 27, 2016 16:40 — forked from ninotosh/Express starter
example express
mkdir yo-angular-fullstack
cd yo-angular-fullstack
npm install --save-dev generator-angular-fullstack
yo angular-fullstack --coffee
grunt
grunt serve
@Crazy-Ace
Crazy-Ace / curriculum.md
Created October 27, 2016 16:40 — forked from ryankinal/curriculum.md
JS Curriculum

JS Curriculum

Goals:

  • Know the language.
  • HTTP requests/responses
  • Be able to create client-side and server-side code effectively, with a focus toward the toolsets being used for McKissock S1.
  • A probject of some hopefully useful sort

Sections

@Crazy-Ace
Crazy-Ace / gist:81eb10919bdebb1c3f6f4c30f557b7be
Created October 27, 2016 16:40 — forked from drmikeh/gist:3096a816ec5248a7f8f4
README for the GA Camping Store with the MEAN Stack

GA Camping Store

Steps to Reproduce This Project

Step 1 - Setup The Project

1a. Install the Angular Fullstack Yeoman generator.

npm install -g generator-angular-fullstack
@Crazy-Ace
Crazy-Ace / Building-with-Javascript
Created October 27, 2016 16:39 — forked from ryanj/Building-with-Javascript
Building with Javascript - MidWestJS
<section>
<section id="welcome" data-background-transition='zoom' data-transition='concave' data-background='http://ryanjarvinen.com/presentations/shared/img/broadcast_reveal_dark.png' data-state='blackout'>
<h2>Building</h2>
<p>with</p>
<h1>Javascript</h1>
<br/>
<p><i>featuring npm, grunt, yeoman, bower, and more!</i></p>
<br/>
@Crazy-Ace
Crazy-Ace / gist:bfc7d8754c61a9941675b94c5706b568
Created October 27, 2016 16:39
Startup Weekend: Boilerplates
Outils généralistes
===================
* Yeoman http://yeoman.io/
Stack Javascript
================
* Yeoman/ Angular-fullstack: https://github.com/DaftMonk/generator-angular-fullstack
stack Node/Express + Angular + MongoDB/Mongoose, avec générateurs automatiques de code. Gère
@Crazy-Ace
Crazy-Ace / Gulpfile.js
Created October 27, 2016 16:39 — forked from manjeshpv/Gulpfile.js
Gulpfile for build and deploy in dokku and heroku
'use strict';
/* https://github.com/angular-fullstack/generator-angular-fullstack
* You can use this simplified gulpfile for creating dist by $>`gulp build`
* Deploy to heroku or dokku using git or heroku toolbelt
*/
process.env.NODE_ENV = process.env.NODE_ENV || 'development';
var os = require('os');
var gulp = require('gulp');