(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| class Solution { | |
| func isSubsequence(_ s: String, _ t: String) -> Bool { | |
| let sub = Array(s.utf8) | |
| let string = Array(t.utf8) | |
| var subIndex: Int = 0 | |
| var stringIndex: Int = 0 | |
| while stringIndex < string.count, subIndex < sub.count { | |
| if string[stringIndex] == sub[subIndex] { |
| class Solution { | |
| func romanToInt(_ s: String) -> Int { | |
| var iterator = s.utf8CString.makeIterator() | |
| var result: Int = 0 | |
| var current: RomanCharacter? | |
| current = iterator.getNext() | |
| while let unwrappedCurrent = current { |
| // Add the following lines into your ~/.gitconfig | |
| [user] | |
| name = | |
| useConfigOnly = true | |
| email = |
| public protocol NibLoadable { | |
| static var nibName: String { get } | |
| } | |
| public extension NibLoadable where Self: UIView { | |
| public static var nibName: String { | |
| return String(describing: Self.self) | |
| } | |
| # NPM | |
| watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache clean --force && npm install && npm start -- --reset-cache | |
| # YARN | |
| watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache clean --force && yarn install && npm start -- --reset-cache |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
For more about AWS and AWS Certifications and updates to this Gist you should follow me @leonardofed