#Git notes
Warning : Support for isplay of git notes has been dropped by github : https://github.com/blog/707-git-notes-display
Resource : https://vimeo.com/34273537
##Add
git notes add
import asyncio | |
import base64 | |
import concurrent.futures | |
from functools import partial | |
import os | |
import pip | |
import re | |
import requests |
#Git notes
Warning : Support for isplay of git notes has been dropped by github : https://github.com/blog/707-git-notes-display
Resource : https://vimeo.com/34273537
##Add
git notes add
Python syntax here : 2.7 - online REPL
Javascript ES6 via Babel transpilation - online REPL
import math
docker-machine create --driver virtualbox dev
docker-machine env dev
(add values to ~/.zshrc
)
echo eval "$(docker-machine env dev)" >> ~/.zshrc
docker-machine ls
docker ps
(might need to re-source .zshrc
file; e.g. . ~/.zshrc
)docker run hello-world
docker-machine ip dev
{ | |
"containerDefinitions": [ | |
{ | |
"volumesFrom": [], | |
"portMappings": [], | |
"command": [ | |
"-t <TOKEN>", | |
"-j", | |
"--skipByName ecs-agent" | |
], |
Using Homebrew on Mac OS X:
brew install jq
Add these aliases to your profile (e.g., ~/.zshrc
, ~/.bashrc
, ~/.profile
, etc.):
alias hurlp='pbpaste | jq ".log.entries" | tee >(jq --raw-output "[.[] | .request.url] | sort | unique | .[]")'
alias hurld='pbpaste | jq ".log.entries" | jq --raw-output "[.[] | .request.url] | sort | unique | .[]" | harurls | tee >(xargs -n 1 curl -O $1)'
import logging | |
import os | |
import time | |
import traceback | |
# pip install slackclient | |
from slackclient import SlackClient | |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
NOTE: This assumes that you have Valet, Homebrew, Sublime Text and PHP properly installed and functioning and will only focus on the setup and installation and setup of Xdebug. There are other tutorials that go into great depth explaining how to get those tools installed on your mac.
Let's get started right away!
You need to know which version of PHP you are running in your machine. To do so, from the terminal run the command php -v
and this will display something like this
PHP 7.0.14 (cli) (built: Dec 8 2016 23:34:17) ( NTS )