This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# The lg memo db file richnote is at this location: | |
# /storage/sdcard0/Memo/backup.nrt | |
# this file is created after making a backup and this is a zip file, | |
# the file richnote is inside the zip | |
# see: | |
# https://nikiink.wordpress.com/2015/05/28/evernote-importing-from-lg-memo-and-from-colornote/ | |
# | |
$db = new SQLite3("richnote"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# The file colornote.db is at this location: | |
# /data/data/com.socialnmobile.dictapps.notepad.color.note/databases/colornote.db | |
# this path is visible if your device is rooted and viewing as root with ES File Explorer for example | |
# see: | |
# https://nikiink.wordpress.com/2015/05/28/evernote-importing-from-lg-memo-and-from-colornote/ | |
# | |
$db = new SQLite3("colornote.db"); | |
$query = "SELECT * FROM notes"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function waitUntilPortIsListening($host, $port, $options = array('usleep' => 300000, 'limit' => 20)) { | |
$limit = array_key_exists('limit',$options)?$options['limit']:20; | |
$retries = 0; | |
while (true) { | |
$connection = @fsockopen($host, $port); | |
if (is_resource($connection)) { | |
echo "is listening\n"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
PHPTail class from: | |
https://github.com/taktos/php-tail | |
https://code.google.com/p/php-tail/ | |
*/ | |
class PHPTail { | |
/** | |
* Location of the log file we're tailing | |
* @var string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Il server sia in grado di gestire un metodo get condizionale | |
sulla base dell'ultima data di modifica della risorsa. | |
Se la richiesta condizionale va a buon fine l'header | |
della risposta deve contenere almeno i campi Date, Content-Length | |
e Last-Modified correttamente determinati. | |
Altrimenti il corpo della risposta sara' vuoto e l'header | |
della risposta dovra' contenere soltanto Date e Last-Modified | |
Il server sara' in grado di gestire i seguenti casi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
============================================================== | |
Created by Xploïse: www.xploise.nl | |
for Sitecom Europe: www.sitecom.com | |
============================================================== | |
*/ | |
// ADDING THE NEXT ROW THE ADMIN INTERFACE WORKS ON CHROME | |
// Replace the readfile.js with this readfile.js. It can be done | |
// using the chrome extension Requestly. Add a redirect request rule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cscript "C:\WUA\WUA_SearchDownloadInstall.vbs" >> "C:\WUA\WUA-log.txt" 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#INSERIRE MAIL E PASSWORD ################### | |
mail = "........@......it" | |
password = "........" | |
############################################# | |
server = "mail.it.net" | |
cartella_spam = "Posta indesiderata" | |
import imaplib, sys | |
M = imaplib.IMAP4(server) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script reads virtual machines to backup from an xml | |
# configuration file by default named XenBackup.xml. | |
# The configuration file can be given as parameter -config, for example | |
# | |
# XenBackup.ps1 -config "XenBackup-test.xml" | |
# | |
# [If not given is used the file XenBackup.xml] | |
# | |
# The values of maxBackups and backupDir | |
# can be overridden on specific machine. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.FileWriter; | |
import java.text.SimpleDateFormat; | |
import java.util.ArrayList; | |
import java.util.Date; | |
import org.apache.commons.lang3.StringUtils; | |
public class Rai17 { | |
// SPECIFICHE TECNICHE |
OlderNewer