Skip to content

Instantly share code, notes, and snippets.


Dinesh Raja dinarajas

View GitHub Profile
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 == .OrderedSame
viktorklang / §(Toggle Wi-Fi).app
Last active Sep 2, 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.