Skip to content

Instantly share code, notes, and snippets.

View rogatec's full-sized avatar
🔋

TeaMohn rogatec

🔋
  • Germany
  • 13:15 (UTC +02:00)
  • X @t_ec
View GitHub Profile
(function() {
var jQuery = document.querySelector('iframe').contentWindow.jQuery;
jQuery('.activityName').each(function(){
var $this = jQuery(this);
$this.css({
overflow:'auto',
width:'200px'
});
@rogatec
rogatec / post-receive
Created October 7, 2016 10:09
git post-merge hook : update / install composer packages & composer itself
#!/bin/bash
# thanks http://www.jenssegers.be/blog/46/deploying-websites-with-git-and-composer-
# replace folder
cd "`dirname $0`/../../application/config"
# Check if a composer.json file is present
if [ -f composer.json ]; then