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
| ; Save this code to inf file and install it | |
| ; | |
| ; "Sublime Text Context Menu" | |
| ; | |
| ; Copyright 1996 Microsoft Corporation | |
| ; | |
| [version] | |
| signature="$Windows NT$" | |
| [VsCodeInstall] |
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 | |
| declare -a SEARCH_PATHS | |
| SEARCH_PATHS[1]=/proc/* | |
| PROC_INDEX=1 | |
| while [[ $# -gt 1 ]]; do | |
| case "${1}" in | |
| -p | --pid) SEARCH_PATHS[$PROC_INDEX]="/proc/${2}"; PROC_INDEX=$((PROC_INDEX + 1)); shift 2 ;; | |
| *) ;; |
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
| ; Save this code to inf file and install it | |
| ; | |
| ; "Sublime Text Context Menu" | |
| ; | |
| ; Copyright 1996 Microsoft Corporation | |
| ; | |
| [version] | |
| signature="$Windows NT$" | |
| [SublimeTextInstall] |
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
| Option Explicit | |
| Public Sub AutoGenLinks() | |
| With ActiveWorkbook | |
| With ActiveSheet | |
| Dim IsHyperLink As Boolean | |
| Dim Cell As Range | |
| For Each Cell In .UsedRange | |
| IsHyperLink = False | |
| If Cell.Text Like "https://*" Then |
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
| Option Explicit | |
| Public Sub AutoFitSelection() | |
| Dim theSelection As Range | |
| Set theSelection = Application.Selection | |
| Call AutoFitCells(Application.Selection) | |
| End Sub | |
| Public Sub AutoFitCells(oRange As Range) | |
| Dim tHeight As Integer |
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
| Option Explicit | |
| 'Convert binary to chars | |
| Function ConvertToKey(Key) | |
| Const KeyOffset = 52 | |
| Dim isWin10, Maps, i, j, Current, KeyOutput, Last, keypart1, insert | |
| 'Check if OS is Windows 10 | |
| isWin10 = (Key(66) \ 6) And 1 | |
| Key(66) = (Key(66) And &HF7) Or ((isWin10 And 2) * 4) |
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
| #!/system/bin/sh | |
| function show_help() { | |
| echo " | |
| Usage: sh fps.sh [ -t target_FPS ] [ -w monitor_window ] [ -k KPI ] [ -f csv_path ] [ -h ] | |
| Show: FU(s) LU(s) Date FPS Frames jank MFS(ms) OKT SS(%) |
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
| import java.io.File; | |
| import java.io.FileDescriptor; | |
| import java.io.IOException; | |
| import java.io.FileNotFoundException; | |
| import java.lang.Thread; | |
| import java.util.Date; | |
| public class Log { |
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
| static class FileOutputStream extends java.io.FileOutputStream { | |
| public FileOutputStream(File file) throws FileNotFoundException { | |
| super(file, false); | |
| } | |
| public FileOutputStream(File file, boolean append) throws FileNotFoundException { | |
| super(file, append); | |
| } | |
| public FileOutputStream(FileDescriptor fd) { |
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 join { local IFS="$1"; shift; echo "$*"; } |