Skip to content

Instantly share code, notes, and snippets.

Avatar

João Pedro bigodel

View GitHub Profile
@bigodel
bigodel / literate-ledger.org
Last active May 6, 2021
Literate Ledger Programming(?) with Org-mode
View literate-ledger.org

Literate Ledger Programming(?) with Org-mode

Recently, given the economic hardships presented by the current pandemic, coupled with the fact that I have started making my own money, I have started to keep track of my finances. I have always known that I would use Ledger, the command line account tool, to manage my money. Ledger was created by an Emacs maintainer, which hints to a very good Emacs integration, and indeed =ledger-mode= offers a great environment for editing, reporting and modifying Ledger files. But even though it is a pretty complete major mode, I missed being

@bigodel
bigodel / modular-tex-templates-with.org
Last active Oct 8, 2021
Contrived (La)TeX templates for Org-mode
View modular-tex-templates-with.org

Contrived (La)TeX templates for Org-mode

In my for ever long task of achieving Emacs and Org-mode configuration nirvana I stumbled upon the problem of trying to reuse a couple of .tex files I keep as templates for my (La)TeX exports for Org-mode. As I started to collaborate more and more in my TeX files, I realized that this setup would also need to be TeX-wise independent, that is, the exported .tex file should be self contained and self sufficient, so that I can keep collaborating and other people can see my work and (hopefully) reproduce whatever I have written without my

@bigodel
bigodel / return-to-hyper.org
Created Feb 8, 2021
Remapping Return to Hyper when pressed
View return-to-hyper.org

Remapping Return to Hyper when pressed

Try with Return if this doesn’t work.

First you need to remove Hyper from the mod4 group of modifiers[fn:1], because it will most likely be interpreted as Super. To do that:

xmodmap -e "remove mod4 = Hyper_L"
xmodmap -e "add mod3 = Hyper_L"
@bigodel
bigodel / a-porra-da-page-toda.dart
Last active Apr 18, 2020
stack fudido do caralho
View a-porra-da-page-toda.dart
import 'package:flutter/material.dart';
import 'package:flutter_modular/flutter_modular.dart';
import 'package:intl/date_symbol_data_local.dart';
import 'package:sascar_app/app/modules/vehicle/model/vehicle_model.dart';
import 'package:sascar_app/app/modules/vehicle/vehicle_controller.dart';
import 'package:sascar_app/app/modules/vehicle/widgets/logs_filter.dart';
import 'package:sascar_app/app/modules/vehicle/widgets/vehicle_avatar_card.dart';
class VehiclePage extends StatefulWidget {
final VehicleModel vehicle;
@bigodel
bigodel / *lsp-log*
Last active Apr 3, 2020
lsp-mode issue
View *lsp-log*
ServerId: dart_analysis_server
Notification: textDocument/publishDiagnostics
Deserialization: 0.000000
Processing: 0.005018
Perf> notification
ServerId: dart_analysis_server
Notification: textDocument/publishDiagnostics
Deserialization: 0.000000
Processing: 0.008963
Perf> notification