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 ruby | |
| begin | |
| require 'minisky' | |
| rescue LoadError | |
| puts "Install minisky: '[sudo] gem install minisky'" | |
| exit 1 | |
| end | |
| require 'time' |
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 { Agent } from '@externdefs/bluesky-client/agent'; | |
| import type { Records, RefOf } from '@externdefs/bluesky-client/atp-schema'; | |
| const BSKY_USERNAME = ''; | |
| const BSKY_PASSWORD = ''; | |
| const agent = new Agent({ serviceUri: 'https://bsky.social' }); | |
| await agent.login({ identifier: BSKY_USERNAME, password: BSKY_PASSWORD }); | |
| const did = agent.session!.did; |
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
| /* | |
| Twitch chat browsersource CSS for OBS | |
| Just set the URL as https://www.twitch.tv/%%TWITCHCHANNEL%%/chat?popout=true | |
| And paste this entire file into the CSS box | |
| Original by twitch.tv/starvingpoet modified by github.com/Bluscream | |
| General Settings | |
| */ | |
| body { | |
| color: #FFFFFF!important; |
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 dotenv from 'dotenv' | |
| import { BskyAgent } from '@atproto/api' | |
| import { ProfileView } from '@atproto/api/dist/client/types/app/bsky/actor/defs' | |
| const bigLeagueMe = async () => { | |
| dotenv.config() | |
| // YOUR bluesky handle | |
| // Ex: user.bsky.social | |
| const handle = process.env.BSKYHANDLE || '' |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <link rel="icon" type="image/x-icon" href="/favicon.ico"> | |
| <title>Rebane's Discord Colored Text Generator</title> | |
| <meta charset="UTF-8"> | |
| <meta name="description" content="Rebane's Discord Colored Text Generator"> | |
| <meta name="author" content="rebane2001"> | |
| <style> | |
| /* |
Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...
Italics *italics* or _italics_
Underline italics __*underline italics*__
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 bash | |
| # The id of the certificate to install. | |
| CERT_ID="$1" | |
| # The packages whose certificate to replace. | |
| CERT_PKGS="${@:2}" | |
| # The directory that holds to certificate to import. | |
| CERT_IMPORT_DIR="/tmp/certificate/$CERT_ID" |
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
| # This code is based on tutorial by slicktechies modified as needed to use oauth token from Twitch. | |
| # You can read more details at: https://www.junian.net/2017/01/how-to-record-twitch-streams.html | |
| # original code is from https://slicktechies.com/how-to-watchrecord-twitch-streams-using-livestreamer/ | |
| import requests | |
| import os | |
| import time | |
| import json | |
| import sys | |
| import subprocess |
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
| #Requires -Version 7 | |
| # Version 1.2.10 | |
| # check if newer version | |
| $gistUrl = "https://api.github.com/gists/a208d2bd924691bae7ec7904cab0bd8e" | |
| $latestVersionFile = [System.IO.Path]::Combine("$HOME",'.latest_profile_version') | |
| $versionRegEx = "# Version (?<version>\d+\.\d+\.\d+)" | |
| if ([System.IO.File]::Exists($latestVersionFile)) { |