Skip to content

Instantly share code, notes, and snippets.

View lucien144's full-sized avatar
🤘
Refactor!

lucien144

🤘
Refactor!
View GitHub Profile
@lucien144
lucien144 / HomepagePresenter.php
Created February 16, 2016 23:46
Nette Latte macro: ifCurrentIn (array)
<?php
/**
* Homepage presenter.
*
* @author John Doe
* @package MyApplication
*/
class HomepagePresenter extends BasePresenter
{
@lucien144
lucien144 / 0_reuse_code.js
Created October 10, 2015 19:23
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console