This file contains hidden or 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
| $ git checkout feature_a | |
| $ git merge master |
This file contains hidden or 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
| git switch -c new_feature |
This file contains hidden or 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
| $ mkdir images | |
| $ touch images/.gitkeep | |
| $ git status | |
| On branch master | |
| Untracked files: | |
| (use "git add <file>..." to include in what will be committed) | |
| images/ | |
This file contains hidden or 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
| commit b0d3c42d003152d1195a299ee5a11bb7b82c07d4 (HEAD -> development) | |
| Author: Thomas Seng Hin Mak <[email protected]> | |
| Date: Wed Mar 10 20:55:54 2021 +0800 | |
| Example commit. | |
This file contains hidden or 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
| *{box-sizing: border-box;} | |
| img {max-width: 100%;} | |
| .row { | |
| display: flex; | |
| flex-wrap: wrap; | |
| } | |
| .row .row { | |
| margin-left: -.5em; | |
| margin-right: -.5em; | |
| } |
This file contains hidden or 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
| { | |
| "name": "mobile-web-2020-test-suite", | |
| "version": "1.0.0", | |
| "description": "Automated test cases for mobile web technologies competition 2020", | |
| "devDependencies": { | |
| "axe-core": "^4.0.2", | |
| "cy-mobile-commands": "^0.2.1", | |
| "cypress": "^5.0", | |
| "cypress-axe": "0.8.1", | |
| "cypress-commands": "^1.1.0", |
This file contains hidden or 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
| // | |
| // ViewController.swift | |
| // Upload Image Example | |
| // | |
| import UIKit | |
| import Alamofire | |
| class ViewController: UIViewController, UIImagePickerControllerDelegate, UINavigationControllerDelegate { |
This file contains hidden or 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
| import Foundation | |
| class Student { | |
| var enrolledAt:Date = Date() | |
| init(enrolledAt:String) { | |
| let dateFormatter = ISO8601DateFormatter() | |
| dateFormatter.formatOptions = .withFullDate | |
| self.enrolledAt = dateFormatter.date(from: enrolledAt)! | |
| } |
This file contains hidden or 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
| { | |
| "coord": { | |
| "lon": 113.546112, | |
| "lat": 22.20056 | |
| }, | |
| "sys": { | |
| "country": "MO", | |
| "sunrise": 1383690767, | |
| "sunset": 1383731168 | |
| }, |
This file contains hidden or 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
| <?php | |
| // DATA | |
| $passwords = [ | |
| "John" => "1357", | |
| "Susan" => "2468", | |
| "Steven" => "1890", | |
| "Steve" => "9876" | |
| ]; |