Skip to content

Instantly share code, notes, and snippets.

View schmijos's full-sized avatar

Josua Schmid schmijos

View GitHub Profile
@schmijos
schmijos / debug_turbolinks.js
Created April 14, 2020 10:20
Debug all Turbolinks events
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
0x3cC1a8A6406410F0d568E0234F93582148476816
<!DOCTYPE html>
<!-- saved from url=(0034)https://lawoon.com/(auth:register) -->
<html lang="de-CH"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Lawoon – Wo Arbeit Talente findet</title>
<meta name="description" content="Die unkomplizierte Arbeitsvermittlung. Jetzt kostenlos registrieren. Der einfachste Weg, die richtige Person für den richtigen Job zu finden.">
<!DOCTYPE html>
<!-- saved from url=(0039)https://lawoon.com/customer/works/new/1 -->
<html lang="de-CH"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><style type="text/css">.pac-container{background-color:#fff;position:absolute!important;z-index:1000;border-radius:2px;border-top:1px solid #d9d9d9;font-family:Arial,sans-serif;box-shadow:0 2px 6px rgba(0,0,0,0.3);-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.pac-logo:after{content:"";padding:1px 1px 1px 0;height:16px;text-align:right;display:block;background-image:url(https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white3.png);background-position:right;background-repeat:no-repeat;background-size:120px 14px}.hdpi.pac-logo:after{background-image:url(https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white3_hdpi.png)}.pac-item{cursor:default;padding:0 4px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;line-height:30px;text-align:left;border
@schmijos
schmijos / sparkpost_bounces_csv.rb
Created June 8, 2016 16:04
Retrieve Sparkpost Bounces as CSV
require 'net/http'
require 'json'
require 'csv'
uri = URI('https://api.sparkpost.com/api/v1/message-events?events=bounce,out_of_band')
req = Net::HTTP::Get.new(uri)
req['Content-Type'] = 'application/json'
req['Authorization'] = ENV['API_KEY'] || raise('please provide API_KEY env variable')
res = Net::HTTP.start(uri.host, uri.port, use_ssl: true) do |https|
@schmijos
schmijos / renuo-internship-for-hsr.md
Last active August 29, 2015 14:22
Praktikumsstelle bei Renuo für die HSR

Praktikumsstelle bei Renuo

Meta

Art des Praktikums:

Grundsätzlich offen für beide Varianten; die Entscheidung wird in Absprache mit dem Praktikanten gefällt

Beginn des Praktikums:

@schmijos
schmijos / keybase.md
Last active May 9, 2017 12:43
Public Keybase Proof

Keybase proof

I hereby claim:

  • I am schmijos on github.
  • I am schmijos (https://keybase.io/schmijos) on keybase.
  • I have a public key ASBU03udpenpm9RBGShchARy-fec9o9XmPSm36KkkIVG6wo

To claim this, I am signing this object: