Skip to content

Instantly share code, notes, and snippets.

@xiris
xiris / romanjrsXecgabriel.json
Created April 3, 2024 19:19
Testing image analyser - RomanJrs x EC Gabriel
{
"Match Result": {
"Roman jrs": 3,
"EC Gabriel": 1
},
"Players": [
{
"Number": 13,
"Name": "Germán Adrián Burgos",
"Status": "Played",
@xiris
xiris / Dockerfile
Created September 2, 2023 13:50
Docker & Radmin VPN
FROM ubuntu:20.04
# Specify a workdir, to better organize your files inside the container.
WORKDIR /radminvpn
# Update package lists and install required packages
RUN apt-get update && \
apt-get install -y wget software-properties-common gnupg2 winbind xvfb
# Add Wine repository and install Wine
@xiris
xiris / ArchLinuxWSL2.md
Created May 18, 2021 19:43 — forked from ld100/ArchLinuxWSL2.md
Steps for setting up Arch Linux on WSL2

Migrating from Ubuntu on WSL to ArchLinux on WSL2

Upgrading to WSL 2

  • Download WSL2 Kernel
  • run wsl --set-default-version 2 in windows command line, so that all future WSL machine will use WSL2.

Installing Arch Linux

@xiris
xiris / fix-shared-hosts.md
Last active March 10, 2017 11:47
Vagrant shared hosts problem

Fixing the problems with shared hosts

  • Vagrant: 1.9.2
  • Virtualbox: 5.1.2

ON GUEST (vagrant)

Installing basic packages

sudo apt-get install virtualbox-guest-utils virtualbox-guest-x11 virtualbox-guest-dkms

Keybase proof

I hereby claim:

  • I am xiris on github.
  • I am xiris (https://keybase.io/xiris) on keybase.
  • I have a public key ASBSowMS1ZTop4RCQBziq71d0DkCGxQdKiHRUFtoYLwZIAo

To claim this, I am signing this object:

@xiris
xiris / 00.howto_install_phantomjs.md
Created November 16, 2016 11:03 — forked from julionc/00.howto_install_phantomjs.md
How to install PhantomJS on Debian/Ubuntu

How to install PhantomJS on Ubuntu

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
@xiris
xiris / shit-code.php
Last active January 28, 2016 22:04
Example how to DONT code
<?php
/**
* class bbablabla ....
* ...
* ..
*
*/
public function init(
$arg_user_id,
@xiris
xiris / .bash_aliases
Last active September 18, 2020 14:08
# File: ~/bash_aliases
# Author: Oliver Michels <oliver.michels@gmx.net>
# Desc: Definition of some useful aliases for the bash
# Some common shortcuts for file-/directory commands
alias ls='ls --color=auto'
alias la='ls -a'
alias ll='ls -l'
alias lla='ls -la'
alias l='ls'

#Introduction If you're a php developer on ubuntu, there comes the time where you have to install/reinstall your system. I did it already a few times and i decided to write down the steps for a typical web developer stack with php. This is for a developer machine and not for a live environment!

I hope it helps you too!

fyi @mheiniger and me started with an installer here: https://github.com/mheiniger/webdev-setup