This file contains hidden or 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
@echo off | |
explorer.exe shell:appsFolder\Microsoft.Office.OneNote_8wekyb3d8bbwe!microsoft.onenoteim | |
START /MIN C:\Windows\system32\osk.exe | |
exit | |
REM "C:\Windows\System32\cmd.exe" /k explorer.exe shell:appsFolder\Microsoft.Office.OneNote_8wekyb3d8bbwe!microsoft.onenoteim & "C:\Windows\system32\osk.exe" |
This file contains hidden or 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
Windows Registry Editor Version 5.00 | |
[-HKEY_CLASSES_ROOT\Directory\shell\git_gui] | |
[-HKEY_CLASSES_ROOT\Directory\shell\git_shell] | |
[-HKEY_CLASSES_ROOT\LibraryFolder\background\shell\git_gui] | |
[-HKEY_CLASSES_ROOT\LibraryFolder\background\shell\git_shell] | |
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\git_gui] | |
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\git_shell] | |
; .bat version below |
This file contains hidden or 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
:: Source: https://stackoverflow.com/questions/1894967/how-to-request-administrator-access-inside-a-batch-file | |
:: Source: https://stackoverflow.com/questions/4051883/batch-script-how-to-check-for-admin-rights | |
:: batch code to request admin previleges, if no admin previleges | |
fltmc >nul 2>&1 | |
if NOT %errorLevel% == 0 ( | |
powershell start -verb runas '%0' am_admin & exit /b | |
) |
This file contains hidden or 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
$TAB = "`t" | |
# ****** BACKUP OF ONENOTE TO GOOGLE DRIVE USING RCLONE ****** | |
Write-Host "****** RClone OneNote backup on Google Drive ******" | |
# ****** BACKUP TO UNI DRIVE ****** | |
Write-Host "Backup on Uni Drive..." | |
Write-Host "$TAB Upload..." | |
rclone copy "C:\Users\alber\AppData\Local\Microsoft\OneNote\16.0\Backup\Primo Semestre - Quarto anno" "GDrive Uni:_Backup OneNote/Primo Semestre - Quarto anno" | |
rclone copy "C:\Users\alber\AppData\Local\Microsoft\OneNote\16.0\Backup\Secondo Semestre - Quarto anno" "GDrive Uni:_Backup OneNote/Secondo Semestre - Quarto anno" |
This file contains hidden or 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
import java.io.*; | |
import java.util.Scanner; | |
public class Bookmarkify{ | |
//argv[0] is a list of urls file | |
//output file is created in the actual terminal directory | |
public static void main(String[] argv) throws FileNotFoundException, IOException{ | |
FileReader fr=new FileReader(argv[0]); | |
BufferedReader br = new BufferedReader(fr); |
This file contains hidden or 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
@echo off | |
:: Source: https://stackoverflow.com/questions/1894967/how-to-request-administrator-access-inside-a-batch-file | |
:: Source: https://stackoverflow.com/questions/4051883/batch-script-how-to-check-for-admin-rights | |
:: batch code to request admin previleges, if no admin previleges | |
fltmc >nul 2>&1 | |
if NOT %errorLevel% == 0 ( | |
powershell start -verb runas '%0' am_admin & exit /b | |
) |
This file contains hidden or 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
//FILL THIS LIST AND ADD 1 (OR MORE) TRIGGERS TO SEND | |
// This is the list of mails to send; add a new line for each email to send daily. | |
// 'recipient' needs to be specified; 'subject' and 'body' are not needed. | |
const listToSend = new Set([ | |
{recipient:"[email protected]", subject:"subject0", body:"body0"}, | |
{recipient:"[email protected]", subject:"subject1", body:"body1"}, | |
{recipient:"[email protected]", subject:"subject2", body:"body2"} | |
]); |
This file contains hidden or 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
/** @OnlyCurrentDoc */ | |
function copyMyConditionalFormatting() { | |
var spreadsheet = SpreadsheetApp.getActive(); | |
var base_range = spreadsheet.getRange("B2:X2"); //Starting range | |
var conditionalFormatRules = spreadsheet.getActiveSheet().getConditionalFormatRules(); | |
for (var i=1; i<=1001-3; i++){ //Which columns | |
var new_rule = conditionalFormatRules[0].copy //Copy first rule to all sheet | |
.setRanges([base_range.offset(i, 0)]) //column offset | |
.build(); |
This file contains hidden or 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
@echo off | |
:: Source: https://stackoverflow.com/questions/1894967/how-to-request-administrator-access-inside-a-batch-file | |
:: Source: https://stackoverflow.com/questions/4051883/batch-script-how-to-check-for-admin-rights | |
:: batch code to request admin previleges, if no admin previleges | |
fltmc >nul 2>&1 | |
if NOT %errorLevel% == 0 ( | |
powershell start -verb runas '%0' am_admin & exit /b | |
) |
This file contains hidden or 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
{ | |
"basics": { | |
"name": "Alberto Pasqualetto", | |
"label": "Student at University of Padua", | |
"image": "https://avatars.githubusercontent.com/u/39854348?v=4", | |
"summary": "", | |
"profiles": [ | |
{ | |
"network": "gitconnected", | |
"username": "albertopasqualetto", |
OlderNewer