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
1. Acquire dsdmo.dll and msdmo.dll from a copy of Windows. This may include up to Windows 8.1, | |
or possibly even Windows 10. You want the 32-bit versions, so if you're working with a 64- | |
bit version, you want the ones from the SysWOW64 directory. | |
2. Copy them in Finder, or prepare to do this in a Terminal prompt if you wish. | |
3. Open Package Contents on the OpenMPT.app Wineskin bottle. | |
4. Drill into the drive_c shortcut, or go the long way, through Contents/Resources. | |
5. Drill deeper, into windows/system32. | |
6. Copy the two DLL files here, overwriting as necessary. | |
That's just the preparation. Now you need to make it actually register with the bottled system, so: |
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 <stdlib.h> | |
#include <string.h> | |
#include "psflib.h" | |
uint32_t ROM_SIZE; | |
uint8_t ROM[0x4000000]; | |
uint8_t savestatespace[0x80275c]; | |
static void * stdio_fopen( const char * path ) |
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
if ( $to_channel == 1 ){ | |
$output = weechat::string_remove_color($output, ""); | |
weechat::command(weechat::current_buffer(),"/say " . $output); | |
}elsif ( $to_channel == 0 ){ | |
weechat::print(weechat::current_buffer(),$output); | |
} |
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
CFLAGS = -O2 | |
OBJS = test.o resampler.o | |
all: test spectrum.png | |
test : $(OBJS) | |
$(CC) -o $@ $^ | |
.c.o: |
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
{ | |
"username": "ninji-vahran", | |
"database": "notifier.db", | |
"cookies": { | |
"__cfduid": "REDACTED", | |
"a": "REDACTED", | |
"b": "REDACTED", | |
"folder": "inbox" | |
}, | |
"pushbullet_key": "REDACTED", |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <zlib.h> | |
#include <stdint.h> | |
static uLongf decomp_size = 0; | |
static uint8_t exe_buffer[2 * 1024 * 1024]; | |
static uint8_t file_buffer[3 * 1024 * 1024]; |
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
/* ATTENTION: You don't need to run or use this file! The convert.php script does everything for you! */ | |
/******************************************************************************/ | |
---~ name: "Invision Power Board 2.3" | |
/******************************************************************************/ | |
---~ version: "SMF 1.1.x" | |
---~ settings: "/conf_global.php" | |
---~ globals: INFO | |
---~ from_prefix: "`$INFO[sql_database]`.$INFO[sql_tbl_prefix]" | |
---~ table_test: "{$from_prefix}members" |
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
<?php | |
define( 'IPB_THIS_SCRIPT', 'public' ); | |
define( 'IPB_LOAD_SQL' , 'queries' ); | |
require_once( '/var/www/path/to/ipb/init.php' ); | |
require_once ROOT_PATH . "sources/ipsclass.php"; | |
require_once KERNEL_PATH . "class_converge.php"; |
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
limit_req_zone $binary_remote_addr zone=weechat:10m rate=5r/m; | |
server { | |
listen 443 ssl; | |
listen [::]:443 ssl; | |
server_name ##goeshere##; | |
include /path/to/ssl_config; | |
... |
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
<?php | |
$dsn = 'mysql:dbname=elkarte;host=localhost'; | |
$dbuser = '<username>'; | |
$dbuserpw = '<password>'; | |
$sql = 'SELECT * FROM `elkarte_messages` LIMIT '; | |
$sql2 = ', 200'; | |
$sql_msg = 'SELECT poster_time FROM elkarte_messages WHERE id_msg = :id_msg'; | |
$sql_upd = 'UPDATE elkarte_messages SET body = :body WHERE id_msg = :id_msg'; |