Never forget to activate that virtualenv or set that environment variable ever again...
-
Install pyenv
brew install pyenv
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<!-- | |
This remaps the Context Key (between the right hand Alt and Control on a normal keyboard) to the F20 key. | |
See https://apple.stackexchange.com/a/398797/264061 | |
Source is stored in https://gist.github.com/alexhayes/be6257459eb7a2dbc1e5b2baaebdac90 | |
--> | |
<plist version="1.0"> |
Lab-1: Cluster Creation | |
--------------------------- | |
1. MSK Workshop link = https://amazonmsk-labs.workshop.aws/en/clustercreation.html | |
2. Use the following cloudformation template, download it on your laptop | |
https://github.com/vikasbajaj/msk-kafka-workshop/blob/master/msk-infra-and-kafka-clients/MSK-VPC-Clients.yaml | |
3. Make sure you are in running this lab in ap-southeast-2 (sydney) region |
# 1) Create your private key (any password will do, we remove it below) | |
$ cd ~/.ssh | |
$ mkdir local | |
$ openssl genrsa -des3 -out server.orig.key 2048 | |
# 2) Remove the password |
# Move to | |
bind ;:cmd,alt,ctrl throw 0 | |
bind .:cmd,alt,ctrl throw 1 | |
# Resize on Top Screen | |
bind l:cmd,alt move screenOriginX,screenOriginY screenSizeX/2,screenSizeY 0 | |
bind ;:cmd,alt move screenOriginX,screenOriginY screenSizeX,screenSizeY 0 | |
bind ':cmd,alt move screenOriginX+screenSizeX/2,screenOriginY screenSizeX/2,screenSizeY 0 | |
# Resize on Laptop Screen |
# See https://github.com/direnv/direnv/wiki/Python#-pyenv | |
use_flutter() { | |
PATH_add "$HOME/workspace/flutter/bin" | |
} | |
# Python using pyenv | |
# | |
# Usage: | |
# Install python with: |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
npm install -g eslint babel-eslint eslint-config-standard-react eslint-config-standard eslint-plugin-promise eslint-plugin-standard eslint-config-standard eslint-plugin-flow-vars eslint-plugin-react |
# -*- coding: utf-8 -*- | |
""" | |
Dump out objects and all nested associations. | |
""" | |
from __future__ import absolute_import, print_function, unicode_literals | |
import sys | |
from django.contrib.admin.utils import NestedObjects | |
from django.core import serializers |
# -*- coding: utf-8 -*- | |
""" | |
Dump out objects and all nested associations. | |
""" | |
from __future__ import absolute_import, print_function, unicode_literals | |
import sys | |
from django.contrib.admin.utils import NestedObjects | |
from django.core import serializers |