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
| ## Background | |
| - Users in countries that block Tor (China, Iran, etc.) | |
| - High-risk individuals avoiding surveillance | |
| - People whose ISPs block Tor traffic | |
| - Users where using Tor could draw attention | |
| - Whistleblowers and activists in restrictive regions | |
| --- |
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
| # Signal | |
| - Website: https://signal.org/blog/signal-proxy/ | |
| - Description: Bypass Signal blocking while maintaining E2EE | |
| --- | |
| ## Domain Name Configuration | |
| Make sure A-record and AAAA-record (IPv6) points to a the vultr instance for your subdomain *or* for @ and www. |
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
| // Source: https://developer.apple.com/forums/thread/650158?answerId=614513022#614513022 | |
| import Foundation | |
| extension Bundle { | |
| static let module = Bundle(path: "\(Bundle.main.bundlePath)/path/to/this/targets/resource/bundle") | |
| } |
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
| private extension Bundle { | |
| /// The path to Siren's localization `Bundle`. | |
| /// | |
| /// - Returns: The bundle's path or `nil`. | |
| final class func sirenBundlePath() -> String? { | |
| #if SWIFT_PACKAGE | |
| return Bundle.module.path(forResource: "\(Siren.self)", ofType: "bundle") | |
| #else | |
| return Bundle(for: Siren.self).path(forResource: "\(Siren.self)", ofType: "bundle") | |
| #endif |
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
| defaults write com.apple.dt.Xcode ShowBuildOperationDuration -bool YES |
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
| #!/usr/bin/env bash | |
| BR=$( git describe --contains --all HEAD ) | |
| echo Branch: $BR | |
| if [ $BR = master ] | |
| then | |
| git add Path/To/Supporting\ Files/Info.plist | |
| git commit --allow-empty -m "[skip ci] finished build: $BUDDYBUILD_BUILD_NUMBER" | |
| git push |
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
| alias ga='git add . && git status' | |
| alias gb='git branch' | |
| alias gbd='git branch -D' | |
| alias gch='git checkout' | |
| alias gcam='git commit -am' | |
| alias gp='git push' | |
| alias gpo='git push origin' | |
| alias gs='git status' | |
| alias gu='git pull --all && git fetch -p && git branch --merged | grep -v '^*' | grep -v master | grep -v develop | xargs -n 1 git branch -d && git branch -a' | |
| alias gclean='git clean -fd && git reset && git checkout -f && git status' |
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
| alias up='rvm get stable && rvm rubygems latest && gem update && brew update && brew upgrade && brew doctor && brew cleanup' |
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 | |
| enum EnumKey: String { | |
| case aKey = "Key A from Enum" | |
| case bKey = "Key B from Enum" | |
| case cKey = "Key C from Enum" | |
| } | |
| struct StructKey { | |
| static let aKey = "Key A from Struct" |
NewerOlder