#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)
// 1: how could you rewrite the following to make it shorter? | |
foo ? bar.doSomething(el) : bar.doSomethingElse(el); | |
// 2: what is the faulty logic in the following code? | |
var foo = 'hello'; | |
(function() { |
// 1: how could you rewrite the following to make it shorter? | |
if (foo) { | |
bar.doSomething(el); | |
} else { | |
bar.doSomethingElse(el); | |
} | |
var iOS = require('iOS'); | |
iOS.createNotification({ | |
header: 'node-iOS Rocks!', | |
message: 'How much does running \'node\' on your iPhone rock?', | |
defaultButton: 'A lot!', | |
alternateButton: 'It rocks my socks' | |
}, function(err, res){ | |
if (err) throw err; | |
console.log(res); |
#!/bin/bash | |
# Neocities provies an API for uploading files from ./public_html to your site | |
# | |
# Example Usage: | |
# $ USERNAME=username PASS=secret_pass bash upload_site.sh | |
function upload_file { | |
fullName=$1 | |
shortName=${fullName:2} |
/** | |
* Prepare the App Folder | |
*/ | |
(function(){ | |
window.appRootDirName = ".myapp"; | |
document.addEventListener("deviceready", onDeviceReady, false); | |
function onDeviceReady() { | |
console.log("device is ready"); | |
window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem; |
#how to transfer games to your vita via FTP
###requirements
##in your computer
'use strict'; | |
var gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var del = require('del'); | |
var uglify = require('gulp-uglify'); | |
var gulpif = require('gulp-if'); | |
var exec = require('child_process').exec; | |
var notify = require('gulp-notify'); |
## A re-spin on http://plasmasturm.org/code/vistafonts-installer/vistafonts-installer, see | |
## http://community.linuxmint.com/tutorial/view/365 | |
## SHARP-BANG NEXT LINE | |
#!/bin/sh | |
# Copyright (c) 2007 Aristotle Pagaltzis | |
# 2013 Sören Andersen | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to |
// | |
// ViewController.m | |
// AVPlayerCaching | |
// | |
// Created by Anurag Mishra on 5/19/14. | |
// Sample code to demonstrate how to cache a remote audio file while streaming it with AVPlayer | |
// | |
#import "ViewController.h" | |
#import <AVFoundation/AVFoundation.h> |
// Usage: | |
// Copy and paste all of this into a debug console window of the "Who is Hiring?" comment thread | |
// then use as follows: | |
// | |
// query(term | [term, term, ...], term | [term, term, ...], ...) | |
// | |
// When arguments are in an array then that means an "or" and when they are seperate that means "and" | |
// | |
// Term is of the format: | |
// ((-)text/RegExp) ( '-' means negation ) |