Skip to content

Instantly share code, notes, and snippets.

View wesleycoder's full-sized avatar
:shipit:
ShipIt

Wésley Guimarães wesleycoder

:shipit:
ShipIt
View GitHub Profile
@wesleycoder
wesleycoder / Readme.md
Last active January 17, 2026 18:47
Pitchfork Schema file

Pitchfork schema file

Pitchfork doesn't have a public json schema available so I put this one together, feel free to use this or suggest changes.

To add this schema to your pitchfork.toml use this syntax and url in the first line of the file:

#:schema https://gist.githubusercontent.com/wesleycoder/96af12e8fb9aeb0963ba66a449fe675e/raw/pitchfork.schema.json

# ... the rest of your file
@wesleycoder
wesleycoder / Zed.log
Created February 9, 2024 02:02
Zed.log file for issue "Per project terminal.shell not working as documented"
2024-02-08T22:44:05-03:00 [ERROR] error processing "/Users/wesleycoder/Library/Containers/com.apple.CoreSpotlight.ImportExtension/Data/Library/Preferences/com.apple.security_common.plist": No such file or directory (os error 2)
2024-02-08T22:44:05-03:00 [ERROR] error processing "/Users/wesleycoder/Library/Containers/com.apple.CoreSpotlight.ImportExtension/Data/Library/Images/People": No such file or directory (os error 2)
2024-02-08T22:44:05-03:00 [ERROR] error processing "/Users/wesleycoder/Library/Containers/com.apple.Photos/Data/Library/Application Support/SyncServices": No such file or directory (os error 2)
2024-02-08T22:44:05-03:00 [ERROR] error processing "/Users/wesleycoder/Library/Containers/com.apple.Photos/Data/Library/Preferences/com.apple.security.plist": No such file or directory (os error 2)
2024-02-08T22:44:05-03:00 [ERROR] error processing "/Users/wesleycoder/Library/Containers/com.apple.Photos/Data/Library/Preferences/com.apple.security_common.plist": No such file or directory (os error 2)
2
@wesleycoder
wesleycoder / machine.js
Last active July 11, 2021 02:35
Generated by XState Viz: https://xstate.js.org/viz
const userStatusMachine = Machine({
id: 'userStatus',
initial: 'NEW',
context: {
userId: '12345',
validationAttempts: 0,
},
states: {
NEW: {
on: {
@wesleycoder
wesleycoder / machine.js
Last active July 27, 2020 16:24
Generated by XState Viz: https://xstate.js.org/viz
const appMachine = Machine({
id: "App",
initial: "CLOSED",
context: {
isAuthenticated: false,
},
states: {
CLOSED: {
id: "closed",
on: {
{"paddingVertical":"0px","paddingHorizontal":"0px","backgroundImage":null,"backgroundImageSelection":null,"backgroundMode":"color","backgroundColor":"rgba(171,184,195,0)","dropShadow":false,"dropShadowOffsetY":"20px","dropShadowBlurRadius":"68px","theme":"monokai","windowTheme":"sharp","language":"javascript","fontFamily":"Hack","fontSize":"18px","lineHeight":"130%","windowControls":false,"widthAdjustment":true,"lineNumbers":true,"firstLineNumber":1,"exportSize":"2x","watermark":false,"squaredImage":false,"hiddenCharacters":false,"id":"5f31500a99f7cde43db5ee172514a8dc","gist_id":"5f31500a99f7cde43db5ee172514a8dc","loading":false,"isVisible":true}
@wesleycoder
wesleycoder / darkify_slack.sh
Created June 18, 2019 13:23 — forked from ryanpcmcquen/darkify_slack.sh
Darkify your Slack.
#!/bin/sh
# Darkify Slack on Mac OS or Linux.
# curl https://gist.githubusercontent.com/ryanpcmcquen/8a7ddc72460eca0dc1f2dc389674dde1/raw/darkify_slack.sh | sh
if [ "`uname -s`" = "Darwin" ]; then
SLACK_INTEROP_JS="/Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static/ssb-interop.js"
else
SLACK_INTEROP_JS="/usr/lib/slack/resources/app.asar.unpacked/src/static/ssb-interop.js"
fi