Skip to content

Instantly share code, notes, and snippets.

View mrtokii's full-sized avatar

Vitaliy Salnikov mrtokii

View GitHub Profile
@mrtokii
mrtokii / solve.sh
Last active May 26, 2020 19:49
Github PR stealing tool. Finds and copies pull requests. Install: wget -O solvegh https://gist.github.com/mrtokii/ebfbe94a9433294b14bc795e3abd8dd3 && chmod +x solvegh
#!/usr/bin/env bash
#______________________________________________________________
#_____________________________1¶¶¶1¶___________________________
#_____________________________1¶¶¶¶¶¶¶¶¶_______________________
#______________________________1¶¶¶¶¶¶¶¶¶¶¶¶___________________
#_________________________________¶¶¶¶¶¶¶¶¶¶¶__________________
#_____________________1¶¶¶¶1_1¶¶____¶¶¶¶¶1¶¶¶¶1________________
#__________________¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶1__¶¶¶¶¶1¶¶¶¶¶¶______________
#________________1¶¶¶¶¶¶1111_1¶¶¶¶_____¶¶¶¶11¶¶¶¶1_____________
#_______________¶¶¶¶¶¶1¶111¶¶¶¶¶________¶¶¶¶111¶¶¶1____________
public func isTrue(_ value: Bool?) {
return value ?? false
}
public func isFalse(_ value: Bool?) {
return !value ?? false
}