Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am return on github.
  • I am return (https://keybase.io/return) on keybase.
  • I have a public key whose fingerprint is 4163 AB93 E2C7 3D2A 7943 8D00 4F34 E5D5 8A82 7ECE

To claim this, I am signing this object:

@return
return / .profile
Created August 1, 2016 20:42 — forked from bmhatfield/.profile
Automatic Git commit signing with GPG on OSX
# In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env
# variable pointing GPG to the gpg-agent socket. This little script, which must be sourced
# in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start
# gpg-agent or set up the GPG_AGENT_INFO variable if it's already running.
# Add the following to your shell init to set up gpg-agent automatically for every shell
if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then
source ~/.gnupg/.gpg-agent-info
export GPG_AGENT_INFO
else
@return
return / readme.md
Created September 13, 2016 21:38 — forked from baraldilorenzo/readme.md
VGG-16 pre-trained model for Keras

##VGG16 model for Keras

This is the Keras model of the 16-layer network used by the VGG team in the ILSVRC-2014 competition.

It has been obtained by directly converting the Caffe model provived by the authors.

Details about the network architecture can be found in the following arXiv paper:

Very Deep Convolutional Networks for Large-Scale Image Recognition

K. Simonyan, A. Zisserman

@return
return / AutoUpdateExampleHelper.cs
Last active July 18, 2017 23:42 — forked from sbrl/AutoUpdateExampleHelper.cs
A simple automatic update system, written in C# for a blog post.
using System;
using System.Net;
using System.IO;
using System.IO.Compression;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Diagnostics;
using System.Text;
using System.Security.Cryptography;
using System.Security.Permissions;
@return
return / x86_64-haiku-swift-test
Created July 24, 2017 10:30
Swift 3.1 Haiku Glibc test failures
~/Desktop/swift-source> ./build-ninja-test.sh
+ mkdir -p /boot/home/Desktop/swift-source/build/Ninja-ReleaseAssert
+ env HOST_VARIABLE_haiku_x86_64__SWIFT_BENCHMARK_TARGETS= HOST_VARIABLE_haiku_x86_64__SWIFT_RUN_BENCHMARK_TARGETS= HOST_VARIABLE_haiku_x86_64__SWIFT_SDKS=HAIKU HOST_VARIABLE_haiku_x86_64__SWIFT_STDLIB_TARGETS=swift-test-stdlib-haiku-x86_64 HOST_VARIABLE_haiku_x86_64__SWIFT_TEST_TARGETS=check-swift-haiku-x86_64 /boot/home/Desktop/swift-source/swift/utils/build-script-impl --workspace /boot/home/Desktop/swift-source --build-dir /boot/home/Desktop/swift-source/build/Ninja-ReleaseAssert --install-prefix /usr --host-target haiku-x86_64 --stdlib-deployment-targets haiku-x86_64 --host-cc /bin/clang --host-cxx /bin/clang++ --darwin-xcrun-toolchain default --darwin-deployment-version-osx=10.9 --darwin-deployment-version-ios=7.0 --darwin-deployment-version-tvos=9.0 --darwin-deployment-version-watchos=2.0 --cmake /bin/cmake --cmark-build-type Release --llvm-build-type Release --swift-build-type Release --
@return
return / x86_64-haiku-swift-normal-tests.txt
Created July 26, 2017 21:14
Swift 3.1 normal test results on Haiku
********************
Testing Time: 372.38s
********************
Failing Tests (291):
Swift(haiku-x86_64) :: AutolinkExtract/linker-order.ll
Swift(haiku-x86_64) :: Driver/linker.swift
Swift(haiku-x86_64) :: Interpreter/RosettaCode.swift
Swift(haiku-x86_64) :: AutolinkExtract/import.swift
Swift(haiku-x86_64) :: AutolinkExtract/import_archive.swift
Swift(haiku-x86_64) :: Driver/emit-sib-single-file.swift
@return
return / x86_64-haiku-swift-test-results.xml
Created July 26, 2017 21:20
Swift 3.1 Haiku detailed test results
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="UTF-8" ?>
<testsuites>
<testsuite name='Swift-Unit' tests='239' failures='0'>
<testcase classname='Swift-Unit.IDE/SwiftIDETests' name='CodeCompletionToken.FindInEmptyFile' time='0.09'/>
<testcase classname='Swift-Unit.IDE/SwiftIDETests' name='CodeCompletionToken.FindNonExistent' time='0.10'/>
<testcase classname='Swift-Unit.IDE/SwiftIDETests' name='CodeCompletionToken.RemovesOtherTokens' time='0.11'/>
<testcase classname='Swift-Unit.IDE/SwiftIDETests' name='CodeCompletionToken.FindBegin' time='0.12'/>
<testcase classname='Swift-Unit.IDE/SwiftIDETests' name='CodeCompletionToken.FindEnd' time='0.11'/>
<testcase classname='Swift-Unit.IDE/SwiftIDETests' name='CodeCompletionToken.FindSingleLine' time='0.12'/>
<testcase classname='Swift-Unit.IDE/SwiftIDETests' name='CodeCompletionToken.FindMultiline' time='0.12'/>
@return
return / x86_64-haiku-swift-tests.xml
Last active July 26, 2017 22:43
Swift 3.1 Haiku detailed tests with fixed linker flag.
<?xml version="1.0" encoding="UTF-8" ?>
<testsuites>
<testsuite name='Swift-Unit' tests='239' failures='0'>
<testcase classname='Swift-Unit.Driver/SwiftDriverTests' name='DependencyGraph.BasicLoad' time='0.03'/>
<testcase classname='Swift-Unit.Driver/SwiftDriverTests' name='DependencyGraph.IndependentNodes' time='0.03'/>
<testcase classname='Swift-Unit.Driver/SwiftDriverTests' name='DependencyGraph.IndependentDepKinds' time='0.02'/>
<testcase classname='Swift-Unit.Driver/SwiftDriverTests' name='DependencyGraph.IndependentDepKinds2' time='0.02'/>
<testcase classname='Swift-Unit.Driver/SwiftDriverTests' name='DependencyGraph.IndependentMembers' time='0.02'/>
<testcase classname='Swift-Unit.Driver/SwiftDriverTests' name='DependencyGraph.SimpleDependent' time='0.02'/>
<testcase classname='Swift-Unit.Driver/SwiftDriverTests' name='DependencyGraph.SimpleDependentReverse' time='0.02'/>
@return
return / x86_64-haiku-swift-normal-tests-use-ld flag.txt
Last active July 26, 2017 22:47
Swift 3.1 normal tests with -use-ld flag
********************
Testing Time: 295.91s
********************
Failing Tests (149):
Swift(haiku-x86_64) :: stdlib/PrintBoolean.swift
Swift(haiku-x86_64) :: stdlib/ManagedBuffer.swift
Swift(haiku-x86_64) :: stdlib/IntervalTraps.swift
Swift(haiku-x86_64) :: Serialization/search-paths-relative.swift
Swift(haiku-x86_64) :: stdlib/POSIX.swift
Swift(haiku-x86_64) :: stdlib/NumericParsing.swift.gyb