$ brew install kylef/formulae/swiftenv
$ swiftenv install 3.0.2
$ mkdir $project && cd $project && swiftenv local 3.0.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
{ | |
"keys": ["option+shift+down"], | |
"command": "move_commit", | |
"args": { "commit": "$commit", "down": true }, | |
}, | |
{ | |
"keys": ["option+shift+up"], | |
"command": "move_commit", | |
"args": { "commit": "$commit", "down": false }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install the jq tool (https://stedolan.github.io/jq/) | |
# It'll be used to parse the response of the aws cli commands | |
JQ_PATH=./scripts/jq | |
if [ ! -f "$JQ_PATH" ]; then | |
echo "Installing jq" | |
curl -L https://github.com/stedolan/jq/releases/download/jq-1.6/jq-osx-amd64 --output $JQ_PATH | |
chmod +x $JQ_PATH | |
fi | |
# Create an AWS IAM Role |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
ext.kotlin_version = '1.3.0' | |
repositories { | |
jcenter() | |
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' } | |
} | |
dependencies { | |
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import coremltools | |
from coremltools.proto import NeuralNetwork_pb2 | |
from coremltools.models.neural_network.quantization_utils import * | |
import numpy | |
from keras.models import Sequential | |
from keras.layers import Dense | |
from keras.layers import Dropout | |
from keras.utils import np_utils | |
from keras.models import load_model | |
import os.path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X POST http://localhost:4985/couchbaseevents/_bulk_docs -H "Content-Type: application/json" -d '{"new_edits": false, "docs": [{"_id": "event", "name": "aaa", "_rev": "1-123"}, {"_id": "event", "name": "bbb", "_rev": "1-456"}, {"_id": "event", "name": "ccc", "_rev": "1-789"}]}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Definit le bundle identifier | |
app_identifier "fr.xebia.monAppli" | |
# Definit l'Apple ID du compte associé au compte de l'appli | |
apple_id "[email protected]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// DetailInterfaceController.swift | |
// XebiaSki | |
// | |
// Created by Simone Civetta on 02/12/14. | |
// Copyright (c) 2014 Xebia IT Architechts. All rights reserved. | |
// | |
import WatchKit | |
import XebiaSkiFramework |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// DetailInterfaceController.swift | |
// XebiaSki | |
// | |
// Created by Simone Civetta on 02/12/14. | |
// Copyright (c) 2014 Xebia IT Architechts. All rights reserved. | |
// | |
import WatchKit | |
import XebiaSkiFramework |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// InterfaceController.swift | |
// XebiaSki WatchKit Extension | |
// | |
// Created by Simone Civetta on 03/12/14. | |
// Copyright (c) 2014 Xebia IT Architechts. All rights reserved. | |
// | |
import WatchKit | |
import Foundation |
NewerOlder