Skip to content

Instantly share code, notes, and snippets.

View proteeti13's full-sized avatar
:octocat:
Learning

Proteeti Prova proteeti13

:octocat:
Learning
View GitHub Profile
@bradtraversy
bradtraversy / django_cheat_sheet.md
Last active February 24, 2024 23:35
Django command cheat sheet

Django 2.x Cheat Sheet

Creating a virtual environment

We need to create a virtual env for our app to run in: More Here Run this command in whatever folder you want to create your venv folder

python -m venv ./venv
@naddeoa
naddeoa / gnome-shell-menu-items-example.js
Created May 15, 2017 02:45
Minimal example of how to create a gnome shell extension that has a menu, menu items, and a label that updates on a timer
// Basic stuff
const St = imports.gi.St;
const Lang = imports.lang;
// UI specific components
const Main = imports.ui.main;
const PopupMenu = imports.ui.popupMenu;
const PanelMenu = imports.ui.panelMenu;
const Mainloop = imports.mainloop;