Skip to content

Instantly share code, notes, and snippets.

View atindra305's full-sized avatar
🎯
Focusing

Atindra Shekhar atindra305

🎯
Focusing
  • Georgetown University
  • Washington D.C., USA
View GitHub Profile
@atindra305
atindra305 / operatorCharacters.swift
Created September 4, 2020 06:51 — forked from natecook1000/operatorCharacters.swift
Allowed characters for Swift operators
import Foundation
extension UnicodeScalar : ForwardIndexType {
public func successor() -> UnicodeScalar {
return UnicodeScalar(value + 1)
}
}
var operatorHeads: [UnicodeScalar] = Array("=-+!*%<>&|^~?".unicodeScalars)
operatorHeads += Array("\u{00A1}" ... "\u{00A7}")
@atindra305
atindra305 / .gitignore
Created June 25, 2020 12:07 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #