Skip to content

Instantly share code, notes, and snippets.

@MadLittleMods
MadLittleMods / eldewrito-0-6-splitscreen.md
Last active November 23, 2020 19:35
Play Halo 3 splitscreen on PC

Eldewrito Splitscreen guide

Eldewrito is a open source Halo 3 that you can play on PC

Download Eldewrito

Official Eldewrito site: https://eldewrito.com/

It's easiest to download a pre-patched Eldewrito (ms23 + Eldewrito 0.6 Updater applied), ElDewrito_0.6.exe. I found some links on https://www.reddit.com/r/ms23downloads/

16008 silly decomposeActions build [email protected]
16009 silly decomposeActions install [email protected]
16010 silly decomposeActions postinstall [email protected]
16011 silly decomposeActions finalize [email protected]
16012 silly decomposeActions refresh-package-json [email protected]
16013 silly decomposeActions fetch [email protected]
16014 silly decomposeActions extract [email protected]
16015 silly decomposeActions preinstall [email protected]
16016 silly decomposeActions build [email protected]
16017 silly decomposeActions install [email protected]
This file has been truncated, but you can view the full file.
22011 silly decomposeActions preinstall [email protected]
22012 silly decomposeActions build [email protected]
22013 silly decomposeActions install [email protected]
22014 silly decomposeActions postinstall [email protected]
22015 silly decomposeActions finalize [email protected]
22016 silly decomposeActions refresh-package-json [email protected]
22017 silly decomposeActions fetch [email protected]
22018 silly decomposeActions extract [email protected]
22019 silly decomposeActions preinstall [email protected]
22020 silly decomposeActions build [email protected]

Video editing

Properties

Change start/end frame to match video

Place the green playback cursor line in the sequencer where you want the start/end frame to be. Hover your mouse cursor over the bottom timeline(not where the clips are which is the video sequencer) and press start or end.

Video Sequencer Editor (VSE)

When using a small frequency value with analogWrite(pinString, dutyCycle, frequencyHz, callback), the following error can be thrown.

var b = require('bonescript');
b.pinMode('P9_14', b.OUTPUT);
b.analogWrite('P9_14', 0.5, 10, function(res) { console.log(JSON.stringify(res)); });
@MadLittleMods
MadLittleMods / streaming-endpoint-with-progress.js
Last active September 25, 2018 11:38
Barebones Express app for essentially multiple responses from one request (progress)
const express = require('express');
const logger = require('morgan');
const app = express();
app.use(logger('dev'));
app.get('/', function (req, res) {
res.status(200).send(`
@MadLittleMods
MadLittleMods / docker-start-test-container-on-windows.bat
Last active October 7, 2017 07:18
`ssh-add ~/.ssh-from-host/github_rsa`
REM Share your host `~/.ssh` directory to `/root/.ssh-from-host`
REM You can use `ssh-add ~/.ssh-from-host/github_rsa` now
echo off
setlocal enableDelayedExpansion
set SSH_CERT_DIR=%userprofile:\=/%
set SSH_CERT_DIR=%SSH_CERT_DIR:C:/=//c/%
set SSH_CERT_DIR=%SSH_CERT_DIR%/.ssh/
REM echo %SSH_CERT_DIR%
@MadLittleMods
MadLittleMods / express-serve-targz-of-directory.js
Last active November 20, 2018 12:07
Stream .tar.gz of some glob (directory, etc). See .zip equivalent, https://gist.github.com/MadLittleMods/72bc11761e05a2658d0be13fa8c27fef
const Promise = require('bluebird');
const path = require('path');
const fs = require('fs-extra');
const stat = Promise.promisify(fs.stat);
const glob = Promise.promisify(require('glob'));
const tarstream = require('tar-stream');
const zlib = require('zlib');
const express = require('express');
function targzGlobStream(globString, options) {
const Promise = require('bluebird');
const path = require('path');
const glob = Promise.promisify(require('glob'));
// Adds res.zip to express
require('express-zip');
const express = require('express');
const app = express();
app.get('/logs.zip', function (req, res) {

Docker container with basic nginx server that has exposed ports on Windows Guide/Tutorial

Environment

Windows 10 with Anniversary update

Using Docker Toolbox (uses boot2docker VirtualBox machines)