Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View kkayacan's full-sized avatar

Kerem Kayacan kkayacan

View GitHub Profile
@kkayacan
kkayacan / cloud9.txt
Created June 22, 2018 19:06
Cloud9 quick reference
Find current host address with below bash command
dig TXT +short o-o.myaddr.l.google.com @ns1.google.com
CLASS lcl_test DEFINITION.
PUBLIC SECTION.
TYPES: BEGIN OF st_list,
tabname TYPE dd03l-tabname,
fieldname TYPE dd03l-fieldname,
keyflag TYPE dd03l-keyflag,
rollname TYPE dd03l-rollname,
ddtext TYPE dd03t-ddtext,
END OF st_list.
CLASS-DATA: t_list TYPE TABLE OF st_list,
@kkayacan
kkayacan / python.txt
Created April 20, 2019 11:31
Python cheat sheet
Making a Stand Alone Executable from a Python Script using PyInstaller
https://medium.com/dreamcatcher-its-blog/making-an-stand-alone-executable-from-a-python-script-using-pyinstaller-d1df9170e263
pyinstaller --onefile <your_script_name>.py
@kkayacan
kkayacan / git.txt
Last active July 6, 2020 14:25
Git quick reference
• Clone an existing remote repository to local
git clone https://github.com/username/project.git
• If starting from local (not cloning remote repo), initialize repository
git init
• Check status (changes since last commit) (optional)
git status
@kkayacan
kkayacan / linux.txt
Last active July 15, 2020 22:17
Linux quick reference for Debian/Ubuntu/Raspbian
Create directory (only one level can be created, upper levels must exist)
$ mkdir /path/to/directory
Create nested directories
$ mkdir -p /path/to/directory
Open/edit/create file with nano editor
$ sudo nano "/var/www/example.com/public_html/f24434ecdfc7.html"
Move folder