Find and delete old git branches that are no longer needed.
Clone the repo and add to your path (just for ease of use):
[user] | |
name = Pavan Kumar Sunkara | |
email = pavan.sss1991@gmail.com | |
username = pksunkara | |
[init] | |
defaultBranch = master | |
[core] | |
editor = nvim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
pager = delta |
<?php | |
class PhotoApiTest extends TestCase { | |
public function setUp() | |
{ | |
parent::setUp(); | |
Route::enableFilters(); |
#! /usr/bin/env python | |
import hashlib | |
import urllib | |
import time | |
try: | |
import simplejson as json | |
except ImportError: | |
import json | |
from pprint import pprint |
Other people's projects:
My projects (tutorials are on my blog at http://maxoffsky.com):
git branch -m old_branch new_branch # Rename branch locally | |
git push origin :old_branch # Delete the old branch | |
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
osascript -e 'tell application "iOS Simulator" to quit' | |
osascript -e 'tell application "Simulator" to quit' | |
xcrun simctl erase all |
<?php | |
namespace App\Traits; | |
use Rhumsaa\Uuid\Uuid; | |
use Illuminate\Database\Eloquent\ModelNotFoundException; | |
/** | |
* Trait UuidModel | |
* @package App\Traits |