Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Dinesh Raja dinarajas

🎯
Focusing
Block or report user

Report or block dinarajas

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mattt
mattt / NSDecimalNumber.swift
Last active May 27, 2020
NSDecimalNumber Additions for Swift
View NSDecimalNumber.swift
import Foundation
// MARK: - Comparable
extension NSDecimalNumber: Comparable {}
public func ==(lhs: NSDecimalNumber, rhs: NSDecimalNumber) -> Bool {
return lhs.compare(rhs) == .OrderedSame
}
@viktorklang
viktorklang / §(Toggle Wi-Fi).app
Last active May 21, 2020
AppleScript to toggle Wi-Fi in OSX
View §(Toggle Wi-Fi).app
(*
Installation instructions
=========================
Run as an Application:
1) Open AppleScript Editor and create a new script
2) Paste this file into it
3) Save name it '§(Toggle Wi-Fi)'
- Or substitute '§' for a symbol that you can press with a single key
4) Put it in Applications/Utilities
You can’t perform that action at this time.