- An .ogg format audio file (opus not vorbis)
- A Discord bot Token
- files created via the vorbis encoder may not play back on mobile, therfore it's suggested to use the opus encoder for your .ogg files
This is a cheat sheet for how to perform various actions to ZSH, which can be tricky to find on the web as the syntax is not intuitive and it is generally not very well-documented.
Description | Syntax |
---|---|
Get the length of a string | ${#VARNAME} |
Get a single character | ${VARNAME[index]} |
# This adds react-native support to dependabot by automatically running pod install after dependabot upgrades an npm/yarn package. | |
# Dependabot open issue: https://github.com/dependabot/dependabot-core/issues/935#issuecomment-698481919 | |
name: Update Cocoapods Dependencies after Dependabot package upgrade | |
on: | |
push: | |
branches: | |
- dependabot/npm_and_yarn/** # OR dependabot/npm_and_yarn/**react-native** to run only for packages that have react-native in the name | |
pull_request: | |
branches: | |
- dependabot/npm_and_yarn/** # OR dependabot/npm_and_yarn/**react-native** to run only for packages that have react-native in the name |
// ==UserScript== | |
// @name Bitbucket Highlighter | |
// @namespace https://github.com/lephuongbg | |
// @version 0.11 | |
// @description Stop-gap solution for highlighting bitbucket pull request | |
// @author You | |
// @match https://bitbucket.org/* | |
// @grant GM_addStyle | |
// @grant GM_getResourceText | |
// @require https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.3.2/highlight.min.js |
import re | |
strings = set() | |
with open('texts.txt', mode='r', encoding='utf-8') as file_input: | |
content = file_input.read() | |
regExStr = r'^\s*\d string title = "(?:tooltip\d+|Name|Dialogue Text)"\n\s*\d string value = "((?!(START|input|\w+\(\)|\!\(\w+\(\)\))).+)"$' | |
compiled = re.compile(regExStr, re.MULTILINE) | |
matched = compiled.finditer(content) |
:root { | |
/* | |
Swap any Base16 theme here | |
http://terminal.sexy | |
Defaults to Ocean Dark Extended | |
*/ | |
--bg: #2b303b; | |
--fg: #c0c5ce; | |
--c0: #2b303b; | |
/* C1 & C2 (diff highlights) might need manual darken override */ |
So there were a few threads going around recently about a challenge to write the longest sequence of keywords in Javascript:
There are, however, a few problems:
{ | |
repository(name: "sickvim", owner: "jonathansick") { | |
ref(qualifiedName: "master") { | |
target { | |
... on Commit { | |
id | |
history(first: 5) { | |
pageInfo { | |
hasNextPage | |
} |
Instuctions available (moved) at REMOTE ORIGIN website: Extract Subtitles From mkv