-
Enable
#enable-devtools-experimentsflag inchrome://flagssection. -
Open Chorme Devtools and check
Settings > Experiments > Allow custom UI themes. -
Create the following four files in a dedicated folder.
3.1.
devtools.html<html> <head></head> <body><script src="devtools.js"></script></body>
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
| CoolProp/ | |
| buildcoolprop/** | |
| !buildcoolprop/coolprop*.* | |
| buildcoolpropcs/** | |
| # Byte-compiled / optimized / DLL files | |
| __pycache__/ | |
| *.py[cod] | |
| *$py.class |
Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist.
Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).
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
| # ------------------------------------------------------------------ | |
| # Excelの定数を設定 | |
| # ------------------------------------------------------------------ | |
| # https://excel-ubara.com/EXCEL/EXCEL905.html | |
| # https://docs.microsoft.com/en-us/office/vba/api/excel(enumerations) | |
| # https://docs.microsoft.com/ja-jp/office/vba/api/excel(enumerations) | |
| # ------------------------------------------------------------------ | |
| # Excelの定数を取得する方法もあるようです。 | |
| # https://wacky.hatenadiary.com/entry/20091011/1255240572 |
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
| # https://endjin.com/blog/2023/03/how-to-setup-python-pyenv-poetry-on-windows | |
| [CmdletBinding()] | |
| param ( | |
| [Parameter(Mandatory=$true)] | |
| [string] $PythonVersion | |
| ) | |
| $ErrorActionPreference = "Stop" |
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
| # https://stackoverflow.com/questions/44767554/sorting-with-openpyxl | |
| def sheet_sort_rows(ws, row_start, row_end=0, cols=None, sorter=None, reverse=False): | |
| """ Sorts given rows of the sheet | |
| row_start First row to be sorted | |
| row_end Last row to be sorted (default last row) | |
| cols Columns to be considered in sort | |
| sorter Function that accepts a tuple of values and | |
| returns a sortable 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
| Set-ExecutionPolicy Bypass ` -Scope Process ` -Force | |
| Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
| choco install git -y | |
| # choco install googlechrome vscode -y | |
| $progressPreference = 'silentlyContinue' | |
| Write-Information "Downloading WinGet and its dependencies..." | |
| Invoke-WebRequest -Uri https://aka.ms/getwinget -OutFile Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle |
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 Check-RunAsAdministrator() | |
| { | |
| #Get current user context | |
| $CurrentUser = New-Object Security.Principal.WindowsPrincipal $([Security.Principal.WindowsIdentity]::GetCurrent()) | |
| #Check user is running the script is member of Administrator Group | |
| if($CurrentUser.IsInRole([Security.Principal.WindowsBuiltinRole]::Administrator)) | |
| { | |
| Write-host "Script is running with Administrator privileges!" | |
| } |
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
| FROM python:3.10 as python-base | |
| # https://python-poetry.org/docs#ci-recommendations | |
| ENV POETRY_VERSION=1.2.0 | |
| ENV POETRY_HOME=/opt/poetry | |
| ENV POETRY_VENV=/opt/poetry-venv | |
| # Tell Poetry where to place its cache and virtual environment | |
| ENV POETRY_CACHE_DIR=/opt/.cache |
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: tgCF | |
| description: |- | |
| OfficeJS-excel custom function | |
| by theangkko | |
| host: EXCEL | |
| api_set: {} | |
| script: | |
| content: > | |
| // $("#run").click(() => tryCatch(run)); // async function run() { // | |
| await Excel.run(async (context) => { // const sheet = |
NewerOlder