Skip to content

Instantly share code, notes, and snippets.

View Jaid's full-sized avatar
🔴
Streaming coding sessions on Twitch!

Jaid

🔴
Streaming coding sessions on Twitch!
View GitHub Profile
#!/usr/bin/env bash
set -e
set -o errexit
npm install --global pover
pover install
pover build:dev
pover build:prod
pover test
@Jaid
Jaid / release.bash
Created July 4, 2019 07:32
npm package release script
#!/usr/bin/env bash
set -e
set -o errexit
weight=${1:-patch}
npm run clean
npm test
npx version-bump-prompt $weight
This file has been truncated, but you can view the full file.
// ==UserScript==
// @name GitHub Release description
// @version 2.0.0
// @author Jaid <jaid.jsx@gmail.com> (github.com/Jaid)
// @match *://github.com/*/*/releases/new?*
// @grant GM_xmlhttpRequest
// @connect github.com
// @connect githubusercontent.com
// ==/UserScript==

Hey faggot, is this nazi language?

Hello, friend! Yes, I am exclusively streaming in German. Feel free to ask questions in English, but please understand that I continue speaking German whenever I am not talking directly to you and please try using Google Translate on the German answers below before asking boring questions in my chat.

Welcher Bot ist das im Chat?

Der Jaidbot ist eine Eigenkreation, die auf meine persönlichen Präferenzen und Streaming-Inhalte zugeschnitten ist. Folgende Tricks habe ich ihm bisher beigebracht:

Befehle für Zuschauer

panels:
- title: Twitter
content: "@jaidchen"
themeColor: "#3bbaff"
icon: twitter
link: "https://twitter.com/jaidchen"
- title: Amazon
icon: amazon
content: Link
link: "https://www.amazon.de/ref=as_li_ss_tl?ie=UTF8&linkCode=ll2&tag=streamchannel-21&linkId=1ab90545bcc3eeb1522d5664561b5115"
certDomain=entity.works && sudo certbot certonly --dns-cloudflare --dns-cloudflare-credentials /etc/cloudflareCredentials.ini --domain "$certDomain,*.$certDomain" --preferred-challenges dns-01 --dns-cloudflare-propagation-seconds 30
# Option answers
# Default: [
# {
# question: 'What is your password?',
# answer: 'hunter2',
# },
# ]
answers:
- question: What is your password?
answer: hunter2
echo -e "\n$(date-now);" | tee --append src/index.js && git add . && git commit -am "feat: Changed source code" && bump minor && git add . && git commit -am "manage: Bumped version" && git push
@Jaid
Jaid / theme.css
Last active October 28, 2019 20:00
Reddit Black Theme
.content,
.link,
.side,
.side .linkinfo,
#header,
.titlebox,
.md ol,
.md ol,
.md ul,
.md li,
@Jaid
Jaid / context.json
Created November 27, 2019 00:33
Example for import {context} from "@actions/github"
{
"payload": {
"after": "3748189200ee301c759048e8ff54c892a3c1b18c",
"base_ref": "refs/heads/master",
"before": "0000000000000000000000000000000000000000",
"commits": [],
"compare": "https://github.com/Jaid/test/compare/v0.1.8",
"created": true,
"deleted": false,
"forced": false,