30 ott 2015

gmail - facciamo pulizia dei messaggi con attach enormi

Ciao!
Gmail ha uno spazio limitato e gli attuali 15 GB potrebbero iniziare a stare stretti, soprattutto se si usano anche altri servizi che "consumato" GB come Drive e documenti.
Da GMail non è possibile ordinare i messaggi per dimensione ma abbiamo un workaround fornito da google stesso.

Google ha un servizio di programmazione col quale si possono far cose carine script.google.com

Tra gli esempi, quindi pronto da eseguire, c'è questo che permette di creare su uno sheet-foglio l'elenco delle mail con la dimensione degli allegati.

Quindi basta seguire le indicazioni qui riportate
How to Sort Gmail Messages by Size



e poi dal foglio creato avremo i messaggi con attach grossi.

Un ulteriore step può essere quello di spostare gli attach su Drive
How to Save your Gmail to Google Drive Automatically

Poi da drive possiamo "sincronizzare" i file sul pc e salvarli altrove in maniera massiva.

il tutto per salvare un po' di spazio e magari per i più "Nerd" modificare a piacimento gli script

 




22 apr 2015

Do you remember - to remove- sflight table?

I found the declaration of table sflight in a custom abap program on production system

06 feb 2015

Abap for goats. How to delete all values in table.


There is the following code into custom Abap...
How to think to complicate the code in this mode?


   DELETE FROM ZBWIMP WHERE ZYIMNR SPACE.
   DELETE FROM ZBWIMP WHERE ZYIMNR <> SPACE.
   COMMIT WORK.

13 ago 2014

upgrade OS.. Centos 7

In the wasted time I finally installed last Centos OS

I used the usb support in order to install. The upgrade from previous version isn't possible: I have installed the 5.x version.
New fresh installation from USB device was necessary.. and before a full backup of my personal-server.
It was very difficult the installation because error "/dev/root not exist.. like this
topic

# cat /etc/centos-release
CentOS Linux release 7.0.1406 (Core)


02 ago 2014

Debian 7 "Wheezy" & Oracle Java


the easy way: the debian way

In more cases the icedtea plugin is a good solution in order to run java applet in your browser
Sometimes doesn't work, as example with fineco bank, a italian online service.
Sometimes the last version of icedtea-plugin is not up to date; now last version of  oracle java is 8.


One easy way to install it, it's explain in the debian's wiki: https://wiki.debian.org/Java/Sun

3 steps:
- download last tar.gz (32 or 64 bit) of java jre
- make a debian package with make-jpkg
- install the .deb package created with dpkg -i

unfortunately when new version of java is released, you must be re-create the deb package, but it takes only 5 minutes

Happy good applets ;)

18 apr 2014

ruby and apt-listbugs, how to solve some bugs

Sometimes in debian, when ruby package change, apt-listbugs blocks the updates of aptitude
to solve sometimes is possible disable apt-listbugs, update the debian system and after enable apt-listbugs .

as root
#mv /etc/apt/apt.conf.d/10apt-listbugs /root/

after update
#aptitude update; aptitude -y safe-upgrade

if the update is ok

#mv /root/10apt-listbugs /etc/apt/apt.conf.d/

that's all

Some bugs resolved
 #721583 [apt-listbugs] ruby-gettext has undefined method, all package actions fail
 #735116 apt-listbugs: […]/debian.rb:24:in `require': no such file to load -- debian_version (LoadError)
#744754: apt-listbugs: Bug with Ruby, crashes aptitude