Skip to content

Instantly share code, notes, and snippets.

Kim T kmturley

Block or report user

Report or block kmturley

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
View retrain.py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
View classify.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@kmturley
kmturley / app.component.html
Created May 21, 2018
Angular 6 + Firebase Reactive Forms
View app.component.html
<form [formGroup]="form">
<input class="input" type="text" formControlName="title" (change)="save()" /><br/>
<input class="input" type="text" formControlName="content" (change)="save()" />
</form>
View example.json
[{
"origin": "http://example.com",
"effective_connection_type": {
"name": "4G"
},
"form_factor": {
"name": "desktop"
},
"first_paint": {
"histogram": {
View ng-ScrollSpy.js support for custom element
/* ng-ScrollSpy.js v3.2.1
* https://github.com/patrickmarabeas/ng-ScrollSpy.js
*
* Copyright 2014, Patrick Marabeas http://marabeas.io
* Released under the MIT license
* http://opensource.org/licenses/mit-license.php
*
* Date: 31/01/2015
*/
@kmturley
kmturley / VideoEditor.js
Created Nov 10, 2015
Extending video editor functionality
View VideoEditor.js
//
// VideoEditor.js
//
// Created by Josh Bavari on 01-14-2014
// Modified by Ross Martin on 01-29-15
//
var exec = require('cordova/exec'),
pluginName = 'VideoEditor';
@kmturley
kmturley / FfmpegController.java
Created Nov 10, 2015
Extending video editor functionality
View FfmpegController.java
package org.ffmpeg.android;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
@kmturley
kmturley / VideoEditor.java
Created Nov 10, 2015
Extending video editor plugin functionality
View VideoEditor.java
package org.apache.cordova.videoeditor;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.URL;
import java.net.URLDecoder;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
@kmturley
kmturley / data-functions.js
Created May 12, 2015
Re-written date functions to not use eval()
View data-functions.js
/*
* Copyright (C) 2004 Baron Schwartz <baron at sequent dot org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by the
* Free Software Foundation, version 2.1.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
You can’t perform that action at this time.