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
| # --- Zsh-like PSReadLine Configuration for Windows PowerShell 5.1 --- | |
| # Predictions (history-based) | |
| Set-PSReadLineOption -PredictionSource History | |
| Set-PSReadLineOption -PredictionViewStyle Inline | |
| # Use menu completion when pressing Tab (zsh-like) | |
| Set-PSReadLineKeyHandler -Key Tab -Function MenuComplete | |
| # History search with Up/Down arrows (zsh substring search feel) |
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
| import argparse | |
| import os | |
| import json | |
| import subprocess | |
| import tempfile | |
| import re | |
| import sys | |
| import tkinter as tk | |
| from urllib.parse import urlparse | |
| from tkinter import simpledialog |
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
| matrix = { | |
| # matrix night | |
| 'matrix0': '#0D0208', | |
| 'matrix1': '#0D0208', | |
| 'matrix2': '#0D0208', | |
| 'matrix3': '#226622', | |
| # term | |
| 'matrix4': '#55ff55', | |
| 'matrix5': '#00ff41', | |
| 'matrix6': '#00ff41', |
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
| #!/usr/bin/env python3 | |
| import sys | |
| import os | |
| from ptttl.parser import PTTTLParser | |
| from math import log2 | |
| DURATION_ADJUSTMENT = 18 | |
| def parse_rtttl(file_path): | |
| with open(file_path, 'r') as f: |
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
| apiVersion: rbac.authorization.k8s.io/v1 | |
| kind: ClusterRoleBinding | |
| metadata: | |
| name: admin-user | |
| roleRef: | |
| apiGroup: rbac.authorization.k8s.io | |
| kind: ClusterRole | |
| name: cluster-admin | |
| subjects: | |
| - kind: ServiceAccount |
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
| ;------------------------------------------------------------------------------------------------------------------- | |
| ; Hello, Windows! in x86 ASM - (c) 2021 Use at your own risk, no warranty! | |
| ;------------------------------------------------------------------------------------------------------------------- | |
| ; Compiler directives and includes | |
| .386 ; Full 80386 instruction set and mode | |
| .model flat, stdcall ; All 32-bit and later apps are flat. Used to include "tiny, etc" | |
| option casemap:none ; Preserve the case of system identifiers but not our own, more or less |
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
| { | |
| "settingsVersion": "1.67", | |
| "exclusionRules": [ | |
| { | |
| "pattern": "https?://remotedesktop.google.com/*", | |
| "passKeys": "" | |
| }, | |
| { | |
| "pattern": "https?://www.vimgenius.com/*", | |
| "passKeys": "" |
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
| javascript: /^github(?:1s)?\.com$/.test(location.hostname) ? location.hostname = `github${location.hostname === 'github.com' ? '1s' : ''}.com` : location.href = 'https://github.com' |
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
| javascript: (function stream() % 7 Bvar s % 3 D window.location.href.split( % 27 / % 27) % 3 Bvar id % 3 D s % 5 Bs.indexOf( % 27 comments % 27) % 2 B1 % 5 D % 3 Bif(s.indexOf( % 27 comments % 27) ! % 3 D - 1) % 7 B window.location.href % 3 D % 27 http: //reddit-stream.com/comments/%27 %2B id%3B %7D%7D)()%3B |
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
| javascript:/*THE.PRINTLIMINATOR*/(function(){function%20loadScript(a,b){var%20c=document.createElement('script'),d=document.getElementsByTagName('head')[0],e=!1;c.type='text/javascript',c.src=a,c.onload=c.onreadystatechange=function(){e||this.readyState&&'loaded'!=this.readyState&&'complete'!=this.readyState||(e=!0,b())},d.appendChild(c)}loadScript('//css-tricks.github.io/The-Printliminator/printliminator.min.js',function(){thePrintliminator.init()});})(); | |
| //javascript: /*THE.PRINTLIMINATOR*/ (function() { | |
| // function loadScript(a, b) { | |
| // var c = document.createElement('script'), | |
| // d = document.getElementsByTagName('head')[0], | |
| // e = !1; | |
| // c.type = 'text/javascript', c.src = a, c.onload = c.onreadystatechange = function() { | |
| // e || this.readyState && 'loaded' != this.readyState && 'complete' != this.readyState || (e = !0, b()) | |
| // }, d.appendChild(c) | |
| // } |
NewerOlder