Note
This no longer works in browser!
Note
This no longer works if you're alone in vc! Somebody else has to join you!
How to use this script:
- Accept the quest under User Settings -> Gift Inventory
/** | |
* Sets a delay for 'wait' milliseconds | |
* @param {Number} wait - wait time in milliseconds | |
*/ | |
let delay = async (wait) => { | |
console.log(`Waiting for ${wait} milliseconds`); | |
return new Promise(p => setTimeout(p, wait)); | |
} |
export class AppComponent { | |
title = 'ui'; | |
keys = { | |
space : false, | |
ctrl : false | |
} | |
@HostListener('window:keydown', ['$event']) | |
keyEventDown(event: KeyboardEvent) { | |
if(event.keyCode === 17){ |
#include <stdio.h> | |
void hexdump(const void* data, size_t size) { | |
char ascii[17]; | |
size_t i, j; | |
ascii[16] = '\0'; | |
for (i = 0; i < size; ++i) { | |
printf("%02X ", ((unsigned char*)data)[i]); | |
if (((unsigned char*)data)[i] >= ' ' && ((unsigned char*)data)[i] <= '~') { | |
ascii[i % 16] = ((unsigned char*)data)[i]; |
all: | |
clang machoman.c -dynamiclib -o libmachoman.dylib | |
clean: | |
rm -rf libmachoman.dylib |
# Based on this answer: https://stackoverflow.com/a/61859561/1956278 | |
# Backup old data | |
Rename-Item -Path "./data" -NewName "./data_old" | |
# Create new data directory | |
Copy-Item -Path "./backup" -Destination "./data" -Recurse | |
Remove-Item "./data/test" -Recurse | |
$dbPaths = Get-ChildItem -Path "./data_old" -Exclude ('mysql', 'performance_schema', 'phpmyadmin') -Recurse -Directory | |
Copy-Item -Path $dbPaths.FullName -Destination "./data" -Recurse |
javascript:/* Adblock Simple */ | |
(function(){ | |
const exceptOrigins = [ | |
'https://disqus.com', | |
document.origin | |
]; | |
function remIF(e){ | |
try{ | |
var orgn = new URL(e.src || 'http://unknown-src').origin; |
Basic guide to deploying a simple three-node Lustre cluster on Centos 7.
Updated fork of joshuar/Three-Node-LustreFS-Cluster-Quickstart.md, which was based on Intel's How to Create and Mount a Lustre Filesystem.
(Note: I am a newbie to Lustre so this overview is extremely light and hopefully what depth there is isn't full of mistakes!)
Windows 8.1 (Single Language) Generic Key Y9NXP-XT8MV-PT9TG-97CT3-9D6TC | |
http://answers.microsoft.com/en-us/windows/forum/windows_8-windows_install/how-to-download-windows-81-single-language-oem-iso/97e1231f-a6f4-4fa2-838e-e699ea59d5fa?auth=1 | |
# Windows 8.1 : 334NH-RXG76-64THK-C7CKG-D3VPT | |
# Windows 8.1 Pro: XHQ8N-C3MCJ-RQXB6-WCHYG-C9WKB | |
изменение версии виндовз http://www.outsidethebox.ms/13319/ | |
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion | |