Skip to content

Instantly share code, notes, and snippets.

View dewwwald's full-sized avatar

dewald dewwwald

View GitHub Profile
@dewwwald
dewwwald / _README.md
Created September 8, 2015 08:11
SSH

Add ssh key to host in one line

cat ~/.ssh/id_rsa.pub | ssh user@hostname 'cat >> .ssh/authorized_keys'
@dewwwald
dewwwald / _A.md
Last active November 6, 2015 09:04

#SCSS Utils Code _utils.scss is made as a plugin for scss frameworks that will assist in shortening certain code.

@dewwwald
dewwwald / _README.md
Created May 19, 2015 07:47
Javascript project utils

#Javascript Project Utils

@dewwwald
dewwwald / _README.md
Last active August 29, 2015 14:18
Install Git-Flow locally

#Install gitflow for a user

##Ubuntu 12.04

curl -OL https://raw.github.com/nvie/gitflow/develop/contrib/gitflow-installer.sh
chmod +x gitflow-installer.sh
INSTALL_PREFIX=~/bin ./gitflow-installer.sh
echo 'export PATH=$HOME/bin:$PATH' >> ~/.bashrc
@dewwwald
dewwwald / _README.md
Last active August 29, 2015 14:18
Install git from source

Install git from source for user

##Ubuntu 12.04

# install dependencies
sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev 
# fixes Gutils.cache 
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install asciidoc xmlto docbook2x
@dewwwald
dewwwald / A.markdown
Last active August 29, 2015 14:18 — forked from larrybotha/A.markdown

Add Your Public SSH Key To Your Server In One Command

You will need to create .ssh/authorized_keys if it is not yet on your server.

cat ~/.ssh/id_rsa.pub | ssh user@hostname 'cat >> .ssh/authorized_keys'

Generating Your Own Public Key

@dewwwald
dewwwald / _README.md
Last active August 29, 2015 14:16
Set up LAMP

#How to install LAMP (Ubuntu 14.10) this did not work

Note that after I added my old bash scripts the issue of repositories missing disappeared.

##LINUX Install linux by creating a bootable flash.

  • I used 'startup disc creator' on ubuntu.
  • Access BIOs F2 and set startup order to flash first. (Remember to fix the order when done)
  • Follow the setup

#Development Workflow For SVG Embedding

Working with svg as an embedded object can be tough, however there a few reasons why I have done this:

  • One can manipulate an svg with your normal css
  • One can add dynamic content to an svg by using string manipulation

##Equipment

  • Illustrator (create svg)
  • fixate/pw-mvc-boilerplate on github (A ProcessWire(PW) CMS boilerplate)
  • gulp (Manipulate svg)
@dewwwald
dewwwald / _A.md
Last active August 29, 2015 14:02
CSS Tips and Tricks case study's. Center an element in another block element.

#CSS Tricks ##Center an element in a parent element