We were talking at the office about having a LAN Party and playing some old school games like Age of Empires and Starcraft. The issue is that I have Linux installed. I didn't want to ruin everyone else's fun by having random crashes, out-of-sync errors and similar stuff using Wine, and I didn't want to do the dual boot dance, so I figured out that the best option was to install Windows to an external drive.
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 file was written by Aldo Fregoso, and is placed in the public domain. | |
* The author hereby disclaims copyright to this source code. | |
*/ | |
#ifndef UTIL_BITFIELD_H | |
#define UTIL_BITFIELD_H | |
#include <inttypes.h> |
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
/** | |
* PersonaFisica.js | |
* | |
* Implementación en JavaScript del algoritmo para generar el RFC para personas | |
* físicas (IFAI 0610100135506) | |
* | |
* Copyright 2015 Aldo Fregoso. | |
* | |
* El uso de este archivo está permitido bajo los términos de la licencia de | |
* código abierto "GNU Affero General Public License" (AGPL) disponible en: |
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
#include "global.h" | |
#include "RageFile.h" | |
#include "RageLog.h" | |
#include "RageSoundManager.h" | |
#include "RageUtil.h" | |
#include "RageSoundReader_FFMpeg.h" | |
namespace avcodec |
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
float Steps::PredictMeter() const | |
{ | |
// Aldo_MX: I'm calculating the meter taking into account the step density. | |
// It will just give a "base value", you need to increase the value if you | |
// use pivots and/or it's a gimmicky chart. | |
// | |
// In other words, this value should be considered the "minimum possible" | |
// meter value using 1 ~ 10 difficulty scale. | |
// | |
// The following formula is used ONLY with checkpoint combinations possible |
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
/*export default*/ module.exports = (callbacks, timeout = 0) => { | |
callbacks = callbacks.reverse(); | |
return new Promise((resolve, reject) => { | |
const values = []; | |
const errors = []; | |
let hasError = false; | |
(function nextPromise() { | |
let currentCallback = callbacks.pop(); | |
if (currentCallback) { | |
currentCallback() |
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
#!/bin/sh | |
sudo service atd start | |
sudo service cron start | |
sudo service dbus start | |
sudo service irqbalance start | |
sudo service lvm2-lvmetad start | |
sudo service lvm2-lvmpolld start | |
sudo service mdadm start | |
sudo service ondemand start | |
sudo service rc.local start |
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
const rocksdb = require('rocksdb'); | |
const valueCallback = resolve => (err, value) => err ? Promise.reject(err) : resolve(value); | |
class RocksDBIterator { | |
constructor(iterator) { | |
this.iterator = iterator; | |
} | |
async end() { |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>local.user-key-mapping</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/bin/hidutil</string> | |
<string>property</string> |
OlderNewer