Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@edi9999
edi9999 / conemuconfig.xml
Last active August 29, 2015 13:57
Configuration for ConEmu for my projects
<?xml version="1.0" encoding="utf-8"?>
<key name="Software">
<key name="ConEmu">
<key name=".Vanilla" modified="2014-03-21 11:36:56" build="140310">
<value name="ColorTable00" type="dword" data="00362b00"/>
<value name="ColorTable01" type="dword" data="00423607"/>
<value name="ColorTable02" type="dword" data="00756e58"/>
<value name="ColorTable03" type="dword" data="00837b65"/>
<value name="ColorTable04" type="dword" data="002f32dc"/>
<value name="ColorTable05" type="dword" data="00c4716c"/>
@edi9999
edi9999 / .vimrc
Last active August 29, 2015 13:59
.vimrc
execute pathogen#infect()
set nocompatible
let mapleader = ","
au BufReadCmd *.docx call zip#Browse(expand("<amatch>"))
" Sets how many lines of history VIM has to remember
set history=700
" Enable filetype plugins
filetype plugin on
@edi9999
edi9999 / gist:11367676
Created April 28, 2014 10:16
Flush the database with Laravel
<?php
use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;
class CreateNewDatabase extends Command {
/**
* The console command name.
execute pathogen#infect()
set nocompatible
let mapleader = ","
au BufReadCmd *.docx call zip#Browse(expand("<amatch>"))
" Sets how many lines of history VIM has to remember
set history=700
" Enable filetype plugins
filetype plugin on
<?php
class AccountController extends \BaseController {
/**
* Display a listing of the resource.
*
* @return Response
*/
public function index()
<VirtualHost beequick:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
(function() {
var MongoClient, config;
config = require('../config.js');
MongoClient = require('mongodb').MongoClient;
MongoClient.connect("mongodb://127.0.0.1:27017/" + config.General.database, function(err, db) {
var callback, callbackOne;
callback = function(err, hands) {
(function() {
var MongoClient, config;
config = require('../config.js');
MongoClient = require('mongodb').MongoClient;
MongoClient.connect("mongodb://127.0.0.1:27017/" + config.General.database, function(err, db) {
var callback, callbackCount, condition;
callback = function(err, hands) {
language: node_js
node_js:
- "0.11"
- "0.10"
env:
- NODE_SCRIPT=node
- NODE_SCRIPT=./iojs-v1.0.2-linux-x64/bin/iojs
@edi9999
edi9999 / gist:27340c3b95de31596f89
Last active August 29, 2015 14:16
io_js on travis
language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
- "iojs"