Skip to content

Instantly share code, notes, and snippets.

Roman Ožana OzzyCzech

Block or report user

Report or block OzzyCzech

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
OzzyCzech / CountEmail.php
Created Feb 3, 2014
Wordpress send email statistics made easy and simple with Google Graph
View CountEmail.php
* @author Roman Ožana <>
class CountEmail {
* @return MailFrom
public static function init() {
OzzyCzech / menu.js
Created Mar 24, 2014
Node.js nested menu generation from list of files
View menu.js
// console.log('/this/will/be/path'.);
var dirname = require('path').dirname;
var basename = require('path').basename;
var normalize = require('path').normalize;
var resolve = require('path').resolve;
var writeFile = require('fs').writeFile;
var extname = require('path').extname;
var slug = require('speakingurl');
//var _ = require('underscore')._;
OzzyCzech /
Last active Aug 29, 2015
Pár poznámek k odesílání emailů

Poznámky k odesílání emailů

Co vás čeká

Bolestivá cesta fragmentace trhu, velikosti zařízení, bugujících aplikací. Občas šílené řešení

Bulletproof email buttons design:

	<div><!--[if mso]>
OzzyCzech /
Last active Aug 29, 2015
JQuery Plugins : Coffee script Class Boilerplate
do($ = jQuery, window = window) ->
class MyPlugin
some: null
options: null
constructor: (@el, @options) ->
@options = $.extend({}, @options, options)
OzzyCzech / generateMenu.php
Created Apr 4, 2014
Simple way how to structured list from RecursiveDirectoryIterator
View generateMenu.php
function generateMenu(\RecursiveIterator $iterator, $level = 0) {
$output = '';
while ($iterator->valid()) {
$output .= '<li>';
OzzyCzech /
Created Apr 29, 2014
Send release message to email
DATE=`date "+%Y-%m-%d %H:%M:%S"`
PREDPOSLTAG=`git tag -l release* | tail -n 2 | head -1`
echo "`git log $PREDPOSLTAG.. --no-merges --oneline --date=relative --pretty=format:'[%h] %s (%cr) <%an>' --abbrev-commit`" | mail -E -s "[RELEASE] Testomato $DATE" ""
OzzyCzech /
Last active Aug 29, 2015
Citáty a přísloví

Člověk může mockrát selhat, ale zoufalcem se stává až ve chvíli, kdy začne obviňovat druhé.

John Burroughs

OzzyCzech / print.less
Created Jul 3, 2014
LESS for printing
View print.less
@media print {
header, footer {
a[href^="mailto"] {
//text-decoration: none;
&:after {
content: '' !important;
OzzyCzech / brew.log
Created Sep 29, 2014
Install PHP 5.5 sapi/cgi/php-cgi (OS X Mavericks)
View brew.log
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: Some keg-only formula are linked into the Cellar.
Linking a keg-only formula, such as gettext, into the cellar with
`brew link <formula>` will cause other formulae to detect them during
the `./configure` step. This may cause problems when compiling those
other formulae.
You can’t perform that action at this time.