Pages

Tuesday, 26 March 2013

Synchronize Google Drive and Linux with grive

Waiting for the official client of Google Drive for Linux, there are meanwhile two good unofficial solution to sync your files with the file storage service provided by Google. These are:

InSync: a very nice option, that works with Linux, but also with Widows and Macintosh  InSync for Linux is still in beta, and is free until it will be in beta version. After that it will cost a one-time fee of $9.99 for each account that you want activate.

Grive: is a good open source solution, but has some limitations, as no-automatic syncing of files in background, even though is possible make up for this problem running grive automatically, every 10 minute for example, using cron.


Friday, 22 March 2013

Ngspice, RLC resonator

Today, I want to show another Spice example upon AC simulation. The circuit is a parallel RLC resonator, and we are going to figure out some important parameter of the resonators, that are the same of a pass-band filter. These are the resonator frequency, bandwidth and quality factor.


Wednesday, 20 March 2013

How to get a direct download link from Google Drive

More people have a Google account, and also they use Google Drive to keep sync their files with all their devices. Sometimes can be happen to share a file with a friend or someone else and we need a direct download link without redirect other people to Google Drive, like other service over internet. A few steps allow us to avoiding to upload those files another time.


Monday, 18 March 2013

Ngspice, RC filter with variable resistor

Let's do an AC simulation with a RC  filter. Let's assume that we want obtain the graphs of response (Mag-Phase) with three different value of resistor ($1\,k\Omega$, $10\,k\Omega$, $100\,k\Omega$). Also we want measure the cut-off frequency. This is the circuit:


Sunday, 17 March 2013

NgSpice, bridge rectifier with zener diode

Now another spice example, this time we are going to see how to model (in a simple way) a transformer and a zener diode to have a better and stable DC output voltage after the bridge rectifier.


Saturday, 16 March 2013

How to install new font

Install new font in a linux OS is very easy. You need just the true type font that you would install in your computer.
For example if you want install this font downloaded from this website:

Friday, 15 March 2013

NgSpice, bridge rectifier with RC load

This is the second spice example, and now we are going to do a simulation of a bridge rectifier with a simple RC load. Let us assume that we want figure out the waveform of the input and output signal, and calculate the value of the first 10 harmonic of the output signal.


Wednesday, 13 March 2013

change directory, move, copy, remove and symbolic link

Here some command that every linux user must know:

A script to synchronize subtitles

When we are seeing a subtitled video, sometimes can be happen that video and subtitles are not perfectly synchronized. The solution can be, either use one of the online service to re-synchronize the subtitles or just download another subtitles file and hope to be lucky that will be the right one.
Well, I have written a simple python script for linux, to synchronize manually the *.str file.


Monday, 11 March 2013

Custom action for Thunar!


Thunar is a very powerful file manager, that comes with XFCE desktop environment. It is very flexible and give to the user the possibilities to define such "custom action", with which is easier do some kind of action very rapidly, with just one click! Let see in detail...

Automatically shutdown!

Often we need to leave the computer, but at the same time we should go away from it. Well, the solution at this problem is too simple, and is the title of this post.

Sunday, 10 March 2013

Hello world in NgSpice!

Let's start with electronic circuit simulation in Linux! I want to start with a very simple example. I'm going to do a simulation of a voltage divider in Ngspice.
This is the first of a series of examples in Ngspice, in a linux machine.
Ngspice, as it is written in the manual, is a general-purpose circuit simulation program for nonlinear and linear analyses. It works on almost on every type of Operative systems like Linux distributions, MS Windows and Mac OS, and even on tablet and smartphone through a remote service online. It is completely free. For installation guide and other useful information please look in the website.

First!

This is my first post!