Skip to content

Instantly share code, notes, and snippets.

git clone -c "core.sshCommand=ssh -i ~/.ssh/id_rsa_example -F /dev/null" git@github.com:example/example.git
git config core.sshCommand "ssh -i ~/.ssh/id_rsa_example -F /dev/null"
@eicu
eicu / directive.js
Last active April 5, 2019 13:18 — forked from DarrylD/directive.js
ionic slide box dynamic height - fixes the issue where the slide boxes aren't taking up the full height of the device
app.directive('dynamicHeight', function() {
return {
require: ['^ionSlideBox'],
link: function(scope, elem, attrs, slider) {
scope.$watch(function() {
return slider[0].__slider.selected();
}, function(val) {
//getting the height of viewport
var newHeight = window.getComputedStyle(elem.parents('ion-content')[0], null).getPropertyValue("height");
if (parseInt(newHeight) > 0) {

The Laracasts PHPStorm theme - modified.

This is a slightly modified version of the great Laracasts PHPStorm theme. I've added some styles for Verions Control (add, modified, deleted line...) and fixed some missing things like warnings.

Download

image

Mac: Add to ~/Library/Preferences/WebIde80/colors

@eicu
eicu / 0_reuse_code.js
Created January 13, 2014 10:40
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console