Skip to content

Instantly share code, notes, and snippets.

View arnold-almeida's full-sized avatar
๐Ÿ’€
Based

Arnold A arnold-almeida

๐Ÿ’€
Based
View GitHub Profile
@arnold-almeida
arnold-almeida / scss.project
Last active January 1, 2017 13:36
A suggestion on how to organise your scss prohect
// link : https://medium.com/p/24cfae349724
// version : 1.0.0
scss/
|
|โ€” site/ # website namespace
|โ€Š |โ€” modules/
| |โ€” common/
| |โ€” _footer.scss
<?php
class UsersController {
public function __construct(FeedbackService $feedback)
{
$this->Feedback = $feedback;
}
public function createUser(CreateUserValidator $validator, User $user)
@arnold-almeida
arnold-almeida / reset.js
Last active August 29, 2015 14:17
knex migrate:reset for pg
'use strict';
var chalk = require('chalk');
/**
* @todo - Display error message when there are no tables to drop
* @todo - Get the migrations to display on CLI like when you run
*
* knex migrate:latest
*

Keybase proof

I hereby claim:

  • I am arnold-almeida on github.
  • I am aalmeida (https://keybase.io/aalmeida) on keybase.
  • I have a public key ASDtqaRF9zz0GawIP3rSnDJB493UjheQ1ZDjNlpT9zd3OAo

To claim this, I am signing this object: