Skip to content

Instantly share code, notes, and snippets.

{
"created": "2014-07-14T17:26:52.221Z",
"count": 190663,
"offset": 0,
"recording": [
{
"id": "39569c59-55e4-4c71-8f25-3726ce8c0176",
"score": "36",
"title": "Emperor",
"length": 90000,
@navap
navap / assets_less_app.less
Created December 24, 2013 02:31
Navbar template/css for http://roots.io. - adds a search box on the right side of the navbar - adds branding to the collapsed nav menu
/* ==========================================================================
Header
========================================================================== */
.banner {
/* Menu items */
.navbar {
.navbar-header {
.navbar-toggle .icon-bar {
background-color: @brand-primary;
@navap
navap / user_management.sh
Created November 18, 2013 18:59
Allows the user to add/edit/delete user accounts on the system
#!/bin/bash
# User Management script that allows the user to add/edit/delete
# user accounts on the system. Must be run with root privileges.
# Requires mkpasswd to be installed.
#
# Author: Pavan Chander
# Revision: 0.7
# Last update: 2013-11-18
@navap
navap / gist:2531042
Created April 29, 2012 03:43
show git branch in bash prompt
function parse_git_branch {
# leave a space at the end of the below line
echo `git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'`
}
PS1="\$(parse_git_branch)$PS1"
diff --git a/carton.lock b/carton.lock
index 4656609..89efd46 100644
--- a/carton.lock
+++ b/carton.lock
@@ -9,7 +9,7 @@
"unknown"
],
"dynamic_config" : 0,
- "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.113640, CPAN::Meta::Converter version 2.112150",
+ "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.120921, CPAN::Meta::Converter version 2.113640",
.artistheader, .releaseheader, .rgheader,
.recordingheader, .labelheader, .workheader, .blankheader {
padding-left: 38px;
background: 0 4px no-repeat;
}
.blankheader { background-image: url('../images/entity/blank_lg.png') }
@navap
navap / Ratings
Created July 5, 2010 09:03
Ratings
1 stars 114 0%
2 stars 610 2%
3 stars 4613 17%
4 stars 4359 16%
5 stars 737 3%
------------------------
Rated: 10433 38%
------------------------
Unrated: 17188 62%
========================
@navap
navap / gist:460446
Created July 1, 2010 19:38
vagrant up
C:\Users\navap\DOCUME~1\MBHACK~1\vagrant>vagrant up
[default] Creating VM 'default'
[default] Importing base VM (C:/Users/navap/.vagrant/boxes/base/box.ovf)...
[default] Persisting the VM UUID (854def91-eaef-4c95-a1f1-e03f73bf16a5)...
[default] Matching MAC addresses...
[default] WARNING!
No guest additions were detected on the base box for this VM! Guest
additions are required for forwarded ports, shared folders, host only
networking, and more. If SSH fails on this machine, please install
the guest additions and repackage the box to continue.
<div>[%- '<strong>' _ edit.yes_votes _ '</strong> ' _ l('yes') _ ' : <strong>' _ edit.no_votes _ '</strong> ' _ l('no') -%]</div>
<div><strong>[%- edit.yes_votes -%]</strong>[%- l(' yes') -%] : <strong>[%- edit.no_votes -%]</strong>[%- l(' no') -%]</div>
sub release_group : Path('release-group')
{
my ($self, $c) = @_;
$c->stash(
count => {
type => {
album => {
name1 => 'Album',
size1 => '327178',