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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>fileTypes</key> | |
<array> | |
<string>jade</string> | |
</array> | |
<key>keyEquivalent</key> | |
<string>^~J</string> |
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
//Download <jdk-version>.tar.gz | |
cd Downloads // go to downloads folder | |
tar -xvf <jdk-version>.tar.gz // decompress | |
sudo mkdir -p /usr/lib/jvm/<jdk-version> // create location directory | |
sudo mv <jdk-version>/* /usr/lib/jvm/my-jdk-version/ | |
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/my-jdk-version/bin/java" 1 // install jre | |
sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/my-jdk-version/bin/javac" 1 // install compiler | |
sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/my-jdk-version/bin/javaws" 1 // install java web start |
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
LINUX: linux se lleva muy bien con python por lo que recomiendo su uso para el desarrollo de aplicaciones en python, entre otros beneficios (facilidad de desarrollo y para el pase a produccion, todo esto tiene que ver con la codificacion, los permisos, la seguridad, etc). Cuando trabaje en windows todo parecia muco mas facil hasta que el proyecto me demandaba librerias externas, en en este caso solo para adapatar esos modulos al proyectos tenia problemas con los binarias de esas librerias que no encontraban un ruta en el registro de windows, la solucion fue modificar los registros pero esto es algo ariesgado y fastidioso tambien, bueno. | |
PYTHON: Trabajen con python 2.7.2+ (esta version ya viene instalada con linux por defecto en lso distros ubuntu, mint, no todos), el python 3 no he usado pero si me he tomado con algunos problemas en los foros sobre el, luego a veces incluso es necesario pensar con que implementacion de python se va a trabajar (CPython, Jython, Pypy son los mas conocidos) , es que viene por |
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
/* ----------------------------------------- | |
Installation | |
----------------------------------------- */ | |
pip install south // install south app | |
// added south to INSTALLED_APPS in settings | |
python manage.py syncdb // create the app's models that we don't need migrate (auth, contenttypes, session, admin, south, other instaled apps ...) | |
/* ----------------------------------------- | |
Working with a new app | |
----------------------------------------- */ |
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
/* Smartphones (portrait and landscape) ----------- */ | |
@media only screen | |
and (min-device-width : 320px) | |
and (max-device-width : 480px) { | |
/* STYLES GO HERE */ | |
} | |
/* Smartphones (landscape) ----------- */ | |
@media only screen | |
and (min-width : 321px) { |
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
Run this in your command line to make the process begin: | |
$ curl -o ko3_structure.sh https://raw.github.com/gist/1702555/ko3_structure.sh && ./ko3_structure.sh |
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
#include<iostream.h> | |
#include<conio.h> | |
#include<fstream.h> | |
#include<stdio.h> | |
#include<dos.h> | |
class hotel | |
{ | |
int room_no; | |
char name[30]; |
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
/* ----------------------------------------- | |
Install node.js and npm in Debian | |
----------------------------------------- */ | |
sudo apt-get install python-software-properties | |
sudo apt-add-repository ppa:chris-lea/node.js | |
sudo apt-get update | |
sudo apt-get install nodejs | |
sudo apt-get install npm |
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
/* ----------------------------------------- | |
Install Ruby and RubyGems in Debian | |
----------------------------------------- */ | |
$ sudo apt-get install ruby1.9.1 | |
$ sudo apt-get install rubygems | |
/* ----------------------------------------- | |
Using Saas | |
----------------------------------------- */ |
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
/* ----------------------------------------- | |
Install node.js and npm in Debian | |
----------------------------------------- */ | |
*firts way (recommended): | |
sudo apt-get install python-software-properties python g++ make | |
sudo apt-add-repository ppa:chris-lea/node.js | |
sudo apt-get update | |
sudo apt-get install nodejs | |
sudo apt-get install npm |