Skip to content

Instantly share code, notes, and snippets.

View IvanRublev's full-sized avatar

Ivan Rublev IvanRublev

View GitHub Profile

Nestru example for Lisbon Elixir meetup at 23 Nov 2022

Mix.install(
  [
    {:nestru, "~> 0.3.2"},
    {:jason, "~> 1.3"},
    {:ex_json_schema, "~> 0.9.2"},
    {:ecto_sql, "~> 3.7"},
    {:postgrex, "~> 0.16.1"},
@IvanRublev
IvanRublev / types_as_specification.livemd
Last active June 15, 2022 18:42
Types as Specification in Elixir with Domo library

Types as Specification in Elixir with Domo library

Run in Livebook

Mix.install([:domo])
@IvanRublev
IvanRublev / keybindings.json
Last active January 30, 2024 14:38
VSCode settings
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "cmd+k",
"command": "editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "shift+cmd+k",
"command": "-editor.action.deleteLines",
@IvanRublev
IvanRublev / Apple-Keyboard-layout-swift
Last active April 20, 2024 15:53
Keyboard remapping to program in Swift language for Karabiner-Elements.
{
"global": {
"ask_for_confirmation_before_quitting": true,
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false,
"unsafe_ui": false
},
"profiles": [
{
@IvanRublev
IvanRublev / Dracula +.xccolortheme
Created March 27, 2018 15:36
Dark color scheme for Xcode. Looks like AppCode's one. Copy to ~/Library/Developer/Xcode/UserData/FontAndColorThemes to use.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>DVTConsoleDebuggerInputTextColor</key>
<string>0.972549 0.972549 0.94902 1</string>
<key>DVTConsoleDebuggerInputTextFont</key>
<string>Monaco - 12.0</string>
<key>DVTConsoleDebuggerOutputTextColor</key>
<string>0.972549 0.972549 0.94902 1</string>
@IvanRublev
IvanRublev / PC-Keyboard-layout-to-program-in-Swift-language-on-macOS-Sierra_.kbd.json
Last active August 29, 2017 08:10
PC Keyboard layout to program in Swift language on macOS Sierra.
[
{
"backcolor": "#222222",
"name": "PC Keyboard layout to program in Swift language on macOS Sierra.",
"author": "Ivan Rublev, 2017."
},
[
{
"c": "#282828",
"t": "#aaaaaa",