Skip to content

Instantly share code, notes, and snippets.

View comigor's full-sized avatar
:shipit:
Shippin'

Igor Borges comigor

:shipit:
Shippin'
View GitHub Profile
@comigor
comigor / parser.md
Created March 30, 2022 16:39
Cypher RPG System PDF Abilities Parser

Cypher RPG System PDF Abilities Parser

Although Cypher seems to be a nice RPG system, their shitty PDF layouting makes me sick when creating characters, specially when choosing their abilities. I was anxious going back and forth, needing to remember the page I was reading before. This is insane. Also, having the abilities parsed, it's way easier to create beautiful and automated character sheets on Google Docs and whatnot.

To run it, first install Xpdf command line tools and add to your $PATH.

Also, make sure you have the same official digital version (buy "Cypher System Rulebook, Revised Edition" here) of the PDF I do (or alter the variables and margin parameters).

$ md5sum Cypher_System_-_Revised_Edition.pdf
@comigor
comigor / schema.graphql
Created May 5, 2020 22:56
Minimum reproducible schema parsing error
schema {
query: Query
}
type Query {
object: Object!
}
# Some comment
# Another comment
@comigor
comigor / windows11.ps1
Last active December 7, 2023 17:45
Boxstarter Windows 11 Configuration
# Description: Boxstarter Script
# Author: Igor Borges <igor@borges.dev>
# Last Updated: 2022-12-07
#
# Run on an admin powershell:
# Set-ExecutionPolicy RemoteSigned
# . { iwr -useb https://boxstarter.org/bootstrapper.ps1 } | iex; Get-Boxstarter -Force
# Install-BoxstarterPackage -PackageName https://gist.githubusercontent.com/comigor/9fd1f0b7a1add1ae3ebaef535008e654/raw -DisableReboots
#
# Or:
@comigor
comigor / github.schema.graphql
Created February 22, 2020 17:58
GitHub SDL
# Autogenerated input type of AcceptEnterpriseAdministratorInvitation
input AcceptEnterpriseAdministratorInvitationInput {
# The id of the invitation being accepted
invitationId: ID!
# A unique identifier for the client performing the mutation.
clientMutationId: String
}
# Autogenerated return type of AcceptEnterpriseAdministratorInvitation
@comigor
comigor / graphbrainz.schema.graphql
Created February 22, 2020 17:48
GraphBrainz SDL
# [Aliases](https://musicbrainz.org/doc/Aliases) are variant names
# that are mostly used as search help: if a search matches an entity’s alias, the
# entity will be given as a result – even if the actual name wouldn’t be.
type Alias {
# The aliased name of the entity.
name: String
# The string to use for the purpose of ordering by name (for
# example, by moving articles like ‘the’ to the end or a person’s last name to
# the front).
[
"https://i.imgur.com/3opt0I5.jpg",
"https://i.imgur.com/ivs4PQu.jpg",
"https://i.imgur.com/qnXOaXM.jpg",
"https://i.imgur.com/6NK8S6f.jpg",
"https://i.imgur.com/r9nCNne.jpg",
"https://i.imgur.com/KB80xwQ.jpg",
"https://i.imgur.com/2fo0mu3.jpg",
"https://i.imgur.com/xSN0QBW.jpg",
"https://i.imgur.com/XVbF1H7.jpg",

VSCode Clojure Configuration

git clone git@gist.github.com:ae86d89666b89b8a44de39b71e262290.git vscode-clj

You'll need the following extensions:

@comigor
comigor / introspection-query.graphql
Last active May 30, 2019 17:25 — forked from craigbeck/introspection-query.graphql
Introspection query for GraphQL
query IntrospectionQuery {
__schema {
queryType { name }
mutationType { name }
subscriptionType { name }
types {
...FullType
}
directives {
name

Privacy Policy

Igor Borges built this app as a Free app. This SERVICE is provided by Igor Borges at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Feijoada unless otherwise defined in this Privacy Policy.

#!/usr/bin/env bash
if [[ "$OSTYPE" != "darwin"* ]]; then
echo "macOS only. Sorry."
exit 1
fi
function changeWallpaper() {
osascript -e 'tell app "finder" to get posix path of (get desktop picture as alias)' > /tmp/old_wallpaper_path