Skip to content

Instantly share code, notes, and snippets.

@chrisriesgo
chrisriesgo / remy.zsh-theme
Created April 25, 2019 14:01
oh-my-zsh theme - Remy
# vim:ft=zsh ts=2 sw=2 sts=2
#
# Based on agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://gist.github.com/1595572).
#
@chrisriesgo
chrisriesgo / profile.ps1
Created November 28, 2018 17:15
Custom git aliases for Powershell
#####################################
# Git Alias Section
#####################################
function Get-EditGitConfig() {
code $HOME/.gitconfig
}
function Get-GitFetchAll() {
git fetch --all
}
@chrisriesgo
chrisriesgo / emoji-code-review-comments.md
Last active March 1, 2024 13:05
Emoji Code Review Comments

Emoji Code Review Comments

Legend

Emoji Translation
😃 😍 I like this!
No changes or acknowledgements needed. Just wanted to say well done.
⚠️ Problem
This is a blocking issue and requires changes.
🔧 🎨 Suggestion
Not blocking, but a suggestion or idea for improvement. Feel free to disagree and move on.
QuestionNot blocking, but requires an answer by the PR/code author.

Keybase proof

I hereby claim:

  • I am chrisriesgo on github.
  • I am chrisriesgoolo (https://keybase.io/chrisriesgoolo) on keybase.
  • I have a public key whose fingerprint is EDF1 F23C F76A 00B6 9378 D593 9042 1693 D435 91DC

To claim this, I am signing this object:

Add an Azure Backend to Your Mobile App
Part 2 - Connect Client Apps

The Azure backend that was setup in the previous step is for a Todo List app.

In this next step, we will build a simple Todo List app. By the end you should be able to manage a simple todo list by adding, updating, and deleting todo items.

1. Create New Mobile App(s)

Create a new mobile client app project. Follow the instructions for Visual Studio on Windows or Xamarin Studio on Mac.

public partial class App : Application
{
public App()
{
InitializeComponent();
// 1. Create a new EasyMobileServiceClient.
var client = EasyMobileServiceClient.Create();
// 2. Initialize the library with the URL of the Azure Mobile App you created in Step #1.
public partial class TodoList : ContentPage
{
IEasyMobileServiceClient _client;
public TodoList(IEasyMobileServiceClient client)
{
InitializeComponent();
_client = client;
}
<Grid RowSpacing="0">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<ActivityIndicator Grid.RowSpan="2"
HorizontalOptions="Center"
VerticalOptions="Center"
IsVisible="False"
IsEnabled="True"
public class TodoItem : EntityData
{
string id;
string name;
bool done;
[JsonProperty(PropertyName = "id")]
public string Id
{
get { return id; }
public static class Constants
{
// Replace strings with your mobile services and gateway URLs.
public static string ApplicationURL = @"https://your-app-name.azurewebsites.net";
}