Skip to content

Instantly share code, notes, and snippets.

View brantz's full-sized avatar

Thomas Rudolf brantz

  • Givve
  • Munich, Germany
View GitHub Profile
@brantz
brantz / error_mailer_test.py
Created December 5, 2012 13:59
the webtest test
#encoding: utf-8
from webtest import TestApp
from webtest.debugapp import debug_app
from server import Server
import unittest
class ErrorMailerTest(unittest.TestCase):
def test_minimal_request(self):
self.app = TestApp(Server)
module SalesforceBulk
class Connection
def initialize(username, password, api_version, sandbox)
@username = username
@password = password
@api_version = api_version
@sandbox = sandbox
login
end
@brantz
brantz / .rubocop.yml
Created September 27, 2018 14:15
.rubocop.yml WIP
AllCops:
Exclude:
- 'vendor/**/*'
- 'spec/fixtures/**/*'
- 'tmp/**/*'
- 'db/schema.rb'
- 'config/**/*.rb'
- 'bin/*'
Documentation:
@brantz
brantz / gist:134ea0ca4b29c89e175f5cf295d98e01
Created May 5, 2020 11:19
Waves OVox debug log from osx
default 13:16:26.043818+0200 Alfred LAUNCHING:0x0-0x1e31e3 OVox foreground=1 bringForward=1 seed=289 userActivityCount=0
default 13:16:26.049487+0200 loginwindow -[PersistentAppsSupport applicationReady:] | App: OVox, ready, updating active tracking timer
default 13:16:26.049530+0200 loginwindow -[ApplicationManager checkInAppContext:eventData:] | ApplicationManager: Checked in app : OVox
default 13:16:26.051201+0200 runningboardd Resolved pid 21740 to [executable<OVox(501)>:21740]
default 13:16:26.052196+0200 runningboardd [executable<OVox(501)>:21740] This process will not be managed.
default 13:16:26.052221+0200 runningboardd Now tracking process: [executable<OVox(501)>:21740]
default 13:16:26.052541+0200 runningboardd Acquiring assertion targeting executable<OVox(501)> from originator [daemon<com.apple.coreservices.launchservicesd>:97] with description <RBSAssertionDescriptor; foregroundApp:21740; ID: 251-97-1151; target: 21740> attributes = {
<RBSDomainAttribute: 0x7f814ca15f80; domain: com.apple.lau