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
for file in *.c; do gcc -E -P -I ../include/ -o `expr substr $file 1 \( \( length $file \) - 2 \)`.i $file; done |
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 -ex | |
for folder in $(ls); do | |
if [ -d "$folder" ]; then | |
cd $folder | |
patch -p1 < ../patch.diff | |
git add . | |
git pull | |
git commit -m "Apply patch from template" | |
git push |
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
unused = "#79e11a" | |
[nightowl] | |
gray1 = "#637777" | |
gray2 = "#657b83" | |
gray3 = "#aaaaaa" | |
gray4 = "#d6deeb" | |
black = "#011627" | |
blue = "#7fdbca" |
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
\documentclass{article} | |
\usepackage{amsmath} | |
\begin{document} | |
\begin{table}[h!] | |
\centering | |
\begin{tabular}{ | c | c | c | c | c | c | c | c | c | c | } | |
\hline |
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
/* | |
es. 07 - transposition_cipher.cpp | |
Creare una classe Codice con attributi due stringhe (l'originale e la | |
trasformata). Creare un programma di trasformazione che prenda dal | |
main una stringa e la codifichi e decodifichi col cifrario A | |
TRASPOSIZIONE (libro pag. 66). Scegliere i metodi a piacere, | |
considerando che da una stringa iniziale si debba potere codificare | |
(metodo CODIFICA) e decodificare (metodo DECODIFICA). | |
Volpe Stefano (5Bsa) |
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
# configure Wi-Fi using dynamic IP (admin required) | |
if (-not (new-object System.Security.Principal.WindowsPrincipal([System.Security.Principal.WindowsIdentity]::GetCurrent())).IsInRole([System.Security.Principal.WindowsBuiltInRole]::Administrator)) | |
{ | |
$newProcess = new-object System.Diagnostics.ProcessStartInfo "PowerShell"; | |
$newProcess.Arguments = $myInvocation.MyCommand.Definition; | |
$newProcess.Verb = "runas"; | |
[System.Diagnostics.Process]::Start($newProcess); | |
exit | |
} | |
netsh interface ip set address "Wi-Fi" dhcp |
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
# University of Bologna | |
# First cycle degree in Mathematics | |
# 07276 - Computer Science | |
# | |
# Stefano Volpe #969766 | |
# 06/18/2021 | |
# | |
# trees.py: tree class implementation | |
class tree: |