I hereby claim:
- I am oversize on github.
- I am oversize (https://keybase.io/oversize) on keybase.
- I have a public key ASBjigMwCZxpyTlqYksEp-BltTmyNXhtueLkBVQfQ0XlmAo
To claim this, I am signing this object:
alias dj='python manage.py' | |
alias djsync='dj syncdb' | |
alias djrun='dj runserver' | |
export WORKON_HOME=~/.venvs | |
export PIP_RESPECT_VIRTUALENV=true | |
export PIP_REQUIRE_VIRTUALENV=true | |
export PIP_VIRTUALENV_BASE=$WORKON_HOME |
#!/usr/bin/python2.6 | |
PACKAGE = 'your_project_name.models' # <--- SET YOUR PACKAGE NAME | |
import os | |
import types | |
module_methods = [] | |
model_dir = os.path.dirname(__file__) | |
for name in os.listdir(model_dir): # Search through every file inside this directory. |
I hereby claim:
To claim this, I am signing this object:
URxvt*geometry: 120x40 | |
URxvt*perl-ext-common: default,keyboard-select,matcher,clipboard,url-select | |
URxvt*keysym.Shift-Control-C: perl:clipboard:copy | |
URxvt*keysym.Shift-Control-V: perl:clipboard:paste | |
! URxvt*chdir: string | |
! URxvt*reverseVideo: boolean | |
! URxvt*loginShell: boolean | |
! URxvt*multiClickTime: number |
Magic words:
psql -U postgres
Some interesting flags (to see all, use -h
or --help
depending on your psql version):
-E
: will describe the underlaying queries of the \
commands (cool for learning!)-l
: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)#!/bin/bash | |
# SPDX-License-Identifier: MIT | |
## Copyright (C) 2009 Przemyslaw Pawelczyk <przemoc@gmail.com> | |
## | |
## This script is licensed under the terms of the MIT license. | |
## https://opensource.org/licenses/MIT | |
# | |
# Lockable script boilerplate | |
{ | |
"name": "BembelPool", | |
"description": "A stake pool that loves Bembel", | |
"ticker": "BEMP", | |
"homepage": "http://www.bembelpool.de/" | |
} |
{ | |
"name": "BembelPool", | |
"description": "A Pool for Bembel friends", | |
"ticker": "BEMP", | |
"homepage": "https://bembelpool.de" | |
} |
The cardano-cli binary is bundled with the cardano-node release. Download that from here https://github.com/input-output-hk/cardano-node/releases
The cardano-cli talks to a node via a unix domain socket. That socket must be provided via the CARDANO_NODE_SOCKET_PATH environment variable. I have not seen another way of specifying the socket other then setting the env var.
The cardano-cli provides a rich interface to interact with the node to generate keys and addresses, build and sign transactions, query the ledger and more. The individual commans and some notes are down below.