This is the reference point. All the other options are based off this.
|-- app
| |-- controllers
| | |-- admin
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
function base64_decode (data) { | |
// http://kevin.vanzonneveld.net | |
// + original by: Tyler Akins (http://rumkin.com) | |
// + improved by: Thunder.m | |
// + input by: Aman Gupta | |
// + improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net) | |
// + bugfixed by: Onno Marsman | |
// + bugfixed by: Pellentesque Malesuada | |
// + improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net) | |
// + input by: Brett Zamir (http://brett-zamir.me) |
def yes_or_no(question): | |
reply = str(raw_input(question+' (y/n): ')).lower().strip() | |
if reply[0] == 'y': | |
return True | |
if reply[0] == 'n': | |
return False | |
else: | |
return yes_or_no("Uhhhh... please enter ") |
Install Dependencies
sudo yum install GConf2-devel systemd-devel mesa-libGLU-devel libstdc++.i686 subversion \
libX11-devel libjpeg-devel gcc-c++ libXScrnSaver-devel fontconfig-devel cups-devel libgcc.i686 \
flex libXt-devel pulseaudio-libs-devel dbus-glib-devel bison dbus-devel alsa-lib-devel \
elfutils-libelf-devel libgnome-keyring-devel pango-devel glibc.i686 libXtst-devel pkgconfig \
libudev-devel glib2-devel bzip2-devel python nss-devel nspr-devel libcap-devel expat-devel \
gperf pciutils-devel gtk2-devel libgcrypt-devel perl freetype-devel perl-Digest-MD5 \
# Copyright (c) 2016-2018 Ming Qin (覃明) <https://github.com/QinMing> | |
# Open source under MIT LICENSE. | |
lazy_load() { | |
# Act as a stub to another shell function/command. When first run, it will load the actual function/command then execute it. | |
# E.g. This made my zsh load 0.8 seconds faster by loading `nvm` when "nvm", "npm" or "node" is used for the first time | |
# $1: space separated list of alias to release after the first load | |
# $2: file to source | |
# $3: name of the command to run after it's loaded | |
# $4+: argv to be passed to $3 |
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.
apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing \ | |
x11vnc |