Skip to content

Instantly share code, notes, and snippets.

Jan Mewes jmewes

View GitHub Profile
@jmewes
jmewes / notes.md
Last active Apr 16, 2019
Create bootable UBS stick from ISO
View notes.md

Identify the device file name:

sudo fdisk /dev/sd* -l

Declare variables:

ISO_FILE=/home/janux/Downloads/debian-live-9.6.0-amd64-gnome.iso
GENERAL_STICK_PARTION=/dev/sdb
@jmewes
jmewes / notes.md
Last active Nov 28, 2018
Set debug log level for Spring Boot tests
View notes.md
@jmewes
jmewes / Ubuntu.sh
Last active Jan 3, 2018
How to connect to a RDP server?
View Ubuntu.sh
# Install rdesktop
sudo apt update
sudo apt install rdesktop -y
# Connect directly with username and password
rdesktop $IP -u $USER -p $PASSWORD
# Connect using with a non-default port (default is 3389)
rdesktop $IP:$PORT
@jmewes
jmewes / Dockerfile
Last active Jan 28, 2018
Develop CaptainCasa apps with Docker
View Dockerfile
FROM tomcat
ENV JAVA_OPTS="-Djava.security.egd=file:/dev/urandom"
RUN addgroup tomcatusers && adduser --disabled-password tomcat && adduser tomcat tomcatusers
RUN chown -R tomcat:tomcatusers .
USER tomcat
COPY editor.war /usr/local/tomcat/webapps/editor.war
COPY index.jsp /usr/local/tomcat/webapps/ROOT/index.jsp
@jmewes
jmewes / notes.md
Last active Sep 30, 2017
Project Management > Manage Stakeholder Engagements
@jmewes
jmewes / notes.md
Last active Sep 30, 2017
Project Management > Plan Stakeholder Management
View notes.md
@jmewes
jmewes / notes.md
Last active Sep 30, 2017
Project Management > Identify Stakeholders
@jmewes
jmewes / notes.md
Last active Sep 30, 2017
Project Management > Close Procurements
View notes.md
You can’t perform that action at this time.