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
| ## To change an arbitrary commit (rewrites all future commits too) | |
| git rebase <commitSHA>^ -i | |
| # or, for first commit: | |
| git rebase -i --root | |
| + Replace pick with e (edit) on the line with that commit (the first one) | |
| + quit the editor | |
| git commit --amend --no-edit | |
| git rebase --continue | |
| ## To amend commit details of last commit |
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
| CD /D %Temp% | |
| DEL /Q /F *.* >NUL | |
| FOR /D %%i in (*) DO RMDIR /S /Q "%%i" >NUL | |
| CD /D C:\TEMP | |
| DEL /Q /F *.* >NUL | |
| FOR /D %%i in (*) DO RMDIR /S /Q "%%i" >NUL | |
| CD /D C:\WINDOWS\TEMP | |
| DEL /Q /F *.* >NUL |
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
| [Unit] | |
| Description=pre-shutdown activities with networking | |
| Requires=network-online.target network.target dbus.service nss-lookup.target | |
| After=network-online.target network.target dbus.service nss-lookup.target | |
| [Service] | |
| Type=simple | |
| ExecStart=/opt/preshutdown.sh | |
| TimeoutStopSec=120 | |
| SendSIGKILL=no |
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
| Sub DeleteFutureWeeklyOcurrences() | |
| Dim objAppointment As Outlook.AppointmentItem | |
| Dim objRecurrencePattern As Outlook.RecurrencePattern | |
| Dim objOccurrence As Outlook.AppointmentItem | |
| Dim occurrenceCount As Integer | |
| Set objAppointment = Application.ActiveExplorer.Selection.Item(1) | |
| If objAppointment.IsRecurring Then | |
| Set objRecurrencePattern = objAppointment.GetRecurrencePattern |