Skip to content

Instantly share code, notes, and snippets.

View ErdemOzgen's full-sized avatar
🚀
Learning

Erdem Özgen ErdemOzgen

🚀
Learning
View GitHub Profile

Keybase proof

I hereby claim:

  • I am ErdemOzgen on github.
  • I am erdemozgen (https://keybase.io/erdemozgen) on keybase.
  • I have a public key whose fingerprint is 7FBD E5B6 17A7 D7FB 0928 7CD8 BB64 DE9F C952 1D36

To claim this, I am signing this object:

@ErdemOzgen
ErdemOzgen / PepsiDropMic.sol
Created May 7, 2022 10:31
Pepsi NFT Contract
/***
By accepting the limited-edition Pepsi Mic Drop content ("Content") in the form of this non-fungible token ("NFT"), recipient acknowledges and agrees to the following terms and conditions (these "Terms"):
The Content is the property of or licensed to PepsiCo, Inc. ("Owner") and all right, title, and interest (including all copyright, trademark, name, likeness, art, design, drawings and/or other intellectual property) included in and/or associated with the Content are owned by Owner or its licensors. Receipt of the Content or this NFT does not give or grant recipient any right, license, or ownership in or to the Content other than the rights expressly set forth herein. Owner reserves all rights (including with respect to the copyright, trademark, name, likeness, art, design, drawings and/or other intellectual property) in and to the Content not expressly granted to recipient herein. Expressly conditioned on recipient's compliance with its obligations hereunder, recipient of this NFT is granted a limited,
@ErdemOzgen
ErdemOzgen / HashlipsNFTwithMerkleTree.sol
Created May 7, 2022 19:51
Hashlips NFT with Merkle Tree
/**
!Disclaimer!
These contracts have been used to create tutorials,
and was created for the purpose to teach people
how to create smart contracts on the blockchain.
please review this code on your own before using any of
the following code for production.
HashLips will not be liable in any way if for the use
of the code. That being said, the code has been tested
to the best of the developers' knowledge to work as intended.
@ErdemOzgen
ErdemOzgen / ZeekToCuccko.py
Created May 12, 2022 09:11
carve file and send to cuccko sandbox with zeek
#!/usr/bin/env python3
"""
Version : 1.0.0
Developed by : Erdem OZGEN
Automating file extraction submission and analysis to
Cuckoo Sandbox from Zeek
Based on BroCoo from Davy Boekhout (https://github.com/dboekhout/BroCoo)
@ErdemOzgen
ErdemOzgen / FTC.sol
Last active June 7, 2022 17:55
For The Culture Smart Contract
/**
*Submitted for verification at Etherscan.io on 2022-06-05
*/
// File: @openzeppelin/contracts@4.6.0/utils/cryptography/MerkleProof.sol
// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)
pragma solidity ^0.8.0;
// .'( )\.---. /`-. /`-. )\.---. /`-. .') .')
// ,') \ ) ( ,-._( ,' _ \ ,' _ \ ( ,-._( ,' _ \ ( / ( /
// ( /(/ / \ '-, ( '-' ( ( '-' ( \ '-, ( '-' ( )) ))
// ) ( ) ,-` ) _ ) ) ,_ .' ) ,-` ) _ ) )'._.-. )'._.-.
// ( .'\ \ ( ``-. ( ,' ) \ ( ' ) \ ( ``-. ( ,' ) \ ( ) ( )
// )/ )/ )..-.( )/ )/ )/ )/ )..-.( )/ )/ )/,__.' )/,__.'
// )\.-. .-./( .'( )\ )\ )\.-. .-,.-.,-. .-./( )\.-. .'( )\.---.
// ,' ,-,_) ,' ) \ ) ( \, / ,' ,-,_) ) ,, ,. ( ,' ) ,' ) \ ) ( ,-._(
// ( . __ ( .-, ( ) ( ) \ ( ( . __ \( |( )/ ( .-, ( ( .-, ( ) ( \ '-,
// ) '._\ _) ) '._\ ) \ ) ( ( \ \ ) '._\ _) ) \ ) '._\ )
@ErdemOzgen
ErdemOzgen / wacomscroll.sh
Created December 3, 2022 19:40
wacom scroll
xsetwacom --set "Wacom One by Wacom M Pen stylus" Button 3 "pan" && xsetwacom --set "Wacom One by Wacom M Pen stylus" "PanScrollThreshold" 100
@ErdemOzgen
ErdemOzgen / touchegg.conf
Last active October 2, 2023 02:23
Touchegg Configs ==> /home/erdem/.config/touchegg/touchegg.conf
<touchégg>
<settings>
<property name="animation_delay">150</property>
<property name="action_execute_threshold">20</property>
<property name="color">auto</property>
<property name="borderColor">auto</property>
</settings>
<application name="All">
<gesture type="PINCH" fingers="3" direction="IN">
<action type="CLOSE_WINDOW">
@ErdemOzgen
ErdemOzgen / disable.sh
Last active November 30, 2023 18:22
Ubuntu dock Disable Super+Q
gsettings set org.gnome.shell.extensions.dash-to-dock hot-keys false
gsettings set org.gnome.shell.extensions.dash-to-dock shortcut "['']"
@ErdemOzgen
ErdemOzgen / ankiDuplicateFinderMarkdown.py
Created October 5, 2025 14:28
ankiDuplicateFinderMarkdown.py
import re
import sys
from collections import defaultdict
def find_duplicate_questions(filename):
# Regex to capture lines starting with "## "
heading_pattern = re.compile(r"^##\s+(.*)")
questions = defaultdict(list)