- nylas/N1 💌 An extensible desktop mail app built on the modern web.
- black-screen/black-screen A terminal emulator for the 21st century.
- shockone/black-screen A terminal emulator for the 21st century.
- ptmt/react-native-macos React Native for macOS
- docker/kitematic Visual Docker Container Management on Mac & Windows
- kitematic/kitematic Visual Docker Container Management on Mac & Windows
- davezuko/wirk-starter Get started with React, Redux, and React-Router!
- TelescopeJS/Telescope 🔭 An open-source social news app built with Meteor & React
- coryhouse/react-slingshot React + Redux starter kit / boile
I am searching experienced backend developers (freelance, remote) with a ❤️ for Swift for Moonshot Energy, the world’s first AI-driven renewable energy company located in Germany. Moonshot Energy is financially backed by Innogy SE, one of Europe's largest energy providers.
At Moonshot you will play a major role in making the world greener, the future brighter and energy distribution smarter by using latest technologies like server-side Swift, microservices, artificial intelligence 🤖 and machine learning and new interfaces like chatbots and dialog-based systems (NLP).
Since our team is working on European timezones it would be good if you would live in the EU or if you are an early bird living in US-East 🇪🇺🇺🇸.
Your job:
- build our internal microservices
// case 1 | |
//AppDelegate#application:didFinishLaunchingWithOptions | |
NSSetUncaughtExceptionHandler {e in | |
print(">>>>> ExceptionHandler OK") | |
let log = NSString(format:"%@, %@", e.name, e.reason!) | |
NSUserDefaults.standardUserDefaults().setValue(log, forKey: "failLog") | |
} | |
// case 2 | |
// Closureを渡さなくても、swift関数の関数名を渡しても良い。ただし、NSSetUncaughtExceptionHandlerと同じスコープ内に | |
// swift関数が無いとコンパイルエラー⁉️ |
[UIView animateKeyframesWithDuration:5.0 delay:0.0 options:0 animations:^{ | |
[UIView addKeyframeWithRelativeStartTime:0.0 relativeDuration:0.5 animations:^{ | |
self.verticalPosition.constant = 200.0; | |
[self.view layoutIfNeeded]; | |
}]; | |
[UIView addKeyframeWithRelativeStartTime:0.5 relativeDuration:0.25 animations:^{ | |
self.verticalPosition.constant = 50.0; | |
[self.view layoutIfNeeded]; | |
}]; | |
[UIView addKeyframeWithRelativeStartTime:0.75 relativeDuration:0.125 animations:^{ |
exec > /tmp/${PROJECT_NAME}_archive.log 2>&1 | |
UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal | |
if [ "true" == ${ALREADYINVOKED:-false} ] | |
then | |
echo "RECURSION: Detected, stopping" | |
else | |
export ALREADYINVOKED="true" |
private var AssociatedKey: UInt = 0 | |
private final class AssociatedObjectBox<T> { | |
let value: T | |
init(_ x: T) { | |
value = x | |
} | |
} |
// MARK: Method chaining | |
class MethodChainig { | |
func fetchImage() -> Fetch<UIImage> { | |
let fetch = Fetch<UIImage>() | |
return fetch | |
} | |
} |
// My way of doing constants in Swift. | |
// Usage example: if(Constants.debug) { println("debug message") } | |
struct Constants { | |
// App wide things: | |
static let debug = true | |
static let production = true | |
static let appVersion = "iOS-0.1.0b300" | |
static let apiBase = "http://api.com/1" |
Print which passes are used in -O1, -O2, -O3...
opt -O2 -debug-pass=Arguments foo.ll -S -o bar.ll
Show control flow graph using opt
, spawning a new background task.
opt -view-cfg -view-background foo.ll
Debugging mit gdb
import XCTest | |
@testable import YourAppTargetname | |
class SideMenuViewControllerTest: XCTestCase { | |
var viewControllerUnderTest: SideMenuViewController! | |
override func setUp() { | |
super.setUp() | |