cp /etc/vim/vimrc ~/.vimrc
This file contains hidden or 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
-- Get SMS summary from Gammu SMSD | |
-- from almost all content tables. | |
CREATE VIEW summary | |
AS | |
( | |
SELECT | |
'inbox' AS kind, | |
ID AS id, | |
ReceivingDateTime AS created, |
This file contains hidden or 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
aria2.server.lan { | |
file_server | |
encode gzip zstd | |
root * /home/myself/Projects/aria2/docs | |
@jsonrpc { | |
path /jsonrpc | |
header Upgrade websocket | |
header Connection *Upgrade* | |
} | |
route { |
This file contains hidden or 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
"""Downloads and extract the Visual C++ Redistributables. | |
This is useful when working with minidump files as the user may be running | |
with a new different version of the runtime. This script aims to maintain | |
a copy of the various versions. | |
Versions are normally added once I encounter them. | |
This requires dark.exe from Wix (http://wixtoolset.org/releases/) and | |
expand.exe (File Expansion Utility - this comes with Microsoft Windows). |
- NO trabajo para BCP en este momento ni previo a esta fecha.
- NO me hago responsable por lo que otros hagan con este script.
- NO brindo ningún tipo de soporte, si quieres usarlo lee tutoriales.
- SOLO para uso personal, NO hacerlo comercial. EVITAR piratear.
- SI lo RE-POSTEAS, hazlo agregando un enlace a este ORIGINAL.
- ESPERO que BCP mejore su APP en vez de chequeos TONTOS.
This file contains hidden or 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 | |
ADB=${ADB:-adb} | |
DEST=${DEST:-apks} | |
if [ $# -lt 1 ]; then | |
echo "ERROR: Specify operation (backup/restore)." | |
exit 1 | |
fi |
This file contains hidden or 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 <cpuid.h> | |
#include <stdio.h> | |
// print CPUID vendor | |
// using almost plain C | |
// almost = GCC specific? | |
int main() { | |
int a, b, c, d; | |
__cpuid(0, a, b, c, d); |
This file contains hidden or 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
SLUG=btwrdn | |
TAG=1.19.0 | |
git clone https://github.com/dani-garcia/bitwarden_rs.git | |
cd bitwarden_rs | |
git checkout $TAG | |
sed -i '2 a export ROCKET_PORT=$PORT\n' docker/start.sh | |
heroku login | |
heroku container:login |
This file contains hidden or 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 | |
# ARGS: | |
# 1. MODEL (sample: SM-G930F) | |
# 2. REGION (sample: PEO) | |
# 3. OUTDIR (sample: ~/Downloads) | |
# DEPS: | |
# 1. Python 3 | |
# 2. https://github.com/nlscc/samloader |