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 | |
| # Create iconset folder | |
| mkdir icon.iconset | |
| # Convert the original image to the required sizes | |
| sips -z 16 16 swicon-apple-touch-icon.png --out icon.iconset/icon_16x16.png | |
| sips -z 32 32 swicon-apple-touch-icon.png --out icon.iconset/icon_16x16@2x.png | |
| sips -z 32 32 swicon-apple-touch-icon.png --out icon.iconset/icon_32x32.png | |
| sips -z 64 64 swicon-apple-touch-icon.png --out icon.iconset/icon_32x32@2x.png |
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 | |
| LOG_TAG="hosts_update_ineo6" | |
| log_info() { | |
| logger -t "$LOG_TAG" "[INFO] $1" | |
| echo "[INFO] $1" | |
| } | |
| log_error() { |
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 | |
| set -e | |
| ## Put this script in /usr/local/bin/wireguard-watchdog.sh | |
| ## Create a service file | |
| # sudo nano /etc/systemd/system/wireguard-watchdog.service | |
| # [Unit] | |
| # Description=WireGuard Watchdog for DDNS endpoint update |
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
| #include <Windows.h> | |
| #include <stdio.h> | |
| const wchar_t* wstrDummyFile = LR"(\??\C:\Windows\System32\kernelbase.dll)"; | |
| const char* strDeviceName = R"(\\.\IMFForceDelete123)"; | |
| int main() { | |
| DWORD dwReturnVal = 0; | |
| DWORD dwBytesReturned = 0; | |
| BOOL bRes = FALSE; |
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
| #!/usr/bin/env bash | |
| mv ~/.config/bash_completion/ ~/.config/bash_completion.d | |
| cat <<EOL >> ~/.config/bash_completion | |
| # user bash_complate dir | |
| compat_dir=${BASH_COMPLETION_COMPAT_DIR:~/.config/bash_completion.d} | |
| if [[ -d $compat_dir && -r $compat_dir && -x $compat_dir ]]; then | |
| for i in "$compat_dir"/*; do | |
| . "$i" | |
| done | |
| fi |
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
| /* | |
| Hex-Rays Decompiler configuration file. | |
| The syntax of this file is very simple. | |
| Feel free to edit it to your taste. | |
| IMPORTANT: the installer overwrites this file. Please make a backup copy | |
| if you modify this file in any way. Otherwise you may lose your | |
| modifications! |
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
| function New-TestData { | |
| [CmdletBinding()] | |
| param ( | |
| [Parameter(Mandatory)] | |
| [ValidateScript({Test-Path $_})] | |
| [String]$RootFolder, | |
| # How many subfolders should be created | |
| [Parameter(Mandatory=$false)] | |
| [int] |
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
| {"name":"Angular-Development","settings":"{\"settings\":\"{\\n \\\"workbench.colorTheme\\\": \\\"GitHub Dark Default\\\",\\n \\\"workbench.iconTheme\\\": \\\"material-icon-theme\\\",\\n \\\"search.quickOpen.includeHistory\\\": false,\\n \\\"terminal.integrated.defaultProfile.windows\\\": \\\"C:\\\\\\\\WINDOWS\\\\\\\\System32\\\\\\\\WindowsPowerShell\\\\\\\\v1.0\\\\\\\\powershell.exe\\\",\\n \\\"files.autoSave\\\": \\\"afterDelay\\\",\\n \\\"files.autoSaveDelay\\\": 5000,\\n \\\"explorer.confirmDelete\\\": false,\\n \\\"typescript.updateImportsOnFileMove.enabled\\\": \\\"always\\\",\\n \\\"terminal.integrated.showExitAlert\\\": false,\\n \\\"javascript.updateImportsOnFileMove.enabled\\\": \\\"always\\\",\\n \\\"todo-tree.tree.showScanModeButton\\\": false,\\n \\\"editor.suggestSelection\\\": \\\"first\\\",\\n \\\"vsintellicode.modify.editor.suggestSelection\\\": \\\"automaticallyOverrodeDefaultValue\\\",\\n \\\"java.configuration.checkProjectSettingsExclusions\\\": fal |
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
| 123456 | |
| 123456789 | |
| 111111 | |
| from91 | |
| 12345678 | |
| 123123 | |
| 5201314 | |
| 000000 | |
| 11111111 | |
| a123456 |
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 ctrl+a as prefix | |
| set -g prefix C-a | |
| bind C-a send-prefix | |
| # unbind C-b | |
| # large history | |
| set -g history-limit 9999999 | |
| # mouse on | |
| set -g mouse on | |
| # disable mouse scroll |