Skip to content

Instantly share code, notes, and snippets.

View goa's full-sized avatar

Manolis Katsifarakis goa

View GitHub Profile
@goa
goa / wakeup.el.txt
Created July 20, 2021 13:15
“You can wake up…” quote in Greek
Μπορείς να ξυπνήσεις έναν κοιμισμένο, αλλά όχι κάποιον που κάνει ότι κοιμάται.
@goa
goa / wakeup.el.txt
Created July 20, 2021 13:14
“You can wake up…” quite in greek
Μπορείς να ξυπνήσεις έναν κοιμισμένο, αλλά όχι κάποιον που κάνει ότι κοιμάται.
@goa
goa / swift5-strings-test.playground
Created April 18, 2019 13:36
A small playground to test characteristics of the new Strings implementation in Swift 5.0 and compare them to NSString
/// Below are two test functions and a collection of Unicode characters with various characteristics,
/// to test the Swift 5.0 String infrastructure and compare results with NSString.
import Foundation
func stringPrint(_ string: String) {
print("String `\(string)` is \(string.data(using: .utf8)?.count ?? 0) byte(s) long and contains \(string.count) character(s).")
}
func nsStringPrint(_ string: NSString) {