Skip to content

Instantly share code, notes, and snippets.

View dinamycam's full-sized avatar
🎯
Focusing

dinamyc dinamycam

🎯
Focusing
  • shiraz, fars, iran
View GitHub Profile
@dinamycam
dinamycam / dropdown-terminal.sh
Created August 22, 2024 08:59 — forked from kzndotsh/dropdown-terminal.sh
dropdown-terminal.sh
#!/bin/bash
# Controls a dropdown terminal for use in i3wm
DISPLAY_WIDTH=1920
DISPLAY_HEIGHT=1080 # May be usefull...
TERMINAL_WIDTH=900
TERMINAL_HEIGHT=400
TERMINAL_X=$(( (DISPLAY_WIDTH - TERMINAL_WIDTH)/2 ))
TERMINAL_Y=500
@dinamycam
dinamycam / Makefile
Created April 21, 2018 15:02
Makefile for django deployment
PROJECT_NAME = ProjectName
MAKE := make
PWD := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
# you can either have a single settings.py
# or multiple settings in projectpath/settings/{local, production,...}
# The later is assumed to be the case
SETTING_FILE = local
SETTINGS_MODULE = $(PROJECT_NAME).settings.$(SETTING_FILE)