Blog

Your Mac Keeps A Log Of All Your Downloads

Tags: macos quarantine download objective-c | unixo | January 24, 2013

Some days ago, I read an interesting post of Michael McConnell about a MacOS "feature" that keeps track of all files you downloaded, no matter which programs you used. By the way it's not such a brand new, as OSXDaily already talked about it one year ago.

Introducing Download History

Whenever you don't want to mess with Terminal, command lines and sqlite, you can use this simple utility, called Download History. This tool just opens your quarantine log and shows its content in a more readable format, powered with search and a command to delete the content.

.

For each table item, the detail box shows:

  • the internal ID that uniquely identifies the resource
  • the date/time you downloaded the file
  • the title of the page you visited
  • the URL of the downloaded file
  • the original URL you came from
  • the sender's name and email address (whenever you received an attachment with Mail.app)

You can download the program here (built for Mountain Lion) and browse its sources on Github.

Read More...

PHPExcel and Symfony2

Tags: symfony2 PHPExcel header https | unixo | December 23, 2012

photo

Recently, for a website I developed using Symfony 2, I needed to export some data in Microsoft Excel format. As you may expect, there is already a great bundle to integrate PHPExcel into your Symfony-based project, the ExcelBundle by liuggio.

As stated in bundle documentation, if you are using a HTTPS connection, you have to set these two headers in your response for compatibility with IE<9:

$response->headers->set('Pragma', 'public');
$response->headers->set('Cache-Control', 'maxage=1');

Read More...

ASExplorer

Tags: class inspection java jboss jndi jnp mysql oracle reflection rmi SQL t3 t3s weblogic | unixo | September 12, 2012

photo

ASExplorer is a tool useful to browse resources exposed by an application server, such as Weblogic or JBoss; especially useful if you're enforcing security. Main features:

  • built-in support for Weblogic and JBoss
  • JNDI resources browsing
  • automatic discovering of SQL datasource
  • automatic loading of external libraries (JARs) to interact with AS
  • interaction with SQL datasources
  • easy to extend

Read More...

Sistemi Operativi: vmbo

Tags: belady fault I/O locality mmu page Software thread University virtual memory vm | unixo | March 15, 2012

Continua la serie di progetti sviluppati a scopi didattici per l'Università di Urbino "Carlo Bo".


Specifica del problema

Scrivere un programma multithread che consenta di valutare le performance, in termini di numero di page fault, di algoritmi di rimpiazzamento delle pagine per la gestione della memoria virtuale.

Il programma dovrà essere costituito da un’entità principale che operi come una Memory Management Unit (MMU), un numero arbitrario (n) di thread, ove ogni thread emuli un singolo processo (PROCESSO) e, infine, da un’entità che emuli un dispositivo di I/O (DISPOSITIVO I/O).

Il programma dovrà simulare una sessione di lavoro, nella quale sono presenti n processi che possono accedere alla memoria e generare richieste di I/O. I processi dovranno generare indirizzi di memoria casuali. Infine, il programma terminerà una volta raggiunto il numero prestabilito di accessi in memoria totali.

Read More...

Software Engineer

Tags: mySQL Software University | unixo | November 28, 2010

Another post about a project developed for Urbino University: consider it as didactic purpose only.

Problem specifications

The aim of this project is to realize an e-commerce tool, along with its database, for the final client who wishes to buy some product.

The first need is classifying technology products, such as computers, monitors, accessories and so on. To make products browsing easier, it is advisable to split items into categories, so that customers will be able to find what they’re looking for faster and easier; for each product it is known the id, the name and its description, as far as its price together with its availability.

Read More...

YABI meets MobileMe Calendar Beta

Tags: anniversary birthday caldav Development ical macos mobileme sync yabi | unixo | October 10, 2010

Apple have recently released the beta version of new MobileMe Calendar: it's cool, of course, but all calendars on your Mac won't be local anymore, as they are replaced by CalDav ones.

Unfortunately the Calendar Framework provided by Cocoa doesn't fully support CalDav: then YABI tries to recreate the calendar, a new local calendar is created instead of a CalDav one.

I've already wrote the solution to this bug and soon I'll release the new version which also includes a way to exclude person from sync.



Note!

I'm sorry to announce that YABI has been discontinued.

I'd like to thank you all for the support and the great opportunity you gave to enjoy Mac world.

Read More...


YABI 1.0.4 released!

Tags: anniversary birthday Development ical mobileme prefpane Software synchronization yabi | unixo | September 10, 2010

"This changes everything. Again."

YABI core functions have been totally reimplemented and, above all, completed. This version addresses few bugs, which caused YABI Agent crashes (e.g. when an event name is changed in AddressBook).

I've also been asked for new interesting features, I'll work on them in spare time:

  • use remote calendar as target
  • excluding birthdays
  • enhanced nickname support

Upgrade note

We suggest to deactivate YABI before upgrading; follow these few steps:

  • Open YABI preference pane
  • Click on Deactivate button and quit System Preferences
  • Upgrade YABI by double-clicking on the new icon

Download YABI at YABI.dmg and check it out!

Note!

I'm sorry to announce that YABI has been discontinued.

I'd like to thank you all for the support and the great opportunity you gave to enjoy Mac world.

Read More...

YABI 1.0.2 released

Tags: alarms anniversary birthday cocoa event title events ical macos objective-c yabi | unixo | March 20, 2010

Say hello to YABI 1.0.2 and YABI Viewer.

Here some changes:

  • [FIX] Nicknames were not properly imported by from Sync Server and it was impossible to substitute in event title
  • [FIX] Target calendar change is now saved
  • [FIX] Event title changes are properly saved
  • [FIX] Alarm icon column is no more bound to "data" binding ("value" is now used: no more warning in your console about this deprecated construct)
  • [NEW] Agent deactivation removes application data file
  • [NEW] Deactivate button is now disabled when a fresh-sync is issued
  • [NEW] Added the new specifier "%yp" (equal to %y minus 1)

Here what must still be implemented:

  • Software autoupdate
I'd like to thank all of you for your bug report and support.

Download YABI at YABI.dmg and check it out!



Note!

I'm sorry to announce that YABI has been discontinued.

I'd like to thank you all for the support and the great opportunity you gave to enjoy Mac world.

Read More...

YABI 1.0.1 - minor bug fixes

Tags: anniversary birthday ical yabi | unixo | January 01, 2010

A new minor release of preference pane version of YABI has been released.

Here some changes:

  • 64-bit enabled
  • minor memory leaks fixed
  • added "partner" attribute for anniversary cross-check
  • UI updates
  • removed unused frameworks

Here what must still be implemented:

  • Save/restore event titles
  • Software autoupdate

Download YABI at YABI.dmg and check it out!

Note!

I'm sorry to announce that YABI has been discontinued.

I'd like to thank you all for the support and the great opportunity you gave to enjoy Mac world.

Read More...

Selectable boxes

Tags: cocoa nsbox objective-c radio group selection | unixo | December 15, 2009

If you had ever used iSync, probably you've been asked to resolve a sync conflict at least one time: the panel shown to the user contains two boxes , mutually excluded i.e. you can only choose one of them.

DZSelectableBox is a subclass of NSBox view which emulates this behavior. An instance of this class comes with one more variable member, the box state: when the box is marked as selected, an inner rounded path is drawn inside its bounds; DZSelectableBox honors title position, if it's visible. You can use this class in two different manners:  standalone or as part of a radio group.

Read More...


Alberi Rosso Neri

Tags: ansi C rb red black Software sort sources tree trees University | unixo | June 07, 2009

Continua la serie di progetti sviluppati a scopi didattici per l'Università di Urbino "Carlo Bo".


Specifica del problema

Sia dato un semplice database che rappresenta un elenco di studenti che hanno sostenuto un esame.

Il database è organizzato sotto forma di file di testo su 3 colonne contenenti informazioni relative a (Cognome, Matricola, Voto) come ad esempio:

CognomeMatricolaVoto
Bianchi21221
Rossi12830
Verdi5422

Scrivere un programma ANSI C che acquisisce il database da file, ne effettua un ordinamento in base alla chiave primaria (Cognome) o alle chiavi secondarie (Matricola, Voto) sulla base della scelta dell’utente e produce in uscita il database ordinato. L’ordinamento sulle chiavi secondarie deve conservare l’ordine relativo prodotto dalla chiave primaria.

Read More...

ALU

Tags: adder ALU circuit multiplier shifter tkgate | unixo | June 07, 2009

ALU circuit

In computing, an arithmetic logic unit (ALU) is a digital circuit that performs arithmetic and logical operations. The ALU is a fundamental building block of the central processing unit (CPU) of a computer, and even the simplest microprocessors  contain one for purposes such as maintaining timers.

Read More...

YABI 3.0.9 unlocked and...

Tags: anniversaries anniversary apple birthday birthdays calendar events ical mac macos sync yabi years | unixo | June 05, 2009

Many of you reported that YABI was expired, so I took the decision to unlock this version, even if it's still an alpha version.

Some months ago I found another way to sync our events with iCal, which doesn't need manual operation; I quickly wrote a new version, tested and it seems to be stable and functional, but it misses graphical interface like the previous alpha 9.

This version appears as a preference pane and installs a sync-agent which is automatically alerted by the operative system about changes to your address book.

Read More...



Come aggiornare FreeBSD usando un proxy (ITA)

Tags: cvsup freebsd m3 make update proxy socks tutorial unix | unixo | June 05, 2009

È noto che per aggiornare aggiornare il sistema operativo, i ports e la documentazione, il team di FreeBSD abbia messo a disposizione il cvsup, una delle tante possibili evoluzioni del CVS (Code Versioning System). Fintanto che il nostro sistema ha la possibilità di accedere ad internet direttamente o tramite un NAT, nessun problema: in questo caso sarà sufficiente modificare il file make.conf o direttamente il supfile, per poi proseguire con la normale procedura d'aggiornamento.

Read More...