Skip to content

Instantly share code, notes, and snippets.

View ricmarinovic's full-sized avatar

Ricardo Marinovic ricmarinovic

View GitHub Profile
{
"editor.acceptSuggestionOnEnter": "off",
"editor.cursorBlinking": "blink",
"editor.cursorStyle": "block",
"editor.detectIndentation": false,
"editor.dragAndDrop": false,
"editor.fontFamily":
"'Fira Code', 'Source Code Pro', Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.fontSize": 13,
@ricmarinovic
ricmarinovic / guess.ex
Last active July 5, 2019 00:18
guess number
defmodule Playground do
def guess(actual, a..b) do
do_guess(actual, a..b, div(b, 2))
end
def do_guess(actual, a.._b, number) when actual < number do
print_number(number)
do_guess(actual, a..number, div(a + number, 2))
end
@ricmarinovic
ricmarinovic / keybindings.json
Last active September 12, 2025 17:24
New vscode keybindings 2025
// MAC KEYBINDINGS
[
// ## Unbind keys ==========================================================
// cmd ---------------------------------------------------------------------
{
// don't hide the window
"key": "cmd+h",
"command": "noop"
},
{