Skip to content

Instantly share code, notes, and snippets.

@dexterbt1
dexterbt1 / management-leadership.md
Created April 12, 2023 05:33
tuckerconnelly.com/management-leadership.md

Personal Principles and Process

On Culture and Environment

  • Some good values to promulgate: truth, caring for one another, radical candor, working hard, shipping.
  • A corporate culture is indispensable. “Someone adhering to the values of of the corporate culture—an intelligent corporate citizen—will behave consistently under similar conditions, which means that managers don’t have to suffer inefficiencies engendered by formal rules, procedures, and regulations that are sometimes used to get the same result.” ~ High Output Management
  • "Be wary of making too many rules. Rules can simplify life for managers, but they can be demeaning to the 95 percent who behave well. Don’t create rules to rein in the other 5 percent—address abuses of common sense individually. This is more work but ultimately healthier." ~ Creativity, Inc.
  • Set a clear vision for the team. (From Google's Project Oxygen)
  • Building a culture of continuous shipping can create a flywheel effect (from Good to Great). You can promote this b
@dexterbt1
dexterbt1 / worker.py
Created May 23, 2018 10:16
stomp worker pattern
import sys
import uuid
import threading
import stomp
class BcastMTWorkerListener(stomp.ConnectionListener):
def __init__(self, conn, receipt_waiting):
@jmn
jmn / django_pagination_bootstrap4
Created August 28, 2017 00:55
Django pagination controls for Bootstrap 4
{% if is_paginated %}
<nav aria-label="Page navigation example">
<ul class="pagination justify-content-left">
{% if page_obj.has_previous %}
<li class="page-item"><a class="page-link" href="?page={{ page_obj.previous_page_number }}">&laquo;</a></li>
{% else %}
<li class="page-item disabled"><a class="page-link" href="#"><span>&laquo;</span></a></li>
{% endif %}
{% for i in paginator.page_range %}
{% if page_obj.number == i %}
@wavezhang
wavezhang / java_download.sh
Last active July 25, 2024 13:56
download java from oracle without login
wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz
@nazarewk
nazarewk / ansible.cfg
Last active August 2, 2021 20:27
Ansible SSH Agent forwarding with Jump (bastion) host
[defaults]
sudo_flags = SSH_AUTH_SOCK="$SSH_AUTH_SOCK" -H -S -n
[ssh_connection]
ssh_args=-o ForwardAgent=yes
@subfuzion
subfuzion / README.md
Last active December 9, 2017 15:59
Bootstrapping a local Docker 1.12 swarm with multiple virtualbox machines

Overview

It's easy enough to set up your machine as a swarm manager for local development on a single node swarm. But how about setting up multiple local nodes using Docker Machine in case you want to simulate a multiple node environment (maybe to test HA features)?

The following script demonstrates a simple way to specify the number of manager and worker nodes you want and then bootstrap a swarm.

You can also check out the sample as a Github project here.

Job Title:
Developer
Overall Description:
Develop, maintain, extend, and operate Platform and Services for Mobile, Voice and Web.
Background:
We are IG Group of Companies, a specialist technology group focused in helping our clients make
a difference in the Mobile / Telco / Internet space. We have always been pioneering innovators
and have consistently maintained leadership in the industry; seen as top-of-mind, go-to partners
@midwire
midwire / ffmpeg-install.sh
Last active September 4, 2018 08:00 — forked from clayton/ffmpeg-install.sh
Install FFMPEG on OS X with HomeBrew and all libs and support
brew install ffmpeg \
--with-dcadec \
--with-faac \
--with-fdk-aac \
--with-ffplay \
--with-fontconfig \
--with-freetype \
--with-frei0r \
--with-libass \
--with-libbluray \
@sdieunidou
sdieunidou / rabbitmq.txt
Created October 22, 2015 19:51
create admin user on rabbitmq
rabbitmqctl add_user test test
rabbitmqctl set_user_tags test administrator
rabbitmqctl set_permissions -p / test ".*" ".*" ".*"