Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am toxin20 on github.
  • I am jonasjaeger (https://keybase.io/jonasjaeger) on keybase.
  • I have a public key whose fingerprint is A4A2 C45A 41BA E7A2 D37F C1D9 C00A 7485 30D9 024A

To claim this, I am signing this object:

sketch = Framer.Importer.load("imported/screens@2x")
# custom device
Framer.DeviceView.Devices["g3"] =
"deviceType": "phone"
"screenWidth": 1440
"screenHeight": 2560
"deviceImage": "https://www.dropbox.com/s/2oktp0ba812xo90/g3.png?dl=1"
"deviceImageWidth": 1555
"deviceImageHeight": 3121
@toxin20
toxin20 / production.rb
Created September 12, 2014 09:13
Mailer Settings
ActionMailer::Base.default :from => ENV['MAIL_FROM']
config.action_mailer.asset_host = ENV['DEFAULT_URL']
# Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
# config.action_mailer.raise_delivery_errors = false
config.action_mailer.default_url_options = { :host => ENV['DEFAULT_URL'] }
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => ENV['SMTP_ADDRESS'],
:port => ENV['SMTP_PORT'], # ports 587 and 2525 are also supported with STARTTLS
@toxin20
toxin20 / gist:4c164e14bfc8e2cfa14a
Created June 20, 2014 11:04
bs3 navbar bei klick schließen
$(document).ready(function () {
$(".navbar-nav li a").click(function(e) {
$(".navbar-collapse").collapse('hide');
});
});

Keybase proof

I hereby claim:

  • I am toxin20 on github.
  • I am toxinlabs (https://keybase.io/toxinlabs) on keybase.
  • I have a public key whose fingerprint is 8E4E CEC5 D93F 937F 9FB9 1F75 31AE B829 4FAF D12E

To claim this, I am signing this object:

@toxin20
toxin20 / hack.sh
Created April 1, 2012 14:19 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@toxin20
toxin20 / preprocess.inc
Created March 13, 2012 00:42 — forked from joshuapowell/preprocess.inc
Drupal: Remove as much pre-generated core CSS as possible
<?php
/**
* Implementation of hook_css_alter().
*/
function MYTHEME_css_alter(&$css) {
// Remove core block stylesheet(s)
unset($css[drupal_get_path('module', 'block') . '/block.css']);