Skip to content

Instantly share code, notes, and snippets.

View twof's full-sized avatar
🐦
Having an animated discussion with the Swift compiler

Alex Reilly twof

🐦
Having an animated discussion with the Swift compiler
View GitHub Profile
@hishma
hishma / WWDC.md
Last active September 12, 2024 05:37
WWDC 2015-2018 Session Videos

WWDC 2015-2018 Session Videos

For some reason some older WWDC session videos have been disappearing from Fruit Co's the developer site. Luckily Harish posted this this gist of URL's and titles. So I converted that JSON to this markdown doc.

Enjoy!

2018

  • 102 – Platforms State of the Union – 2018 Platforms State of the Union
  • 103 – Apple Design Awards – Join us for an unforgettable award ceremony celebrating developers and their outstanding work. The 2018 Apple Design Awards recognize state of the art iOS, macOS, watchOS, and tvOS apps that reflect excellence in design and innovation.
@mishagray
mishagray / DefaultingJSONDecoder.swift
Created November 13, 2017 16:44
defines DefaultingJSONDecoder and CodingKeyWithDefaults
//
// DefaultingDecoder.swift
//
// Created by Michael Gray on 10/12/17.
//
import Foundation
// swiftlint:disable force_cast file_length
@lattner
lattner / TaskConcurrencyManifesto.md
Last active September 14, 2024 20:24
Swift Concurrency Manifesto
@mikemcguire
mikemcguire / .gitignore
Last active February 21, 2017 20:04
Wordpress .gitignore for MVC framework
# WordPress #
############
patternlab-php-master/
wp-config-local.php
wp-content/uploads
wp-content/plugins/debug-log.php
wp-content/blogs.dir/
wp-config.php
wp-content/upgrade/
wp-content/backup-db/
package Cadastro;
import java.util.Scanner;
public class Produto {
private String id;
private String nome;
private String tipo;
private String marca;

Innovatives Wissensformat sucht Entwickler

Für einen großen öffentlich-rechtlichen Rundfunksender entwickeln wir ein innovatives Wissenschaftsformat: Wir verwandeln Sensordaten live in Text. Und zwar über 40 Tage. Wir lösen damit nicht nur die Erzählweise klassischer Medien auf. Es ist ein journalistisches Abenteuer.

Wir sind preisgekrönte Journalisten und begeisterte Open-Source-Entwickler. Um die Software bis zum produktiven Einsatz zu bringen, suchen wir für den Zeitraum März bis Oktober 2017 noch freelance Verstärkung für unser Entwickler-Team.

Warum solltest Du unbedingt mitmachen?

  • Wir entwickeln sowohl Software als auch Hardware
@c9iim
c9iim / AXUIElement_in_Swift_pert2.swift
Last active December 16, 2017 23:40
AXUIElement in Swift pert2
import Cocoa
extension NSWorkspace {
class func frontmostApp() -> NSRunningApplication? {
return self.sharedWorkspace().frontmostApplication
}
class func runningApp(bundleIdentifier:NSString) -> NSRunningApplication? {
let runningApplications = NSWorkspace.sharedWorkspace().runningApplications
return runningApplications.filter({$0.bundleIdentifier == bundleIdentifier}).first
}
@c9iim
c9iim / AXUIElement_in_Swift.swift
Last active May 9, 2023 07:45
AXUIElement in Swift
import Cocoa
protocol AXUIProtocol {
func AXUIWindowArray(processIdentifier pid:pid_t) -> [AXUIElement]
func AXUIWindowArray(bundleIdentifier bid:NSString) -> [AXUIElement]
}
extension AXUIProtocol {
func AXUIWindowArray(processIdentifier pid:pid_t) -> [AXUIElement] {
let windowList : UnsafeMutablePointer<AnyObject?> = UnsafeMutablePointer<AnyObject?>.alloc(1)