Skip to content

Instantly share code, notes, and snippets.

View alihanekiz's full-sized avatar
👨‍🍳
Cooking

Alihan Ekiz alihanekiz

👨‍🍳
Cooking
View GitHub Profile
@alihanekiz
alihanekiz / pub.asc
Created April 26, 2024 12:50
Public Key
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBGPyf2MBEADrKVmyHM0F1n6Y2wtW8e8vFpq6Wbvvxpg+1ZK82viTeFTpcE+v
XPdnCr7JGxzFeaOlAAGlxtCQKWcZgpojAF40N3ob+57r8Q9hOgeAczgYV1zbpd8E
YbTirl0Ffi9Q0Mq30Nv2dHxxYuDCopT44HUw+fQX8naCbppiJBDmmgPoLrGyCQdU
LLu81qLxhMkhJlWoRpveyECzhlGUgSQ7utZT7DBSGUppWoPOoIkn0oYSLGz/4Saz
FVEW8A1Rcu3zLtL3SK1xUmkT4Sk96w3b9XuwOYMHGXeSqnaH1IuqStHeMaJUQuaA
5hHEtfj6WlP65k93R2TarKrPJGrbibaUQd9UU4dPLkRzkcZF5g41vU6kuK/JodU1
9J5Am12VgLL+zEwYtpWuSbbAdQ9IC1XqMLuSFWbQzX6YDnM1VGFMP4YwyfjJf+8m
Wv+w9L018BNBpgJXo9tD04ASvUhfHFoT4MNmBCtcmLO+sd9TOjM1xvkjdR1MdaOW
@alihanekiz
alihanekiz / httpCodes.md
Created January 16, 2024 16:06
HTTP Status Codes

HTTP Status Codes

1xx Informational

  • 100 Continue: The initial part of a request has been received, and the client should continue with the request.
  • 101 Switching Protocols: The server is switching protocols as requested by the client.

2xx Success

  • 200 OK: Standard response for successful HTTP requests.
  • 201 Created: The request has been fulfilled and resulted in a new resource being created.
  • 204 No Content: The server successfully processed the request, but is not returning any content.
@alihanekiz
alihanekiz / main.py
Created February 13, 2023 17:26
PDF2TXT in Python
# importing required modules
from PyPDF2 import PdfReader
txtFilename = ''
pdfFilename = ''
text = ''
f = open(txtFilename, 'w')
reader = PdfReader(pdfFilename)
for page in reader.pages:
@alihanekiz
alihanekiz / index.js
Created January 13, 2018 16:26
get location inside of a browser.
(that => {
navigator.geolocation.getCurrentPosition(pos => {
console.log(pos);
});
})(this);