Buscar

digitaleben

Should You Get Solar Panels? Ask Google

Photo credit: Solar panel on roof. Olivier Le Queinec/Shutterstock.

There are a lot of things to take into consideration if you want to put solar panels on your roof. If you’re unsure about what to do next, why don’t you Google it? Using its high resolution satellite imagery and huge trove of mapping data, Google has created a tool to help you determine whether you should get solar panels. All you need to do is enter your address into Project Sunroof.

Carl Elkin, the engineering Lead for Project Sunroof, announced this project on Monday. In a blog post, Elkin explains he started the project because the “cost of solar power is at a record low. A typical solar home can save hundreds or even thousands of dollars per year on their electricity bill.”

“But, as a volunteer with the Boston-based solar program Solarize Massachusetts and a solar homeowner myself, I’ve always been surprised at how many people I encounter who think that ‘my roof isn’t sunny enough for solar,’ or ‘solar is just too expensive.’ Certainly many of them are missing out on a chance to save money and be green,” he added.

The project is currently available in the following pilot cities: San Francisco Bay Area, Fresno (in central California), and Boston. The online tool uses the same data as Google Maps to figure out the solar energy potential of your roof. It takes a number of factors into account, such as how much sunlight hits your roof throughout the year, local weather, roof orientation and even shade from trees and nearby buildings.


Project Sunroof brings all of this information together to estimate the amount of money you could save if you decide to go ahead and get solar panels. The tool can even direct you toward local solar panel providers. Elkin writes that Project Sunroof is part of Google’s wider vision of accelerating the wide-scale adaption of zero-carbon energy. In the next few months, Google will explore expanding the project to other cities.

Brackets IDE, el editor Open Source de código para diseñadores front-end

brackets

Brackets IDE es un editor de código para diseñadores front-end, es Open Source y multiplataforma respaldado por Adobe bajo licencia MIT.

Brackets IDE cuenta con una interfaz similar a la de otros editores, código de color, menús, se puede cargar carpeta de proyectos, cuenta con botones de vista previa e instalación de extensiones y soporta lenguajes JavaScript, Ruby, PHP, CSS y HTML. Es compatible con varias extensiones como emmet; utilizado por muchos desarrolladores actualmente. También se puede realizar una vista previa en vivo con lo que se podrá cambiar propiedades al proyecto y visualizar los cambios en tiempo real, para ello hay que posicionarse en las etiquetas del proyecto HTML y combinar Ctrl+E y hacer los cambios CSS de forma directa en una ventana emergente donde también se prodrán guardar sin tener que abrir el archivo. Se puede disponer de una extensión que permite guardar los cambios directamente al servidor sin contar con un cliente FTP que es Brackets-FTP.

brackets_ide

Puede que otros editores sean superiores pero lo bueno es que el desarrollo de Brackets IDE es muy activo y todavía le falta mucho camino que recorrer y estoy segura de que mejorará, por eso hay que darle una oportunidad.

Fuente: Ubuntizando.

Getting Started With Linux: Part III (Command Line)

i-love-linux-getting-started-tutorialShort Bytes: Today, we are bringing to you our third article in the “Getting Started With Linux” series. The part III deals with the command line in Linux.

Once you’ve installed Linux, you can start doing your work right away. (To learn how to install Linux, read part 1 and part 2 of this getting started with Linux tutorial). Linux distributions available today are very much user-friendly and ship with necessary tools pre-installed.One should still learn some basic commands to get the real taste of Linux. This is where Linux excels from other operating systems. You can perform almost every task from the command line for which you use some GUI tool. The plus point is the boost in speed you get. And, there some tasks that NEED to be performed on the command line- so one should know the basics.

Some basic Linux terminology:

  • Shell: A shell is a program that takes text input from the keyboard and gives it to the operating system. It acts as an interface between your fingers and the operating system.
  • Terminal: The terminal (precisely terminal emulator) is a program that lets you interact with the shell. This program comes pre-installed  with almost every distribution (although it can have variants like gnome-terminal, konsole, terminology etc).
  • Kernel: Kernel, simply put, acts as an interface between the software and hardware. Linux is basically just the kernel. The complete operating system includes a kernel and a bunch of other software. As the term Linux is being used more commonly than the actual GNU Linux, I’ll be using that.

Some commands in Command Line:

Here’s a list of some most commonly used commands for performing some most common tasks. A good practice would be to have these commands on hand whenever you need. So, either take the printout of this page, or write them down somewhere.

  • ls: This command displays the list of files and folders present in the current directory. Whenever you open up your terminal, it is in your home directory. Type “ls” and you should see the contents of your home directory. To verify, check your home folder in a file manager.
  • cd: This command changes your working directory. Choose a folder name you saw in the previous command. Let’s say “Downloads”. Type “cd Downloads”, and you are in “Downloads”. You can also use the auto-complete feature. Like typing “cd Dow and press <tab>”, but that’s extra stuff. To verify, open up your file manager. Open “Downloads” folder. Right click and create an empty document. When you’ve cded into “Downloads”, type “ls” and you can see the document’s name there. Type “cd ..” to get to the previous directory.
  • rm: This commands removes files or directories. First close your terminal (type “exit”) and re-open it. Type “cd Downloads” and then “ls”. Now type “rm <document’s name>”. You can see in your file manager the document you’ve just created is gone. Remember that rm deletes the file permanently. There is no recycle bin or trash. To remove directories, type “rm -r <directory name>”. Another helpful thing is “rm *”, it removes all the files present in the current directory. ‘*’ is a wildcard. Or type “rm *.jpg” which removes all the files with extension ‘.jpg’.
  • cp: This commands copies files or directories from one directory to other. Create a folder in your home directory. Type “cp -r <folder name> Downloads/” and the folder would be copied to Downloads. The ‘-r'(recursive) option tells the ‘cp’ command that following is a directory and not a file, else, you’ll get an error.
  • mv: This command moves the file or folder between directories. Create a new file in your home folder. Type in your terminal “mv <file name> Documents/”. The file has been moved to the Documents folder. You can check that by typing “cd Documents” and then “ls”.
  • mkdir: This commands creates  a new folder in your present working directory. Type “mkdir stuff” in your terminal. Type “ls” and you’ll see the “stuff” folder there.
  • clear: This commands clears your terminal screen. Just type some random stuff in your terminal. And then type “clear”. The buffer would clear up.

Some more command line tools:

  • cal: This command displays the calender on your terminal screen.
  • nano: It is a command line text editor. Just type “nano <any random file name>” and it will open up a window. Here you can type some random stuff and press “ctrl-x” (Hold ctrl key and press x) to close the window. Now, if you ‘ls’ here, you can see your newly created file.
  • cat: cat displays the file’s contents on your terminal window. Type “cat <previous file name>” and you’ll see the contents of the file.
  • man: Using this tool, you can see the manual page of all the commands I’ve written before. To try, type “man cal” and you’ll see the manual page of “cal” and how to use that.
  • sudo: sudo is a tool that gives you the super user privileges for a particular command. This can be helpful when using some privileged tool or file. Like for updating your system.

There are a hundreds of more commands and tools that can make your work easier, but these are some of the most used ones. The best way to get better at these commands is to use them again and again, even if you don’t feel like it.

If you want to suggest an edit, or get help on a command, please post a comment.

You can read the previous parts of the tutorial from the link given below:

Getting Started with Linux: Part II

After downloading a desired Linux distribution, you can try it out using these methods:

  •  Install Linux virtually – If you already have a machine running Windows, Mac or another Linux distro, and you don’t want to remove or dual boot with that, install VirtualBox and run Linux on virtual system.
  • Trying on a USB – Most Linux distributions give you the option to try them before installing. You can access your files, surf web, install software and more without making a change in your machine. But, the changes are generally not persistent. One can also install a full fledged Linux on a USB drive by making it persistent.
  • Installing Linux on your hard drive – There are several benefits of this. Speed and less hassle are two of them. A Linux distribution can be the only primary OS (like mine), or it can be dual booted with other OS.

Linux installation is very easy nowadays. Most distribution automatically detect system configuration, plus they also give you the freedom to modify any setting you want. You don’t have to worry about partitions, hardware and other configuration. You can skip the manual configuration if you want, but you should understand each part of the installation process, as it will give you more insight on what actually is happening to your system. You can read more about installation process in your distribution’s wiki page. For example, read this for Ubuntu installation.

Most Linux variants ship with necessary software (Office, Music Player, Display server etc) with their installation disk. If you want more control on what to install and what not to, I recommend trying Arch Linux. It is an amazing distribution that gives the user complete control of their system (it can scare off some beginners).

Read their beginner’s guide for further info.

I am not going to write about the complete installation process. You won’t even need one if you are installing any distribution mentioned in part-1 of this tutorial. But still, if you need more help on that, you should go through this in-depth tutorial on dual/multi booting Linux.

Post Installation:

There are few things that you should know/do to get comfortable with your newly installed Linux distro. Various distributions ship with a Software Center (or something like that) to find and install applications with a few mouse clicks. But I find installing them from terminal more clean and simple.

Following are some things to do post installing the distribution. Following commands work for Ubuntu and its derivatives but you can find similar terminal commands for your distribution depending on its package manager.

Updating your system:

System can be updated by the following command

The update command only updates the list of available packages whereas the upgrade command actually installs them. The sudo in the above commands gives normal user (non root) the permission to modify system for that command.

Installing extra software and libraries:

Ubuntu does not ships with non free codecs and plugins due to copyrights restrictions and their free software  policy. However, they do provide these codecs freely from their repositories. You can install the set of restricted formats via the ‘Ubuntu-restricted-extra’ package. It includes media codecs, flash player and much more.

In fact, you can install any package you want by typing

Replace ‘package name’ with VLC, Chromium (free and open source alternative of Google Chrome, you can install Google Chrome too), Clementine (one of the best music players for Linux), Vim (a must have text editor for programmers), Wine (to run native windows applications) etc.  You can also download .deb (.rpm for Fedora) packages from external sources and install them directly.

Now you have a complete Linux distribution to cater your needs. You can modify it according to your needs. Change its desktop environment, install or remove something and much more.

If you have any suggestion or query, please post a comment.

Getting Started With Linux : Part-1

There are hundreds of Linux distributions to choose from. Each of them has their merits. Some of them have their separate package managers, desktop managers, repositories; some of them are derived from others, so they share some behaviorism. It is not possible to compare each other as each Linux distribution is modified according to needs.

One can choose any distribution he/she finds interesting, but there are some Linux variants suitable for beginners. Below are some distributions that would be easy for someone switching from a non Linux environment.

Ubuntu

Ubuntu is one of the most popular Linux distribution today. It is quite suitable for beginners as well as developers. Ubuntu is based on Debian and the default desktop environment is Unity. Software and hardware support is also quite good in Ubuntu, so you won’t find any difficulty in connecting your handset or Camera or editing your excel sheets.

Ubuntu 15.04

One can choose from various official flavors of Ubuntu if they don’t like Unity interface. Ubuntu Gnome, Kubuntu are most popular among them. The only difference between these flavors is the default Desktop Environment.

Mint

Mint is also one of the most popular Linux distribution. It is based on Ubuntu with Cinnamon Desktop Environment on top of it. It comes with most of the necessary software and libraries right out of the box. So no need to download extra software to get it working with your files. Just install it and you are good to go. Cinnamon Desktop is very simple and easy to work with.

Linux Mint 17 (Rebecca)

Elementary

Elementary OS is one of the most beautiful and rapidly growing Linux distribution. It is also based on Ubuntu and hence is compatible with Ubuntu’s repositories and software. One major point in its design philosophy is to reduce the need of using terminal. The user can perform most of the tasks without using terminal. It includes a Web browser, File manager, a dock (Plank) and most of necessary software with it.

Elementary OS - Luna

Fedora

Fedora is the first one on the list that is not based on Ubuntu. A plus point for Fedora is that it focuses more on innovation and thus integrates the latest technologies earlier. It features Gnome Desktop Environment and rpm package manager. The software support is also very good for Fedora. It also comes with necessary software pre-installed, so no need to worry about getting started with it. As a matter of fact, Linus Torvalds (Founder of Linux kernel) uses Fedora on all of his computers.

fedora22

There are several other popular Linux distributions (Arch, Debian, Open Suse) too. They are also worth trying. But, as for beginners, I’ve found that the above mentioned distributions are more easy to get started with. If you have any suggestion or query, please post a comment.

¿Cómo cambiar MAC en Ubuntu?

Muchas veces por el motivo que sea necesitamos cambiar la MAC de nuestros interfaces de red, en Linux esta tarea se puede realizar de forma muy fácil desde la terminal con simples comandos como se explica en un tutorial en esta misma web.

Para los amantes de lo más gráfico os traigo una app hecha en Java que hice hace mucho tiempo y que nos permitirá cambiar la MAC de forma gráfica y más sencilla, puesto que ya indexa los nombres de las interfaces que poseemos e incorpora la herramienta de MAC aleatoria.

Ubuntu-MAC-changer

Ubuntu-mac-1

Como se ve es sencilla, una vez escogido nuestra interfaz de red y la MAC deseada damos al botón “CHANGE” cambiar en español, a continuación el sistema pide autorización de administrador (root) para efectuar esa operación. ¿Fácil verdad?

Instalación:

Antes que nada puesto que la app esta hecha en Java necesitaremos disponer de su JVM en nuestra maquina. Para ello basta con copiar y pegar estas 3 lineas en una terminal:

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get install oracle-java8-installer

Una vez hecho esto a lo que podríamos llamar la parte difícil viene la parte fácil, instalar el programa en si. Para ello descargamos el instalador desde aquí

Como veis es un .DEB lo cual con hacer doble clic y darle a instalar valdrá.

Ubuntu-mac-2

Después de que se instale lo encontraremos en el Dash de Ubuntu con el resto de programas de nuestro sistema.

Ubuntu-mac-3

El programa esta liberado como software libre y lo podéis modificar y cambiar o mejorar vuestro gusto, el código lo encontrareis en: https://github.com/santiihoyos/Ubuntu-Mac-Changer

Wie kann ich klar / löschen Sie die aktuelle Zeile im Terminal ?

    

    Bereinigen Sie die Zeile: Mit Strg + U verwenden, um an den Anfang klären .
    Bereinigen Sie die Zeile: Strg + A Strg + K , um die aktuelle Zeile im Terminal wischen
    Brechen Sie den aktuellen Befehl / line : Strg + C .
    Daran erinnern, die gelöscht Befehl: Strg + Y
    Gehen Sie am Anfang der Zeile : Strg + A
    Gehen Sie am Ende der Zeile : Strg + E
    Entfernen Sie die Vorwärts Worten zum Beispiel , wenn Sie mitten in der Befehl sind: Strg + K
    Zeichen entfernen auf der linken Seite , bis zum Anfang des Wortes: Strg + W
    Strg + L : Ihre gesamte Eingabeaufforderung zu löschen
    Toggle zwischen dem Beginn der Zeile und aktuellen Cursorposition : Strg + XX

How do I clear/delete the current line in terminal?

Clean up the line: You can use Ctrl+U to clear up to the beginning.
Clean up the line: Ctrl+A Ctrl+K to wipe the current line in the terminal
Cancel the current command/line: Ctrl+C.
Recall the deleted command: Ctrl+Y
Go at the beginning of the line: Ctrl+A
Go at the end of the line: Ctrl+E
Remove the forward words for example, if you are middle of the command: Ctrl+K
Remove characters on the left, until the beginning of the word: Ctrl+W
To clear your entire command prompt: Ctrl + L
Toggle between the start of line and current cursor position: Ctrl + XX

http://stackoverflow.com/questions/9679776/how-do-i-clear-delete-the-current-line-in-terminal2015-08-23 14_32_29-bash - How do I clear_delete the current line in terminal_ - Stack Overflow

Converting Latex to Markdown /Convierte Latex a Markdown

Convierte Latex a Markdown version en español Aquí !

I’m applying for a job, which requires me to submit a plain text version of my resumé. As I maintain my CV as a latex document, I wanted to find a simple way to convert it to Markdown format so that it will look good when cut/paste into the web browser.

I use pandoc all the time for document conversion, but I found that because of some heavy layout tweaks to make my CV look good (I’m not using a style file), the markdown produced using

1
pandoc cv.tex -o cv.md

is pretty gross.

After a bit of googling, I found out about the htlatex utility (found here, and it’s included with TexLive), and which does a fantastic job at converting Latex to HTML:

1
htlatex cv.tex "xhtml, mathml, charset=utf-8" " -cunihtf -utf8"

Then, use pandoc to convert from HTML to Markdown with:

1
pandoc cv.html -o cv.md

This leaves a few small things to clean up with further scripting (such as stray /s), but altogether a nice looking Markdown file.

Blog de WordPress.com.

Subir ↑