To transfer GBA Roms to SD for EZ-Flash IV
- Open wine config and set your SD drive as D:
- Install Winetricks
- Using Winetricks install MFC42
- You should now be able to run EZ4_client
Problems with names when transfering roms? Check this.
/** | |
* Quick and dirty draft of a reconnecting websocket with connecting timeout | |
*/ | |
console.debug('script init') | |
const MAX_RECONNECTION_DELAY = 8000 | |
const MIN_RECONNECTION_DELAY = 1500 | |
const CONNECTING_TIMEOUT = 5000 |
To transfer GBA Roms to SD for EZ-Flash IV
Problems with names when transfering roms? Check this.
/* | |
* RIFFWAVE.js v0.03 - Audio encoder for HTML5 <audio> elements. | |
* Copyleft 2011 by Pedro Ladaria <pedro.ladaria at Gmail dot com> | |
* | |
* Public Domain | |
* | |
* Changelog: | |
* | |
* 0.01 - First release | |
* 0.02 - New faster base64 encoding |
multipass: true | |
plugins: | |
- addAttributesToSVGElement: false | |
- addClassesToSVGElement: false | |
- cleanupAttrs: true | |
- cleanupEnableBackground: true | |
- cleanupIDs: true | |
- cleanupListOfValues: true | |
- cleanupNumericValues: |
#!/usr/bin/env bash | |
DEPLOY_PATH=/tmp/heroku-deploy-`date +%s`/ | |
HEROKU_NAME="put-your-heroku-service-name-here" | |
rm -rf $DEPLOY_PATH | |
mkdir -p $DEPLOY_PATH | |
rsync -av . $DEPLOY_PATH --exclude node_modules | |
cd $DEPLOY_PATH |
When hosting our web applications, we often have one public IP
address (i.e., an IP address visible to the outside world)
using which we want to host multiple web apps. For example, one
may wants to host three different web apps respectively for
example1.com
, example2.com
, and example1.com/images
on
the same machine using a single IP address.
How can we do that? Well, the good news is Internet browsers
const RWS = require('reconnecting-websocket'); | |
const rws1 = new RWS('wss://echo.websocket.org'); | |
const rws2 = new RWS('wss://echo.websocket.org', undefined); | |
rws1.onopen = () => console.log('ws1 connected'); | |
rws2.onopen = () => console.log('ws2 connected'); |
/* | |
* Original file: | |
* https://github.com/40thieves/webpack-sentry-plugin/blob/master/src/index.js | |
*/ | |
const request = require('request-promise'); | |
const fs = require('fs'); | |
const crypto = require('crypto'); | |
const {green, yellow, red} = require('colors/safe'); | |
const Queue = require('promise-queue'); |
const crypto = require('crypto'); | |
const urlBase64 = require('urlsafe-base64'); | |
function generateVAPIDKeys() { | |
const curve = crypto.createECDH('prime256v1'); | |
curve.generateKeys(); | |
return { | |
publicKey: urlBase64.encode(curve.getPublicKey()), | |
privateKey: urlBase64.encode(curve.getPrivateKey()) |