Skip to content

Instantly share code, notes, and snippets.

@agconti
agconti / gist:0d39d73bfd5f9d7d675f
Created July 21, 2014 21:29
Kill all Chrome from Terminal Unix.
killall -9 Google\ Chrome
@agconti
agconti / Sublime Text Settings
Last active August 29, 2015 14:04
Sublime Text Settings
// While you can edit this file, it's best to put your changes in
// "User/Preferences.sublime-settings", which overrides the settings in here.
//
// Settings may also be placed in file type specific options files, for
// example, in Packages/Python/Python.sublime-settings for python files.
{
// Sets the colors used within the text area
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
// Note that the font_face and font_size are overriden in the platform
@agconti
agconti / subl_create
Created July 14, 2014 20:06
subl command line Sublime Text 2 Sublime Text 3 OSX 10.8+
sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/bin/subl
@agconti
agconti / example_locustfile.py
Last active May 5, 2022 00:49
Example Locustfile Keywords: Locustfile.py. Locust, LocistIo.
from locust import HttpLocust, TaskSet, task
class MostBasicLoadTest(TaskSet):
def on_start(self):
""" on_start is called when a Locust start before any task is scheduled """
self.login()
def login(self):
self.client.post("/api/api-token-auth/",
{
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@agconti
agconti / _.md
Created January 15, 2014 02:20
simple globe canvas
@agconti
agconti / _.md
Created December 3, 2013 22:57
Collision
@agconti
agconti / _.md
Created December 3, 2013 22:31
central lim
@agconti
agconti / _.md
Created November 14, 2013 04:20
circles
@agconti
agconti / _.md
Created November 14, 2013 04:17
bar colors