This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
nmcli con add \ | |
type wifi \ | |
con-name "eduroam" \ | |
ifname "XXXXXXXXX" \ # Replace with interface name | |
ssid "eduroam" \ | |
wifi-sec.key-mgmt "wpa-eap" \ | |
802-1x.identity "aXXXXXX@alunos.uminho.pt" \ | |
# 802-1x.password "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" \ # must actually be password file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* I tried to calculate pi using Monte Carlo's method. It proved to be a very inefficient way to do it, but I loved | |
* the experience of writing SIMD intrinsics for the first time! | |
* | |
* This method is not ideal for various reasons: | |
* | |
* - Monte Carlo's method is, though technically not brute-force, slow. Trying a very large sample of points is a | |
* lengthier process than calculating a series up to a given number of terms, which will likely converge to pi | |
* faster than this method. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#!/data/data/com.termux/files/usr/bin/sh | |
# \ | |
# \_ Choose the correct shebang depending on whether you use Termux or a | |
# regular Linux system. | |
# ----------------------------------- ABOUT ----------------------------------- | |
# | |
# Script to automatically download the QR code used to eat at UMinho's | |
# cafeterias, avoiding the (absolutely) proprietary app. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 | |
20 | |
21 | |
22 | |
23 | |
43 | |
80 | |
81 | |
110 | |
143 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
#canvas { | |
position: absolute; | |
top: 0px; left: 0px; | |
} | |
</style> | |
<script src="shaders.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<project source="3.8.0" version="1.0"> | |
This file is intended to be loaded by Logisim-evolution v3.8.0(https://github.com/logisim-evolution/). | |
<lib desc="#Wiring" name="0"> | |
<tool name="Splitter"> | |
<a name="appear" val="right"/> | |
<a name="facing" val="north"/> | |
</tool> | |
<tool name="Pin"> |