This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Switch-style checkboxes. | |
| * Inspired by Espresso’s “Tools” switch | |
| */ | |
| input[type="checkbox"]:not(:checked), | |
| input[type="checkbox"]:checked { /* :checked here acting as a filter for older browsers */ | |
| position: absolute; | |
| opacity: 0; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Failed attempt at gracefully degrading switch-style checkboxes | |
| * without pseudoelements (which shouldn’t exist on replaced elements) and extra elements. | |
| * Inspired by Espresso’s “Tools” switch | |
| * DO NOT USE. Currently only works properly in WebKit :( | |
| */ | |
| input[type="checkbox"]:not(:checked), | |
| input[type="checkbox"]:checked { /* :checked here acting as a filter for older browsers */ | |
| appearance: none; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * iOS 6 style switch checkboxes | |
| * by Lea Verou http://lea.verou.me | |
| */ | |
| :root input[type="checkbox"] { /* :root here acting as a filter for older browsers */ | |
| position: absolute; | |
| opacity: 0; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * urlencoded SVG checkerboard | |
| */ | |
| min-height: 300px; | |
| background: tan url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%2358a"><rect x="50" width="50" height="50" /><rect y="50" width="50" height="50" /></svg>'); | |
| background-size: 20px 20px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Google-style progress indicator (process) | |
| */ | |
| .progress { | |
| display: inline-block; | |
| font-size: 50px; /* Size of the progress indicator */ | |
| width: 1em; | |
| height: 1em; | |
| border: 0 solid grey; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set number | |
| " Folding | |
| augroup vimrc | |
| au BufReadPre * setlocal foldmethod=indent | |
| au BufWinEnter * if &fdm == 'indent' | setlocal foldmethod=manual | endif | |
| augroup END | |
| " Fix for either airline or | |
| " powerline uis |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set number | |
| " Folding | |
| augroup vimrc | |
| au BufReadPre * setlocal foldmethod=indent | |
| au BufWinEnter * if &fdm == 'indent' | setlocal foldmethod=manual | endif | |
| augroup END | |
| " set smartindent | |
| set tabstop=2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| app.controller('Ctrl1', function($scope, DataFactory) { | |
| // bind the controller property to the service collection | |
| this.items = DataFactory.items; | |
| // watch the collection for changes | |
| $scope.$watch(watchSource, function(current, previous){ | |
| this.items = current; | |
| }); | |
| function watchSource(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # unregister broken GHC packages. Run this a few times to resolve dependency rot in installed packages. | |
| # ghc-pkg-clean -f cabal/dev/packages*.conf also works. | |
| function ghc-pkg-clean() { | |
| for p in `ghc-pkg check $* 2>&1 | grep problems | awk '{print $6}' | sed -e 's/:$//'` | |
| do | |
| echo unregistering $p; ghc-pkg $* unregister $p | |
| done | |
| } | |
| # remove all installed GHC/cabal packages, leaving ~/.cabal binaries and docs in place. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;;; ox-taskjuggler.el --- TaskJuggler Back-End for Org Export Engine | |
| ;; | |
| ;; Copyright (C) 2007-2014 Free Software Foundation, Inc. | |
| ;; | |
| ;; Emacs Lisp Archive Entry | |
| ;; Filename: ox-taskjuggler.el | |
| ;; Author: Christian Egli | |
| ;; Nicolas Goaziou <n dot goaziou at gmail dot com> | |
| ;; Maintainer: Christian Egli | |
| ;; Keywords: org, taskjuggler, project planning |
OlderNewer