Skip to content

Instantly share code, notes, and snippets.

Working from home

William S Rodriguez willbuildapps

Working from home
View GitHub Profile
willbuildapps / gist:824ccad68984862c26cf8b54ca7666c7
Last active Sep 1, 2020
MacOs Sierra nom error "-bash : npm: command not found"
View gist:824ccad68984862c26cf8b54ca7666c7
sudo brew uninstall node
brew update
brew upgrade
brew cleanup
brew install node
sudo chown -R username /usr/local
brew link --overwrite node
sudo brew postinstall node
willbuildapps / index.php
Created Feb 10, 2016
Como publicar um Web App construído com PHP no Azure App Service partindo do OSX
View index.php
<!DOCTYPE html>
<title>Partiu Azure, PHP</title>
<h1>Partiu Azure, PHP</h1>
willbuildapps / package.json
Created Feb 9, 2016
Como publicar um Web App construído com Node.JS no Azure App Service partindo do OSX
View package.json
"name": "Partiu Azure",
"version": "0.0.1",
"description": "",
"main": "./server.js",
"engines": { "node": ">= 0.6.0" }
willbuildapps / simpleExample.cs
Created Jan 25, 2016
Multiple HttpPost method in Web API controller
View simpleExample.cs
public class MyController : ApiController
public string MyFirstPostMethod(JObject userData)
// do your thing
View gist:04bf9f7803e9da66ee84
Verifying that +williamsrz is my blockchain ID.
willbuildapps / MasterDetailPageDemo.xaml
Created Aug 3, 2015
Xamarin Forms MasterDetalPage XAML
View MasterDetailPageDemo.xaml
<MasterDetailPage xmlns=""
x:Class="DemoApp.Views.RootPage" Title="MasterDetailPage Demo">
<view:MainMenu />
<view:HomePage />
willbuildapps / EnumerableExtensions.cs
Last active Aug 29, 2015
A fast ToList().ForEach extensions to PCL
View EnumerableExtensions.cs
public static class EnumerableExtensions
public static void ForEach<T>(this IEnumerable<T> @this, Action<T> action)
foreach (T item in @this)