This file contains 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
/* ==UserStyle== | |
@name Slack fullscreen details | |
@namespace https://gist.github.com/PedroHLC/78f05e1ba215d00c113c6d984d3f8fb2 | |
@homepageURL https://gist.github.com/PedroHLC/78f05e1ba215d00c113c6d984d3f8fb2 | |
@updateURL https://gist.githubusercontent.com/PedroHLC/78f05e1ba215d00c113c6d984d3f8fb2/raw/slack-fullscreen.user.css | |
@version 0.9.0 | |
@license Other | |
@description Slack's second column (contact details, threads, etc) in fullscreen | |
@author PedroHLC (https://pedrohlc.com) | |
==/UserStyle== */ |
This file contains 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
/* ==UserStyle== | |
@name Compact JIRA | |
@namespace https://gist.github.com/PedroHLC/2c124b8ae453c6b926dfe565faa14ccd | |
@homepageURL https://gist.github.com/PedroHLC/2c124b8ae453c6b926dfe565faa14ccd | |
@updateURL https://gist.githubusercontent.com/PedroHLC/2c124b8ae453c6b926dfe565faa14ccd/raw/compact-jira.user.css | |
@version 0.9.6 | |
@license Other | |
@description Slim, with green stories and gold for empty stories | |
@author PedroHLC (https://pedrohlc.com) | |
==/UserStyle== */ |
This file contains 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
// ==UserScript== | |
// @name Deploy Button for GitHub Actions | |
// @namespace https://pedrohlc.com/ | |
// @version 0.0.2 | |
// @downloadURL https://gist.github.com/PedroHLC/b983396b7f6e2b2c4300af6695b02f19/raw/github.deploybtn.js | |
// @updateURL https://gist.github.com/PedroHLC/b983396b7f6e2b2c4300af6695b02f19/raw/github.deploybtn.meta.js | |
// @description Add a "Deploy Master" button on GitHub enviroments page | |
// @author PedroHLC | |
// @match github.com/*/deployments | |
// @grant GM_xmlhttpRequest |
This file contains 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
// ==UserScript== | |
// @name Hightlights for Slack | |
// @namespace https://pedrohlc.com/ | |
// @version 0.1.1 | |
// @downloadURL https://gist.github.com/PedroHLC/0dc566f2cc4a9783eb0e85d37b49a7e1/raw/slack.highlight.js | |
// @updateURL https://gist.github.com/PedroHLC/0dc566f2cc4a9783eb0e85d37b49a7e1/raw/slack.highlight.meta.js | |
// @description Slack code block syntax highlighting with highlight.js! | |
// @author PedroHLC | |
// @match app.slack.com/* | |
// @resource css https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.0.1/styles/default.min.css |
This file contains 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
sudo pacman -Sy | |
sudo powerpill -Su dxvk-mingw-git wine-tkg-git-leagueoflegends winetricks-git | |
export WINEPREFIX="$HOME/.lol" | |
export WINE=/usr/bin/wine | |
export WINEARCH=win32 | |
winetricks d3dcompiler_43 d3dx9 | |
setup_dxvk install --symlink |
This file contains 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
const linux = @cImport({ | |
@cInclude("linux/kvm.h"); | |
}); | |
const sys = @cImport({ | |
@cInclude("sys/ioctl.h"); | |
@cInclude("sys/stat.h"); | |
@cInclude("fcntl.h"); | |
}); | |
const std = @import("std"); | |
const assert = std.debug.assert; |
This file contains 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
/* ONE LINE TOOLBAR */ | |
#navigator-toolbox { | |
display: flex; | |
flex-direction: row-reverse; | |
justify-content: flex-end; | |
} | |
#titlebar { | |
min-width: 40px !important; | |
flex: 0; |
This file contains 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 sh | |
set -o errexit | |
_local="$HOME/.local/bin" | |
[ -n `echo $PATH | grep "${_local}"` ] || \ | |
export PATH="$PATH:${_local}" | |
which telegram-download 1>2 2>/dev/null || \ | |
pip install --user telegram-upload |
This file contains 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
// ==UserScript== | |
// @name AVA redirect to PDF | |
// @namespace http://pedrohlc.com/ | |
// @version 0.1 | |
// @description AVA inpdf sucks! | |
// @author PedroHLC | |
// @match https://ava.ead.ufscar.br/mod/resource/view.php?id=* | |
// @grant none | |
// ==/UserScript== |
This file contains 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 sh | |
# ====================================================================================== | |
# Maintaned by Pedro H Lara Campos <[email protected]> | |
# Contributors: | |
# Marcos Laerte | |
# Paulo Matias | |
# Version: 2019.08.28-6 | |
# -------------------------------------------------------------------------------------- | |
: ${PSEUDO_RUN:=0} |