Categorie
Informatica

TV Box Android come server

Supponendo di avere uno tv box android con root abilitato, ecco le applicazioni che possono essere utili come applicazioni server. (testate su Android 6.0)

  1. FTP Server: FTPDroid
    • accesso possibile come root a tutto il filesystem
    • autenticazione configurabile
    • avvio automatico
    • intervallo porte passive configurabile
  2. Torrent Server: tTorrent
    • controllabile da remoto tramite interfaccia web con autenticazione
    • avvio automatico
  3. SSH Server: SSH Server di Ice Cold Apps
    • accesso come root
    • autenticazione configurabile
    • avvio automatico
  4. DDNS updater: Dynamic DNS Update di Ice Cold Apps
    • avvio automatico possibile, ma non correttamente funzionante, avviabile tramite AutomateIT impostato a 30 secondi dall’avvio
  5. Avvio automatico: AutomateIT configurabile per avviare automaticamente applicazioni che non hanno l’opzione di avvio automatico
Categorie
Information and Communications Technology

Xenserver 7.0 API PowerShell Backup Running VMs

The script backups one or more virtual machines on one or more Xenserver hosts. The configuration of virtual machine to backup is read from an xml file.
This is the gist on github:
https://gist.github.com/nikiink/cdc687d1bbe227e5cfa3e5759c7f7214

## EQUIVALENT BASH SCRIPT:
## SNAPUUID=`xe vm-snapshot uuid=$VMUUID new-name-label="SNAPSHOT-$VMUUID-$DATE"`
## xe template-param-set is-a-template=false ha-always-run=false uuid=${SNAPUUID}
## xe vm-export vm=${SNAPUUID} filename="$BACKUPPATH/$VMNAME-$DATE.xva"
## xe vm-uninstall uuid=${SNAPUUID} force=true
Import-Module XenServerPSModule
Connect-XenServer -url https://$XENHOST $XENUSER $XENPASSWORD
#Create temporary snapshot for hot backup (choose unique name for snapshot)
Invoke-XenVM -Name "Xenial Test" -XenAction Snapshot -NewName "Xenial Test Snapshot"
$snapshot = Get-XenVM -Name "Xenial Test Snapshot"
#Set is-a-template and ha-always-run to false
Set-XenVM -Uuid $snapshot.uuid -IsATemplate $false -HaAlwaysRun $false
#Export snapshot (path is on the server where this script runs)
Export-XenVM -Uuid $snapshot.uuid -XenHost $XENHOST -Path 'C:\Users\Administrator\Documents\Xenial Test.xva'
#Destroy Snapshot
Remove-XenVM -Uuid $snapshot.uuid
Disconnect-XenServer
Categorie
Information and Communications Technology

Windows Update Automatic Download, Install, Reboot and repeat (reboot and recall)

With this scheduled task you can install all windows updates without user intervention. The reboot is automatic until all updates are installed.
Download the three files on the following gist. The files must be copied in the folder C:\WUA:

  • C:\WUA\WUA_SearchDownloadInstall.vbs
  • C:\WUA\WUA_SearchDownloadInstall.bat
  • C:\WUA\WUA_SearchDownloadInstall.xml

After copying these three files open the task scheduler and import the WUA_SearchDownloadInstall.xml file. At the next reboot the task will start the update process and will reboot the pc many times until all updates are installed.
IMPORTANT: Remember to disable or delete the task when finished.
https://gist.github.com/nikiink/87b6f735b82165f089bd85b615435a01

Categorie
Information and Communications Technology

Windows 7 Recovering RegBack Scheduled Task

If you want to recover the task that backups the registry of windows 7. You must import this file in the Task Scheduler (save as xml and import):

<Task xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
 <RegistrationInfo>
 <Author>$(@%systemroot%\system32\regidle.dll,-600)</Author>
 <Version>1.0</Version>
 <Source>$(@%systemroot%\system32\regidle.dll,-601)</Source>
 <URI>Microsoft\Windows\Registry\RegIdleBackup</URI>
 <Description>$(@%systemroot%\system32\regidle.dll,-602)</Description>
 <SecurityDescriptor>O:BAG:BAD:P(A;;FA;;;BA)(A;;FA;;;SY)(A;;FR;;;IU)(A;;FRFX;;;S-1-5-80-2970612574-78537857-698502321-558674196-1451644582)</SecurityDescriptor>
 </RegistrationInfo>
 <Triggers>
 <CalendarTrigger>
 <StartBoundary>2008-01-01T00:00:00</StartBoundary>
 <ScheduleByDay>
 <DaysInterval>10</DaysInterval>
 </ScheduleByDay>
 <RandomDelay>PT1H</RandomDelay>
 </CalendarTrigger>
 </Triggers>
 <Settings>
 <Enabled>true</Enabled>
 <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
 <AllowStartOnDemand>false</AllowStartOnDemand>
 <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
 <StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
 <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
 <ExecutionTimeLimit>PT0S</ExecutionTimeLimit>
 <Hidden>true</Hidden>
 <WakeToRun>false</WakeToRun>
 <StartWhenAvailable>true</StartWhenAvailable>
 <Priority>5</Priority>
 <RunOnlyIfIdle>true</RunOnlyIfIdle>
 <UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine>
 <IdleSettings>
 <Duration>PT3M</Duration>
 <WaitTimeout>PT23H</WaitTimeout>
 <StopOnIdleEnd>true</StopOnIdleEnd>
 <RestartOnIdle>true</RestartOnIdle>
 </IdleSettings>
 </Settings>
 <Principals>
 <Principal id="LocalSystem">
 <UserId>S-1-5-18</UserId>
 </Principal>
 </Principals>
 <Actions Context="LocalSystem ">
 <ComHandler>
 <ClassId>{ca767aa8-9157-4604-b64b-40747123d5f2}</ClassId>
 </ComHandler>
 </Actions>
</Task>
Categorie
Information and Communications Technology

Samsung Grand 2 G7102 updating to android 4.4.2 and replacing touch emergency calls only

Hello, yesterday i replaced the touch screen to my Galaxy Grand 2. It has android version 4.3 and after replacing the touch screen all was working.
So, after replacing touch screen i decided to update android to version 4.4.2. After updating the phone didn’t boot anymore. It hangs on boot with the blue text on top of the display “RECOVERY BOOTING…..”.
The problem was the touch screen. Detaching the touch screen the phone boots correctly to android 4.4.2. (this touch screen had no duos logo, another touch screen with the duos logo works perfectly)
Now another problem, with android 4.4.2 insering the sim card the phone says: Emergency calls only. This is a problem with modem.bin image. It has to be updated with odin 3.07 using the PHONE button. You have to download the modem.bin for android 4.4. You can find it on the internet, for example from here:
http://www.mediafire.com/download/x4loxo3ax4bh21p/Modem+4.4.2.rar
After updating the modem.bin with odin 3.07 the network works correctly.
(Use odin 3.07 because newer versions have no PHONE button)
 

Categorie
Economia

Orari ricezione bonifici varie banche

In questo articolo volevo fare un prospetto degli orari in cui viene ricevuto / accreditato un bonifico sui vari conti. Purtroppo ho bisogno che anche voi lettori contribuiate inserendo dei commenti sulle vostre esperienze. Segnalatemi eventuali orari non corretti o imprecisi. (utilizzate il link Rispondi)
CONTI CORRENTI

  • Banco di Napoli: ?
  • Chebanca: 7.30
  • Hello Bank!: 8:00 / 14:30
  • Ingdirect: 8.30
  • IWBank: ore 18.00
  • Unicredit: ?
  • Webank: 11:00 / 14:00
  • Widiba: 7:00

(orari relativi al giorno lavorativo successivo a quello di disposizione del bonifico)
CARTE PREPAGATE CON IBAN (BONIFICO PROVENIENTE DA ALTRA BANCA)

  • dbcontocarta (Deutsche Bank): ore 8.30
  • Hello Free! (Hello Bank!): 22:00
  • Hype Start (Banca Sella): 7.15
  • Superflash (Banco di Napoli) ore 18.45

(orari relativi al giorno lavorativo successivo a quello di disposizione del bonifico)

CARTE PREPAGATE CON IBAN (BONIFICO PROVENIENTE DA STESSA BANCA)

  • Hello Free! (da Hello Bank!): accredito immediato (se effettuato dopo il cutoff o sabato e festivi ore 7.00 del giorno lavorativo successivo)
  • Superflash (da Banco di Napoli): ore 18.45 giorno lavorativo successivo

 

Categorie
Operatori Telefonici

Tim Special Variazioni Contrattuali Febbraio 2016

Sono possessore di una sim TIM con tariffa/promozione TIM Special (di Agosto 2014 se non ricordo male) 400 minuti, 1000 sms (di cui 300 verso tre), 2GB mensili e chiamate illimitate verso un numero TIM a scelta. Inoltre al superamento dei 2 GB il piano mi consente di navigare a 32kbps senza costi aggiuntivi.
Oggi 22/02/2016 ho ricevuto un SMS che mi avvisa che cambiano le condizioni economiche, eccolo:

Cambiano le condizioni economiche del tuo profilo base:a partire dal 10/4,con 49cent/sett in piu’ avrai chiamate e SMS illimitati vs un numero TIM.Inoltre potrai richiedere gratis i vantaggi esclusivi x i clienti TIM Prime:ogni settimana biglietti cinema 2×1,assistenza diretta di un operatore TIM al 800.000.916,possibilita’ di vincere smartphone con Ricarica+,abilitazione alla velocita’ 4G.Puoi recedere senza penali o passare ad altro operatore entro il 9/4.Per info o rinuncia alle novita’ e mantenere le attuali condizioni chiama il 409162.Scopri i vantaggi e inserisci il numero amico su www.tim.it/Prime

Il mio piano tariffario attualmente già prevede le chiamate illimitate verso un numero TIM preferito. Con questa modifica avrei in aggiunta gli SMS illimitati verso il numero preferito, ma il mio piano già include 1000 sms dei quali ne userò una decina massimo al mese. Inoltre il messaggio spiega che ci sono delle modifiche alla connessione (abilitazione 4G) e non specifica cosa succede al superamento della soglia in GB.
Niente problema, se non si intende cambiare piano, come indicato nell’SMS basta chiamare il numero 409162 e scegliere tra le varie opzioni quella in cui si desidera rimanere con l’attuale tariffa. (opzione 4 e poi 1 al momento in cui scrivo)

Categorie
Information and Communications Technology

[Android] Automatic brightness without sensor using front camera

I have a Samsung Grand Neo Plus. That phone misses the brightness sensor but has the front facing camera.
Using Lux Lite (the free version) or Lux (the full version) application it’s possible to configure the front facing camera as brightness sensor.
After installing it, the application uses the light conditions captured from the front camera to change the phone brightness. I set the brightness update on unlocking.
Another useful thing is the possibility to increase the brightness shaking the phone. In Settings >> Brightness >> Shake to increase brightness. It works being in the lock screen.
If the brightness is too high or low it’s possible to customize the regulations opening the application, modifying the brightness and clicking on the chains symbol to link the ambient light values to the display brightness.
For my Grand Neo Plus I linked the following values:

Luma Brightness
0 1%
1 4%
75 25%
194 35%
253 100%
255 100%
Categorie
Informatica

[Android] Luminosità automatica senza sensore di luminosità con fotocamera frontale

Ho un Samsung Galaxy Grand Neo Plus. Questo telefono non ha il sensore di luminosità ma ha la fotocamera frontale.
Utilizzando l’applicazione Lux Lite (quella gratuita) o quella a pagamento è possibile configurare la fotocamera come sensore di luminosità.
Una volta installata, l’applicazione in base alle condizioni di luce regola la luminosità dello schermo. Io ho impostato la regolazione allo sblocco.
Una funzione utile è anche l’aumento della luminosità agitando il cellulare. Stando sulla schermata di sblocco basta agitare il cellulare per aumentare la luminosità. Da:
Impostazioni >> Luminosità >> Scuoti per aumentare la luminosità.
Se la luminosità è troppa o troppo poca è possibile personalizzare la regolazione aprendo l’applicazione, regolando la luminosità e cliccando al centro sul simbolo della catena per collegare i valori di luce ambientale con i valori di luminosità del display.
Per il mio Grand Neo Plus ho collegato i seguenti valori:

Luma Luminosità
0 1%
1 4%
75 25%
194 35%
253 100%
255 100%
Categorie
Informatica

Chiamare un numero verde da cellulare come da fisso

Avevo bisogno di chiamare il numero verde delle poste 803 160. Non avevo un fisso a disposizione, ma solo un cellulare, e da cellulare la chiamata non andava a buon fine perche’ era consentita solo da fisso.
Ho cercato qualche servizio che mi desse una specie di numero fisso virtuale. Ho trovato il servizio Messagenet che faceva al caso mio. Dopo essersi registrati si sceglie un prefisso e vi viene dato un numero di rete fissa con quel prefisso.
Installando poi un’applicazione voip, è possibile usare quel numero avendo una semplice connessione internet. Il servizio messagenet mette a disposizione il client mtalk per android per esempio.
Dopo essersi registrati avrete credito messagenet zero su quel numero fisso, ma è comunque possibile chiamare i numeri verdi e anche ricevere chiamate su quel numero fisso.