Skip to content

Instantly share code, notes, and snippets.

Adrian Palmer navitronic

Block or report user

Report or block navitronic

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
navitronic / maybe.css
Created Jul 25, 2012
This might work...
View maybe.css
position: relative;
width: 640px;
height: 480px;
display: block;
position: absolute;
right: 10px;
z-index: -1;
navitronic /
Created Jul 10, 2012
Melbourne SF2 July Meetup


  • Introductions / etc
  • Lightning 5 min talk about Symfony 2.1 by Sam J

Coding exercise - Build a blog

  1. Make sure that Symfony is working and you have the default vendors installed on your laptop / environment
  2. Find and run app/console
  3. Use app/console to generate a bundle for you to work with tonight
navitronic / r-boilerplate.css
Created Apr 12, 2012
Responsive CSS boilerplate
View r-boilerplate.css
/* Mobile / General Styles
Code up general styles and mobile styles, use media queries to adapt to larger displays.
Things for this section: Reset, Typography, Baseline grid, etc. Convenience methods for image-replacement, hiding, clearing etc.
/* Desktop and iPad/Tablet specific styles. */
navitronic / gist:2364646
Created Apr 12, 2012
f*ck trying to make a responsive grid
View gist:2364646
<div class="something">
<div class="third">first child, no left padding.</div>
<div class="third">left padding</div>
<div class="third something">
left padding
<div class="half">first child, no left padding</div>
<div class="half">left padding.</div>
View gist:1445318
* @Route("/school/search/", name="school_search")
* @Template("FlintSAKGFKitchenGardenProfileBundle:Default:school-search.html.twig")
* @param \Symfony\Component\HttpFoundation\Request $request
* @return array
public function searchAction(Request $request)
View gist:794452
/// fun times :D
View localscroll.js
// Local Scroll
function filterPath(string) {
return string.replace(/^\//,'').replace(/(index|default).[a-zA-Z]{3,4}$/,'').replace(/\/$/,'');
$('a[href*=#]').each(function() {
if (
filterPath(location.pathname) == filterPath(this.pathname)
&& location.hostname == this.hostname
&& this.hash.replace(/#/,'')
View jquery.mNI.js
// Extend jQuery to add a function for implementing "Nice Inputs"
jQuery.fn.makeNiceInput = function(){
// Setup the selected elements as nice inputs.
if(jQuery('label[for='+jQuery(this).attr('id')+']').length > 0){
var MNval = jQuery('label[for='+jQuery(this).attr('id')+']').hide().text();
View icons.html
<i class="icon icon--play-1"></i>
<i class="icon icon--repeat-1"></i>
<i class="icon icon--x-1"></i>
<i class="icon icon--up-1"></i>
<i class="icon icon--right-1"></i>
<i class="icon icon--down-1"></i>
<i class="icon icon--left-1"></i>
<i class="icon icon--up-2"></i>
<i class="icon icon--right-2"></i>
<i class="icon icon--down-2"></i>
navitronic / composer.json
Last active Aug 29, 2015
Fresh symfony composer.json
View composer.json
"name": "adrian/installer-test",
"license": "proprietary",
"type": "project",
"autoload": {
"psr-0": {
"": "src/",
"SymfonyStandard": "app/"
You can’t perform that action at this time.