Skip to content

Instantly share code, notes, and snippets.

Error detected while loading xmonad configuration file: /home/ciarlill/.xmonad/xmonad.hs
xmonad.hs:102:14:
No instance for (Read a0) arising from a use of `layoutN'
The type variable `a0' is ambiguous
Possible cause: the monomorphism restriction applied to the following:
myChatGrid :: LayoutN Grid (LayoutN Grid Full) a0
(bound at xmonad.hs:102:1)
Probable fix: give these definition(s) an explicit type signature
or use -XNoMonomorphismRestriction
// change this
$row = pg_fetch_row($results);
$num = pg_num_rows($results);
$i=0;
while ($i < $num) {
echo "<pre>";
print_r (pg_fetch_assoc($results,$i));
echo "</pre>";
$i++;
" setup pathogen
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
set rtp+=~/.vim/bundle/powerline/powerline/bindings/vim
call vundle#rc()
Bundle 'gmarik/vundle'
[vagrant@vagrant-c5-x86_64 ~]$ sudo /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:92:BA:6E
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe92:ba6e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2407 errors:0 dropped:0 overruns:0 frame:0
TX packets:2332 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:159341 (155.6 KiB) TX bytes:145198 (141.7 KiB)
file { "/etc/httpd/conf.d/vhost.conf":
owner => "root",
group => "root",
mode => 644,
replace => true,
ensure => present,
content => "/vagrant/conf/vhost.conf",
require => Package["httpd"],
notify => Service["httpd"]
}
@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