Skip to content

Instantly share code, notes, and snippets.

View berkaycagir's full-sized avatar
🤖

Hasan Berkay Çağır berkaycagir

🤖
View GitHub Profile
<plist version="1.0">
<dict>
<key>ConsentText</key>
<dict>
<key>default</key>
<string>Installs APN vodafone.tr IPv4v6</string>
</dict>
<key>PayloadContent</key>
<array>
<dict>
@berkaycagir
berkaycagir / keybase.md
Created June 26, 2022 07:59
keybase.md

Keybase proof

I hereby claim:

  • I am berkaycagir on github.
  • I am berkay (https://keybase.io/berkay) on keybase.
  • I have a public key ASDlRZaGjt6An6PIkyU1LlpdJN3wJARXppYmAL3pyIix-Ao

To claim this, I am signing this object:

@berkaycagir
berkaycagir / hockeypuck-key-removed.md
Created May 28, 2022 12:56 — forked from adulau/hockeypuck-key-removed.md
How to remove keys from Hockeypuck OpenPGP key server

How to remove keys from Hockeypuck OpenPGP key server

  • First find the Hockeypuck hash of the key(s) to be removed via the web search of your key server instance;
  • On the index, copy the hash value (Hash=HASHVALUE) (it's the hex representation of MD5);
  • Connect to the PostgreSQL interface of your Hockeypuck server;
    • psql hkp
    • Find the corresponding keys from their hash value;
    • select rfingerprint from keys where md5 in ('HASHVALUE');
    • This will return the corresponding fingerprints;
  • Then delete the associated sub-keys;
@berkaycagir
berkaycagir / ups.py
Last active September 7, 2019 14:54
UPS Türkiye pasaport gönderim sorgulayıcı
#!/usr/bin/python
MAIL_FROM = "enter from mail here"
MAIL_FROM_PASSWORD = "enter from mail password here"
MAIL_TO = "enter to mail here"
SMTP_SERVER = "enter smtp server address here"
SMTP_SERVER_PORT = -1 # enter smtp server port here
CONSULATE = "159034 for Istanbul, 159829 for Ankara"
PASSPORT = "enter your passport number here (e.g. U12345678)"
START_DATE = "enter the start date (e.g. 10.8.2019)"
@berkaycagir
berkaycagir / whois.sh
Last active August 29, 2015 14:18
Whois script which is able to query new TLD's. (Original script from http://blog.zappan.net/2015/01/new-gtlds-and-whois-command/)
#!/bin/sh
if [ -z $1 ]; then
# Check if we passed an argument
echo "Usage : $0 [domain_name.tld]"
exit
else
domain=$1
fi

Keybase proof

I hereby claim:

  • I am berkaycagir on github.
  • I am berkay (https://keybase.io/berkay) on keybase.
  • I have a public key whose fingerprint is DF4B 9939 DF87 4981 1022 97DC 98A0 0338 F4A3 F7FE

To claim this, I am signing this object: