$ git commit --amend --author="Author Name <[email protected]>"or
$ git commit --amend --reset-author| Task flushingTask = null; | |
| public override Task FlushAsync(CancellationToken cancellationToken) | |
| { | |
| Interlocked.CompareExchange( | |
| ref flushingTask, | |
| Task.Delay(200, cancellationToken).ContinueWith( | |
| async (t) => | |
| { | |
| await write.FlushAsync(cancellationToken); |
| param( | |
| [Parameter(Mandatory = $true)] | |
| [string] $csprojPath, | |
| [Parameter(Mandatory = $true)] | |
| [string] $newVersion | |
| ) | |
| Write-Host "Starting process of generating new version number for the csproj" |
| #!/bin/bash | |
| target=${1:-http://example.com} | |
| while true # loop forever, until ctrl+c pressed. | |
| do | |
| for i in $(seq 100) # perfrom the inner command 100 times. | |
| do | |
| curl $target > /dev/null & # send out a curl request, the & indicates not to wait for the response. | |
| done | |
| wait # after 100 requests are sent out, wait for their processes to finish before the next iteration. |
Find and create a partition with free space:
# parted
GNU Parted 2.3
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print free
Model: ATA Crucial_CT240M50 (scsi)
Disk /dev/sda: 240GB
Sector size (logical/physical): 512B/4096B
1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv to manually rebuild the font cache
| Use this as an example on how to start the virtual console without the need of Java Web Start or accessing it from the web interface. | |
| You can use the user and password that you use for the web interface. | |
| You need an old JRE... I used 1.7.0_80 from the Server JRE package, also I have tested successfully 1.7.0_79 with MacOS. | |
| You don't need to install it, just extract it or copy the files in "jre" folder. | |
| Open the viewer.jnlp file that you get by launching the virtual console from the web interface with a text editor. | |
| Note the urls to the jar files. Download the main jar file avctKVM.jar and the libs for your operating system and architecture. | |
| Extract the dlls (.so Linux, .jnilib MacOS) from the jar libs. |