Skip to content

Instantly share code, notes, and snippets.

@alexciarlillo
alexciarlillo / cuwqn.markdown
Created September 5, 2014 14:40
A Pen by Alex Ciarlillo.
@alexciarlillo
alexciarlillo / common.min.css
Created September 11, 2014 18:23
Common Navigation
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin
var myApp = angular.module("myApp", [ 'ngRoute', 'myAppControllers', 'myAppServices', 'chartjs']);
myApp.config(['$routeProvider', '$locationProvider', function($routeProvider, $locationProvider) {
$locationProvider.html5Mode(true);
$routeProvider.when('/', {
templateUrl: '/partials/dashboard.html',
controller: 'DashboardCtrl'
});
}]);
PHP Fatal error: Call to undefined method Illuminate\Foundation\Application::missing() in /home/ciarlill/Development/environments/vagrant-boxes/docker/proxy-config-new/www/app/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php on line 210
[Symfony\Component\Debug\Exception\FatalErrorException]
Call to undefined method Illuminate\Foundation\Application::missing()
[2015-09-10T09:50:45] DEBUG2: reading secure socket
[2015-09-10T09:50:45] DEBUG2: reading secure socket
[2015-09-10T09:50:45] DEBUG2: reading secure socket
[2015-09-10T09:50:45] DEBUG2: reading secure socket
[2015-09-10T09:50:45] DEBUG2: reading secure socket
[2015-09-10T09:50:45] DEBUG2: reading secure socket
[2015-09-10T09:50:45] DEBUG2: reading secure socket
[2015-09-10T09:50:45] DEBUG2: reading secure socket
[2015-09-10T09:50:45] DEBUG2: reading secure socket
[2015-09-10T09:50:45] DEBUG2: reading secure socket
@alexciarlillo
alexciarlillo / Xorg.0.log
Created October 18, 2011 13:11
syslog, Xorg.0.log, Xorg.failsafe.log from last reboot 10-18
X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-27-server i686 Ubuntu
Current Operating System: Linux MUNIN 2.6.32-34-generic-pae #77-Ubuntu SMP Tue Sep 13 21:16:18 UTC 2011 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-34-generic-pae root=UUID=849188e8-9198-4bf4-96e7-8890f589af82 ro quiet splash xbmc=autostart,nodiskmount loglevel=0
Build Date: 08 March 2011 08:22:50AM
xorg-server 2:1.7.6-2ubuntu7.6 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.16.4
113 io.sockets.on('connection', function(socket) {
114 var user = new User(socket);
115
116 socket.on('set-nick', function(nick, response) {
117 user.setNick(nick, response);
118 });
119
120 socket.on('join-platform', function(data, response) {
121 user.joinPlatform(platforms, data, response);
122
Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection
Section "Device"
Identifier "Card0"
Driver "ati"
BusID "PCI:1:0:0"
Option "AGPMode" "4"
Option "AGPFastWrite" "on" #Faster than default (off)
@alexciarlillo
alexciarlillo / gist:1974686
Created March 4, 2012 20:36
arch depends problem
ciarlill@odin:~$ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
archlinuxfr is up to date
:: Starting full system upgrade...
resolving dependencies...
warning: cannot resolve "gcc-multilib=4.6.2", a dependency of "libtool-multilib"
#!/bin/bash
#
# /etc/rc.local: Local multi-user startup script.
#
POWER_CHECK=/sys/class/power_supply/AC/online
# set screen brightness
echo 10 > /sys/class/backlight/acpi_video0/brightness