Skip to content

Instantly share code, notes, and snippets.

View sicet7's full-sized avatar

Martin René Sørensen sicet7

View GitHub Profile
@sicet7
sicet7 / Dockerfile
Last active October 13, 2018 12:40
Runescape 3 Client Docker image WIP.
FROM nvidia/opengl:1.1-glvnd-runtime-ubuntu16.04
RUN apt update && \
apt install -y wget libsdl2-2.0-0 libc6 libcurl3-gnutls libstdc++6 libgcc1 libvorbisenc2 libwebkitgtk-1.0-0 libcurl3 libcanberra-gtk-module && \
apt install -y xdg-utils --fix-missing && \
wget http://gr.archive.ubuntu.com/ubuntu/pool/main/g/glew/libglew1.10_1.10.0-3_amd64.deb && dpkg -i libglew1.10_1.10.0-3_amd64.deb && rm libglew1.10_1.10.0-3_amd64.deb && \
wget http://content.runescape.com/downloads/ubuntu/pool/non-free/r/runescape-launcher/runescape-launcher_2.2.4_amd64.deb && dpkg -i runescape-launcher_2.2.4_amd64.deb && \
rm runescape-launcher_2.2.4_amd64.deb && apt clean
ENTRYPOINT ["/usr/bin/runescape-launcher"]
@sicet7
sicet7 / .gitconfig
Last active October 15, 2020 06:36
My Aliases in my .gitconfig
[user]
email = [email protected]
name = Your Name
[alias]
assume = update-index --assume-unchanged
unassume = update-index --no-assume-unchanged
assumed = "!git ls-files -v | grep ^h | cut -c 3-"
ours = "!f() { git checkout --ours $@ && git add $@; }; f"
theirs = "!f() { git checkout --theirs $@ && git add $@; }; f"
unstage = reset HEAD
@sicet7
sicet7 / style.css
Created November 14, 2017 08:00
Cross-browser test wrap fix
.element{
overflow-wrap: break-word;
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;
}