#how to transfer games to your vita via FTP
###requirements
- henkaku activated psvita 3.60
- filezilla ftp client
- wifi connection
- make sure your psvita and computer are in the same wifi network
##in your computer
- install filezilla (ftp client)
{ | |
"conversations": [ | |
{ | |
"id": 1, | |
"title": "messenger dev", | |
"status": "active", | |
"created_by": 4, | |
"date_created": "2017-04-17T14:45:28.000Z", | |
"tbl_thread_users": [ | |
{ |
$result = $conn->query($sql); | |
if ($result->num_rows > 0) { | |
$showHeader = true; | |
$firstRow = $result->fetch_assoc(); | |
if ( true === $showHeader ) { // to achieve a 'single header' | |
$showHeader = false; // avoid other headers | |
echo 'Receipt #: ' . $firstRow[0]['info'] . '<br><br>'; | |
echo 'Table #: ' . $firstRow['tid'] . '<br>'; |
# @author: Christian Noel Reyes <[email protected]> | |
# @date: 2015-05-13 | |
# @description: data / table-per table migration script. | |
# @caveats: | |
# source and target databases must have the same table structure for this script to work with no issues | |
# tested with mysql 5.1 (client) | |
# usage: | |
# bash export.sh --shost <source host> --sdb <source database> --suser <source username> --spass <source password>\ | |
# --limit 10000; |
# @author: Christian Noel Reyes <[email protected]> | |
# @date: 2015-05-13 | |
# @description: data / table-per table migration script. | |
# @caveats: | |
# source and target databases must have the same table structure for this script to work with no issues | |
# tested with mysql 5.1 (client) | |
# | |
# usage: | |
# bash migrate.sh --shost <source host> --sdb <source database> --suser <source username> --spass <source password>\ | |
# --thost <target host> --tdb <target database> --tuser <target username> --tpass <target password>\ |
<?php | |
/** | |
* display backtrace of the code, and the list of files the code has | |
* passed through to reach this function. | |
* | |
* example: | |
* Array | |
* ( | |
* [0] => /www/index.php:118 | |
* [1] => /www/system/core/Bootstrap.php:55 |
<?php | |
/** | |
* original source: http://stackoverflow.com/a/11903460/27698 | |
*/ | |
// $dirname = "media/images/iconized/"; | |
$dirname = "./"; | |
$images = glob("*.{jpg,png,gif}", GLOB_BRACE); | |
echo "<table>"; | |
echo "<tr><th>source</th><th>image preview</th></tr>"; | |
foreach($images as $image) { |
#how to transfer games to your vita via FTP
###requirements
##in your computer
<?php echo "it works!" ?> | |
<!-- use this url: http://localhost/url.php/id/123/age/20/gender/male/context/something/scholar2 --> | |
<hr /> | |
<?php | |
$actual_link = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; |
#!/bin/bash | |
#List all cron jobs for all users | |
> cronjobs.sh.out | |
for user in `cat /etc/passwd | cut -d":" -f1`; | |
do | |
echo "# ===== crontabs of $user =====" >> cronjobs.sh.out; | |
crontab -l -u $user >> cronjobs.sh.out; | |
done | |
cat cronjobs.sh.out | mail -s "cronjobs list" [email protected] | |
rm cronjobs.sh.out |
// nothing to do here, check the comments |