ssh -i ~/.ssh/your_key_rsa [email protected]
sudo bash # Set User Admin privileges
cd /var/www/ # Change to Doc-Root
chown -R username html # Give privileges to Doc-Roo
chgrp wheel html # Set Apache-group
# Restart Apache, if needed
$ cat ~/.ssh/id_rsa.pub | ssh [email protected] 'cat >> .ssh/authorized_keys'
Don't write CSS for floated images for every size you need any more. Just use this approach to align your media – left or right.
A Pen by David Maciejewski on CodePen.
// ---- | |
// libsass (v3.3.2) | |
// ---- | |
$layout-breakpoints: ( | |
small: 480px, | |
medium: 600px, | |
large: 1024px, | |
xlarge: 1300px, | |
xxlarge: 1600px, |
Often my students and followers ask me, what tools and libraries I am using and why. Here is a small but growing list of some of them.
Shortlink: bit.ly/what-are-you-using
General Questions | My Answer |
---|---|
Are you using a CSS preprocessor? | Yes, I'm using Sass |
Isn't a CSS postprocessor better? | Depends. I'm using Sass and PostCSS together |
Install the the following Bluemix CLI and follow the folling steps to setup and control IBM Bluemix Containers:
# Install Kubernets CLI and Shell Autocompletion
$ brew install kubectl bash-completion@2 cloudfoundry/tap/cf-cli
# Login to your bluemix account
I hereby claim:
- I am macx on github.
- I am macx (https://keybase.io/macx) on keybase.
- I have a public key ASCNJ8FXv09Fx6OXmNFGGsr0WnC4nuQ-Pt_Se9aM04_6vgo
To claim this, I am signing this object:
Es gibt gute Gründe, für sauber strukturierten Quellcode. Einheitliche Einrückungen durch Leerzeichen (Spaces) oder Tabs helfen der Übersichtlichkeit, der Fehlersuche und der schnelleren Navigation. Man kann ihn also besser lesen und schneller verstehen. Anbei ein paar gute und schlechte Beispiele.
submodule="src/fields/builder"
git rm "$submodule" && rm -rf ".git/modules/$submodule" && git config -f ".git/config" --remove-section "submodule.$submodule" 2> /dev/null && git commit -m "Remove submodule $submodule"
Credit: https://gist.github.com/myusuf3/7f645819ded92bda6677#gistcomment-2797195