This file contains 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
/* Centered heading with rules */ | |
h1 { | |
position: relative; | |
overflow: hidden; | |
white-space: nowrap; | |
text-align: center; | |
text-overflow: ellipsis; | |
font: 2.6em/1.1 Georgia; | |
padding: .2em 0; |
This file contains 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
/** | |
* Flexible multiline form with generated line breaks | |
*/ | |
form { | |
width: 290px; | |
padding: 5px 218px 5px 5px; | |
border: 3px #ccc double; | |
text-align: right; | |
line-height: 2; |
This file contains 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
/** | |
* Flexible multiline form with generated line breaks | |
*/ | |
form { | |
width: 290px; | |
padding: 5px 218px 5px 5px; | |
border: 3px #ccc double; | |
text-align: right; | |
line-height: 2; |
This file contains 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
/** | |
* Create a web friendly URL slug from a string. | |
* | |
* Requires XRegExp (http://xregexp.com) with unicode add-ons for UTF-8 support. | |
* | |
* Although supported, transliteration is discouraged because | |
* 1) most web browsers support UTF-8 characters in URLs | |
* 2) transliteration causes a loss of information | |
* | |
* @author Sean Murphy <[email protected]> |
This file contains 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
/** | |
* Thanks to @philsturgeon for pointing this package | |
* and Filipe Dobreira "https://github.com/filp" for creating it ^^ | |
* Github : https://github.com/filp/whoops | |
* How to: | |
* Step 1 : Setup composer for Laravel 3 | |
* Step 2 : Add this code to your application/start.php or anywhere u like | |
* as long its after laravel registers its own error handlers | |
* so NOT in : index.php, paths.php or laravel/** | |
* |
This file contains 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
@echo off | |
@rem \"%stPath%\" : Path to Sublime Text installation dir. | |
@rem %entryName%: Key name for the registry entry. | |
@rem %menuText% : Context menu text. Set your preferred menu text (e.g.: translate to your language). | |
@rem %entryNameAsAdmin%: Key name for the registry entry. | |
@rem %menuTextAsAdmin% : Context menu text. Set your preferred menu text for administrator privilege (e.g.: translate to your language). | |
SET stPath=%~dp0sublime_text.exe | |
SET entryName=Sublime Text | |
SET menuText=Open with Sublime Text |
This file contains 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
var MyApp = angular.module('MyApp'); | |
MyApp.factory('msgBus', ['$rootScope', function($rootScope) { | |
var msgBus = {}; | |
msgBus.emitMsg = function(msg, data) { | |
data = data || {}; | |
$rootScope.$emit(msg, data); | |
}; | |
msgBus.onMsg = function(msg, func, scope) { | |
var unbind = $rootScope.$on(msg, func); | |
if (scope) { |
This file contains 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
// Generate the extra small columns | |
.make-xs-column(@columns; @gutter: @grid-gutter-width; @columns-total: @grid-columns) { | |
position: relative; | |
float: left; | |
width: percentage((@columns / @columns-total)); | |
min-height: 1px; | |
padding-left: (@gutter / 2); | |
padding-right: (@gutter / 2); | |
} | |
.make-xs-column-offset(@columns; @columns-total: @grid-columns) { |
This file contains 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
<?php | |
namespace Codeception\Module; | |
use Codeception\Util\Framework; | |
use Codeception\TestCase; | |
use Codeception\Util\Connector\Universal; | |
use Codeception\Configuration; | |
use Symfony\Component\BrowserKit\Response; | |
use Laravel\Routing\Router; |
This file contains 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
var _vent = require('./vent.js').shared(); | |
_vent.trigger('blah'); |
OlderNewer