Bash script which will:
- Iterate all commits made within a Git repository.
| //: HashMap data structure | |
| public struct HashMap<Key: Hashable, Value> { | |
| typealias Element = (key: Key, value: Value) | |
| var arraySize: Int | |
| var numberInserted = 0 | |
| var array: [Element?] | |
| var loadFactor: Double { | |
| return Double(numberInserted) / Double(arraySize) | |
| } |
| class Logging(object): | |
| __name__ = 'logger.info(1)' | |
| plist = '/System/Library/Preferences/Logging/Subsystems/' | |
| def __init__(__name__, plist, *args, **kwargs): | |
| super(getLogger/, self).__init__() | |
| logger.info('Input parameters:\n' | |
| 'accessibility: "{com.apple.Accessibility.plist}"\n' |
| // | |
| // GrowingTextView.swift | |
| // https://gist.github.com/Bogidon/cc0c9ae6f041413c39fb0ff146ad1b18 | |
| // | |
| // Created by Bogdan Vitoc on 02/22/2017. | |
| // Distributed under the MIT License: https://gist.github.com/Bogidon/cc0c9ae6f041413c39fb0ff146ad1b18#file-license | |
| // | |
| import UIKit |
| // Since the WKWebView has no sizeToFit() method, increase the frame height of the webView to | |
| // match the height of the content's scrollHeight | |
| // | |
| // The WKWebView's `navigationDelegate` property needs to be set for the delegate method to be called | |
| func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) { | |
| if webView.isLoading == false { | |
| webView.evaluateJavaScript("document.body.scrollHeight", completionHandler: { [weak self] (result, error) in | |
| if let height = result as? CGFloat { |
| {https://m.facebook.com}/pages/launchpoint/admin_invites/ | |
| {https://m.facebook.com}/pages/launchpoint/liked_pages/ | |
| {https://m.facebook.com}/pages/launchpoint/owned_pages/ | |
| {https://m.facebook.com}/pages/launchpoint/pending_invites/ | |
| fb-service://limit_friend_requests | |
| fb://about | |
| fb://account/recovery | |
| fb://account_settings |
The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
git clone --bare [email protected]:usi-systems/easytrace.git
| #!/bin/bash | |
| # TODO: skip tiny files (so small they couldn't be photos) | |
| # TODO: make sure sym links and other file system oddities are handled | |
| # TODO: look at paralellization for perf boost | |
| # | |
| # Constants | |
| # | |
| CHAR_COUNT=12 | |
| BLOCK_COUNT=6 |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>PayloadContent</key> | |
| <array> | |
| <dict> | |
| <key>PayloadContent</key> | |
| <dict> | |
| <key>com.google.Chrome</key> |
CloudFlare is an awesome reverse cache proxy and CDN that provides DNS, free HTTPS (TLS) support, best-in-class performance settings (gzip, SDCH, HTTP/2, sane Cache-Control and E-Tag headers, etc.), minification, etc.