testing...
- one
- two
- three
#!/bin/bash | |
# Sometimes you need to move your existing git repository | |
# to a new remote repository (/new remote origin). | |
# Here are a simple and quick steps that does exactly this. | |
# | |
# Let's assume we call "old repo" the repository you wish | |
# to move, and "new repo" the one you wish to move to. | |
# | |
### Step 1. Make sure you have a local copy of all "old repo" | |
### branches and tags. |
// composer.json | |
{ "name" : "project", | |
"description": "projecto", | |
"autoload": { | |
"classmap": [ | |
"src/" | |
] | |
}, | |
"require": { |
I hereby claim:
To claim this, I am signing this object:
// returns values uniqe to each array | |
function diffArray(arr1, arr2) { | |
var newArr = []; | |
// Same, same; but different. | |
// itterate through arry for each element check if value exists in second array if so push to new array | |
var newArr1 = arr1.filter(function(value) { | |
// indexOf returns -1 if the value is not found | |
if (arr2.indexOf(value) == -1) { | |
newArr.push(value); |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |