Skip to content

Instantly share code, notes, and snippets.

Avatar
💻

Manoj hindenbug

💻
View GitHub Profile
@mrnugget
mrnugget / tucan_bibliography.md
Last active September 6, 2022 09:17
Tucan Bibliography. Majority of the resources I used to build Tucan, my toy optimizing compiler in Rust
View tucan_bibliography.md

Tucan - Bibliography

Majority of the resources I used to build Tucan, my toy optimizing compiler in Rust. This list is not complete but most of the things listed here are things I really read through and used.

Books

  • Engineering a compiler (I use this a lot! For SSA, dominance and optimizations)
  • [Static Single Assignment Book][ssabook] (I use this a lot!)
  • Types And Programming Languages
@Inom-Turdikulov
Inom-Turdikulov / doom_emacs_workflow.org
Last active February 10, 2023 08:26
Doom emacs with evil keybdindings workflow
View doom_emacs_workflow.org

Doom Emacs Workflow

Here I collect, various EMACS/evil/org… tips, shortcuts, keybindings, etc. Also, here some information how I handle daily usage of text editing.

This not absolute beginner cheat sheet, just some short basic commands/tips.

Recommendation - just use it & check it every day (training mode).

@ityonemo
ityonemo / test.md
Last active March 20, 2023 16:06
Zig in 30 minutes
View test.md

A half-hour to learn Zig

This is inspired by https://fasterthanli.me/blog/2020/a-half-hour-to-learn-rust/

Basics

the command zig run my_code.zig will compile and immediately run your Zig program. Each of these cells contains a zig program that you can try to run (some of them contain compile-time errors that you can comment out to play with)

View strsplit.rs
#![warn(rust_2018_idioms)]
#[derive(Debug)]
pub struct StrSplit<'haystack, D> {
remainder: Option<&'haystack str>,
delimiter: D,
}
impl<'haystack, D> StrSplit<'haystack, D> {
pub fn new(haystack: &'haystack str, delimiter: D) -> Self {
@darioghilardi
darioghilardi / config.el
Created February 19, 2020 13:00
Doom-Emacs Elixir config
View config.el
;; Elixir configuration
;; Start by configuring Alchemist for some tasks.
(def-package! alchemist
:hook (elixir-mode . alchemist-mode)
:config
(set-lookup-handlers! 'elixir-mode
:definition #'alchemist-goto-definition-at-point
:documentation #'alchemist-help-search-at-point)
(set-eval-handler! 'elixir-mode #'alchemist-eval-region)
(set-repl-handler! 'elixir-mode #'alchemist-iex-project-run)
@yogthos
yogthos / clojure-beginner.md
Last active February 26, 2023 07:43
Clojure beginner resources
View clojure-beginner.md

Introductory resources

@stettix
stettix / things-i-believe.md
Last active March 15, 2023 16:24
Things I believe
View things-i-believe.md

Things I believe

This is a collection of the things I believe about software development. I have worked for years building backend and data processing systems, so read the below within that context.

Agree? Disagree? Feel free to let me know at @JanStette. See also my blog at www.janvsmachine.net.

Fundamentals

Keep it simple, stupid. You ain't gonna need it.

@ecoshub
ecoshub / IntToByteArray.go
Last active December 5, 2022 11:00
golang integer to byte array and byte array to integer function
View IntToByteArray.go
package main
import (
"fmt"
"unsafe"
)
func main(){
// integer for convert
num := int64(1354321354812)