Skip to content

Instantly share code, notes, and snippets.

View AddressXception's full-sized avatar

AddressXception AddressXception

View GitHub Profile
{
"name": "Its a nu Moji",
"description": "some bacon ipsum",
"image": "ipfs://QmcGqoSGaMuHQp1wJVAT63FMo9nRoBzw61Cu9NqxFqKKGZ",
"external_link": "https://some.website.com",
"seller_fee_basis_points": 600,
"fee_recipient": "0x0"
}
{
"name": "Its a nu Moji",
"description": "some bacon ipsum",
"image": "ipfs://QmcGqoSGaMuHQp1wJVAT63FMo9nRoBzw61Cu9NqxFqKKGZ",
"external_link": "https://some.website.com",
"seller_fee_basis_points": 600,
"fee_recipient": "0x0"
}
-- Select one --
0 to 10
10 to 50
50 to 250
250 to 1,000
greater than 1,000
@AddressXception
AddressXception / install-latest-compose.sh
Created June 16, 2019 15:41 — forked from deviantony/install-latest-compose.sh
Install latest version of Docker Compose
#!/bin/bash
# get latest docker compose released tag
COMPOSE_VERSION=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep 'tag_name' | cut -d\" -f4)
# Install docker-compose
sh -c "curl -L https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose"
chmod +x /usr/local/bin/docker-compose
sh -c "curl -L https://raw.githubusercontent.com/docker/compose/${COMPOSE_VERSION}/contrib/completion/bash/docker-compose > /etc/bash_completion.d/docker-compose"
@AddressXception
AddressXception / HoloLens_DirectXSwitchView.cs
Created May 30, 2016 15:40
Demonstrates how to switch views on HoloLens. The AppviewSource comes from the Holographic DirectX 11 Application Template that ships with the HoloLens emulator.
/// <summary>
/// https://msdn.microsoft.com/en-us/windows/uwp/layout/show-multiple-views
/// switch from this 2D XAML view to a IFrameworkView
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private async void DirectX_OnClick(object sender, RoutedEventArgs e)
{
var exclusiveViewApplicationSource = new AppViewSource();
[Binding]
public class TipCalcScreenSteps : StepsBase
{
private ITipCalcScreen _tipCalcScreen;
protected override void GetScreens()
{
_tipCalcScreen = FeatureContext
.Current
.Get<ITipCalcScreen>(ScreenNames.TipCalc);
[Binding]
public class TipCalcScreenSteps
{
[Given(@"I have selected the SubTotal field")]
public void GivenIHaveSelectedTheSubTotalField()
{
public partial class TipCalcScreenFeature : XamarinFeatureBase
{
public TipCalcScreenFeature(Platform platform, string iOSSimulator)
: base(platform, iOSSimulator)
{
}
[TestFixtureSetUp()]
public override void FeatureSetupImplementation()
[System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "2.0.0.0")]
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[NUnit.Framework.TestFixtureAttribute()]
[NUnit.Framework.DescriptionAttribute("TipCalcScreen")]
public partial class TipCalcScreenFeature
{
private TechTalk.SpecFlow.ITestRunner testRunner;
#line 1 "TipCalcScreen.Xamarin.feature"
[System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "2.0.0.0")]
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[Microsoft.VisualStudio.TestTools.UITesting.CodedUITestAttribute()]
public partial class TipCalcScreenFeature
{
private static TechTalk.SpecFlow.ITestRunner testRunner;
#line 1 "TipCalcScreen.Windows.feature"
#line hidden