I hereby claim:
- I am kowalski7cc on github.
- I am kowalski7cc (https://keybase.io/kowalski7cc) on keybase.
- I have a public key ASCpLDL0b4bl-wwAQrmdi1Ml1GrkJlufYoYK0OEwaP2BQwo
To claim this, I am signing this object:
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
I hereby claim:
To claim this, I am signing this object:
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
var allowPaste = function(e){ | |
e.stopImmediatePropagation(); | |
return true; | |
}; | |
document.addEventListener('paste', allowPaste, true); |
This is a step-by-step guide on how to enable auto-signing Git commits with GPG for every applications that don't support it natively (eg. GitHub Desktop, Eclipse, Git Tower, ...)
#!/usr/bin/env python3 | |
import json | |
import os | |
from jsonpath_ng import JSONPath | |
from jsonpath_ng.ext import parse | |
CO_CMD = "oc get co -o json" | |
QUERY = "items[?(@.status.conditions[?(@.type=='Degraded' & @.status=='True')])]" |
FROM ubuntu:20.04 as builder | |
RUN apt update &&\ | |
DEBIAN_FRONTEND=noninteractive apt install -y ccache gcc-arm-none-eabi git python3 python3-pip build-essential cmake | |
RUN python3 -m pip install pillow | |
ENV MICROPYTHON_VERSION=9dfabcd6d3d080aced888e8474e921f11dc979bb | |
ENV BOARD_TYPE=PIMORONI_BADGER2040 | |
ENV RELEASE_FILE=pimoroni-badger2040-micropython | |
# Check out MicroPython | |
RUN git clone https://github.com/micropython/micropython.git /micropython | |
# Fetch base MicroPython submodules |
REM This is BadUSB demo script for chromeOS | |
REM Open windows notepad | |
DELAY 1000 | |
CTRL t | |
DELAY 500 | |
STRING data:text/html, <html contenteditable><style>body{font-family:monospace;} | |
DELAY 500 | |
ENTER | |
DELAY 750 |
{ | |
"if": { | |
"prefix": "if", | |
"body": ["if ${1:expression}:", "\t${0:pass}"], | |
"description": "Code snippet for an if statement" | |
}, | |
"if/else": { | |
"prefix": "if/else", | |
"body": ["if ${1:condition}:", "\t${2:pass}", "else:", "\t${0:pass}"], | |
"description": "Code snippet for an if statement with else" |
function mkcd -a dirname | |
if test -z $dirname | |
echo "Usage: mkcd dirname" | |
return 1 | |
end | |
mkdir -p "$dirname" | |
cd "$dirname" | |
end |