Skip to content

Instantly share code, notes, and snippets.

View Bert-Proesmans's full-sized avatar

Proesmans Bert Bert-Proesmans

View GitHub Profile
@Bert-Proesmans
Bert-Proesmans / README.md
Created February 8, 2019 20:14
Grim Fandango Remastered, The Bard's Tale, InnerSpace - Playstation key

I bought the Indie Humble Playstation Bundle 2019 but do not have a PSN account in the following eligible countries. I bought the bundle because of the soundtracks, not the games per se.

I'm giving away my key to the first eligible person reading this gist-file. I'm guessing non-eligible accounts simply cannot redeem the code and it will stay valid for the next person to try. (I haven't tried myself)

If you would like to add Grim Fandango Remastered, The Bard's Tale and InnerSpace to your game collection; here you go.

9GEA-78N2-HL8R

/* PASS - REDUCE DISTANCE BETWEEN ROWS; BUILD PATHS OF CONNECTIONS */
// Depth first traversal strategy
$processedRows = array();
$rowStack = array();
$n = 0;
$lastRowCount = count($rowList);
/** @var RowModel $rowItem */
while (($rowItem = array_shift($rowList)) !== null) {
// Make sure to keep the stack hydrated.
array_push($rowStack, $rowItem);
/*! debug.css | MIT License | zaydek.github.com/debug.css */
*:not(path):not(g) {
color: hsla(210, 100%, 100%, 0.9) !important;
background: hsla(210, 100%, 50%, 0.5) !important;
outline: solid 0.25rem hsla(210, 100%, 100%, 0.5) !important;
box-shadow: none !important;
}
@Bert-Proesmans
Bert-Proesmans / qos-all.mik
Last active October 28, 2018 21:24
Mikrotik Routing conf
# Date: October 28, 2018
# Version: 1.3
# Tested with RouterOS 6.43.4
#
# Implement some QoS on outgoing/incoming internet connections.
#
# NOTE(28/10/2018): Make sure to await FastTracking up until the necessary amount of bytes per
# connection have been processed! (about 500kB)
#
# TODO(27/10/2018): Figure out Layer-7 detection+marking. Altough with more encryption this becomes
<VirtualHost *:80>
ServerName lvh.me
RewriteEngine On
RewriteRule "^portal.lvh.me" "projects/portal/public"
</VirtualHost>
(env) PS C:\Users\Bert\Desktop\keg_test> python .\bin\ngdp fetch hsb
Fetching http://us.patch.battle.net:1119/hsb
Using eu (available: eu, kr, cn, us, tw)
Fetching config... Done.
Fetching indices... Done.
Fetching archives... Done.
Fetching loose files... 3ac9d0becaca420de5d91d4f91f5c2f5: 0% 1/784 [00:05<1:12:09, 5.53s/filesFetching loose files... 13cb78cec5d509c54c77602fdd0ce753: 0% 1/784 [00:05<1:12:09, 5.53s/filesFetching loose files... 13cb78cec5d509c54c77602fdd0ce753: 0% 2/784 [00:10<1:08:40, 5.27s/filesFetching loose files... c39cd67a7f0b9054d290f01ad0e2889e: 0% 2/784 [00:10<1:08:40, 5.27s/filesFetching loose files... c39cd67a7f0b9054d290f01ad0e2889e: 0% 3/784 [00:24<1:42:30, 7.88s/filesFetching loose files... 8c77a1faf05621c7808f959b24a85d6c: 0% 3/784 [00:24<1:42:30, 7.88s/filesFetching loose files... 8c77a1faf05621c7808f959b24a85d6c: 1% 4/784 [00:28<1:28:38, 6.82s/filesFetching loose files... e75e0bc8d56d15374165a4ddec721e5f: 1% 4/784 [00:28<1:28:38, 6.82s/filesFetching loose
Finished dev [unoptimized + debuginfo] target(s) in 5.76s
Running `D:\Git\hearthsim-group\Firestarter\target\debug\vanilla-server.exe`
peer: V4(127.0.0.1:63764)
Aug 09 21:30:52.252 TRCE Client connected
Aug 09 21:30:52.254 TRCE Handshake request, message: ConnectRequest { client_id: None, bind_request: Some(BindRequest { imported_service_hash: [1658456209, 1128824125, 233634817, 3686756121, 2198078984, 3073563442, 101490829, 3612349579, 2749215165, 2165092757, 1069623117, 213793859, 4194801407, 2091868617, 3971904954, 170173073, 1041835658], exported_service: [BoundService { hash: 1423956503, id: 1 }, BoundService { hash: 3571241107, id: 2 }, BoundService { hash: 1898188341, id: 3 }, BoundService { hash: 3151632159, id: 4 }, BoundService { hash: 4035247136, id: 5 }, BoundService { hash: 3213656212, id: 6 }, BoundService { hash: 376431777, id: 7 }, BoundService { hash: 3111080599, id: 8 }, BoundService { hash: 1864735251, id: 9 }, BoundService { hash: 3788189352, id: 10 }, BoundService { hash: 32136
Jul 29 11:25:52.977 INFO Server bound, endpoint: V4(127.0.0.1:1119)
Jul 29 11:25:52.980 TRCE Setup complete, connection: V4(127.0.0.1:57899)
Jul 29 11:27:40.249 TRCE Client connected
Jul 29 11:27:40.251 TRCE Handshake initiated, header: Header { service_id: 0, method_id: Some(1), token: 0, object_id: None, size: Some(190), status: None, error: [], timeout: None }
Jul 29 11:27:40.255 TRCE Handshake, message: ConnectRequest { client_id: None, bind_request: Some(BindRequest { imported_service_hash: [1658456209, 1128824125, 233634817, 3686756121, 2198078984, 3073563442, 101490829, 3612349579, 2749215165, 2165092757, 1069623117, 213793859, 4194801407, 2091868617, 3971904954, 170173073, 1041835658], exported_service: [BoundService { hash: 1423956503, id: 1 }, BoundService { hash: 3571241107, id: 2 }, BoundService { hash: 1898188341, id: 3 }, BoundService { hash: 3151632159, id: 4 }, BoundService { hash: 4035247136, id: 5 }, BoundService { hash: 3213656212, id: 6 }, BoundService { hash: 376431777, id: 7 }, BoundS
Running Interrupt test
Press Ctrl+C to exit
Connection TEST Finished
Traceback (most recent call last):
File "./main_py2.py", line 25, in <module>
crate_test()
File "/home/pi/project/niip_py2/crate_test.py", line 30, in do_test
ensure_provisioning()
File "/home/pi/project/niip_py2/crate_connect.py", line 27, in ensure_provisioning
MODEL_BASE.metadata.create_all(bind=DB_SESSION)
@Bert-Proesmans
Bert-Proesmans / compiler.log
Created July 2, 2018 12:30
Rust issue 50865
error: internal compiler error: librustc_mir\monomorphize\collector.rs:765: Cannot create local mono-item for DefId(9/0:54 ~ incite[bc8d]::protocol[0]::frame[0]::{{impl}}[1]::new[0])
thread 'main' panicked at 'Box<Any>', librustc_errors\lib.rs:554:9
stack backtrace:
0: <std::collections::hash::map::DefaultHasher as core::fmt::Debug>::fmt
1: <std::sys::windows::dynamic_lib::DynamicLibrary as core::ops::drop::Drop>::drop
2: std::panicking::take_hook
3: std::panicking::take_hook
4: <rustc::ty::SymbolName as core::fmt::Debug>::fmt
5: std::panicking::rust_panic_with_hook