Skip to content

Instantly share code, notes, and snippets.

View teamtam's full-sized avatar
💭
Xamarin by day, Flutter by night

Benjamin Tam teamtam

💭
Xamarin by day, Flutter by night
View GitHub Profile
@andrewabest
andrewabest / 1 - Getting Started.md
Last active December 11, 2017 06:30
React Native development on Windows

React Native on Windows

So I've started looking into React Native, as mobile development is still a very hot topic, and I would like to do x-plat mobile development that provides a native experience, but doesn't suck for the developer (I'm looking at you Xamarin). I'm a big fan of React, and doing mobile dev that allows hot-reloading during the dev cycle sounds too good to be true.

I'm also going to be building this app with my son, who is 6. It is going to be for him to track his jobs (chores) and income (pocket money), and track savings and goals - encouraging some financial literacy and hopefully letting him reason about the money he makes and what he can do with it! I'm hoping JSX and Javascript will make for a clean and clear way to teach some of the concepts we will use for building the app. Even running through the boilerplate, it was quite simple to explain to him that a <Text> element in the JSX made the app display some text for us. A good start!

If you follow alon

@andrewabest
andrewabest / Instructions.md
Last active February 16, 2018 05:46
CI for Cordova (iOS) via VSTS, MacInCloud and HockeyApp

Install the Cordova Build and HockeyApp VSTS extensions into your VSTS tenant.

Sign up for a MacInCloud account, and create a VSTS build agent.

Create a pool for your agent in VSTS: https://support.macincloud.com/support/solutions/articles/8000016614-getting-started-with-the-macincloud-vsts-previously-vso-build-agent-plan and configure the agent following the instructions in the article.

Sign up for a HockeyApp account. Create an API token that VSTS will use to talk to HockeyApp via Account Settings > API Tokens.

For HockeyApp, create a service endpoint in VSTS: https://support.hockeyapp.net/kb/third-party-bug-trackers-services-and-webhooks/how-to-use-hockeyapp-with-visual-studio-team-services-vsts-or-team-foundation-server-tfs#installation-for-vsts

@JCapriotti
JCapriotti / Examples.md
Last active August 31, 2017 13:37
Octopus Step Testing

The example step includes one required parameter and one that is not required and has a default.

Call with No Parameters

PS C:\temp> Invoke-OctopusStep @{} .\step.ps1
Missing parameter value RequiredParameter
At C:\temp\step.ps1:12 char:13
+             throw "Missing parameter value $Name"
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : OperationStopped: (Missing paramet...quiredParameter:String) [], RuntimeException
  • FullyQualifiedErrorId : Missing parameter value RequiredParameter
@staltz
staltz / introrx.md
Last active May 7, 2024 09:38
The introduction to Reactive Programming you've been missing
@Chaser324
Chaser324 / GitHub-Forking.md
Last active May 2, 2024 05:49
GitHub Standard Fork & Pull Request Workflow

Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.

In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.

Creating a Fork

Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j

@jonnii
jonnii / gist:5051431
Created February 27, 2013 20:31
octopus powershell iis app pool and web site settings.
Import-Module WebAdministration
###########################
# externally configured variables
###########################
$subdomain = 'subdomain' # e.g. subdomain.yourdomain.com
$appPoolName = 'Awesome App Pool!!!'
$appPoolFrameworkVersion = "v4.0"
$domain = 'yourdomain.com'