Skip to content

Instantly share code, notes, and snippets.

View aldoah0a's full-sized avatar
πŸ’­
I may be slow to respond.

Ayed Aldossary aldoah0a

πŸ’­
I may be slow to respond.
View GitHub Profile
@evildmp
evildmp / gist:3094281
Last active June 30, 2023 10:55
Set up Django, nginx and uwsgi

This document has now been incorporated into the uWSGI documentation:

http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html

Set up Django, nginx and uwsgi

Steps with explanations to set up a server using:

@arunkv
arunkv / gist:4137835
Created November 24, 2012 00:36
Arun's Slate Configuration
config defaultToCurrentScreen true
config windowHintsShowIcons true
config windowHintsIgnoreHiddenWindows false
config windowHintsSpread true
config windowHintsShowIcons true
config windowHintsIgnoreHiddenWindows false
# Cmd+E brings up window chooser based on alphabet
bind e:cmd hint ASDFGHJKLQWERTYUIOPCVBN
#!/usr/bin/env python
#
# Converts any integer into a base [BASE] number. I have chosen 62
# as it is meant to represent the integers using all the alphanumeric
# characters, [no special characters] = {0..9}, {A..Z}, {a..z}
#
# I plan on using this to shorten the representation of possibly long ids,
# a la url shortenters
#
@dwayne
dwayne / a-modern-frontend-dev.md
Last active March 21, 2021 11:38
Articles, tutorials and tools for modern front-end development.

Problem: What does a Modern Front-End Development Workflow Look Like?

I want to start writing libraries and large applications using the JavaScript language. However, I don't know how to setup the project and which build tools to use. What I do know is that the JavaScript community has moved way beyond using browser developer tool plugins and strategically-placed console.log() statements to debug, test, and build code.

I need help.

Below, I will keep track of articles, tutorials and tools I come across as I search for a way to bring my front-end development chops up-to-date.

The Ultimate Resource

@loshlee
loshlee / Slate Manager
Last active April 18, 2023 07:58
I use this AppleScript to launch Slate with the last used configuration, edit a slate configuration from a collection of .slate or .slate.js files using BBEdit (demo mode), or activate one of the collected configuration files in macOS. Slate is a souped up Window Manager (https://github.com/jigish/slate)
set default_settings to "# This is a sample .slate file.
# If no ~/.slate file exists, this is the file that will be used.
# Action summary
# βŒƒβŒ₯⌘0 - Show window locations for current screen
# βŒƒβŒ₯⌘1 - Move and resize front window to upper left corner
# βŒƒβŒ₯⌘2 - Move and resize front window to upper right corner
# βŒƒβŒ₯⌘3 - Move and resize front window to lower left corner
# βŒƒβŒ₯⌘4 - Move and resize front window to lower right corner
# βŒƒβŒ˜1 - Move and resize front window to left Half
@jamesbrobb
jamesbrobb / multiform.py
Last active July 4, 2023 18:53 — forked from michelts/gist:1029336
django multiform mixin and view that allows the submission of a) All forms b) Grouped forms c) An individual form
class MultiFormMixin(ContextMixin):
form_classes = {}
prefixes = {}
success_urls = {}
grouped_forms = {}
initial = {}
prefix = None
success_url = None