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
#!/usr/bin/env node | |
/* | |
* Bullshit Bingo Bot. | |
* 1) Fix the configuration to your liking and run | |
* 2) Use "!bullshit" and the word you want on the pile | |
* 3) ???? | |
* 4) BINGO! | |
* | |
* Send complaints, cheques or anthrax to privacymyass@gmail.com. |
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 | |
spl_autoload_register(function($class) | |
{ | |
$path = str_replace('\\', DIRECTORY_SEPARATOR, $class); | |
// Convert the PascalCased names to snake_case | |
$path = preg_replace('/([a-z])([A-Z](?![A-Z]))/', '$1_$2', $path); | |
$path = strtolower($path); | |
$path = LIB_PATH . '/' . $path . '.php'; |
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 Feature\Testing\Annotations; | |
/* * | |
* This script does not yet belong to the FLOW3 framework. * | |
* * | |
* It is free software; you can redistribute it and/or modify it under * | |
* the terms of the GNU Lesser General Public License, either version 3 * | |
* of the License, or (at your option) any later version. * | |
* * |
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 | |
$extList = array( | |
'css_styled_content', | |
'extbase', | |
'filelist', | |
// usw. | |
); | |
$TYPO3_CONF_VARS['EXT']['extList'] = implode(',', $extList); |
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
coffee: | |
@echo "make it yourself, lazy bum" |
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
/** | |
* Fills in the markerArray with data for a news item | |
* | |
* @param array $row : result row for a news item | |
* @param array $textRenderObj : conf vars for the current template | |
* @param [type] $textRenderObj: ... | |
* @return array $markerArray: filled marker array | |
*/ | |
function getItemMarkerArray($row, $lConf, $textRenderObj = 'displaySingle') { |
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
if settings.DEBUG: | |
urlpatterns += patterns( | |
'', | |
url(r'^media/(?P<path>.*)$', 'django.views.static.serve', { | |
'document_root': settings.MEDIA_ROOT, | |
}), | |
) |
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
~ cat .ssh/config | |
Host client | |
Hostname some-client-prd.example.com | |
User julian.wachholz | |
IdentityFile ~/.ssh/id_work |
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
$categories: ( | |
'somecategory' $yellow, | |
'othercategory' $green, | |
'thirdcategory' $blue | |
); | |
@function category-classes($prefix: '') { | |
$classes: (); | |
@each $category in $categories { | |
$name: nth($category, 1); |
OlderNewer