Skip to content

Instantly share code, notes, and snippets.

View whooof's full-sized avatar
🎃
Looking for work

Jan Konieczny whooof

🎃
Looking for work
  • Bristol, UK
View GitHub Profile
@cc3t
cc3t / notification.py
Created January 30, 2021 05:50
[Make notification on MacOS by Python] #Python #MacOS #Notification
import os
def notify(title, text):
os.system("""osascript -e 'display notification "{}" with title "{}"'""".format(text, title))
notify("Title", "Heres an alert")
@slykar
slykar / docker-compose-hackintosh.md
Last active April 28, 2024 13:21
Docker and Docker Compose on AMD OSX Hackintosh via Docker Machine

Introduction

Docker.app will complain about incompatible processor, so we will use Docker Machine.

Instalation

Download Docker for Mac (Docker.app). It contains some binaries that are necessary.

brew install virtualbox docker-machine
@poul-kg
poul-kg / valet.conf
Last active April 30, 2024 14:09
CORS Rules for Laravel Valet Nginx
# To enable CORS you should add lines with CORS rules below to your valet.conf file
# Find the file /usr/local/etc/nginx/valet/valet.conf - this is Valet conf for Nginx
# of try to execute `locate valet.conf` and find the `valet.coinf` in `nginx` subdirectory
# after you edit your valet.conf do not forget to execute `valet restart`
server {
listen 80 default_server;
root /;
charset utf-8;
client_max_body_size 128M;
@480
480 / gist:3b41f449686a089f34edb45d00672f28
Last active April 11, 2024 23:56
MacOS X + oh my zsh + powerline fonts + visual studio code terminal settings

MacOS X + oh my zsh + powerline fonts + visual studio code (vscode) terminal settings

Thank you everybody, Your comments makes it better

Install oh my zsh

http://ohmyz.sh/

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"