Skip to content

Instantly share code, notes, and snippets.

'use strict';
module.exports = function(grunt) {
// load all grunt tasks
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
// configurable paths
var paths = {
@cfebs
cfebs / -
Created April 23, 2014 21:01
test
@cfebs
cfebs / index.html
Last active August 29, 2015 14:16
Fullscreen Test
<!doctype html>
<html>
<head>
<title>Full Screen Example</title>
<style type="text/css">
/* make the video stretch to fill the screen in WebKit */
:-webkit-full-screen #myvideo {
width: 100%;
height: 100%;
}
echo 'gotcha ♥';
{
"basics": {
"name": "Collin Lefeber",
"label": "Programmer",
"email": "lefeberc@gmail.com",
"phone": "ask me",
"website": "http://cfebs.github.io/",
"summary": "A hard working human. Always looking to learn and improve.",
"profiles": [{
"network": "Github",
@cfebs
cfebs / Rakefile
Created May 23, 2011 02:51
A fix for the install script in gedit-rails
desc "Installs the Plugins"
task :setup do
gedit_is_running = system("ps -eo comm | grep ^gedit$")
user = ENV['USER']
if gedit_is_running then
puts "Please close gedit"
elsif user != "root" then
puts "You need to sudo this action"
else
#system("killall gedit")

Virtualbox Ubuntu Server with OpenSSH

What this will get you:

  • A true linux shell without Cygwin on Windows. Essentially an SSH server sitting on your desktop which I have found perfect for web development using a powerful editor like vim or emacs + screen.

Initial Steps

@cfebs
cfebs / xboxrefresh
Created December 1, 2011 01:01
refresh windows -> xbox sharing
# refresh windows -> xbox sharing
# if for some reason your xbox is not showing all your movies or music, run this on the PC hosting it
# open a command prompt (Windows Key + R type cmd)
NET STOP WMPNetworkSvc
NET START WMPNetworkSvc
@cfebs
cfebs / gist:3025311
Created June 30, 2012 20:11
broadcom
open your package manager and search for 'bcm'
uninstall the bcmwl-kernel-source package
make sure that the firmware-b43-installer and the b43-fwcutter packages are installed
type into terminal: