Skip to content

Instantly share code, notes, and snippets.

View pinuke's full-sized avatar
📚
Studying... Probably

pi nuke pinuke

📚
Studying... Probably
View GitHub Profile
@pinuke
pinuke / serial.log
Created November 20, 2022 03:14
Rock Pi 4 stuck during boot up
In
channel 0
CS = 0
MR0=0x19
MR4=0x3
MR5=0x6
MR8=0x10
MR12=0x72
MR14=0x72
MR18=0x0
@pinuke
pinuke / readme.md
Last active October 31, 2022 17:37
Start-EditorServices Unofficial Documentation

Start-EditorServices Unofficial Documentation

Syntax:

(Summarized from the bootstrapper source code)

Start-EditorServices
      #Common to Every Parameter Set:
      [-HostName <string, mandatory,="" not="" null="" or="" empty="">]
      [-HostProfileId <string, mandatory,="" not="" null="" or="" empty="">]
      [-HostVersion <string, mandatory,="" not="" null="" or="" empty="">]
      [-BundledModulesPath <string, not="" null="" or="" empty="">]
@pinuke
pinuke / notifyicon.ps1
Last active October 9, 2022 17:54
PowerShell Quick Tray - Creating a SysTray Icon
Add-Type –AssemblyName System.Windows.Forms #,PresentationFramework - We won't need this until the next project log
$appContext = New-Object System.Windows.Forms.ApplicationContext
$executable = "$env:SystemRoot\system32\WindowsPowerShell\v1.0\powershell.exe"
$icon = [System.Drawing.Icon]::ExtractAssociatedIcon( $executable )
$QuickTray = New-Object System.Windows.Forms.NotifyIcon
$QuickTray.Icon = $icon
$QuickTray.Text = "PowerShell Quick Tray"
@pinuke
pinuke / proof_of_concept.js
Last active June 3, 2022 23:42
A devtools script for printing/downloading/copying MS Teams Chats
let frames = {
"chat" : document.querySelector( '[id^="experience-container"]' )
}
let documents = {
"chat" : frames.chat.contentWindow.document
}
let clone_to_html_el = function(){
@pinuke
pinuke / Flattener_Function.js
Created December 22, 2016 09:41
An array flattener in JavaScript
var debug={
"input":[[1,2,[3]],4],
"array_depth":0