-
Install Termux, an Android terminal emulator that provides a Linux execution environment and various tools.
-
Update system packages in Termux:
$ pkg update -y
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
| let jspdf = document.createElement("script"); | |
| jspdf.onload = function () { | |
| let pdf = new jsPDF(); | |
| let elements = document.getElementsByTagName("img"); | |
| for (let i in elements) { | |
| let img = elements[i]; | |
| console.log("add img ", img); | |
| if (!/^blob:/.test(img.src)) { | |
| console.log("invalid src"); | |
| continue; |
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
| Param ( [String]$URL = 'https://coffeetales.net', [String]$Mode = 'Default' ) | |
| If ( 'Default' -ieq $Mode ) { | |
| #[String]$WindowsPowershellPath = | |
| # [IO.Path]::Combine( | |
| # ([String[]]@( [Environment]::SystemDirectory, 'WindowsPowerShell', 'v1.0', 'powershell.exe' )) | |
| # ) | |
| [String]$PowerShellPath = Get-Process -Id $PID | Select-Object -ExpandProperty Path | |
| Start-Process ` |
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
| $ErrorActionPreference = "Stop" | |
| $notificationTitle = "Build Succeeded" | |
| [Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] > $null | |
| $template = [Windows.UI.Notifications.ToastNotificationManager]::GetTemplateContent([Windows.UI.Notifications.ToastTemplateType]::ToastText01) | |
| $toastXml = [xml] $template.GetXml() | |
| $toastXml.GetElementsByTagName("text").AppendChild($toastXml.CreateTextNode($notificationTitle)) > $null | |
| $xml = New-Object Windows.Data.Xml.Dom.XmlDocument | |
| $xml.LoadXml($toastXml.OuterXml) | |
| $toast = [Windows.UI.Notifications.ToastNotification]::new($xml) | |
| $toast.Tag = "Test1" |
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 Show-Notification { | |
| [cmdletbinding()] | |
| Param ( | |
| [string] | |
| $ToastTitle, | |
| [string] | |
| [parameter(ValueFromPipeline)] | |
| $ToastText | |
| ) |
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
| REM Download ffmpeg from https://www.ffmpeg.org/download.html. | |
| REM Place ffmpeg.exe in the folder with the vob files | |
| REM Merge all vob files into one | |
| REM VTS_01_0.VOB is usually the menu which you may not want | |
| if exist VTS_01_7.VOB ( | |
| copy /b VTS_01_1.VOB+VTS_01_2.VOB+VTS_01_3.VOB+VTS_01_4.VOB+VTS_01_5.VOB+VTS_01_6.VOB+VTS_01_7.VOB ConCat.vob | |
| ) else if exist VTS_01_6.VOB ( | |
| copy /b VTS_01_1.VOB+VTS_01_2.VOB+VTS_01_3.VOB+VTS_01_4.VOB+VTS_01_5.VOB+VTS_01_6.VOB ConCat.vob | |
| ) else if exist VTS_01_5.VOB ( |
- Memory Cues: cannot be set on the fly and are always sequential. Requires the track to be paused and to mark it with the Cue button. Can be saved with an active loop (rekordbox). Useful when the exit in a song is very short, you could set a Memory Cue with an active loop and keep the track looping.
- Hot Cues: can be set on the fly and in any order (non sequential). They allow to keep the song playing after jumping to them (depending on the configuration)
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
| <# | |
| .SYNOPSIS | |
| Domain name WhoIs | |
| .DESCRIPTION | |
| Performs a domain name lookup and returns information such as | |
| domain availability (creation and expiration date), | |
| domain ownership, name servers, etc. | |
| .PARAMETER domain |
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 | |
| # run this scripts with `bash emoji-info.sh` or `./emoji-info.sh` | |
| usage() { | |
| cat << EOF | |
| usage: $0 [options] <emoji> | |
| Options: | |
| -h Show this message | |
| -o Octal Escape Sequence |
