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
while true; do | |
kill -SIGSEGV $(ps -a | grep $1 | cut -d' ' -f 2) 2> /dev/null | |
done |
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 <unistd.h> | |
#include <stdio.h> | |
int main(int argc, char** args) { | |
if (argc < 3) { | |
printf("Usage: %s password salt\n", args[0]); | |
} | |
printf("%s\n", crypt(args[1], args[2])); | |
} |
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
# License: MIT | |
# Copyright (c) 2022 Daniel Garcia-Briseno | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: | |
# |
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
all: | |
gcc -g -o sum_prime sum_prime.c number_parser.c -lm |
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
;; Add melpa stable repository | |
(require 'package) | |
(add-to-list 'package-archives | |
'("melpa-stable" . "https://stable.melpa.org/packages/") | |
'("nongnu" . "https://elpa.nongnu.org/nongnu/")) | |
(package-initialize) | |
;; (setq auto-save-default nil) | |
;; (setq create-lockfiles nil) |
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
#!/usr/bin/env bash | |
# Copyright (c) 2022 Daniel Garcia-Briseno | |
# Written: 2022-04-06 | |
# Updated: 2022-04-07 - added customization with the environment variable | |
# ADDTOPATH_TARGET | |
# - Added ability to request sudo permission | |
# | |
# 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 |
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
#!/usr/bin/python3 | |
COUNTER="1" | |
LENGTH="16" | |
from getpass import getpass | |
import lesspass.core as lesspass | |
import sys | |
def main(site, username, extra_args): |
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
""" | |
Uses selenium based APIs for American Express and Everydollar | |
continuously import transactions into everydollar. | |
Since everydollar doesn't natively support linking an American Express account | |
""" | |
from amex_selenium import AmexAPI | |
from everydollar_api import EveryDollarAPI | |
from time import sleep |