Skip to content

Instantly share code, notes, and snippets.

View d21anthony's full-sized avatar

Anthony Howe d21anthony

View GitHub Profile
@d21anthony
d21anthony / resourceControllers
Last active February 19, 2018 18:07
Resource Controllers : Laravel
*****************************************
*HTTP VERB | ACTION *
*****************************************
* GET | READ *
*****************************************
* POST | CREATE *
*****************************************
* PUT | UPDATE *
*****************************************
* DELETE | DELETE *
@d21anthony
d21anthony / jQueryTips
Last active August 29, 2015 13:57
jQuery Tips and Tricks
// Goal - Target a specific div in dom tree remove all other elements within body
Solution 3:
****************************************GOOD
$('.alpha').prependTo('body').nextAll('div').remove();
Fishers Solution:
*************************************** GOOD
$(document).ready( function() {
@d21anthony
d21anthony / gettingStartedGit
Created March 27, 2014 05:30
Getting started with git how to post to github remotely github push no username or password using ssh
/* Git definitely has many advantages in procuring your hard work. Ensuring your recently completed working files and or directories are stored and safe is almost priceless. Git can be a bear to get started with, but I've posted commands to get you and your repo up and running in no time. I did some googling and found some great resources by others and though I'd make a mash-up of everything I found in simple yet effective list of commands to make your life easier. */
"Getting started with git"
"how to post to github remotely"
"github push no username or password using ssh"
/* Firstly, if you are working on a new project I recommend doing the following:*/
git init