Skip to content

Instantly share code, notes, and snippets.

David Burela DavidBurela

Block or report user

Report or block DavidBurela

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@DavidBurela
DavidBurela / easter.js
Created Feb 28, 2019
Code snippet from the Build website - I don't have any insider info about this easter egg
View easter.js
// Disclaimer: I don't have any insider info about this. I am just as interested.
// Text from https://www.microsoft.com/en-us/build#agenda
// https://img-prod-cms-rt-microsoft-com.akamaized.net/cms/api/am/imageFileData/RWtKxO
// Uses the `request` module from npm.
// Quickstart: `mkdir node && cd node && npm init -y && npm install request`
const request = require('request')
const queryString = Buffer.from('Intelligent Edge').toString('base64')
View gist:01cf3cc2b14bbf1aedf98ac2c7047690
// get accounts
web3.eth.accounts
// get reference to deployed contract
var metaCoin;
MetaCoin.deployed().then(function(deployed) {metaCoin = deployed;});
// get balance of account 0
metaCoin.getBalance.call(web3.eth.accounts[0])
View keybase.md

Keybase proof

I hereby claim:

  • I am davidburela on github.
  • I am davidburela (https://keybase.io/davidburela) on keybase.
  • I have a public key ASCDWw3sFc2_cjL2L4ICsRfygaPTK9dT7EdXAgBGgC5TsAo

To claim this, I am signing this object:

@DavidBurela
DavidBurela / Main.cs
Last active Dec 14, 2015
A Windows RT example of how to call the Sensis SAPI service Is a direct port of http://developers.sensis.com.au/docs/examples/C_Example
View Main.cs
namespace SsapiExample
{
public class SearchSample
{
public SearchSample()
{
DoSampleSearch();
}
public async void DoSampleSearch()
View AsyncPortableTask.cs
// An implementation of IPortableTask which wraps an actual Task.
// This has to go in a project targeting a platform or platforms which support Task and async/await
using System;
using System.Threading.Tasks;
namespace PortableTasks
{
public class AsyncPortableTask : IPortableTask
{
You can’t perform that action at this time.