Skip to content

Instantly share code, notes, and snippets.

View perXautomatik's full-sized avatar


View GitHub Profile
<!DOCTYPE html>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
body {
margin: 0;
perXautomatik / WorkEdgePersonalExtensions
Last active February 26, 2024 07:12
{"browser":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 Edg/100.0.1185.44","version":"0.0.4","createDate":1651570362463,"bookmarks":[{"children":[{"children":[{"title":"Active Forks","url":""},{"title":"Adjust Screen Brightness","url":""},{"title":"Apps Launcher for Microsoft Edge","url":""},{"title":"Audio Equalizer with Volume Booster","url":""},{"title":"BMStats - Stats for your bookmarks","url":""},{"title":"Bookmark Walker","url":""},{"title":"Chrome Editor","url":"
perXautomatik / htmlExportToMd
Last active February 26, 2024 07:11
perXautomatik / .DS_Store
Last active February 14, 2024 10:33 — forked from LittleNewton/Microsoft.PowerShell_profile.ps1
PowerShell 7.1 启动命令
perXautomatik / sql-pass-temp-table-to-exec-sp_execute.sql
Last active January 29, 2024 13:34
sql - Pass temp table to EXEC sp_executesql - Stack Overflow
/*What you have here is not Temporary Table, but a Table-Valued Parameter.
Table-valued parameters are declared by using user-defined table types. You can use table-valued parameters to send multiple rows of data to a Transact-SQL statement or a routine, such as a stored procedure or function, without creating a temporary table or many parameters.
sp_executesql does support table-valued parameters, but they must be of declared type.
-- So, first we must declare User-Defined Table Type
CREATE TYPE udtYB_Test AS TABLE(GSName nvarchar(100), THour time, NumOfTransactions int);
perXautomatik / files-in-a-folder.sql
Last active January 29, 2024 13:34
T-SQL Query to get the list of files in a folder | SansSQL Url:
DECLARE @Path nvarchar(500) = 'E:\Test' --Change the path
(FileNames nvarchar(500)
,depth int
,isFile int)
EXEC xp_DirTree @Path,1,1
perXautomatik / .gitattributes
Last active December 8, 2023 20:25 — forked from pksunkara/config
Sample of git config file (Example .gitconfig) (Place them in $XDG_CONFIG_HOME/git)
# Stick this in your home directory and point your Global Git config at it by running:
# $ git config --global core.attributesfile ~/.gitattributes
# See for more details
# Use this line at your own risk
# * text=auto
# Editor save files
# (these should be in your gitignore)
perXautomatik / gist:3c9712ba4663e49cbe3961eb67791ea0
Last active October 19, 2023 13:42
Powershell - convert XML to CSV - Stack Overflow
We couldn’t find that file to show.
perXautomatik / continuouslyAndStartIt.ahk
Last active October 9, 2023 09:41
Continuously check if a program is running, and start it - Scripts and Functions - AutoHotkey Community Url:
; AutoHotkey Version: 1.x
; Language: English
; Platform: WinXP/7
; Author: studotwho
; Script Function:
; Restarts the iTeleportConnect service if it hasn't started - this usually happens if your
; wireless network interface hasn't started when iTC tries to connect.
perXautomatik / get-selected-text-ask-for-help-autohotkey-community.ahk
Last active October 8, 2023 19:08
save current clipboard contents to another variable, then use copy, save to variable, put original clipboard contents back. Url:
oCB := ClipboardAll ; save clipboard contents
Send, ^c
< do whatever you originally wanted with selected text in "clipboard" variable >
ClipBoard := oCB ; return original Clipboard contents