Skip to content

Instantly share code, notes, and snippets.

View silnose's full-sized avatar
🏠
Working from home

Silvana Murgo silnose

🏠
Working from home
View GitHub Profile
@silnose
silnose / PHPStrorm-Ubuntu.txt
Last active June 23, 2017 14:14
PHP Storm - Ubuntu 16.04
## PhpStorm 10 Install in Ubuntu 14.04
1. Install JAVA (https://www.digitalocean.com/community/tutorials/how-to-install-java-on-ubuntu-with-apt-get)
2. Download the tar archive. Take it easy take a while
wget https://download-cf.jetbrains.com/webide/PhpStorm-2016.1.2.tar.gz
3. When the dowload is finish. change your working directory to the download directory, then extract the .tar.gz file with this comman
@silnose
silnose / readme.md
Created January 10, 2017 18:02
ASP.NET MVC manejo de errores/paginas personalizadas

Se debe iniciar por aclarar que MVC es un HttpHandler conectado al pipeline de asp.net, y, asp.net, es un framework para manejar peticiones, casi siempre dentro de IIS. IIS -> ASP.NET -> MVC Por eso hay tantos lugares donde se pueden manejar los errores, de adentro (MVC) hacía afuera (IIS) podemos listar los siguientes:

  • HandleErrorAttribute
  • Controller.OnException Method
  • Application_Error event
  • customErrors element (web.config)
  • httpErrors element (web.config)
  • Custom HttpModule
@silnose
silnose / gist:eb41bf92ee582b6d6e272c7a1e63eb98
Created October 5, 2016 14:58 — forked from danielestevez/gist:2044589
GIT Commit to an existing Tag
1) Create a branch with the tag
git branch {tagname}-branch {tagname}
git checkout {tagname}-branch
2) Include the fix manually if it's just a change ....
git add .
git ci -m "Fix included"
or cherry-pick the commit, whatever is easier
git cherry-pick {num_commit}
@silnose
silnose / setup_selenium.sh
Created September 2, 2016 15:34 — forked from curtismcmullan/setup_selenium.sh
Setup Selenium Server on Ubuntu 14.04
#!/bin/bash
# Following the guide found at this page
# http://programmingarehard.com/2014/03/17/behat-and-selenium-in-vagrant.html
echo "\r\nUpdating system ...\r\n"
sudo apt-get update
# Create folder to place selenium in
@silnose
silnose / Controller.php
Created August 9, 2016 21:18 — forked from milon/Controller.php
Delete Modal Popup with Laravel, Bootstrap and jQuery
public function index(){
$categoryList = Category::all();
return view('category.list')->with('categoryList', $categoryList);
}