Skip to content

Instantly share code, notes, and snippets.

Sono SonoSooS

  • Austro-Hungarian Empire
Block or report user

Report or block SonoSooS

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View maketp.c
/*
Make Discord great again!
Copyright(C) 2017-2018 Sono
All Rights Reserved
*/
#include <stdio.h>
#include <string.h>
#include <windows.h>
#include <tlhelp32.h>
View apt.cpp
#hdr
#include <3ds.h>
#end
#src
#include "stdmacro.h"
#end
typedef void (*SignalHandler)(u32 notif);
@SonoSooS
SonoSooS / aaasoundcloud.lua
Created May 17, 2018
SoundCloud set playlist plugin for VLC
View aaasoundcloud.lua
--[[--
SonundCloud set (playlist) parser
Copyright (C) 2016-2018 Sono (https://github.com/MarcuzD)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3, or
(at your option) any later version.
This program is distributed in the hope that it will be useful, but
@SonoSooS
SonoSooS / unrestrict.c
Created Aug 2, 2017
Unrestrict - parental control remover for Nintendo 3DS
View unrestrict.c
#include <3ds.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
void __system_allocateHeaps(void)
{
extern char* fake_heap_start;
extern char* fake_heap_end;
View main.c
#include <3ds.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
//#include "testimage_bin.h"
void PrettyScroll(char* txt, u32 val)
{
View mkelf.sh
#!/bin/bash
set -e
FN="$(basename "$1" .cia)_tmp"
rm -rf "$FN"
mkdir "$FN"
ctrtool --contents="$FN/contents" "$1" >/dev/null
ctrtool --exefsdir="$FN/exefs" --decompresscode "$FN/contents.0000.00000000" >/dev/null
ASD="$(ctrtool "$FN/contents.0000.00000000" | grep Code)"
@SonoSooS
SonoSooS / BriSet.c
Created Feb 22, 2017
Screen brightness setter for 3DS
View BriSet.c
#include <3ds.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
int main()
{
gfxInit(GSP_RGBA8_OES, GSP_RGBA8_OES, false);
@SonoSooS
SonoSooS / fstlist.lua
Created Dec 22, 2016
FST parser Lua script
View fstlist.lua
#!/bin/lua
-- ===================================
-- FST parser Lua script
--
-- created by MarcusD
-- Copyright $(date +"%Y")
--
-- :P
-- ===================================
@SonoSooS
SonoSooS / distbuild3.sh
Created Dec 21, 2016
Python distutils bug workaround
View distbuild3.sh
#!/bin/bash
while :; do
ASD="$(env CC=gcc python3 setup.py build 2>/dev/null)"
if [ $? -eq 0 ]; then
echo "yay, success"
break
fi
CMD="$(echo "$ASD" | tail -n1 | sed 's/^x86_64-linux-gnu-gcc/gcc/')"
eval $CMD
@SonoSooS
SonoSooS / chdir.c
Last active Jan 15, 2018
the most overcomplicated chdir implementation
View chdir.c
void chdir(const char* path)
{
if(*path == '/')
{
strncpy(root, path, 262);
}
else
{
int len = 262 - strnlen(root, 262);
You can’t perform that action at this time.