Visit my blog or connect with me on Twitter
git init
or
| import pygame | |
| from random import randint | |
| pygame.init() | |
| screen = pygame.display.set_mode((500, 500)) | |
| done = False | |
| is_blue = True | |
| x = 30 | |
| y = 30 |
| import pygame | |
| from random import randint | |
| pygame.init() | |
| screen = pygame.display.set_mode((500, 500)) | |
| done = False | |
| is_blue = True | |
| x = 30 | |
| y = 30 |
| import pygame | |
| from random import randint | |
| pygame.init() | |
| screen = pygame.display.set_mode((500, 500)) | |
| done = False | |
| is_blue = True | |
| x = 30 | |
| y = 30 |
| System: Host: razer-buntu Kernel: 4.15.0-20-generic x86_64 bits: 64 Desktop: Gnome 3.28.1 | |
| Distro: Ubuntu 18.04 LTS | |
| Machine: Device: laptop System: Razer product: Blade v: 5.04 serial: N/A | |
| Mobo: Razer model: Blade v: Late 2016 serial: N/A UEFI: Razer v: 02.00 date: 12/06/2016 | |
| Battery BAT0: charge: 67.0 Wh 97.8% condition: 68.6/70.2 Wh (98%) | |
| CPU: Quad core Intel Core i7-6700HQ (-MT-MCP-) cache: 6144 KB | |
| clock speeds: max: 3500 MHz 1: 800 MHz 2: 800 MHz 3: 800 MHz 4: 800 MHz 5: 801 MHz 6: 799 MHz | |
| 7: 800 MHz 8: 800 MHz | |
| Graphics: Card-1: Intel HD Graphics 530 | |
| Card-2: NVIDIA GP106M [GeForce GTX 1060 Mobile] |
Visit my blog or connect with me on Twitter
git init
or
| #!/usr/bin/env bash | |
| # file: ~/.virtualenvs/postmkvirtualenv | |
| # This hook is run after a new virtualenv is activated. | |
| # setup python interpretor and sitepackages | |
| # for Sublime Text's SublimeCodeIntel plugin. | |
| # codeintel looks in the root of any folder opened via `subl foldername` | |
| # for foldername/.codeintel/config | |
| # it also looks in ~/.codeintel/config |
| import re | |
| from django.utils.text import compress_string | |
| from django.utils.cache import patch_vary_headers | |
| from django import http | |
| ''' | |
| EXAMPLE USAGE: | |
| Put this file in a directory called, eg, 'middleware,' inside your django |