π
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 | |
usage() { | |
echo -e "Usage: $0 [-k api_key] [-o] username\n\n" \ | |
"This script is used to get a list of users that do not follow you back on GitHub\n\n" \ | |
"Arguments:\n" \ | |
" username Your GitHub username\n\n" \ | |
"Optional arguments:\n" \ | |
" -k api_key GitHub API token (to prevent hitting rate limits)\n" \ | |
" -h Display this help\n" \ |
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
reg add "HKLM\SOFTWARE\Policies\Google\Chrome" /v DeveloperToolsDisabled /t REG_DWORD /d 0 /f |
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 | |
# Check dependencies | |
if ! [[ $(etcdctl version 2> /dev/null) ]] | |
then | |
echo "Command 'etcdctl' not found" | |
exit 1 | |
fi | |
if ! [[ $(jq --version 2> /dev/null) ]] | |
then |
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 "obfuscated.h" | |
______ ________________ ____ ______ ___________ _________ _______ ________ ________ ____________ _____ | |
__ | |
______________ ____ _____________ _____ _ | |
__________ _______________ _ | |
___ | |
βββββββββββββ void isEven() ββββββββββββββ | |
β β for (int i = 0; i < 10; i++) β β |
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
---Split a string in an array of fields, using sep as separator | |
---@param str string, is the string to be splitted. | |
---@param sep string, is the delimiter character that separates the fields (default is ',') | |
---@param trim_fields boolean, specify if leading and trailing spaces must be removed from fields (default is true) | |
---@param allow_escapes boolean, specify if the escape behaviour is allowed, i.e. '\' used to prevent special characters behaviour (default is false) | |
---@param allow_literals boolean, specify if literal strings are allowed, i.e. strings wrapped in single quotes (default is false) | |
---@return table, an array containing the fields splitted from the initial string. | |
function split(str, sep, trim_fields, allow_escapes, allow_literals) | |
local result = {} | |
local i = 1 |
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 | |
# GitHub repository details | |
OWNER="owner_name" | |
REPO="repository_name" | |
# GitHub personal access token for authentication (it provides higher rate limit) | |
TOKEN="github_token" | |
# Base URL for the GitHub API |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <curses.h> | |
#define MAX_PASSWD_LENGTH 32 | |
#define M1Y 7 | |
#define M1X 8 | |
#define M2Y 7 | |
#define M2X 33 |
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 | |
max_pass_length=40 | |
pass_length=30 | |
i=0 | |
password= | |
prompt=$' \u2502 Passphrase: ' | |
clear | |
echo -e "\e[32;40m\e[H" |