Skip to content

Instantly share code, notes, and snippets.

View sgrosse's full-sized avatar
🏠
Working from home

Stefan Große sgrosse

🏠
Working from home
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<title>Meine Website</title>
</head>
<body>
<h1>Meine Überschrift</h1>
<p>Mein Absatz</p>
</body>
</html>
Sovereign:www.shure.de.emea stefan$ bundle exec rails s trinidad -p 8080
=> Booting Trinidad
=> Rails 3.2.19 application starting in development on http://0.0.0.0:8080
=> Call with -d to detach
=> Ctrl-C to shutdown server
/Users/stefan/projekte/www.shure.de.emea/config/initializers/bypass_ssl_verification_for_open_uri.rb:1 warning: already initialized constant VERIFY_PEER
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
Initializing ProtocolHandler ["http-bio-0.0.0.0-8080"]
Starting Servlet Engine: Apache Tomcat/7.0.32
TLD skipped. URI: urn:org.jruby.rack is already defined
(function(){var e={init:function(){window.jQuery?e.append():e.fetch("//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js",e.append)},fetch:function(e,t){var n=document.createElement("script");if(n.readyState){n.onreadystatechange=function(){if(n.readyState==="loaded"||n.readyState==="complete"){n.onreadystatechange=null;if(typeof t==="function"){t()}}}}else{n.onload=function(){if(typeof t==="function"){t()}}}n.src=e;document.head.appendChild(n)},append:function(){jQuery("#footer").prepend("<div id='status-box'></div>");jQuery("#status-box").load("https://test-sys11.dievision.de/meta/statusseite #mgnl-status")}};e.init()})(window,document)
@sgrosse
sgrosse / lazyload.coffee
Created April 22, 2014 11:34
Lazyloading Images after DOMReady
retina = false
widescreen = false
$( document ).ready ()->
lazyload()
$( window ).on "load", ()->
lazyload()
$( window ).on "resize", ()->
@sgrosse
sgrosse / rEqualize.js
Last active December 17, 2015 21:39
Selbst entwickeltes equalheights jQuery PlugIn für Websites mit Responsive Grids.
/*
* Responsive equalheights
* Stefan Große <stefan@syscfg.net>, 2013-02-17
*
* This script adjusts min-height of all selected elements to the height of the highest element.
* To allow responsive equalheights it retriggers after document.resize and sets min-height of all selected elements back to zero.
*
* Usage: $( ".selector" ).rEqualize()
*
*/