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
| #!/bin/bash | |
| apt-get update | |
| apt-get install -y ca-certificates curl | |
| install -m 0755 -d /etc/apt/keyrings | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc | |
| chmod a+r /etc/apt/keyrings/docker.asc | |
| # Add the repository to Apt sources: | |
| echo \ |
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
| $rule = New-Object System.Security.AccessControl.RegistryAccessRule( | |
| "NT AUTHORITY\NETWORK SERVICE", # IdentityReference | |
| [System.Security.AccessControl.RegistryRights]::FullControl, # RegistryRights | |
| [System.Security.AccessControl.InheritanceFlags]::ContainerInherit, # InheritanceFlags | |
| [System.Security.AccessControl.PropagationFlags]::None, # PropagationFlags | |
| [System.Security.AccessControl.AccessControlType]::Allow # AccessControlType | |
| ) | |
| $registry_keys = "Dhcp", "Tcpip", "Tcpip6", "TCPIPTUNNEL", "TCPIP6TUNNEL" | |
| $registry_folder = "HKLM:\SYSTEM\CurrentControlSet\Services\{registry_key}" |
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
| <Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"> | |
| <Obj RefId="0"> | |
| <TN RefId="0"> | |
| <T>System.Security.AccessControl.RegistryAccessRule</T> | |
| <T>System.Security.AccessControl.AccessRule</T> | |
| <T>System.Security.AccessControl.AuthorizationRule</T> | |
| <T>System.Object</T> | |
| </TN> | |
| <ToString>System.Security.AccessControl.RegistryAccessRule</ToString> | |
| <Props> |
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
| ['AdjustToContents', 'AdjustToContentsOnFirstShow', 'AdjustToMinimumContentsLength', 'AdjustToMinimumContentsLengthWithIcon', 'DrawChildren', 'DrawWindowBackground', 'IgnoreMask', 'InsertAfterCurrent', 'InsertAlphabetically', 'InsertAtBottom', 'InsertAtCurrent', 'InsertAtTop', 'InsertBeforeCurrent', 'InsertPolicy', 'NoInsert', 'PaintDeviceMetric', 'PdmDepth', 'PdmDevicePixelRatio', 'PdmDevicePixelRatioScaled', 'PdmDpiX', 'PdmDpiY', 'PdmHeight', 'PdmHeightMM', 'PdmNumColors', 'PdmPhysicalDpiX', 'PdmPhysicalDpiY', 'PdmWidth', 'PdmWidthMM', 'RenderFlag', 'RenderFlags', 'SizeAdjustPolicy', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattr__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__len__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'acceptDrops', 'accessibleDescription', 'accessibleName', 'ac |
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
| wget --user=leonid_fr --password=31p0ybfjA -P /root/Desktop/my_tiles/t39wvm https://datapool.asf.alaska.edu/GRD_HD/SB/S1B_IW_GRDH_1SDV_20200604T030134_20200604T030159_021878_02985A_F7DA.zip | |
| wget --user=leonid_fr --password=31p0ybfjA -P /root/Desktop/my_tiles/t39wvm https://datapool.asf.alaska.edu/GRD_HD/SB/S1B_IW_GRDH_1SDV_20200604T030109_20200604T030134_021878_02985A_C0D9.zip | |
| wget --user=leonid_fr --password=31p0ybfjA -P /root/Desktop/my_tiles/t39wvm https://datapool.asf.alaska.edu/GRD_HD/SB/S1B_IW_GRDH_1SDV_20200602T031759_20200602T031824_021849_029784_CA96.zip | |
| wget --user=leonid_fr --password=31p0ybfjA -P /root/Desktop/my_tiles/t39wvm https://datapool.asf.alaska.edu/GRD_HD/SB/S1B_IW_GRDH_1SDV_20200602T031734_20200602T031759_021849_029784_918C.zip | |
| unzip '/root/Desktop/my_tiles/t39wvm/*.zip' -d /root/Desktop/my_tiles/t39wvm | |
| rm -f /root/Desktop/my_tiles/t39wvm/*.zip | |
| wget --user=leonid_fr --password=31p0ybfjA -P /root/Desktop/my_tiles/t40vck https://datapool.asf.alaska.edu/GRD_HD/SB/S1B_IW_GRDH_1SDV_20200712T0 |
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
| #!/bin/sh | |
| # https://senbox.atlassian.net/wiki/spaces/SNAP/pages/30539778/Install+SNAP+on+the+command+line | |
| # https://senbox.atlassian.net/wiki/spaces/SNAP/pages/30539785/Update+SNAP+from+the+command+line | |
| # SNAP latest Version: http://step.esa.int/main/download/snap-download/ | |
| ./diskspace_probe.sh "`basename $0`" begin | |
| SNAPVER=8 | |
| # avoid NullPointer crash during S-1 processing | |
| java_max_mem=10G | |
| JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::") |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using System.IO; | |
| using System.Text.RegularExpressions; | |
| namespace ConsoleApp1 | |
| { |