Version: 1.9.8
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
function slugify(string) { | |
const a = 'àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;' | |
const b = 'aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------' | |
const p = new RegExp(a.split('').join('|'), 'g') | |
return string.toString().toLowerCase() | |
.replace(/\s+/g, '-') // Replace spaces with - | |
.replace(p, c => b.charAt(a.indexOf(c))) // Replace special characters | |
.replace(/&/g, '-and-') // Replace & with 'and' | |
.replace(/[^\w\-]+/g, '') // Remove all non-word characters |
# copy files from shh to local | |
scp -r user@your.server.example.com:/path/to/foo /home/user/Desktop/ | |
# and upload from local to ssh | |
scp -r /path/from/destination username@hostname:/path/to/destination |
// Check if a slave has < 10 GB of free space, wipe out workspaces if it does | |
import hudson.model.*; | |
import hudson.util.*; | |
import jenkins.model.*; | |
import hudson.FilePath.FileCallable; | |
import hudson.slaves.OfflineCause; | |
import hudson.node_monitors.*; | |
# remove dangling (untagged) images (with -f force) | |
docker rmi -f $(docker images -f "dangling=true" -q) | |
docker rm $(docker ps -q -f status=exited) # Cleanup exited processes: | |
docker volume rm $(docker volume ls -qf dangling=true) # Cleanup dangling volumes | |
docker rmi $(docker images --filter "dangling=true" -q --no-trunc) # Cleanup dangling images | |
# start jenkins with port mapping and passing in docker.sock | |
sudo docker run -u root --rm -d -p 80:8080 -p 5000:5000 -v jenkins-data:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock jenkinsci/blueocean |
### Keybase proof | |
I hereby claim: | |
* I am tmaximini on github. | |
* I am tmaximini (https://keybase.io/tmaximini) on keybase. | |
* I have a public key whose fingerprint is 8DA4 8630 49F6 00C5 DEAD 1B9E B3C4 9339 9AAF 02D5 | |
To claim this, I am signing this object: |
[http://www.meetup.com/React-Berlin/events/221080348/](React Berlin - Meetup #1 - React Berlin)
Peter Magenheimer (@peterjmag)
I'm a front end developer at ResearchGate. And yes, we're hiring.
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
.my-class { | |
font-size: 14px; | |
color: black; | |
&__bodytext { | |
font-size: 12px; |
// ---- | |
// Sass (v3.4.7) | |
// Compass (v1.0.1) | |
// ---- | |
.spaVoucher .spaVoucher { | |
font-size: 14px; | |
color: black; | |
&__bodytext { | |
font-size: 12px; |