Skip to content

Instantly share code, notes, and snippets.

There is a lot of hype about how the pace of technological change is leaving
businesses and governments behind. It has become received wisdom that the
failure of legacy companies to survive the internet era is a result of them not being
fast enough in responding to such giddying change. This is generally nonsense.
Tom Coates, an internet pioneer who worked at the BBC, called this out in a
blogpost written in 2006. Writing of media companies terrified by the hardly novel
insight that broadband might end up killing traditional TV, he compares them to
being pursued by a giant snail. It’s not a fast mover, yet they cannot get away. ‘The
snail! The snail!’ they cry. ‘How can we possibly escape?’ As Coates points out, ‘the
problem being that the snail’s been moving closer for the last twenty years one
#!/usr/bin/env python
#
# Copyright 2007 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
@tsironis
tsironis / file.sh
Last active December 29, 2015 10:29
#!/bin/bash
#
# Date: 26/11/2013
# Dimitris Tsironis
# Bash lesson for ECS OSLab
#
# Choice 1
function printPermissions {
bower install bugsense
230 /Users/dtsironis/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/psych/visitors/yaml_tree.rb
231 /Users/dtsironis/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/psych/json/ruby_events.rb
232 /Users/dtsironis/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/psych/visitors/json_tree.rb
233 /Users/dtsironis/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/psych/visitors/depth_first.rb
234 /Users/dtsironis/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/psych/visitors.rb
235 /Users/dtsironis/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/psych/handler.rb
236 /Users/dtsironis/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/psych/tree_builder.rb
237 /Users/dtsironis/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/psych/parser.rb
238 /Users/dtsironis/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/psych/omap.rb
239 /Users/dtsironis/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/psych/set.rb
ACRA.getErrorReporter().putCustomData("myKey1", "myValue1");
public App()
{
BugSenseHandler.Instance.Init(this, "Your_API_Key");
// Your app's code
}
long totalCrashes = BugSenseHandler.Instance.GetTotalCrashesNum();
Debug.WriteLine("TotalCrashes: {0}", totalCrashes);
if (totalCrashes > 10)
{
BugSenseHandler.Instance.ClearTotalCrashesNum();
Debug.WriteLine("TotalCrashes after clear: {0}", BugSenseHandler.Instance.GetTotalCrashesNum());
}
Debug.WriteLine("Last Error ID: {0}", BugSenseHandler.Instance.GetLastCrashID());
this.Loaded += async (sender, args) =>
{
BugSenseHandler.Instance.RegisterAsyncHandlerContext();
}
protected override void OnNavigatedTo(NavigationEventArgs e)
{
BugSenseHandler.Instance.RegisterAsyncHandlerContext();
}