- Create new repository on github
- From your local copy add the new repository as remote upstream
git remote add upstream <new repo ssh url>
- For each branch that needs to be copied (i.e master, develop and any active non merged branches) check out the latest to your local and run
git push upstream <branch name>
- Push any tags
git push --tags upstream
- Check that everything has been brought across
- Set the origin url to the new repository
git remote set-url origin <new repo ssh url>
- Delete the upstream remote
git remote remove upstream
- Open in github desktop and all should be gravy
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC3DLwtAbCK7EBr5mt9du+wU1KWipZ/CLOfLzGH+dvZSeOYYEUQn+HJyAHzlPhqVhDqRWPvbgqfttNn7O8Cp3Rz27ee3uTifbgH1dvnTeYu3jtIYxoStlJuaK+CIntuvM2jUv5Vewb/s7B5yQ2kyajs3T/9hiRAPoA2wi4ogPdru13Y+ro4EDNzoXQYNaQe07+YAEdCSsLJC2g549kuf7W6oYS9/YAVz24plcEeZmro7QD6Xwp4jP46C2tUUvakTfUAbWurAy62B2LTpf4CF8bE+PQA4YEflTIQOZQc5VuvvpvZ5cLP6c2PHVWmV2iuECW7XhsyPwxmx6sr1fZDtmOD jack@Jacks-iMac.local |
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
### Keybase proof | |
I hereby claim: | |
* I am jwtea on github. | |
* I am jwtea (https://keybase.io/jwtea) on keybase. | |
* I have a public key ASAeZEsnJyV9ANWG2NcIbpzVG9QGy3RMXOYb6OURggNg_Ao | |
To claim this, I am signing this object: |
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
public function getTeamRepoList() | |
{ | |
$repository = new Repository(); | |
$repository->getClient()->addListener( | |
new \Bitbucket\API\Http\Listener\OAuth2Listener( | |
array('access_token' => Session::get('oauth_access_token')) | |
) | |
); | |
$return = json_decode($repository->get('genecommerce','?pagelen=100')->getContent(),true); | |
//fix this properly |
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
package wiflyServer; | |
import java.io.IOException; | |
import java.net.ServerSocket; | |
import java.net.Socket; | |
public class Server { | |
static gui goo; //Create a new Gui object | |
public static Socket socket; //Create a new socket object | |
public static void conn(){ | |
try { | |
ServerSocket clientSocket = new ServerSocket(2042); //Set up a server socket listening on the port 2042 |
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
package wiflyServer; | |
import javax.swing.JFrame; | |
import javax.swing.JButton; | |
import java.awt.BorderLayout; | |
import java.awt.event.ActionListener; | |
import java.awt.event.ActionEvent; | |
import java.io.IOException; | |
import java.net.Socket; | |
public class gui { |
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
def openCsvDebug(filename): | |
data = {} | |
with open("C:/Python27/pythoncbr/data/"+filename,"rb") as f: | |
reader = csv.DictReader(f) | |
for row in reader: | |
if row['Customer ID'] != "": | |
key = row['Customer ID'] | |
temp = (row['prodID'],row['Amount']) | |
data.setdefault(key, []) | |
data[key].append(temp) |
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
data = {} | |
with open("C:/Python27/pythoncbr/data/"+filename,"rb") as f: | |
reader = csv.DictReader(f) | |
for row in reader: | |
if row['Customer ID'] != "": | |
key = row['Customer ID'] | |
data.setdefault(key, []) | |
data[key].append(row['prodID']) | |
if row['Customer ID'] == "": | |
data[key].append(row['prodID']) |