Agron92

Agron92

(1 commenti, 8 articoli)

Ciao! Mi chiamo Agron,
sono un appassionato di informatica e nel tempo libero a mia disposizione cerco di portare qui i miei appunti appresi su quel che riguarda il mondo dell'informatica e della programmazione. Seguo anche diversi progetti interessanti dove metto in pratica le mie competenze apprese perlopiù mediante l'"auto-learning" utilizzando internet.
Il principio principale su cui si basa questo sito è la filosofia "Open Source", dove viene favorito il libero studio ed uso dei contenuti aperti e modificabili da chiunque a proprio uso, lo stesso mio blog si basa su Wordpress, un fantastico CMS a sorgente aperto.
Per motivi di protezione dei contenuti tutti i post pubblicati sono coperti di licenza CC BY-NC-ND 3.0, mentre le applicazioni sviluppate sotto licenza GPL 3.0.
Se volete seguirmi per imparare nuove cose riguardanti questo blog potete sottoscrivere al Feed RSS, oppure se volete contattarmi potete farlo attraverso il form per l'invio Email.

Buona navigazione. ;)

Articoli di Agron92

Spostare tutti i file e le cartelle da Nautilus

1

Su Ubuntu a volte per una questione di permessi non è possibile spostare file o cartelle dove desideriamo, per farlo è necessiaro avviare con privilegi di amministratore Nautilus, l’esplora risorse di Ubuntu, digitando da terminale:

$ sudo nautilus

Output:

agron-merseli@agron-merseli:~$ sudo nautilus
[sudo] password for agron-merseli: 
Initializing nautilus-gdu extension
Nautilus-Share-Message: Called "net usershare info" but it failed: «net usershare» ha restituito l'errore 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error File o directory non esistente
Please ask your system administrator to enable user sharing.

Una volta chiusa l’ultima finestra di Nautilus la sessione della shell si conclude.

Guida Ubuntu – Comandi Base

0

Introduzione
Questa pagina ha come scopo la presentazione schematica dei comandi base della shell GNU/Linux. Per tale ragione costituisce più un riferimento per l’uso corretto dei comandi che una guida introduttiva alla shell.

Tutti i comandi all’interno di questa pagina devono essere eseguiti dalla riga di comando.
(continua…)

Diventare Root User in Ubuntu

0

Per abilitare la funzione di User Root e diventare un utente amministratore inserire da terminale le seguenti righe:

sudo passwd root

Inserire la password Unix e digitare il comando root

su -

Per disattivare l’User Root

sudo passwd -l root

Output:

agron-merseli@agron-merseli:/$ sudo passwd root
Inserire nuova password UNIX:
Reinserire la nuova password UNIX:
passwd: password aggiornata correttamente
agron-merseli@agron-merseli:/$ su -
Password:
root@agron-merseli:~#
Calc 0.1

Calc 0.1

0
Ho sviluppato questa calcolatrice utilizzando le numerose funzioni di Visual Basic specialmente la Math.

Nome: Calc
Descrizione: Calcolatrice Scentifica
Versione: 0.1
Autore: Agron92
Requisiti: MS Windows e .NET Framework 4.0
Licenza: GPL 3.0
Screenshot:

 

 

 

 

 

 

Sorgente: calc0.1(source) (.txt)

Download: calc0.1(bin) (.zip)

Note:

Questo è solo un inizio in quanto sto sviluppando diversi form con cui si potrà: calcolare le dimensioni di forme geometriche sia a 2 dimensioni sia a 3; convertire la numerazione a base decimale, binaria, esadecimale ecc; rappresentazione grafica di funzioni f(x). Queste novità verranno aggiunte ai prossimi aggiornamenti.

prew

Summer Passion 1.5

0
Tema WordPress caratterizzato da colori estivi e semplicità del codice completamente validato secondo i criteri W3C.

Nome Tema: Summer Passion
Descrizione: WP Theme by Agron92
Versione: 1.5
Autore: Agron92
Tags: fixed width, right sidebar, two columns, valid XHTML 1.0, valid CSS 2.1, widgets, jquery
Validità Sorgente:
Compatibilità: WordPress 3.3.1
Demo: Progetto Giovani Paese
Licenza: GPL 3.0
Screenshot:

 

 

 

 

 

 

Download: Summer Passion 1.5

Migliorie prossima versione: Barra dei menù su 3 livelli scritta in JS utilizzando librerie jQuery, migliorie grafiche sui fogli di stile CSS.

GO0027

Lavalamp Menu 0.1 per phpBB e PortalXL

0

Ho adeguato questo simpatico menu scorrevole scritto in javascript richiamando funzioni della libreria jQuery a phpBB e PortalXL creando questa modifica.

Nome Mod: Lavalamp Menu 0.1
Licenza: GPL v3.0
Autore: Agron92
Requisiti: phpBB 3.0.10 | PortalXl 5.0 Premod
Note: Funziona solo con jQuery versione 1.1 (inclusa nell’upload) nel caso in cui fosse installata una versione diversa di jQuery non è garantito il funzionamento.
Stile supportato: Prosilver o Subsilver2
Demo Board: PortalXlMod
Anteprima:

 

 

 

 

 

 

Upload files:

Javascript
Immagini (Prosilver, Subsilver)

Modifiche phpBB stile Prosilver

Upload file: styles/prosilver/template/jquery.easing.min.js
Upload file: styles/prosilver/template/jquery.lavalamp.js
Upload file: styles/prosilver/template/images/lava.png

Modifiche file: styles/prosilver/template/overall_header.html

Cerca:

</head>

Aggiungi prima:

    <script type="text/javascript" src="{T_TEMPLATE_PATH}/jquery.easing.min.js"></script>
    <script type="text/javascript" src="{T_TEMPLATE_PATH}/jquery.lavalamp.js"></script> 

    <script type="text/javascript">
       $(function() {
          $("#nav").lavaLamp({
             fx: "backout",
             speed: 700,
             click: function(event, menuItem) {
                return true;
             }
          });
       });
    </script> 

Cerca:

<div class="navbar">

Aggiungi prima:

      <!--[if IE]>
      <style type="text/css">
      #nav li.back {
      margin-left: 5px !important;
      }
      </style>
      <![endif]-->
      
        <div class="lavaLamp">
      <span class="corners-top"><span></span></span>
           <ul id="nav">
                <li<!-- IF SCRIPT_NAME eq 'index_forum' or SCRIPT_NAME eq 'viewforum' or SCRIPT_NAME eq 'viewtopic' or SCRIPT_NAME eq 'viewonline' or SCRIPT_NAME eq 'ucp' or SCRIPT_NAME eq 'mcp' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_INDEX}"><span>{L_INDEX}</span></a></li>
                <!-- IF S_DISPLAY_SEARCH --><li<!-- IF SCRIPT_NAME eq 'search' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_SEARCH}"><span>{L_SEARCH}</span></a></li><!-- ENDIF -->
                <!-- IF S_DISPLAY_MEMBERLIST --><li<!-- IF SCRIPT_NAME eq 'memberlist' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_MEMBERLIST}"><span>{L_MEMBERLIST}</span></a></li><!-- ENDIF -->
           </ul>
      <span class="corners-bottom"><span></span></span>
        </div>

Modifiche file: styles/prosilver/theme/common.css

Aggiungi infine:

/* --- Lavalamp Menu 0.1 by Agron92 --- */

.lavaLamp {
   height: 30px;
   overflow: hidden;
   padding: 0 5px;
   position: relative;
   background-color: #CADCEB;
   margin: 0 0 4px;
   z-index: 0;
}

.lavaLamp ul {
   height: 20px;
   list-style: none outside none;
   z-index: 1;
}

.lavaLamp li:first-child {
   margin-left: 10px;
}

.lavaLamp li {
   float: left;
   list-style: none outside none;
   margin: 4px 0 0 0;
   z-index: -3;
}

#nav li.back {
   background: url("{T_TEMPLATE_PATH}/images/lava.png") no-repeat scroll right -24px transparent;
   height: 24px;
   bottom: 3px;
   position: absolute;
   z-index: -4;
}

#nav li.back .left {
   background: url("{T_TEMPLATE_PATH}/images/lava.png") no-repeat scroll left top transparent;
   height: 24px;
   margin-right: 5px;
}

.lavaLamp li a {
   font-weight: bold;
   padding: 5px 13px;
   margin: 0;
}

.lavaLamp li a:hover {
   color: #FFFFFF;
}

.lavaLampCurrent a span {
   color: #FFFFFF;
   text-decoration: underline;
}

Svuota da ACP la cache: Stile/Prosilver/Template
Svuota da ACP la cache: Stile/Prosilver/Tema

Modifiche phpBB stile Subsilver2

Upload file: styles/subsilver2/template/jquery.lavalamp.js
Upload file: styles/subsilver2/template/jquery.easing.min.js
Upload file: styles/subsilver2/theme/images/lava.png

Modifiche file: styles/subsilver2/template/overall_header.html

Cerca:

</head>

Aggiungi prima:

    <script type="text/javascript" src="{T_TEMPLATE_PATH}/jquery.easing.min.js"></script>
    <script type="text/javascript" src="{T_TEMPLATE_PATH}/jquery.lavalamp.js"></script>

    <script type="text/javascript">
       $(function() {
         $("#nav").lavaLamp({
           fx: "backout",
           speed: 700,
           click: function(event, menuItem) {
             return true;
           }
         });
       });
    </script>

Cerca:

<div id="menubar">

Aggiungi dopo:

          <table class="tableLavaLamp" cellspacing="0" cellpadding="0" width="100%" align="center">
          <tr>
          <td class="row1" width="20%" align="left"></td>
          <td class="row1" width="60%" align="center">
              <!--[if IE]>
              <style type="text/css">
              #nav li.back {
              margin-left: 5px !important;
              }
              </style>
              <![endif]-->
             
              <div class="lavaLamp">
                   <ul id="nav">
                        <li<!-- IF SCRIPT_NAME eq 'index_forum' or SCRIPT_NAME eq 'viewforum' or SCRIPT_NAME eq 'viewtopic' or SCRIPT_NAME eq 'viewonline' or SCRIPT_NAME eq 'ucp' or SCRIPT_NAME eq 'mcp' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_INDEX}"><span>{L_INDEX}</span></a></li>
                        <!-- IF S_DISPLAY_SEARCH --><li<!-- IF SCRIPT_NAME eq 'search' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_SEARCH}"><span>{L_SEARCH}</span></a></li><!-- ENDIF -->
                        <!-- IF S_DISPLAY_MEMBERLIST --><li<!-- IF SCRIPT_NAME eq 'memberlist' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_MEMBERLIST}"><span>{L_MEMBERLIST}</span></a></li><!-- ENDIF -->
                   </ul>
                </div>
          </td>
          <td class="row1" width="20%" align="right"></td>
          </tr>
          </table>

Modifiche file: styles/subsilver2/theme/stylesheet.css

Aggiungi infine:

    /* --- Lavalamp Menu 0.1 by Agron92 --- */

    .tableLavaLamp {
       margin-bottom: 0px;
       margin-top: 3px;
       border: 1px solid #a9b8c2;
       background-color: #ececec;
    }

    .lavaLamp {
       height: 30px;
       overflow: hidden;
       position: relative;
       z-index: 0;
       width: 820px;
    }

    .lavaLamp ul {
       height: 20px;
       list-style: none outside none;
       z-index: 1;
    }

    .lavaLamp li:first-child {
       margin-left: 10px;
    }

    .lavaLamp li {
       float: left;
       list-style: none outside none;
       margin: 8px 0 0 0;
       z-index: -3;
    }

    #nav li.back {
       background: url("./images/lava.png") no-repeat scroll right -24px transparent;
       height: 24px;
       bottom: 3px;
       position: absolute;
       z-index: -4;
    }

    #nav li.back .left {
       background: url("./images/lava.png") no-repeat scroll left top transparent;
       height: 24px;
       margin-right: 5px;
    }

    .lavaLamp li a {
       font-family: Arial,Helvetica,sans-serif;
       font-size: 11px;
       font-weight: bold;
       padding: 5px 10px;
       margin: 0;
    }

    .lavaLamp li a:hover {
       text-decoration: none;
    }

    .lavaLampCurrent a span {
       text-decoration: underline;
    }
Modifiche PortalXl 5.0 Premod (phpBB 3.0.10) stile Prosilver

Upload file: styles/prosilver/template/portal/src/jquery.easing.min.js
Upload file: styles/prosilver/template/portal/src/jquery.lavalamp.js
Upload file: styles/prosilver/template/portal/src/images/lava.png

Modifiche file: styles/prosilver/template/overall_header.html

Cerca:

</head>

Aggiungi Prima:

    <script type="text/javascript" src="{T_TEMPLATE_PATH}/portal/src/jquery.easing.min.js"></script>
    <script type="text/javascript" src="{T_TEMPLATE_PATH}/portal/src/jquery.lavalamp.js"></script> 

    <script type="text/javascript">
       $(function() {
          $("#nav").lavaLamp({
             fx: "backout",
             speed: 700,
             click: function(event, menuItem) {
                return true;
             }
          });
       });
    </script> 

Cerca:

        <div id="tabs" style="margin-top: 0px;">
           <ul>
                <!-- IF PORTAL --><li<!-- IF $PORTALXL == 'portal' or $PORTALXL == 'portal_pages' --> class="activetab"<!-- ENDIF -->><a href="{U_PORTAL}" title="{L_PORTAL}"><span>{L_PORTAL}</span></a></li><!-- ENDIF -->
                <li<!-- IF $PORTALXL == 'index_forum' or SCRIPT_NAME eq 'viewforum' or SCRIPT_NAME eq 'viewtopic' or SCRIPT_NAME eq 'viewonline' or SCRIPT_NAME eq 'ucp' or SCRIPT_NAME eq 'mcp' --> class="activetab"<!-- ENDIF -->><a href="{U_INDEX}" title="{L_INDEX}"><span>{L_FORUM}</span></a></li>
                <li<!-- IF SCRIPT_NAME eq 'portal_recent_topics' --> class="activetab"<!-- ENDIF -->><a href="{U_PORTAL_RECENT_TOPICS}" title="{L_RECENT_TOPICS}"><span>{L_RECENT_TOPICS}</span></a></li>
                <!-- IF S_DISPLAY_SEARCH --><li<!-- IF SCRIPT_NAME eq 'search' --> class="activetab"<!-- ENDIF -->><a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}"><span>{L_SEARCH}</span></a></li><!-- ENDIF -->
                <!-- IF S_DISPLAY_MEMBERLIST --><li<!-- IF SCRIPT_NAME eq 'memberlist' --> class="activetab"<!-- ENDIF -->><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}"><span>{L_MEMBERLIST}</span></a></li><!-- ENDIF -->
                <!-- IF S_SHOW_DL_LINK --><li<!-- IF SCRIPT_NAME eq 'downloads' --> class="activetab"<!-- ENDIF -->><a href="{U_DOWNLOADS}" title="{L_DOWNLOADS}"><span>{L_DOWNLOADS}</span></a></li><!-- ENDIF -->
                <li<!-- IF $PORTALXL == 'knowledgebase' --> class="activetab"<!-- ENDIF -->><a href="{U_KB}" title="{L_KB_EXPLAIN}"><span>{L_KB}</span></a></li>
                <li<!-- IF SCRIPT_NAME eq 'calendar' or SCRIPT_NAME eq 'calendarpost' --> class="activetab"<!-- ENDIF -->><a href="{U_CALENDAR}" title="{L_CALENDAR}"><span>{L_CALENDAR}</span></a></li>
                <li<!-- IF $PORTALXL == 'index_gallery' --> class="activetab"<!-- ENDIF -->><a href="{U_GALLERY_MOD}" title="{L_GALLERY_EXPLAIN}"><span>{L_GALLERY}</span></a></li>
                <li<!-- IF $PORTALXL == 'arcade' --> class="activetab"<!-- ENDIF -->><a href="{U_ARCADE}" title="{L_ARCADE_EXPLAIN}"><span>{L_ARCADE}</span></a></li>
                <!-- IF S_SHOW_VIDEO --><li<!-- IF $PORTALXL == 'dm_video' --> class="activetab"<!-- ENDIF -->><a href="{U_DMV_VIDEO}" title="{L_DMV_VIDEO}"><span>{L_DMV_VIDEO}</span></a></li><!-- ENDIF -->
                <!-- IF S_SHOW_MUSIC_CHARTS --><li<!-- IF $PORTALXL == 'dm_music_charts' --> class="activetab"<!-- ENDIF -->><a href="{U_DM_MUSIC_CHARTS}" title="{L_DM_MUSIC_CHARTS}"><span>{L_DM_MUSIC_CHARTS}</span></a></li><!-- ENDIF -->
           </ul>
        </div>

Sostituisci con:

<!--[if IE]>
<style type="text/css">
#nav li.back {
margin-left: 5px !important;
}
</style>
<![endif]-->
      
    <div class="lavaLamp">
        <span class="corners-top"><span></span></span>
            <ul id="nav">
                <!-- IF PORTAL --><li<!-- IF $PORTALXL == 'portal' or $PORTALXL == 'portal_pages' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_PORTAL}" title="{L_PORTAL}"><span>{L_PORTAL}</span></a></li><!-- ENDIF -->
                <li<!-- IF $PORTALXL == 'index_forum' or SCRIPT_NAME eq 'viewforum' or SCRIPT_NAME eq 'viewtopic' or SCRIPT_NAME eq 'viewonline' or SCRIPT_NAME eq 'ucp' or SCRIPT_NAME eq 'mcp' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_INDEX}" title="{L_INDEX}"><span>{L_FORUM}</span></a></li>
                <li<!-- IF SCRIPT_NAME eq 'portal_recent_topics' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_PORTAL_RECENT_TOPICS}" title="{L_RECENT_TOPICS}"><span>{L_RECENT_TOPICS}</span></a></li>
                <!-- IF S_DISPLAY_SEARCH --><li<!-- IF SCRIPT_NAME eq 'search' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}"><span>{L_SEARCH}</span></a></li><!-- ENDIF -->
                <!-- IF S_DISPLAY_MEMBERLIST --><li<!-- IF SCRIPT_NAME eq 'memberlist' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}"><span>{L_MEMBERLIST}</span></a></li><!-- ENDIF -->
                <!-- IF S_SHOW_DL_LINK --><li<!-- IF SCRIPT_NAME eq 'downloads' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_DOWNLOADS}" title="{L_DOWNLOADS}"><span>{L_DOWNLOADS}</span></a></li><!-- ENDIF -->
                <li<!-- IF $PORTALXL == 'knowledgebase' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_KB}" title="{L_KB_EXPLAIN}"><span>{L_KB}</span></a></li>
                <li<!-- IF SCRIPT_NAME eq 'calendar' or SCRIPT_NAME eq 'calendarpost' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_CALENDAR}" title="{L_CALENDAR}"><span>{L_CALENDAR}</span></a></li>
                <li<!-- IF $PORTALXL == 'index_gallery' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_GALLERY_MOD}" title="{L_GALLERY_EXPLAIN}"><span>{L_GALLERY}</span></a></li>
                <li<!-- IF $PORTALXL == 'arcade' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_ARCADE}" title="{L_ARCADE_EXPLAIN}"><span>{L_ARCADE}</span></a></li>
                <!-- IF S_SHOW_VIDEO --><li<!-- IF $PORTALXL == 'dm_video' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_DMV_VIDEO}" title="{L_DMV_VIDEO}"><span>{L_DMV_VIDEO}</span></a></li><!-- ENDIF -->
                <!-- IF S_SHOW_MUSIC_CHARTS --><li<!-- IF $PORTALXL == 'dm_music_charts' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_DM_MUSIC_CHARTS}" title="{L_DM_MUSIC_CHARTS}"><span>{L_DM_MUSIC_CHARTS}</span></a></li><!-- ENDIF -->
           </ul>
        <span class="corners-bottom"><span></span></span>
    </div>

Modifiche file: styles/prosilver/theme/common.css

Aggiungi infine:

    /* --- Lavalamp Menu 0.1 by Agron92 --- */

    .lavaLamp {
       height: 30px;
       overflow: hidden;
       padding: 0 5px;
       position: relative;
       background-color: #CADCEB;
       margin: 0 0 4px;
       z-index: 0;
    }

    .lavaLamp ul {
       height: 20px;
       list-style: none outside none;
       z-index: 1;
    }

    .lavaLamp li:first-child {
       margin-left: 10px;
    }

    .lavaLamp li {
       float: left;
       list-style: none outside none;
       margin: 4px 0 0 0;
       z-index: -3;
    }

    #nav li.back {
       background: url("{T_TEMPLATE_PATH}/portal/src/images/lava.png") no-repeat scroll right -24px transparent;
       height: 24px;
       bottom: 3px;
       position: absolute;
       z-index: -4;
    }

    #nav li.back .left {
       background: url("{T_TEMPLATE_PATH}/portal/src/images/lava.png") no-repeat scroll left top transparent;
       height: 24px;
       margin-right: 5px;
    }

    .lavaLamp li a {
       font-weight: bold;
       padding: 5px 13px;
       margin: 0;
    }

    .lavaLamp li a:hover {
       color: #FFFFFF;
    }

    .lavaLampCurrent a span {
       color: #FFFFFF;
       text-decoration: underline;
    }

Svuota da ACP la cache: Stile/Prosilver/Template
Svuota da ACP la cache: Stile/Prosilver/Tema

Modifiche PortalXl 5.0 Premod (phpBB 3.0.10) stile Subsilver2

Upload file: styles/subsilver2/template/portal/src/jquery.lavalamp.js
Upload file: styles/subsilver2/template/portal/src/jquery.easing.min.js
Upload file: styles/subsilver2/theme/images/lava.png

Modifiche file: styles/prosilver/template/overall_header.html

Cerca:

</head>

Aggiungi prima:

    <script type="text/javascript" src="{T_TEMPLATE_PATH}/portal/src/jquery.easing.min.js"></script>
    <script type="text/javascript" src="{T_TEMPLATE_PATH}/portal/src/jquery.lavalamp.js"></script>

    <script type="text/javascript">
       $(function() {
         $("#nav").lavaLamp({
           fx: "backout",
           speed: 700,
           click: function(event, menuItem) {
             return true;
           }
         });
       });
    </script>

Cerca:

       <div id="menubar">
          <table width="100%" cellspacing="0">
          <tr>
             <td class="genmed"><!-- INCLUDE navigation_menu.html --></td>
          </tr>
          </table>

Aggiungi dopo:

	      <table class="tableLavaLamp" cellspacing="0" cellpadding="0" width="100%" align="center">
          <tr>
          <td class="row1" width="20%" align="left"></td>
          <td class="row1" width="60%" align="center">
              <!--[if IE]>
              <style type="text/css">
              #nav li.back {
              margin-left: 5px !important;
              }
              </style>
              <![endif]-->
             
              <div class="lavaLamp">
              <ul id="nav">
                <!-- IF PORTAL --><li<!-- IF $PORTALXL == 'portal' or $PORTALXL == 'portal_pages' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_PORTAL}" title="{L_PORTAL}"><span>{L_PORTAL}</span></a></li><!-- ENDIF -->
                <li<!-- IF $PORTALXL == 'index_forum' or SCRIPT_NAME eq 'viewforum' or SCRIPT_NAME eq 'viewtopic' or SCRIPT_NAME eq 'viewonline' or SCRIPT_NAME eq 'ucp' or SCRIPT_NAME eq 'mcp' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_INDEX}" title="{L_INDEX}"><span>{L_FORUM}</span></a></li>
                <li<!-- IF SCRIPT_NAME eq 'portal_recent_topics' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_PORTAL_RECENT_TOPICS}" title="{L_RECENT_TOPICS}"><span>{L_RECENT_TOPICS}</span></a></li>
                <!-- IF S_DISPLAY_SEARCH --><li<!-- IF SCRIPT_NAME eq 'search' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}"><span>{L_SEARCH}</span></a></li><!-- ENDIF -->
                <!-- IF S_DISPLAY_MEMBERLIST --><li<!-- IF SCRIPT_NAME eq 'memberlist' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}"><span>{L_MEMBERLIST}</span></a></li><!-- ENDIF -->
                <!-- IF S_SHOW_DL_LINK --><li<!-- IF SCRIPT_NAME eq 'downloads' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_DOWNLOADS}" title="{L_DOWNLOADS}"><span>{L_DOWNLOADS}</span></a></li><!-- ENDIF -->
                <li<!-- IF $PORTALXL == 'knowledgebase' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_KB}" title="{L_KB_EXPLAIN}"><span>{L_KB}</span></a></li>
                <li<!-- IF SCRIPT_NAME eq 'calendar' or SCRIPT_NAME eq 'calendarpost' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_CALENDAR}" title="{L_CALENDAR}"><span>{L_CALENDAR}</span></a></li>
                <li<!-- IF $PORTALXL == 'index_gallery' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_GALLERY_MOD}" title="{L_GALLERY_EXPLAIN}"><span>{L_GALLERY}</span></a></li>
                <li<!-- IF $PORTALXL == 'arcade' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_ARCADE}" title="{L_ARCADE_EXPLAIN}"><span>{L_ARCADE}</span></a></li>
                <!-- IF S_SHOW_VIDEO --><li<!-- IF $PORTALXL == 'dm_video' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_DMV_VIDEO}" title="{L_DMV_VIDEO}"><span>{L_DMV_VIDEO}</span></a></li><!-- ENDIF -->
                <!-- IF S_SHOW_MUSIC_CHARTS --><li<!-- IF $PORTALXL == 'dm_music_charts' --> class="lavaLampCurrent"<!-- ENDIF -->><a href="{U_DM_MUSIC_CHARTS}" title="{L_DM_MUSIC_CHARTS}"><span>{L_DM_MUSIC_CHARTS}</span></a></li><!-- ENDIF -->
              </ul>
              </div>
          </td>
          <td class="row1" width="20%" align="right"></td>
          </tr>
          </table>

Modifiche file: styles/subsilver2/theme/portal_adds.css

Aggiungi infine:

    /* --- Lavalamp Menu 0.1 by Agron92 --- */

    .tableLavaLamp {
       margin-bottom: -25px;
       margin-top: 3px;
       border: 1px solid #a9b8c2;
       background-color: #ececec;
    }

    .lavaLamp {
       height: 30px;
       overflow: hidden;
       position: relative;
       z-index: 0;
       width: 820px;
    }

    .lavaLamp ul {
       height: 20px;
       list-style: none outside none;
       z-index: 1;
    }

    .lavaLamp li:first-child {
       margin-left: 10px;
    }

    .lavaLamp li {
       float: left;
       list-style: none outside none;
       margin: 8px 0 0 0;
       z-index: -3;
    }

    #nav li.back {
       background: url("./images/lava.png") no-repeat scroll right -24px transparent;
       height: 24px;
       bottom: 3px;
       position: absolute;
       z-index: -4;
    }

    #nav li.back .left {
       background: url("./images/lava.png") no-repeat scroll left top transparent;
       height: 24px;
       margin-right: 5px;
    }

    .lavaLamp li a {
       font-family: Arial,Helvetica,sans-serif;
       font-size: 11px;
       font-weight: bold;
       padding: 5px 10px;
       margin: 0;
    }

    .lavaLamp li a:hover {
       text-decoration: none;
    }

    .lavaLampCurrent a span {
       text-decoration: underline;
    }
ubuntu-logo

Configurazione connessione internet con Ubuntu

0

Per configurare Ubuntu per una connessione internet connessione ADSL tramite protocollo PPPoE, come richiesto da alcuni modem ethernet ADSL è necessario digitare da terminale:

sudo pppoeconf

Apparirà una schermata che ci guiderà nella scelta della scheda ethernet, nell’inserimento di nome e password per accedere e in altre impostazioni che è consigliabile lasciare predefinite.

 

 

 

 

 

 

Per attivare manualmente la connessione ad internet:

pon dsl-provider

Per disattivare la connessione:

poff dsl-provider
cronotime-1-0

CronoTime 1.0

0

Programma sviluppato in Visual Basic che fa da orologio, calendario, cronometro e salvatempi.

Caratteristiche:

  • Possibilità di modificare la data e l’ora desiderata utilizzando anche quella del sistema.
  • Possibilità di utilizzare l’orologio a 12 o 24 ore.
  • Memorizzazione dei tempi in “records” con il possibile salvataggio del file di configurazione, per un successivo riutilizzo.
  • Criptazione dei dati salvati in MD5, in modo da non poter modificare i records successivamente.
  • Modifiche allo stile dell’orologio (lancette e numeri) con la possibilità di poter visualizzare solo il “Clock”.

Licenza: 

Screenshot:

Screenshot

 

 

 

 

 

 

 

 

 

 

 

 

CronoTime 1.0 (source)

Agron92's RSS Feed
Torna all'inizio