Skip to content

Instantly share code, notes, and snippets.

Simone Civetta viteinfinite

Block or report user

Report or block viteinfinite

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@viteinfinite
viteinfinite / build-1.gradle
Last active Nov 29, 2018
Understanding The Basics of Multiplatform Projects in Kotlin 1.3
View build-1.gradle
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"
}
@viteinfinite
viteinfinite / convert.py
Last active Aug 2, 2019
Core ML Conversion Script for the Keras Facenet Model
View convert.py
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
View gist:7318b971666463e05e507b4f538f7e17
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"}]}'
View MobileThings-ServerSideSwift-README.md

0 Swiftenv

$ brew install kylef/formulae/swiftenv
$ swiftenv install 3.0.2
$ mkdir $project && cd $project && swiftenv local 3.0.2

1 Create Project

@viteinfinite
viteinfinite / Appfile
Last active Feb 27, 2016
Xebia's Blog Fastfile Example
View Appfile
# Definit le bundle identifier
app_identifier "fr.xebia.monAppli"
# Definit l'Apple ID du compte associé au compte de l'appli
apple_id "xxx@xebia.fr"
View DetailInterfaceController.swift
//
// DetailInterfaceController.swift
// XebiaSki
//
// Created by Simone Civetta on 02/12/14.
// Copyright (c) 2014 Xebia IT Architechts. All rights reserved.
//
import WatchKit
import XebiaSkiFramework
View DetailInterfaceController.swift
//
// DetailInterfaceController.swift
// XebiaSki
//
// Created by Simone Civetta on 02/12/14.
// Copyright (c) 2014 Xebia IT Architechts. All rights reserved.
//
import WatchKit
import XebiaSkiFramework
View InterfaceController.swift
//
// 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
View SkiResortTableRowController.swift
//
// SkiResortTableRowController.swift
// XebiaSki
//
// Created by Simone Civetta on 28/11/14.
// Copyright (c) 2014 Xebia IT Architechts. All rights reserved.
//
import WatchKit
import XebiaSkiFramework
View PhotoDownloadManager.swift
//
// PhotoDownloadManager.swift
// XebiaSki
//
// Created by Simone Civetta on 11/11/14.
// Copyright (c) 2014 Xebia IT Architechts. All rights reserved.
//
import UIKit
You can’t perform that action at this time.