Category: General

  • GIT Adding TAG Into Repository

    GIT Adding TAG Into Repository

    Add tag with comment.   git tag -a v0.0.8 -m “3rd Beta release.”  

  • Git Add New Remote Repository

    Git Add New Remote Repository

    To add a new repository # abcd is the remote name given can be anything # https://github.com/user/repo.git is any repository url $ git remote add abcd https://github.com/user/repo.git # See all remotes $ git remote show # Verify remotes $ git remote -v  

  • iOS 11.3 Beta WIFI Connection Problem

    iOS 11.3 Beta WIFI Connection Problem

    If you have developer account and downloaded 11.3 beta; probably you had an unexpected Wi-Fi connection problem. You can try again and again by retyping your password and restarting the router but problem will persist. The only solution is restoring the stable version which is currently 11.2.5 via iTunes. But in this case iTunes won’t…

  • Git Create A New Branch Via Commit No/Hash

    Git Create A New Branch Via Commit No/Hash

    Creating a new branch by a commit no git branch branchname <sha1-of-commit>  

  • Git Pull Specific Commit Via Commit No

    Git Pull Specific Commit Via Commit No

    In a empty folder. git clone <repository_address> git remote add origin <repository_address> #YOUR_SHA_HERE is like 12eb5133eda7fcf8b86a6cc70a0f8c3afc178263 git fetch origin master YOUR_SHA_HERE git checkout YOUR_SHA_HERE  

  • iOS Swift Save|Load Custom Class Variables As Encoded Object

    iOS Swift Save|Load Custom Class Variables As Encoded Object

    By using NSKeyedArchiver.archivedData, NSKeyedUnarchiver.unarchiveObject you can actually store the data as compressed zip in the device and recall/unzip them to your class structure Model Class class User: NSObject, NSCoding { // Common var userId: Int = 0 var userFullName: String = “” var userUsername: String = “” var userBiography: String = “” var userRegisterDate: String =…

  • Git Clone With Specific Branch

    Git Clone With Specific Branch

    Cloning specific branch in repository. Example 1 git init git remote add -t refspec remotename host:/dir.git git fetch   Example 2 git clone -b my-branch git@github.com:user/myproject.git  

  • Git Submodule Adding To Existing Git Project

    Git Submodule Adding To Existing Git Project

    Tidy way of adding 3rd part frameworks in your project is; First, go into project folder clon the 3rd part frameworks in this with git command below. It will create a Frameworks folder and sub folder for the desired repository. #example below for adding SwiftyJSON git submodule add https://github.com/SwiftyJSON/SwiftyJSON.git Frameworks/SwiftyJSON #example below for adding Alamofire git…

  • Update An Already Forked Branch

    Update An Already Forked Branch

    For updating a forked branch on Github or any other git related system. First you need to clone your forked branch on your local machine because there is no any one click updater solution.

  • Git Merge Branch Into Master

    Git Merge Branch Into Master

    Merge branch name “test” into master   git checkout master git pull origin master git merge test git push origin master      

  • Canon EOS 1100D Continuous Power With LP-E10 Battery Hack

    Canon EOS 1100D Continuous Power With LP-E10 Battery Hack

    This video is about using is the Canon EOS 1100D (or Canon KISS X50 Canon REBEL T3) with continuous AC power supply with home made battery hack. The battery we’re going to open and convert to permanent AC power is LP-E10.

  • Mini Water Fountain

    Mini Water Fountain

    I needed a mini water fountain for watering my plants. I’ve designed this; on AutoDesk’s 123D Design application which is FREE and easy to learn. And make it print via 3DHubs it was my first experience with high detailed resin. Result was amazing!