Skip to content

Instantly share code, notes, and snippets.

View rainerlopez's full-sized avatar
👨‍💻
coding

Rainer Lopez rainerlopez

👨‍💻
coding
View GitHub Profile
Verifying my Blockstack ID is secured with the address 1HqtVApK4HUJE2b7neP2tkXSQ8kS9sgyes https://explorer.blockstack.org/address/1HqtVApK4HUJE2b7neP2tkXSQ8kS9sgyes
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@rainerlopez
rainerlopez / csv_helper.php
Last active January 4, 2016 00:09 — forked from opnchaudhary/csv_helper.php
Implemented possibility of using header on the array_to_csv method >>> Implemented possibility to change the default separator ( , )
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
// ------------------------------------------------------------------------
/**
* CSV Helpers
* Inspiration from PHP Cookbook by David Sklar and Adam Trachtenberg
*
* @author Jérôme Jaglale
* @link http://maestric.com/en/doc/php/codeigniter_csv