Skip to content

Instantly share code, notes, and snippets.

View skobba's full-sized avatar

Gjermund Skobba skobba

View GitHub Profile
@skobba
skobba / Jenkins.txt
Last active July 9, 2019 11:10
Jenkins
# Force Build
Jenkins->FDK->build_all, Build With Parameters, after=ønsket git-commit, ref=refs/heads/develop (eller annen branch)
# cJenkins (terminal)
python cjenkins -u <username> -p <password> -l <jenkins 1 address> .. <jenkins n address>
chmod u=rx file (Give the owner rx permissions, not w)
chmod go-rwx file (Deny rwx permission for group, others)
chmod g+w file (Give write permission to the group)
chmod a+x file1 file2 (Give execute permission to everybody)
chmod g+rx,o+x file (OK to combine like this with a comma)

get

Gets the value at path of object. If the resolved value is undefined, the defaultValue is returned in its place.

h1 - 2.8rem (62px)
p - 1.6rem (16px)
<span>
display: inline; /* the default for span */
html {
font-size: 62.5%;
}
body {
# Center content
my-auto
https://blog.logrocket.com/choosing-between-babel-and-typescript-4ed1ad563e41/
# Ref
https://hackernoon.com/a-better-way-to-develop-node-js-with-docker-cd29d3a0093
# Developing libs with npm link
In lib packaged run:
npm link
In main proj run:
npm link mylib
# Install java8 (Java SE Development Kit 8u211)
Java 8 is not in brew!
https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
extgjs@brreg.no/4325dfgSFGds
# Uninstall java11
brew cask uninstall java11
# Known issues
1. runAll.sh is not run -> run runAll.sh :)
2. Apache Jena - lock
delete lockfiles under ./fdk/data
3. nginx start to late
Make sure nginx start last.
# Install Java8 and/or Maven
@skobba
skobba / git
Last active June 21, 2019 10:43
# Spit commits
git reset HEAD~
# Exit merge
git reset --hard HEAD
git pull --strategy=theirs remote_branch
git fetch origin
git reset --hard origin
# Reset to specific branch