Skip to content

Instantly share code, notes, and snippets.

Avatar
🍑

Oliver Hattshire Hattshire

🍑
View GitHub Profile
@Hattshire
Hattshire / read_bnk.py
Created Jul 19, 2020
Wwise SoundBank(.bnk) and SoundPack(.wpk) metadata reader (JSON output)
View read_bnk.py
#!/usr/bin/python3
import json
import sys
import base64
# TODO: CLEANUP (maybe, what an ugly thing)
uint32_size = 4
sectionid_size = 4
@Hattshire
Hattshire / Logo.png
Last active May 30, 2020
Lunacy StartMenu Tile. To use, the manifest needs to be placed on the same folder as Lunacy.exe, and the Logo.png at the Assets folder inside it.
@Hattshire
Hattshire / USDMCP2CLP.py
Created Jan 18, 2020
Convert USD to CLP using current MultiCaja's paypal usd price.
View USDMCP2CLP.py
# Unlicensed
# More licensing info at https://unlicense.org/
from requests_html import HTMLSession
URL_MC_PAYPAL_BASE = "https://paypal.tenpo.cl" # Originally "https://www.multicaja.cl/paypal"
URL_MC_PAYPAL_LOGIN = URL_MC_PAYPAL_BASE + "/login"
URL_MC_PAYPAL_CALCU = URL_MC_PAYPAL_BASE + "/ajax/agregar_calcula_montos_authenticated"
LOGIN_DATA = {
'utf8' : '✓',
@Hattshire
Hattshire / smali_ls_classes.py
Created Mar 17, 2019
List used classes on an apktool decompiled application
View smali_ls_classes.py
#!/usr/bin/env python3
# Public Domain
#
# Lists used classes on a apktool decompiled application
# It outputs:
# to stderr provided/compiled classes
# to stdout imported/system classes
# Don't play with it too much, it's a bit shy
# UwU
View ydlexplorer.py
# By Oliver Hattshire
# Licenced under laws of the realm of the Public domain
# Problem? It's your fault
# It only works on Windows you say? Yeah, this was a little script for my brobro, he's still into that thing
#
# Usage:
# - Take your youtube URL and dropit to the desktop
# - A shortcut will be created, drop the shortcut over this script
# - Magically a wav file with the sound of the video will appear on desktop
#
View keybase.md

Keybase proof

I hereby claim:

  • I am hattshire on github.
  • I am hattshire (https://keybase.io/hattshire) on keybase.
  • I have a public key ASCgyyymjCxm37ptCRqdZnBI7nvBaKbf2qAXKw18aN_QHgo

To claim this, I am signing this object:

View igapi.experiments.39.0.0.19.93.txt
ig_android_video_segment_ffmpeg_muxer_universe,ig_camera_android_badge_face_effects_universe,ig_android_universe_video_production,ig_android_dash_lazy_load_audio,ig_android_stories_landscape_mode,ig_android_iig_dialog_contact_permission,ig_android_insights_account_insights_v2_universe,ig_android_live_analytics,ig_android_direct_expiring_media_view_mode_stickyness_universe,ig_android_realtime_mqtt_logging,ig_android_direct_mutation_manager_universe_v2,ig_branded_content_show_settings_universe,ig_android_stories_server_coverframe,ig_android_ontact_invite_universe,ig_android_ad_async_ads_universe,ig_android_prepopulate_review,ig_android_direct_fix_new_message_indicator,ig_android_bitmap_compress_retry_universe,ig_promote_guided_budget_duration_options_universe,ig_feed_lockdown,ig_android_verified_comments_universe,ig_android_media_pipeline_frame_listener_universe,ig_shopping_viewer_intent_actions,ig_android_gallery_order_by_date_taken,ig_android_startup_prefetch,ig_android_live_640_quality,ig_stories_engagement_
View sintilde.c
void
sintilde(char* palabra)
{
printf( "> " );
for ( int j = 0, k = 0 ;palabra[j] != 0 ; j++, k++ )
{
if ( palabra[j] == '\303' )
{
k--;
continue;