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
#!/usr/bin/env python3.5 | |
""" | |
A simple module to resolve a Go import path to the actual URL that hosts that | |
package. Sometimes these are not equal and you mustload one URL (and zero or | |
more redirects) until we encounter a meta tag that specifies the true import | |
URL. | |
Requirements: | |
- requests | |
- beautifulsoup4 |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<!-- Inject a version from a text-file into AssemblyVersion.cs . We do this | |
so that it's easier for the application to know its own version [by | |
reading the text file]. | |
--> | |
<Import Project="$(ProjectDir)..\packages\MSBuildTasks.1.5.0.196\tools\MSBuild.Community.Tasks.Targets" /> | |
<Target Name="InjectVersion" BeforeTargets="BeforeBuild"> | |
<!-- Read the version from our text file. This appears to automatically |
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
class Program | |
{ | |
private string executableVersion = null; | |
private string ExecutableVersion | |
{ | |
get | |
{ | |
if (executableVersion == null) | |
{ |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
$script = <<SCRIPT | |
apt-get update | |
apt-get install -y unzip git | |
wget -nv https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.40.zip |
NewerOlder