Recent Posts
Enslaved Coder
- An error has occurred; the feed is probably down. Try again later.
about problems that i found during my IT life
I encountered some problems to install this package in R, because it is only available on github.
Here I report some main steps usefull to this aim.
On Ubuntu using Synaptic, or apt-get, install:
1. cmake
command
2. libqt4_dev
(for the actual version of gWidget2Qt the version 4 of Qt is needed)
In R console give the following commands:
install.packages(c('qtbase', 'qtutils')) install.packages('devtools') library(devtools) install_github('gWidgets2Qt','jverzani')
To use the Qt libraries through the gWidgets2 GUI package you need to include in your R project:
require(gWidgets2) options(guiToolkit="Qt")
After that all the gWidgets components you will declare will be visualized using Qt libraries, hoping that the gWidgets2Qt
library is in a final version.
N.B. All gWidgets components have the guiToolkit
parameter, giving the possibility to use another toolkit (f.i. RGtk2) for some component in the code, but this is not recommended.
LateX is a great typesetting system and everytime i use it, i learn something new.
This time i’ve used the TexMaker editor, i’ll never change it! 😛
Some useful commands to use in an article are:
In the header…
%declare the article document package, with a4paper and 11pt arguments
\documentclass[a4paper,11pt]{article}
%The font econding package with T1 as argument
\usepackage[T1]{fontenc}
%the input encoding package with utf8 enables you to write accented letters as è à
\usepackage[utf8]{inputenc}
%I don’t know wtf this package do! -.-‘
\usepackage{lmodern}
%Babel package with italian argument enables to use italian language, but as reported in the
%link: “A document may select a single language to be supported, or it may select several, in which case the document may switch from one language to another in a variety of ways.”
\usepackage[italian]{babel}
%Pxfons, are Palatino fonts, i like them very much! Here some fonts combination ideas, in italian…
\usepackage{pxfonts}
%Enables three types of interline spacing
\usepackage{setspace}
%Enables includegraphics command for images
\usepackage{graphicx}
%Enables a list of companion fonts… read documentation… -.-‘
\usepackage{textcomp}
%hyperref makes your index, and other references as URLS or notes, linkable!
\usepackage{hyperref}%utile per inserire l’indice clickabile
%useful to set some options for hyperref package
%here enables coloured links with colour blue
%if doesn’t set, a box around all links will be visible!
\hypersetup{colorlinks=true, linkcolor=blue}
%Enables \ref{lbl} and \vref{lbl} cmds. In the second case, it links on page where the lbl is, useful for floating images
\usepackage[italian]{varioref}
%Enables small fonts in caption command, hang argument indent text under the label.
\usepackage[font=small, hang]{caption}
%You can set a date, if empty, no date will be printed with \maketitle command
\date{}
In the document…
%useful for a coverpage or every page without page-numbering
\thispagestyle{empty}
%restarts numbering, in this case with arabic numbers, there are many other numbering types
\cleardoublepage
\pagenumbering{arabic}
%To create a section
\section{name}
%to create a subsection, try to guess…
\subsection{name}
%to create a subsubsection… ^^
\subsubsection{name}
%cite the number of bibitem you want
\cite{biblabel}
%Enters the “bib refs” in the index.
%If you dont’ enter it, index will not have it
\addcontentsline{toc}{section}{bib refs}
%A bibliography template, someone says that it’s not good, i liked it! 🙂
\begin{thebibliography}{widest entry}
\bibitem[#]{biblabel} auth (year) – title – source
\end{thebibliography}
If you are searching for a Linux application, but you don’t know if it exists or if you are searching for a Linux alternative for a Windows application, Linux App Finder is what you need 🙂
Here the Alternatives pages! 🙂
If you need a light and easy image viewer under unix… With crop funtion too… don’t hesitate, use Mirage!
The flaw is the buttons scarsity in the bar and the minimal window for cropping!
Oh ACDSee… how much i loved you! (The only one good Windows Software)
In a debian-derived linux distribution, under shell you can type
dpkg -l | grep nomelib
a good mac app to unlock the apple remote controller limitation is remote buddy…
Because i’m addicted to facebook and other sites, but i need to work/study, i’ve installed two extensions in my web browsers that lock me to visit these sites…
Chrome extension:
Nanny please scold me when i lost my precious time!
Firefox extension:
Read more of this post
We always search for a method to reverse a string of std:string class in C++…
So, i’ve found the method on cplusplus forum, it’s really very simple:
string str=”something”;
str= string ( str.rbegin(), str.rend() );
Today i was thinking about my old 3G, lying in a drawer because broken, and i came to the conclusion that i could use it as music player and other useful daily utilities, but when i revived it, it was slow and not so useful…
So i decided to search about something that helps me to improve my phone speed, so founding Whited00r. An italian project developed to install an “iOS6 like” system on old unsupported devices.
The site offers a guide for installation…