Skip to content

Instantly share code, notes, and snippets.

View vaporic's full-sized avatar
馃彔
Working from home

Hugo Epinosa vaporic

馃彔
Working from home
View GitHub Profile
@vaporic
vaporic / install_homestead.md
Last active October 24, 2015 18:52
Install Homestead VirtualBox
@vaporic
vaporic / deploy_symphony.md
Last active February 7, 2016 14:18
Deploy symphony production

php app/console cache:warmup --env=prod --no-debug

and after:

rm -rf app/cache/*; chmod -R 777 app/cache

@vaporic
vaporic / sitios.md
Last active January 8, 2016 17:13 — forked from sergiodxa/sitios.md
Sitio que sigo por RSS
@vaporic
vaporic / .htaccess
Last active February 7, 2016 14:05
.htaccess wordpress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
@vaporic
vaporic / sublime-prefs.json
Created February 7, 2016 14:02 — forked from marulango/sublime-prefs.json
Mi configuraci贸n de ST3
{
"bold_folder_labels": true,
"color_scheme": "Packages/Base16 Color Schemes/base16-ocean.dark.tmTheme",
"draw_white_space": "all",
"font_face": "Source Code Pro",
"font_size": 14,
"highlight_line": true,
"indent_to_bracket": true,
"line_padding_bottom": 3,
"line_padding_top": 3,
@vaporic
vaporic / reset.css
Created February 7, 2016 14:04 — forked from marulango/reset.css
Hoja de estilo para eliminar inconsistencias a trav茅s de navegadores
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
@vaporic
vaporic / cursos.md
Last active February 29, 2016 05:56
Pr贸ximos Cursos

Software Engineering Useful Resources

@vaporic
vaporic / default_option_laravel.php
Created July 7, 2016 04:01
Default option in select Laravel
{!! Form::select('mark', ["" => "Selecciona una marca"] + App\Models\Marcas::lists('mark', 'id')->all(), (isset($cars)) ? $cars->marca->id : null, ['class' => 'form-control car_mark']) !!}
@vaporic
vaporic / visor-archivos-online.md
Last active July 29, 2016 06:38 — forked from izazueta/visor-archivos-online.md
Google Docs Viewer & Office Web Apps Viewer

Google Docs Viewer

Only files under 25 MB can be previewed with the Google Drive viewer.

Google Drive viewer helps you preview over 16 different file types, listed below:

  • Image files (.JPEG, .PNG, .GIF, .TIFF, .BMP)
  • Video files (WebM, .MPEG4, .3GPP, .MOV, .AVI, .MPEGPS, .WMV, .FLV)
  • Text files (.TXT)
  • Markup/Code (.CSS, .HTML, .PHP, .C, .CPP, .H, .HPP, .JS)
  • Microsoft Word (.DOC and .DOCX)
@vaporic
vaporic / server.js
Created July 14, 2016 19:05
Server express js
var express = require('express');
var app = express();
app.get('/', function(req, res){
res.send('Hola mundo!');
});
app.listen(3000, function(err){
if(err) return console.log('Hubo un error'), process.exit(1);