- Python 3
- Pip 3
$ brew install python3| # Copyright (c) 2013-2016 Kyle Gorman | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a | |
| # copy of this software and associated documentation files (the | |
| # "Software"), to deal in the Software without restriction, including | |
| # without limitation the rights to use, copy, modify, merge, publish, | |
| # distribute, sublicense, and/or sell copies of the Software, and to | |
| # permit persons to whom the Software is furnished to do so, subject to | |
| # the following conditions: | |
| # |
| #!/usr/bin/env bash | |
| # memusg -- Measure memory usage of processes | |
| # Usage: memusg COMMAND [ARGS]... | |
| # | |
| # Author: Jaeho Shin <netj@sparcs.org> | |
| # Created: 2010-08-16 | |
| ############################################################################ | |
| # Copyright 2010 Jaeho Shin. # | |
| # # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); # |
| #!/bin/sh | |
| # | |
| # Startup/shutdown script for Git Daemon | |
| # chkconfig: 345 56 10 | |
| # | |
| # description: Startup/shutdown script for Git Daemon | |
| # | |
| . /etc/init.d/functions | |
| DAEMON=/usr/libexec/git-core/git-daemon |
| # -*- coding: utf-8 -*- | |
| # | |
| # Author: Ian Eure <http://github.com/ieure>, <http://atomized.org> | |
| # | |
| """Enter the debugger on exceptions. | |
| example: | |
| from __future__ import with_statement |
| /* | |
| The MIT License (MIT) | |
| Copyright (c) 2014 Ismael Celis | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |
| #!/bin/bash | |
| readonly DB_FILE="$(pwd)/images.db" | |
| readonly IMG_DIR="$(pwd)/images" | |
| save-images() { | |
| echo "Create ${DB_FILE}" | |
| echo "$(docker images|grep -v 'IMAGE ID'|awk '{printf("%s %s %s\n", $1, $2, $3)}'|column -t)" > "${DB_FILE}" | |
| echo "Read ${DB_FILE}" |
Picking the right architecture = Picking the right battles + Managing trade-offs