open-menu closeme
Home
RetroComp icon
Retro Computing Articles Composition Notebooks 8bit
DevOps icon
Automation K8s Done Right
GenAI icon
Fatlama Newsletter Generative AI
Projects icon
Software Projects Arduino Misterio Esp8266 SQLite
Status
Links icon
GitHub LinkedIn
About
github linkedin rss
  • Il vorrei ma non posso di Rutelli

    calendar May 11, 2007 · 2 min read
     blog-objectsrootcom it  · politica
     ·
    Share on: twitter facebook linkedin copy
    Il vorrei ma non posso di Rutelli

    Francesco Rutelli ha  dichiarato che "se fosse stato un semplice deputato, andrebbe al family day". Questa dichiarazione e' a mio avviso penosa e un po' ipocrita.
    Premetto che sono a favore dei D.i.c.o., anche nella forma piu' blanda proposta dal governo, e che patti del genere sono gia' presenti nel resto dell'Europa da tempo.


    Read More
  • Jonny Jella podcast

    calendar Apr 24, 2007 · 2 min read
     blog-objectsrootcom it  · ant api car email italia rim storia test ui vi
     ·
    Share on: twitter facebook linkedin copy
    Jonny Jella podcast

    Come disse un famoso giudice "Il fatto che non se ne parli, non vuol dire che il pizzo sulle arachidi non esista". Per cui, nel giorno del mio trentatreesimo compleanno ho deciso di impegnarmi a fondo in uno scopo sociale e di denuncia.
    Sono perciò lieto di presentare il


    Read More
  • Blue Dragon: Spam Killer

    calendar Apr 20, 2007 · 1 min read
     blog-objectsrootcom en software  · ant fini giovanni google hard simple smart spam test ui vi war
     ·
    Share on: twitter facebook linkedin copy
    Blue Dragon: Spam Killer

    Hi dear spammers!

    I have just finished tuning the latest version of my anti spam-blogging-software, and all the spam have been removed. I am glad to see you loosing your time tring to get some poor bucks from your bogous activity. I hope do you click on my google adverties sometimes, as true friends of mine?


    Read More
  • Advanced Bash Scripting

    calendar Apr 17, 2007 · 1 min read
     blog-objectsrootcom en software  · again arc example good google http opinion script scripting search simple small war
     ·
    Share on: twitter facebook linkedin copy
    Advanced Bash Scripting

    Is it amazing things you can do with a simple Bourne Again Shell  (bash).


    Read More
  • Java Session Fancy Printing

    calendar Mar 27, 2007 · 2 min read
     blog-objectsrootcom en  · http java list sage
     ·
    Share on: twitter facebook linkedin copy
    Java Session Fancy Printing

        public static final String convertToString(HttpServletRequest request) {
            StringBuffer msg = new StringBuffer();
            try {

                msg.append("*RequestURI:" + request.getRequestURI() + "\n");
                msg.append("*ContentType:" + request.getContentType() + "\n");

                msg.append("== Request Header\n");
                Enumeration headers = request.getHeaderNames();
                while (headers.hasMoreElements()) {
                    String headerName = "" + headers.nextElement();
                    msg.append(headerName + ":" + request.getHeader(headerName) + "\n");
                }
                msg.append("\n");
                
                Enumeration attr = request.getParameterNames();          
                
                ArrayList l = new ArrayList();
                String att;
                while (attr.hasMoreElements()) {
                    att = (String) attr.nextElement();
                    l.add(att + " -> " + request.getParameter(att));
                }
                
                msg.append("=== Request ( " + l.size() + " ) ===\n");
                Object a[] = l.toArray();
                Arrays.sort(a);
                for (int i = 0; i < a.length; i++) {
                    msg.append((String) a[i]);
                    msg.append("\n");
                }
                msg.append("===   ===   ===\n");
                
                // Process the Session
                HttpSession session = request.getSession();
                // msg.append("\n");
                
                Enumeration e = session.getAttributeNames();
                
                TreeMap t = new TreeMap();
                String k;
                while (e.hasMoreElements()) {
                    k = (String) e.nextElement();
                    Object oggetto;
                    try {
                        oggetto = session.getAttribute(k);
                    } catch (Throwable notSerializableException) {
                        oggetto = "NON DESERIALIZZABILE. Chiave:" + k;
                        
                    }
                    t.put(k, oggetto);
                }
                            
                Object orderedKeys[] = t.keySet().toArray();
                msg.append("=== Session  ( " + orderedKeys.length + " " + (usertempz != null ? "+ 1UT" : " NO UT!") + " )===\n");
                Object elem;

                for (int i = 0; i < orderedKeys.length; i++) {
                    elem = t.get(orderedKeys[i]);
                    msg.append(orderedKeys[i]);

                    msg.append("\t-> ");
                    if (elem != null) {
                        nicePrintSessionObj(msg, elem);
                    } else {
                        msg.append("null");
                    }
                    msg.append("\n");
                }
                return msg.toString();
            } catch (RuntimeException e) {
                return msg + "\nERR: Cannot print session/request!!" + e.getMessage();
            }
        }


    Read More
    • ««
    • «
    • 186
    • 187
    • 188
    • 189
    • 190
    • »
    • »»

Recent Posts

  • FatLama: Open?
  • Misterio Is Back
  • Netflix retro weird spirit
  • Yakuza Blues
  • FreeBSD on MacBook Mid 2009 with BroadCom WIFI
  • 6,76%
  • Il tizio con il cappello che crede di comandare il mondo intero

Categories

EN 487 IT 475 KNOWLEDGEBASE 186 SOFTWARE 178
All Categories
ADVERTISEMENT2 AUTOMATION5 BLOG-OBJECTSROOTCOM88 BOOKS3 COVID1919 DEVOPS29 EGGBOX4 EN487 ERLANG14 ESP82666 EVERGREEN4 FEATURED92 FLASH1 FREEDOM8 GENERATIVEAI4 HOMELAB1 HUMOR82 INTERVISTE2 IT475 JAVA3 JAVASCRIPT1 K8S-DONE-RIGHT3 KNOWLEDGEBASE186 LANG30 LETTERE-A-MIA-FIGLIA28 LETTERE-A-MIO-FIGLIO38 LIBRI3 NEWS3 ORG-MODE-PARSER9 PROJECTS8 PYTHON18 RACCONTI5 RECENSIONI17 RETRO-COMPUTING35 REVIEWS11 SITE12 SOFTWARE178 SOFTWARE-PROJECTS14 SQL27 UNCATEGORIZED1 UNIX-FEATURED7
[A~Z][0~9]

Series

ARDUINO 24 PROGRAMMING_LANGUAGES 7 RISPARMIO 5 FREEDOM 4
All Series
ARDUINO24 FATLAMA2 FREEDOM4 HOMELAB1 POLITICA3 PROGRAMMING_LANGUAGES7 RISPARMIO5
[A~Z][0~9]

Latest comments

    Giovanni Giorgi

    Copyright 1999-  GIOVANNI GIORGI. All Rights Reserved

    to-top