Skip to content

Instantly share code, notes, and snippets.

View X4's full-sized avatar
🤖

X4 X4

🤖
  • Dubai, UAW
  • 19:48 (UTC +04:00)
  • X @x4aes
View GitHub Profile
@X4
X4 / .bashrc
Created March 9, 2013 14:43 — forked from jashkenas/.bashrc
# MAC manipulators
alias random_mac='sudo ifconfig en0 ether `openssl rand -hex 6 | sed "s/\(..\)/\1:/g; s/.$//"`'
alias restore_mac='sudo ifconfig en0 ether YOUR_ORIGINAL_MAC_ADDRESS_GOES_HERE'
@X4
X4 / imgtoedj.sh
Last active December 15, 2015 13:38 — forked from tomoe-mami/imgtoedj.sh
#!/bin/sh
set -e
# Set the path to your own wallpaper directory
WALLPAPER_PATH="$HOME/Bilder/Sample Pictures"
NEXT_WALLPAPER="$HOME/Bilder/Sample Pictures/006.jpg"
FILENAME="006.jpg"
OUTPUT_DIR="$HOME/.e/e/backgrounds"
TEMPLATE='
@X4
X4 / check_ssl.py
Created August 8, 2021 23:22 — forked from fffonion/check_ssl.py
hosts - A mix of working google, twitter, wikipedia ips and no-ads
from socket import socket, error, setdefaulttimeout
import ssl
import re
import time
import sys
import os
from hashlib import md5
import json
os.chdir(os.path.split(sys.argv[0])[0])