Skip to content

Instantly share code, notes, and snippets.

```bash
#Show / hide hidden files
\!h CMD + Shift + .
```
```bash
#Take screeshot of whole desktop
\!h CMD + Shift + 3
```
# 1- Generate Setup py
py2applet --make-setup your_app_name.py
# 2- To relase it as an app
python setup.py py2app -A
# 3- To relase it as an dist app
python setup.py py2app
# Alternative way with more options
An A-Z Index of the Apple macOS command line (OS X)
afconvert Audio File Convert
afinfo Audio File Info
afplay Audio File Play
airport Manage Apple AirPort
alias Create an alias •
alloc List used and free memory
apropos Search the whatis database for strings
asr Apple Software Restore
atsutil Font registration system utility
@alptugan
alptugan / .bash_profile
Created March 14, 2019 20:18 — forked from lopespm/.bash_profile
Show git branch
# ---------------------------------------------------------------------------
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
# 6. Networking
# 7. System Operations & Information
void ofApp::setup()
{
image.load("img.jpg");
fbo.allocate(image.getWidth(), image.getHeight(), GL_RGBA,4); //GL_LUMINANCE depends on your GL version
fbo.begin();
ofClear(0,0);
ofDrawEllipse(100, 100, 200, 200);
fbo.end();
// Do the trick
youtube-dl --extract-audio --audio-format mp3 [video link]
# best audio with best video
youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio' --merge-output-format mp4 'PASTE_YOUTUBE_URL'
@alptugan
alptugan / tezos_sign
Last active December 23, 2021 21:27
tezos gist
I am attesting that this GitHub handle alptugan is linked to the Tezos account tz1iRnhWqLBsmGX1XvsNoKcdnKzpDffsLn9n for tzprofiles
sig:edsigtm7RFcYJ72VzaUCdAMxRgpXd3jwnJFTiMM7aYUW1CSb7Cdv5u2XfQvaYQfQhfviUCjqQqasC1vuqQuoP7vC2yvMQXyzrZQ