Skip to content

Instantly share code, notes, and snippets.

@johnnyhalife
johnnyhalife / Register-Testflight-iOS-Device.md
Last active August 29, 2015 13:56
Registering your iOS device to beta test Mural.ly apps

Registering your iOS device to beta test Mural.ly apps

We are creating new cool prototypes and apps all the time, since these aren't yet public we're using Test Flight App for distribution. Below you will find the instructions to enroll on TestFlight in order to access Mural.ly beta builds.

  • Using Safari open the following link http://tflig.ht/1kjLFY8, in order join Mural.ly Beta Testing team you need a TestFlight account, you can either Sign-in with your existing account or create a new one.

    Safari Browser

    Sign In

  • Once you sign up with TestFlight and login to the dashboard for the first time, you will be asked to connect your device, allowing us to access the device's Unique Device Identifier (UDID).

    Connect your device.

  • When clicked the Connect Device will prompt you to install the Test Flight provisioning profil

var fetched = 0, step = 100, skip = 0;
var queueName = 'operations';
var queueService = azure.createQueueService().withFilter(new azure.ExponentialRetryPolicyFilter());
async.doWhilst(function(allDone){
getDb(function(db) { // traes la conexión a mongo
getQueue(queueName, function(err) { // traes la cola
if(err) allDone(err);
@johnnyhalife
johnnyhalife / gist:056849b66fb7cf9fb32a
Last active August 29, 2015 14:04
Installing Mural Sketch for Windows

These are the installation instructions for the bits to be found at http://win.mural.ly. In order to install the latest version of Mural.ly for Windows, please follow the next steps:

  • Download the release from http://win.mural.ly

  • Right click the file and choose the option "Extract all"

  • Open the just created folder with all the extracted files

  • Open one of the appropiated folder depending on your operative system (If you don't know if your OS is 64-bit or 32-bit, check system settings)

def momo(a, b)
a+b
end
container = WAZ::Blobs::Container.find('copy-test')
container.nil?.should == false
container.store('blob', 'payload', 'plain/text')
container.public_access = true
container.public_access?.should == true
blob = container['blob']
blob.nil?.should == false
@johnnyhalife
johnnyhalife / client.rb
Created February 20, 2010 15:40
Rack::Auth::WRAP protected resource client
require 'rubygems'
require 'cgi'
require 'base64'
require 'restclient'
require 'hmac/sha2'
SHARED_SECRET = "NjkzNTczOTAtMDA2MC0wMTJkLTQ1M2YtMDAyMzMyYjFmYWY4\n"
simple_web_token = {'Audience' => "http://localhost:4567",
'Issuer' => "urn:demo-issuer",
@johnnyhalife
johnnyhalife / app.rb
Created February 20, 2010 15:20
Rack::Auth::WRAP protected resource sample
require 'rubygems'
require 'sinatra'
require 'rack/auth/wrap'
use Rack::Auth::WRAP, :shared_secret => "NjkzNTczOTAtMDA2MC0wMTJkLTQ1M2YtMDAyMzMyYjFmYWY4\n",
:audiences => "http://localhost:4567",
:trusted_issuers => "urn:demo-issuer"
get "/" do
if @env["REMOTE_USER"]
@johnnyhalife
johnnyhalife / gist:354130
Created April 3, 2010 04:58
rename-series
function capitalize {
$result = ""
$args[0].trim().split(" ") | %{ ($_.trim()[0].toString().toUpper()) + $_.substring(1)} | %{ $result += $_ + " "}
return $result.trim()
}
function namify {
$currentName = $args[0].name -replace [regex]"(wWw.*|notv|hdtv.*).avi", [String]::Empty
$segments = ([regex]"(.*).[s|S](\d+)[e|E](\d+).*").matches($currentName)
ls | %{ mv $_.FullName ([regex]::replace($_.Name, "(.*).(\d)(\d{2}).avi", '$1.s0$2e$3.avi')) }