Skip to content

Instantly share code, notes, and snippets.

View DannasCornell's full-sized avatar
:octocat:
Focusing

Daniel de Jesús Rosales Mendoza DannasCornell

:octocat:
Focusing
  • After Null
  • R'lyeh
  • 17:29 (UTC -06:00)
  • X @AfterNull
View GitHub Profile

Keybase proof

I hereby claim:

  • I am DannasCornell on github.
  • I am dannas (https://keybase.io/dannas) on keybase.
  • I have a public key whose fingerprint is 4C13 14DA 103A E68C 99FF 2246 84AF 378E EFA9 1FC3

To claim this, I am signing this object:

@DannasCornell
DannasCornell / authlogic-to-devise.md
Created April 19, 2016 16:03 — forked from rpheath/authlogic-to-devise.md
Steps and troubleshooting tips when moving Authlogic to Devise.

How To: Authlogic to Devise

Step 1: Migration

  1. bin/rails g migration AuthlogicToDevise
  2. (see the file below for the actual migration, authlogic_to_devise.rb)
  3. bin/rake db:migrate

Step 2: Update Gemfile

  1. gem "devise", "~> 2.2.0"
  2. bundle install
@DannasCornell
DannasCornell / index.php
Created March 28, 2019 21:54 — forked from maximilianoraul/index.php
Listar Carpetas y Archivos de un directorio
<?php
//Directorio
$dir = getcwd();
$directorio = opendir($dir);
$archivos = array();
$carpetas = array();
//Carpetas y Archivos a excluir
$excluir = array('.', '..', 'index.php', 'favicon.ico','folder.png','file.png','.dropbox.cache','.dropbox');