Some notes and techniques for reverse engineering Webpack apps
Discover gists
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
#!/usr/bin/env bash | |
set -e | |
[[ $USER == "root" ]] || { | |
echo "You must be root to run this script." >&2 | |
exit 1 | |
} | |
echo "Unload launchd daemons and agents..." |
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/sh | |
# Remove the performance overlay, it meddles with some tasks | |
unset LD_PRELOAD | |
## Shadow kwin_wayland_wrapper so that we can pass args to kwin wrapper | |
## whilst being launched by plasma-session | |
mkdir $XDG_RUNTIME_DIR/nested_plasma -p | |
cat <<EOF > $XDG_RUNTIME_DIR/nested_plasma/kwin_wayland_wrapper | |
#!/bin/sh |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
Some might be outdated.
Taken from (404 as of today): https://macosxautomation.com/system-prefs-links.html
$ open "x-apple.systempreferences:com.apple.preference.security?General"
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
<?php | |
// DEFINA UM ID PARA O BOTÃO | |
$btn_pesquisar->id = 'btn_pesquisar'; | |
// ROTINA JAVASCRIPT PARA DÁ O FOCO OU CLICAR NO BOTÃO AO PRESSIONAR O ENTER | |
TScript::create(' | |
$(document).keyup(function(e) { | |
if(e.which == 13) $("#btn_pesquisar").click(); | |
}); |
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
<?php | |
TCombo::clearField(self::$formName, 'nome_combo'); | |
/* | |
FABRÍCIO ALMEIDA | |
PROGRAMADOR DESKTOP, WEB e MOBILE | |
CONSULTORIAS E ORÇAMENTO: | |
WHATSAPP (83) 98655-6461 | |
*/ |
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
<?php | |
TNumeric::clearField(self::$formName, 'nome_campo_numerico'); | |
/* | |
FABRÍCIO ALMEIDA | |
PROGRAMADOR DESKTOP, WEB e MOBILE | |
CONSULTORIAS E ORÇAMENTO: | |
WHATSAPP (83) 98655-6461 | |
*/ |
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
#!/usr/bin/env bash | |
# | |
# oas2nginx.sh (c) NGINX, Inc. [v0.5 13-Jan-2020] Liam Crilly <liam.crilly@nginx.com> | |
# | |
# Converts OpenAPI/Swagger spec into nginx.conf snippet (server context) as per | |
# https://www.nginx.com/blog/deploying-nginx-plus-as-an-api-gateway-part-1/ | |
# Requires shyaml for YAML processing: https://github.com/0k/shyaml | |
# Defaults | |
# |
NewerOlder