background preloader

Programacion

Facebook Twitter

Delicious. SSH key and passwordless login basics for developers. SSH keys are useful to login over ssh (secure shell) without typing a password. They are also used by Github and other version control systems for passwordless authentication. Here is some basic information from the software developer point of view how to use SSH keys for maximum comfort and security. These instructions apply for OSX and Linux (tested on Ubuntu). SSH keys are not used only by shell sessions, but also by remote file copy (rsync, scp) version control system authentication (Git, Subversion). 1. Creating your first key SSH keys are created using ssh-keygen command. You should (really must!) 2. On the first login to a new server change your UNIX / SSH password to something random using passwd command. 3.

SSH keys consist of two parts. You can add the keys to this file by hand editing the file or using ssh-copy-id command (Ubuntu has it by default, download for OSX). 4. You can have multiple keys. You can add / change passphrases to they private keys like this: (More info) 5. 6. 7. Trabajando con transparencias y gradientes vía CSS. | Webizzima. La manera en que manipulas el color en tus diseños web está a punto de cambiar. Tal vez eres de los que ha practicado con valores de color hexadecimales desde que eras un pequeño web-bebé, si era así ¡prepárate para crecer rápido! CSS3 es más que un hecho y tu paleta está a punto de crecer inmensamente. Comparado con lo que viene, se dice que los diseñadores hemos estado hasta el momento “ “, trabajando sólo con una milésima de la mínima parte del espectro cromático.

Por supuesto que dicho término es una broma y no es porque vayan a surgirle nuevos matices al arco iris. Lo que va a suceder es que los valores de color van a ser definidos en nuevas formas, será agregado todo el espectro de niveles de opacidad y además serán lanzados gradientes basados en puro CSS en lugar de imágenes. Algunos sitios que poseen la vista bien larga, como el impresionante 24 Ways to Impress Your Friends ( ) ya están jugando con para lograr efectos de texto y fondo —y los resultados son impresionantes. o: Best PDF editor for Ubuntu. PEP 8 -- Style Guide for Python Code. Code should be written in a way that does not disadvantage other implementations of Python (PyPy, Jython, IronPython, Cython, Psyco, and such).For example, do not rely on CPython's efficient implementation of in-place string concatenation for statements in the form a += b or a = a + b. This optimization is fragile even in CPython (it only works for some types) and isn't present at all in implementations that don't use refcounting.

In performance sensitive parts of the library, the ''.join() form should be used instead. This will ensure that concatenation occurs in linear time across various implementations.Comparisons to singletons like None should always be done with is or is not, never the equality operators.Also, beware of writing if x when you really mean if x is not None -- e.g. when testing whether a variable or argument that defaults to None was set to some other value. The other value might have a type (such as a container) that could be false in a boolean context! Git - the simple guide - no deep shit! Git - the simple guide just a simple guide for getting started with git. no deep shit ;) by Roger Dudler credits to @tfnico, @fhd and Namics this guide in deutsch, español, français, indonesian, italiano, nederlands, polski, português, русский, türkçe, မြန်မာ, 日本語, 中文, 한국어 Vietnamese please report issues on github Infuse analytics everywhere with the AI-powered embedded analytics platform.

Start your free trial.ads via Carbon setup Download git for OSX Download git for Windows Download git for Linux create a new repository create a new directory, open it and perform a git init to create a new git repository. checkout a repository create a working copy of a local repository by running the command git clone /path/to/repository when using a remote server, your command will be git clone username@host:/path/to/repository workflow add & commit You can propose changes (add it to the Index) using git add <filename> git add * This is the first step in the basic git workflow. Pushing changes branching log. Lessons. jQuery Mobile | jQuery Mobile.

Background Gradients. .ex { width: 48%; margin-right: 2%; float: left; overflow: hidden; *zoom: 1; .gradient-example { width: 80px; height: 80px; background: red; margin: 1em 1em 0 0; #radial-gradient { background-image: -webkit-gradient(radial, 45px 45px, 0, 45px 45px, 30, color-stop(33.33333%, #00ffff), color-stop(100%, #1e90ff)); background-image: -webkit-radial-gradient(45px 45px, #00ffff 10px, #1e90ff 30px); background-image: -moz-radial-gradient(45px 45px, #00ffff 10px, #1e90ff 30px); background-image: -o-radial-gradient(45px 45px, #00ffff 10px, #1e90ff 30px); background-image: radial-gradient(45px 45px, #00ffff 10px, #1e90ff 30px); #linear-gradient { background-image: -webkit-gradient(linear, 0% 0%, 100% 100%, color-stop(0%, #ffffff), color-stop(100%, #dddddd)); background-image: -webkit-linear-gradient(left top, #ffffff, #dddddd); background-image: -moz-linear-gradient(left top, #ffffff, #dddddd); background-image: -o-linear-gradient(left top, #ffffff, #dddddd); #v-gradient { #v-gradient-2 { #v-gradient-3 { #h-gradient {

Python en la web con Django: instalaciones básicas. Con esta serie de tutoriales intentaré cambiar vuestro punto de vista sobre la programación web porque de verdad que yo me he enamorado de Python y Django.Actualmente yo estoy trabajando con Ubuntu 11.10 pero en Mac OS es exactamente igual (siento no poder probarlo porque no tengo uno... . Si usas Windows castigado contra la pared. ¿Qué necesitamos antes de seguir con este tutorial? Mysql: de momento es opcional pero las cosas hay que hacerlas bien.Python: debe venir por defecto con el SO y si no es así instalarlo antes de seguir.

Django necesita Python 2.3 o superior. Yo utilizo la version 2.7.1. ¿Cómo sé si tengo instalado django? Muy fácil, nos abrimos una terminal, entramos en la shell de python, importamos django y si recibimos este error es que no lo tenemos: Código : ¿Cómo sé que versión tengo? ¡Qué preguntas más faciles! Descargando e instalando Django alberto@alberto:~$ mkdir django_downloads alberto@alberto:~$ cd django_downloads/ alberto@alberto:~/django_downloads$ Creating a Controller (C#)

In this tutorial, Stephen Walther demonstrates how you can add a controller to an ASP.NET MVC application. The goal of this tutorial is to explain how you can create new ASP.NET MVC controllers. You learn how to create controllers both by using the Visual Studio Add Controller menu option and by creating a class file by hand. Using the Add Controller Menu Option The easiest way to create a new controller is to right-click the Controllers folder in the Visual Studio Solution Explorer window and select the Add, Controller menu option (see Figure 1).

Selecting this menu option opens the Add Controller dialog (see Figure 2). Notice that the first part of the controller name is highlighted in the Add Controller dialog. If you create a controller that is missing the Controller suffix then you won’t be able to invoke the controller. Listing 1 - Controllers\ProductController.cs You should always create controllers in the Controllers folder. Scaffolding Action Methods Creating a Controller Class. AEM-XML_y_Adjuntos.pdf (application/pdf Object) ButtonField Class (System.Web.UI.WebControls) Clicking a button in a button field raises the command event of the parent data-bound control. You can provide a custom routine to perform when a command button is clicked by providing an event handler for the command event. You also can customize the appearance of the ButtonField object (font color, background color, and so on) by setting the style properties for the different parts of the field.

The following table lists the different style properties.

Linux

Python. Java. Ucab-vudu - Proyecto de desarrollo de software de la UCAB para el semestre 1112A. Web. Maratones. Base de Datos.