Skip to content

Instantly share code, notes, and snippets.

View lucasmaurice's full-sized avatar

Sonic lucasmaurice

View GitHub Profile
<?php
echo "<p>Hello World</p>";
$param = "123";
$command = escapeshellcmd("python3 ./test.py ".$param);
$output = shell_exec($command);
echo $output;
@lucasmaurice
lucasmaurice / install.md
Last active July 3, 2018 16:59
How to install Cuda on Ubuntu 18.04

Instructions for install Cuda on Ubuntu 18.04

1. Update repository and install drivers

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo ubuntu-drivers autoinstall

2. Reboot your computer

@lucasmaurice
lucasmaurice / header.java
Last active July 10, 2018 03:49
Java Class header for ETS.
/******************************************************
Course: LOG121
Session: E18
Group: 7
Project: ${PROJECT_NAME}
Students: Lucas Maurice; Raphael Duchaine; Jimmy Kong
Professor: Francis Cardinal
Purpose: TODO: Add Purpose
File Name: ${NAME}
Creation: ${DATE}
#!/bin/sh
chromium-browser --app=http://wm.etsmtl.ca:5000 --start-fullscreen