Set up Wi-Fi:
sudo apt-get install bcmwl-kernel-source
sudo modprobe wl
in the file /etc/modules
, add the line
wl
in order to start up the wireless service upon reboot.
GOCMD=go | |
GOTEST=$(GOCMD) test | |
GOVET=$(GOCMD) vet | |
BINARY_NAME=example | |
VERSION?=0.0.0 | |
SERVICE_PORT?=3000 | |
DOCKER_REGISTRY?= #if set it should finished by / | |
EXPORT_RESULT?=false # for CI please set EXPORT_RESULT to true | |
GREEN := $(shell tput -Txterm setaf 2) |
# | |
# to make it work use the multithreaded version like `make -j4` | |
# | |
BINPATH = ./node_modules/.bin | |
SRCDIR = src | |
TARGETDIR = dist | |
SUBDIRS = $(SRCDIR) $(TARGETDIR) $(BINPATH) | |
JSSRC = $(shell find $(SRCDIR)/js -type f -name '*.js') | |
CSSSRC = $(SRCDIR)/css/main.css | |
JSTARGET = $(TARGETDIR)/app.js |
Set up Wi-Fi:
sudo apt-get install bcmwl-kernel-source
sudo modprobe wl
in the file /etc/modules
, add the line
wl
in order to start up the wireless service upon reboot.
I was tired of the unreadable minimal theme by @orderedlist so I overhauled the font sizing and typography to generate this beautiful modern style for forward thinking open source projects to use.
If you've ever used Gitbook, you'll be familiar with my modern / crisp styling and attention to detail.
This is my take on how to get up and running with NGINX, PHP-FPM, MySQL and phpMyAdmin on OSX Yosemite.
This article is adapted from the original by Jonas Friedmann. Who I just discovered is from Würzburg in Germany. A stonesthrow from where I was born ;)
Make sure you have the latest version of XCode installed. Available from the Mac App Store.
Install the Xcode Command Line Tools:
xcode-select --install
#!/bin/bash | |
##################################################### | |
# Name: Bash CheatSheet for Mac OSX | |
# | |
# A little overlook of the Bash basics | |
# | |
# Usage: | |
# | |
# Author: J. Le Coupanec | |
# Date: 2014/11/04 |
##Things a "full stack" developer needs to know...
#Creates a new issue with custom fields | |
curl -D- -u uname:pass -X POST --data "{\"fields\": {\"project\": { \"id\": \"10430\" },\"summary\": \"This is a test issue\", \"description\": \"Description\",\"issuetype\": { \"id\" : \"1\"}, \"components\" : [{\"id\":\"10731\"}], \"customfield_10711\" : [{\"id\":\"10500\"}] } }" -H "Content-Type: application/json" http://localhost:8080/jira/rest/api/2/issue/ | |
#Returns all information for all versions | |
curl -D- -u uname:pass -X PUT -d "Content-Type: application/json" http://localhost:8080/jira/rest/api/2/project/AN/versions? | |
#Returns all issues in a version | |
#This URL requires the version ID of a single version which is provided by the above query | |
curl -D- -u uname:pass -X PUT -d "Content-Type: application/json" http://localhost:8080/jira/rest/api/2/search?jql=project="AN"+AND+fixVersion='12345' |
# Rails Stuff | |
alias stoprails='kill -9 $(lsof -i :3000 -t)' | |
alias startrails='rails server -d' | |
alias restartrails='stopRails && startRails' | |
#Check PHP For Erroes | |
alias phpcheck='find ./ -name \*.php | xargs -n 1 php -l' | |
# ROT13-encode text. Works for decoding, too! ;) | |
alias rot13='tr a-zA-Z n-za-mN-ZA-M' |