Saturday, October 25, 2014

Sărbători legale România - funcție PHP

Thursday, March 28, 2013

numbering the first line using lineno package with modulo option

Here is a how number the first line when modulo option is enabled on lineno LaTeX package:

Saturday, December 15, 2012

How to show Owncloud svg icons?

You need to include in .htaccess file ( create if it doesn't exist) the from the root folder of owncloud the following line: AddType image/svg+xml svg

Monday, August 6, 2012

example of citation of an ISO standard in BibTeX

This is an example of how to cite an ISO standard in BibTeX:
@techreport{ISOPDF,
 author = {ISO},
 Institution = {International Organization for Standardization},
 address = {Geneva, Switzerland},
 Title = {Document management---{P}ortable document format---{P}art~1: {PDF}~1.7},
 number = {32000\char"2012 1:2008},
 Type = {ISO},
 Year = {2008}
 }

Note:\char"2012 from number field is figure dash (‒). The ISO standard above is ISO 32000‒1:2008.

Thursday, July 26, 2012

explicit label

Here is a label command that lets you to set the label, the \ref output and the \pageref output in a LaTeX document

Monday, April 9, 2012

Share a link on Google Plus

To share an url on Google Plus put an a tag with the following href attribute: 'https://plus.google.com/share?url='.urlencode($URL)

Saturday, October 22, 2011

remove i386 from amd64 Ubuntu systems

Upgrading an amd64 Ubuntu to oneiric caused the package manager to load not only amd64 list of packages, but also i386 ones. The solution is to remove the multiarch file from /etc/dpkg/dpkg.cfg.d :
# cd /etc/dpkg/dpkg.cfg.d 
# mv multiarch multiarch.backup 
# aptitude update 
Since Ubuntu 12.10, you should use %dpkg --remove-architecture i386