:g/^$/d # Delete all blank lines
Source: Usando correção ortográfica no Vim7
To enable spellchecking in Vim 7:
| :: In an admin ran cmd / powershell terminal window: | |
| diskpart | |
| list disk | |
| select disk 0 | |
| create partition efi size=800 | |
| list volume | |
| select volume 14 | |
| list volume | |
| assign letter=v | |
| format quick fs=fat32 label="EFI" |
| #!/usr/bin/python3 | |
| # Link Format from MS: https://msdn.microsoft.com/en-us/library/dd871305.aspx | |
| # Need to be able to read shortcut target from .lnk file on linux or windows. | |
| # Original inspiration from: | |
| # http://stackoverflow.com/questions/397125/reading-the-target-of-a-lnk-file-in-python | |
| from pathlib import Path, PureWindowsPath | |
| import struct | |
| import sys |
:g/^$/d # Delete all blank lines
Source: Usando correção ortográfica no Vim7
To enable spellchecking in Vim 7:
| {"lastUpload":"2021-10-14T15:16:56.073Z","extensionVersion":"v3.4.3"} |
| // A collection of Jenkins scripts commonly used in the script console | |
| // Jenkins script console is at YOUR_JENKINS_URL/script | |
| // Build abortion | |
| Jenkins.instance.getItemByFullName("entire/path/to/job[/branch]").getBuildByNumber(buildNum).finish(hudson.model.Result.ABORTED, new java.io.IOException("Aborting build")); | |
| // Build deletion | |
| Jenkins.instance.getItemByFullName("entire/path/to/job[/branch]").getBuildByNumber(buildNum).delete() |
| #!/usr/bin/env python3 | |
| """ | |
| Tests http mirrors of cygwin | |
| """ | |
| import random | |
| import time | |
| from urllib.request import urlopen | |
| import sys | |
| __author__ = 'Dmitry Sidorenko' |