Skip to content

Instantly share code, notes, and snippets.

@lucian
lucian / .cursorrules
Created May 31, 2025 04:34 — forked from boxabirds/.cursorrules
Rock solid: turn Cursor into a rock-solid software engineering companion
# Project Policy
This policy provides a single, authoritative, and machine-readable source of truth for AI coding agents and humans, ensuring that all work is governed by clear, unambiguous rules and workflows. It aims to eliminate ambiguity, reduce supervision needs, and facilitate automation while maintaining accountability and compliance with best practices.
# 1. Introduction
> Rationale: Sets the context, actors, and compliance requirements for the policy, ensuring all participants understand their roles and responsibilities.
## 1.1 Actors
@lucian
lucian / mostly-erlang-019-elixir-with-jose-valim-20131007.txt
Last active April 10, 2024 20:05
transcript for Mostly Erlang - episode 019 Elixir With José Valim / October 7, 2013
# --------------------------------------------------------------------------------------------
# Mostly Erlang - episode 019 Elixir With José Valim / October 7, 2013
#
# guests:
# - Joe Armstrong (@joeerl)
# - Robert Virding (@rvirding)
# - Jose Valim (@josevalim)
# - Fred Hebert (@mononcqc)
# - Eric Merit (@ericbmerritt)
#
@lucian
lucian / tmux.md
Last active January 13, 2022 09:11
tmux

Tmux Workshop

What is a Terminal

TTY - TeleTYpe

The TTY (TeleTYpe), TDD (Telecommunications Device for the Deaf), and TT (Text Telephone) acronyms are used interchangeably to refer to any type of text-based telecommunications equipment used by a person who does not have enough functional hearing to understand speech, even with amplification. The person sending a message types it on a small keyboard,

-module(tcp_server).
-behaviour(gen_server).
%% API
-export([start_link/0]).
%% gen_server callbacks
-export([init/1, handle_call/3, handle_cast/2, handle_info/2,
terminate/2, code_change/3]).
@lucian
lucian / example_gproc_queries.erl
Last active July 24, 2018 07:40
gproc example queries
%% Gproc Example queries
1> Table = gproc:table().
{qlc_handle,{qlc_table,#Fun<gproc.13.93641566>,true,
undefined,undefined,#Fun<gproc.16.93641566>,undefined,
#Fun<gproc.17.93641566>,undefined,'=:=',undefined,
no_match_spec}}
%% query all registered gproc local names
2> Q_names = qlc:q([{X, P} || {{n,l,X},P,_} <- Table]).
{qlc_handle,{qlc_lc,#Fun<erl_eval.20.99386804>,
@lucian
lucian / Clojure Resources
Last active August 29, 2015 14:16
Clojure and ClojureScript Resources
Tutorials
---------
- [Basic Tutorial](https://github.com/omcljs/om/wiki/Basic-Tutorial)
- [Intermediate Tutorial](https://github.com/omcljs/om/wiki/Intermediate-Tutorial)
- [Advanced Tutorial](https://github.com/omcljs/om/wiki/Advanced-Tutorial)
- [ClojureScript Workshop](http://www.niwi.be/cljs-workshop/)
- [Translations from JavaScript](http://himera.herokuapp.com/synonym.html)
- [Fork of Om's Tutorials, edited to be used with Figwheel](https://github.com/bensu/basic-om-tut)
- [Om Cookbook - Routing with Secretary](https://github.com/omcljs/om-cookbook/tree/master/recipes/routing-with-secretary)
@lucian
lucian / tips.md
Last active December 8, 2016 12:44
Tips & Tricks