Skip to content

Instantly share code, notes, and snippets.

@Tomusm
Tomusm / symbolizing_osx_crash_logs.md
Created August 9, 2019 16:03 — forked from bmatcuk/symbolizing_osx_crash_logs.md
How to symbolize OSX crash logs

How to Symbolize OSX Crash Logs

Unfortunately, xcode does not yet have support for importing OSX crash logs and symbolizing them. Therefore, you must use the command line and a little bit of manual work.

  1. Find your dSYM file.
    1. Assuming you are using xcode's archive functionality, open the Organizer window from the Window menu.
    2. Click the Archives tab.
    3. Right click on the appropriate build and select Show in Finder.
    4. When Finder opens, right click on the selected archive and select Show Package Contents.
    5. Navigate to the dSYM directory and copy the appropriate dSYM file to a temporary directory.
  2. Then navigate to Products, then Applications, and copy the app file to the same temporary directory.
@Tomusm
Tomusm / letsencrypt-webroot-apache.md
Created November 9, 2017 16:37 — forked from daronco/letsencrypt-webroot-apache.md
Letsencrypt with webroot on Apache

Config Apache with /etc/apache2/conf-available/le.conf:

Alias /.well-known/acme-challenge/ "/var/www/html/.well-known/acme-challenge/"
<Directory "/var/www/html/">
    AllowOverride None
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    Require method GET POST OPTIONS
</Directory>
@Tomusm
Tomusm / burgerbot.rb
Created October 24, 2017 16:22 — forked from synchrone/burgerbot.rb
burgerbot
#!/usr/bin/env ruby
# encoding: utf-8
require 'watir-webdriver' #requires v 0.9.1
def log (message) puts " #{message}" end
def success (message) puts "+ #{message}" end
def fail (message) puts "- #{message}" end
def notify (message)
success message.upcase
#system 'osascript -e \'Display notification "Bürgerbot" with title "%s"\'' % message
@Tomusm
Tomusm / gist:d210b9b6c8228ad69c33d25ef015601d
Created August 2, 2016 20:56 — forked from maoueh/gist:8260199
OpenELEC (4.0.1) WIFI connection details using `connman`

Even though there is a nice XBMC add-on to configure your WIFI settings, sometimes, you may still want to setup the WIFI connection for many reasons or just for fur.

OpenELEC use connman for managing connection to the various available network.

Setuping connman to connect to your protected WIFI network is an easy requiring you only to create a config file and enter some commands in a shell.

@Tomusm
Tomusm / keybase.md
Created September 30, 2014 06:44
keybase.md

Keybase proof

I hereby claim:

  • I am tomusm on github.
  • I am tomusm (https://keybase.io/tomusm) on keybase.
  • I have a public key whose fingerprint is A19B EF08 B473 AB84 3A39 C15F EAB0 5C86 B9F6 243A

To claim this, I am signing this object: