Skip to content

Instantly share code, notes, and snippets.

@miau
miau / gist:efa42e4aa5a57ccf5354ef4993c4b7a3
Last active April 6, 2017 04:08 — forked from onozaty/gist:b36bdf49872e76c3139b
Slide and scroll sidebar by Redmine view customize plugin
// Gitmike テーマ用のカスタマイズ版。
// public/themes/gitmike/stylesheets/application.css 中の定義も以下のように変更する必要あり。
// #sidebar { width: 260px !important; ... }
// ↓
// #sidebar { width: 260px; ... }
$(function() {
$('#content')
.css({
'width': 'auto',
@miau
miau / Doctrine2.php
Created August 15, 2011 17:40 — forked from memphys/Doctrine2.php
Doctrine2 auth adapter to use with Zend_Auth
<?php
class My_Auth_Adapter_Doctrine2 implements Zend_Auth_Adapter_Interface
{
/**
* Doctrine Entity Manager
*
* @var \Doctrine\ORM\EntityManager
*/
protected $_em = null;