- Open Hekate on Switch by RCM-ing it
- Go to USB tools and mount emu RAW GPP
- Create the mount point:
mkdir /mnt/gpp
- Install ninfs
sudo /usr/bin/python /usr/lib/python3.12/site-packages/ninfs nandhac /dev/sdb11 -r --keys /path/to/prod.keys --partition USER -o allow_other -f /mnt/gpp
sudo losetup /dev/loop2 /mnt/gpp/USER.img
- Mount /dev/loop2
- Saves are in /run/media/kuba/disk/save/
- Install hactoolnet
- cd to the dir from point 8 and run:
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
Notice: Undefined variable: mod_strings in /var/www/modules/CustomView/CustomView.php on line 17 | |
Notice: Undefined variable: mod_strings in /var/www/modules/CustomView/CustomView.php on line 18 | |
Notice: Undefined variable: mod_strings in /var/www/modules/CustomView/CustomView.php on line 19 | |
Notice: Undefined variable: mod_strings in /var/www/modules/CustomView/CustomView.php on line 20 | |
Notice: Undefined variable: mod_strings in /var/www/modules/CustomView/CustomView.php on line 21 |
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
main: startup | |
RESULT:1 | |
RESULT:2 | |
RESULT:191 | |
RESULT:285 | |
RESULT:403 | |
RESULT:520 | |
Segmentation fault (core dumped) |
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 <iostream> | |
#include <boost/thread.hpp> | |
#include <boost/functional.hpp> | |
#include <boost/lockfree/spsc_queue.hpp> | |
using namespace std; | |
void workerFunc(const char* msg, boost::lockfree::spsc_queue<int, boost::lockfree::capacity<1024>> *queue) | |
{ | |
for(int i=1; i<=1000; i++){ |
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 <iostream> | |
#include "./../type_config.cpp" | |
using namespace std; | |
int main(){ | |
freopen(NULL, "rb", stdin); | |
char buf[sizeof(type_name)*8]; | |
fread(buf, sizeof(buf), 1, stdin); |
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/bash | |
# Usage: | |
# Put it somewhere where PATH points to and make it executable. Then: | |
# raisewindow.sh <executable name> | |
# Example: | |
# bind `<Windows (Super, Meta)> + 1` to `raisewindow.sh firefox` | |
# it will raise the firefox window if it's already open and launch firefox if it isn't |
Removes all events preceeding a given year from an .ics calendar file (the kind you can find e.g. in a Radicale-based CalDAV server).
./trim-calendar.sh Personal 2016 # removes all events starting before the year 2016 from the calendar stored in Personal.ics file
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
diff --git a/lib/chip-types/field-type.js b/lib/chip-types/field-type.js | |
index 74fbbac..e70681e 100644 | |
--- a/lib/chip-types/field-type.js | |
+++ b/lib/chip-types/field-type.js | |
@@ -71,6 +71,8 @@ FieldType.prototype = new function(){ | |
} else { | |
ret = this["_" + method_name].bind(this); | |
} | |
+ console.log(this.name); | |
+ console.log(ret); |
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
std::string returning_string(){ | |
// | |
..code here | |
std::string result=... | |
// | |
int length = result.length(); | |
char* char_array = new char[length]; | |
strcpy_s(char_array, length+1, wrapped_bstr); | |
return char_array; | |
} |
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 "stdafx.h" | |
#include <wtypes.h> | |
#include <comutil.h> | |
#pragma comment(lib,"comsuppw.lib") | |
#include <string> | |
#include <string.h> | |
#include <stdio.h> | |
using namespace std; |