github: gistUri: ''
Name | Pattern |
---|---|
github | `(?^http.//)(?.?)/(?.?)/((?.?#file-._$) |
csv | `(?<=^ |
import sys,os | |
import curses | |
def draw_menu(stdscr): | |
k = 0 | |
cursor_x = 0 | |
cursor_y = 0 | |
# Clear and refresh the screen for a blank canvas | |
stdscr.clear() |
{ | |
"first-entry": {"info": "something"} | |
} |
#Requires -version 2.0 | |
## Stupid PowerShell Tricks | |
################################################################################################### | |
add-type @" | |
using System; | |
using System.Runtime.InteropServices; | |
public class Tricks { | |
[DllImport("user32.dll")] | |
private static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow); | |
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] | |
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1c,00,3a,00,00,00,00,00 |
github: gistUri: ''
Name | Pattern |
---|---|
github | `(?^http.//)(?.?)/(?.?)/((?.?#file-._$) |
csv | `(?<=^ |
$base64 = [convert]::ToBase64String((Get-Content D:\Images\image1.jpg -Encoding byte)) |
Write-Host "`e[33;1mHello World!`e[0m with update" |
using namespace System.Management | |
$ERROR_ACTION = 'SilentlyContinue' | |
$jaobj = [PSCustomObject]@{ | |
PSTypeName = 'JaHer.Object' | |
Name = 'Bjarki' | |
Language = 'PowerShell' | |
Country = 'Iceland' | |
} |
$null = Add-Type -AssemblyName System.Windows.Forms -PassThru | |
function ConvertFrom-Enum { | |
param([String]$TypeName) | |
$Type = [Type]$TypeName | |
$obj = [pscustomobject]@{} |
<div class="">hi there</div> |