Skip to content

Instantly share code, notes, and snippets.

View Mstrodl's full-sized avatar
🖖
chom

Mary Mstrodl

🖖
chom
View GitHub Profile
<VirtualHost *:80>
DocumentRoot /var/www/html/vuedo/public
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory "/var/www/html/vuedo/public">
AllowOverride All
</Directory>
</VirtualHost>
@Mstrodl
Mstrodl / install-background.sh
Last active March 24, 2017 04:29 — forked from slice/install-background.sh
Run this script in the background. A log file will be created at /b1n.log. Because we need to do this line by line, echo and log instructions should be left out since those are only for debugging. Define the functions too, but make it on one line like this: NAME() { BLAH }. Remember to leave out all log instructions and leave out >$LOG 2>&1.
echo "script will launch in background"
echo "cat /b1n.log to see progress"
LOG="/b1n.log"
# the log file we will be using
echo "*** $(date) script begin ***" > $LOG
log() {
echo "$*" >> $LOG

Keybase proof

I hereby claim:

To claim this, I am signing this object:

#use strict;
use warnings;
print "Content-Type:text/html\r\n\r\n";
if ($0=~m#^(.*)\\#) {
$cgi_dir = "$1";
} elsif ($0=~m#^(.*)/# ) {
$ cgi_dir = "$1";
} else {`pwd` =~ /(.*)/;
$ cgi_dir = "$1";

OwO - Getting Started

Uploading via TIGCap on *NIX

  1. Install TIGCap via the AUR Package or a prebuilt binary
  2. Open the TIGCap menu by right-clicking on Linux or left-clicking on Mac and click the settings button
  3. This window should pop up

Settings menu

  1. Change the Upload to Service dropdown to OwO
  2. Add your Token and choose a vanity URL (Must include a trailing slash)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Mstrodl
Mstrodl / tetris.py
Created March 23, 2021 02:07
tetris
from math import *