Comando | Descripción |
---|---|
sudo docker images |
ver imagenes |
sudo docker pull xxx |
descargar contenedor de hub |
sudo docker image rm xxx |
eliminar imagen |
sudo docker rm xxx |
eliminar container creado |
sudo docker ps |
mostrar container en ejecucion -a ver todo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# THIS FILE HAS BEEN AUTO-GENERATED BY I3-CONFIG-WIZARD(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout some time, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# | |
# Please see https://i3wm.org/docs/userguide.html for a complete reference! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Function loads the users facebook profile pic | |
* | |
* @param userID | |
*/ | |
public static Bitmap getUserPic(String userID) { | |
String imageURL; | |
Bitmap bitmap = null; | |
Log.d(TAG, "Loading Picture"); | |
imageURL = "https://graph.facebook.com/" + userID + "/picture?type=large"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################# | |
# Push de la rama actual | |
git push origin $rama_actual | |
############################################# | |
# Volver a un commit anterior, descartando los cambios | |
git reset --HARD $SHA1 | |
############################################# | |
# Ver y descargar Ramas remotas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# En symfony2 por defecto debemos configurar el document_root del dominio para que responda el directorio "web", el problema viene cuando no podemos cambiar donde apunta por defecto el dominio (no tenemos acceso a la configuración del apache), esta solución no es ideal pero funciona. | |
#1 Nuestro dominio apunta a una carpeta raiz en el servidor web, suelen ser generalmente httpdocs, public_html, www pero podrían ser cualquier otra, en esta carpeta raiz subimos todo el contenido de symfony2 | |
#2 En la carpeta raiz nos creamos un fichero .htaccess, similar al que tenemos dentro de la carpeta web con la siguiente configuración: | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^(.*)$ /symfony/web/app.php [QSA,L] |