Skip to content

Instantly share code, notes, and snippets.

View rafaelkallis's full-sized avatar

Rafael Kallis rafaelkallis

View GitHub Profile
@rafaelkallis
rafaelkallis / FF_Factors.tsv
Last active December 27, 2022 10:09
Factors
Date RF MKT SMB HML RMW CMA WML
199011 0.57 -3.72 1.48 1.13 1.31 -2.12 0.08
199012 0.6 1.11 -0.87 -1.48 1.38 -0.33 -2.64
199101 0.52 2.49 -1.71 0.47 0.94 -2.21 -1.69
199102 0.48 9.03 2.38 0.03 -2 -0.3 -7.45
199103 0.44 -2.29 3.02 -1.05 0.75 -1.27 1.95
199104 0.53 0.54 0.1 0.46 0.34 0.08 -0.02
199105 0.47 0.73 -0.46 0.31 0.09 -0.25 0.97
199106 0.42 -6.07 1.52 1.11 0.88 0.43 1.11
199107 0.49 3.47 -1.63 -0.38 1.87 -0.57 3.45
@rafaelkallis
rafaelkallis / fedora_setup.sh
Last active February 10, 2023 12:20
Fedora Scripts
#
#
# tpm2 luks
# https://fedoramagazine.org/automatically-decrypt-your-disk-using-tpm2/
#
sudo dnf install clevis clevis-luks clevis-dracut clevis-udisks2 clevis-systemd
sudo dracut -fv --regenerate-all
sudo systemctl reboot
sudo clevis luks bind -d /dev/nvme... tpm2 '{"pcr_ids":"1,4,5,7"}'
@rafaelkallis
rafaelkallis / issues.txt
Last active September 24, 2023 03:50
ticket tagger datasets
This file has been truncated, but you can view the full file.
__label__bug "A porta de acesso ao servidor não é mostrada corretamente na página 'latest news' Ao acessar a página inicial ou a página 'latest news' no menu à esquerda, pode-se ver o campo 'featured article', o qual contém informações como IP e porta do servidor e versão do 'client' a ser utilizado. A porta, no entanto, é sempre mostrada como 7171 independentemente da escolhida no arquivo de configuração do servidor."
__label__bug "scala presentation compiler Scala presentation compiler can only be accessed on designated thread. This crash is easily reproducible for me if I select a name in any nontrivial piece of code. `````` ____ _ / ___|___ | |__ _ __ __ _ TM | | / _ \| '_ \| '__/ _` | | |__| (_) | |_) | | | (_| | \____\___/|_.__/|_| \__,_| ________________________________________ | version 1.0.5 - (c) 2016 Martin Ring | [INFO] [06/23/2016 10:37:09.033] [scratch-akka.actor.default-dispatcher-3] [scratch] serving presentation from /Users/psp/scratch/cobra-scratc
@rafaelkallis
rafaelkallis / baseline_issues.txt
Last active March 3, 2024 06:20
visual studio code issues
This file has been truncated, but you can view the full file.
__label__bug "ToggledFrames that are not enabled for all ships do not close when new ship is loaded This can lead to a rather messy situation: ![afbeelding](https://user-images.githubusercontent.com/15170036/31015192-1d4c5bec-a51f-11e7-9138-f9891c775083.png) "
__label__enhancement "Switching boards We need to implement some sort of mechanism for opening a new board/switching to a saved board. Of course, this depends on #2, persistence. Once this is implemented, there should be command to switch to a new board. If the current board hasn't been saved in it's most current state, prompt the user. If the board they attempt to open does not exist, open it as a blank or scaffold board (perhaps with one empty list). It it does exist, open it."
__label__enhancement Complete Fixture banks.json Complete [file](https://github.com/ConTTudOweb/base/blob/master/base/accounting/fixtures/banks.json) with all banks sorted by code. @edvaldolj02
__label__question Conditional logging removed from version 16.* Why have
@rafaelkallis
rafaelkallis / .zshrc
Last active November 23, 2018 22:51
.zshrc
# Check if zplug is installed
if [[ ! -d ~/.zplug ]]; then
git clone https://github.com/zplug/zplug ~/.zplug
source ~/.zplug/init.zsh && zplug update --self
fi
# Essential
source ~/.zplug/init.zsh
zplug "mafredri/zsh-async", from:github
@rafaelkallis
rafaelkallis / issue_lifetime.sql
Created November 3, 2018 16:29
issue lifetime
SELECT
created_at,
closed_at,
CONCAT(title, ' ', REGEXP_REPLACE(body, '(\r|\n|\r\n)',' ')) AS text
FROM (
SELECT
JSON_EXTRACT_SCALAR(payload, '$.issue.created_at') AS created_at,
JSON_EXTRACT_SCALAR(payload, '$.issue.closed_at') AS closed_at,
JSON_EXTRACT_SCALAR(payload, '$.action') AS action,
JSON_EXTRACT_SCALAR(payload, '$.issue.title') AS title,
@rafaelkallis
rafaelkallis / github_issues.csv
Last active March 17, 2024 17:00
github issue label dataset
We can't make this file beautiful and searchable because it's too large.
bug,"QuantosDataService夜盘00:00的K线时间处理出错 ## 环境 * 操作系统: Windows 7 * Anaconda版本: Anaconda 4.0.0 Python 2.7 32位 * vn.py版本: v1.7.2 ## Issue类型 三选一:Bug ## 预期程序行为 正常下载K线数据。 ## 实际程序行为 下载夜盘超过0点的品种,当时间到00:00时,K线的字符串日期为""20171214 0"",转化为datetime格式时报错:ValueError: time data '20171214 0' does not match format '%Y%m%d %H%M%S' ## 重现步骤 在vnpy\examples\QuantosDataService\config.json的SYMBOLS中填入夜盘时间超过0点的品种,如沪铜。 运行vnpy\examples\QuantosDataService\downloadData.py "
bug,"!command edit throws error on ZENFrag Discord Throws error there, not on my personal test server. Also may be the case with !command delete"
bug,"Crash: undefined method `begin' for nil:NilClass ``` undefined method `begin' for nil:NilClass /Users/dan/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/parser-2.4.0.2/lib/parser/source/rewriter.rb:71:in `insert_before' /Users/dan/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rubocop-0.50.0/lib/rubocop/cop/corrector.rb:78:in `insert_before' /Users/dan/.rbenv/versions/2.3.1/lib/ruby/gems/
# open terminal
cmd - return : /Applications/iTerm.app/Contents/MacOS/iTerm2 --single-instance
# open safari
cmd + shift - return : /Applications/Safari.app/Contents/MacOS/Safari --single-instance
# close focused window
ctrl - q : chunkc tiling::window --close
# focus window
#!/bin/bash
#
# NOTE: any 'chunkc' command that is run from this config file
# that is NOT 'chunkc core::<..>' or 'chunkc set ..'
# MUST be put in the background using &
#
# e.g:
# chunkc tiling::rule --owner Finder --name Copy --state float &
#
@rafaelkallis
rafaelkallis / setup.sh
Last active June 11, 2018 19:40
setup dev stuff
#!/bin/bash
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git
brew install wget
brew install ranger
brew install llvm
brew install nodejs