Skip to content

Instantly share code, notes, and snippets.

View florinpatrascu's full-sized avatar
💜
Alchemy

Ŧl๏гเภ florinpatrascu

💜
Alchemy
  • Toronto, CANADA
View GitHub Profile
@florinpatrascu
florinpatrascu / keybase.md
Created September 29, 2017 11:34
keybase.md

Keybase proof

I hereby claim:

  • I am florinpatrascu on github.
  • I am valahus (https://keybase.io/valahus) on keybase.
  • I have a public key whose fingerprint is 38CB B8D3 C596 C634 9B3F 63F1 10E8 7658 A3D7 897C

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am florinpatrascu on github.
* I am valahus (https://keybase.io/valahus) on keybase.
* I have a public key ASB9rL161TGkL8-9suC4TtHQJyfCXaSFncjcWbaFANp5xwo
To claim this, I am signing this object:
@florinpatrascu
florinpatrascu / Sublime3, LSP and Elixir - notes.md
Last active March 16, 2019 11:45
Experimenting with the Universal Language Server support for Sublime Text 3 plugin and Elixir, using the Language Server Protocol.

Sublime3, LSP and Elixir - notes

Experimenting with the Universal Language Server support for Sublime Text 3 plugin, available here and Elixir, using the Language Server Protocol.

Right now, and sadly, the LSP plugin doesn't include Elixir out of the box. A bit of copying some files around and editing, is still required. I am focusing on OSX only, in this note.

Prerequisites

Install the following:

@florinpatrascu
florinpatrascu / count_ips.rb
Created July 6, 2011 23:17
Count the occurrence of an IP address in a given list of IP addresses and resolve it to its hostname.
#require "rubygems"
require 'socket'
# Count the occurrence of an IP address in a given list of
# IP addresses and resolve it to its hostname.
#
# (c)2011 Florin T.PATRASCU
Socket.do_not_reverse_lookup = false
ip_addresses = Array.new DATA.read.split