Skip to content

Instantly share code, notes, and snippets.

View luisfmcalado's full-sized avatar
😼

Luis Calado luisfmcalado

😼
View GitHub Profile
@luisfmcalado
luisfmcalado / async_log.rb
Last active October 16, 2017 13:22
async_logging.rb
require 'logging'
require 'concurrent-edge'
require 'securerandom'
LOG_LAYOUT = Logging.layouts.pattern(
pattern: %w(%X{platform_tid} %X{account_name} %X{account_id} %m\n).join(' '),
)
Logging.logger.root.add_appenders Logging.appenders.stdout(layout: LOG_LAYOUT)
@luisfmcalado
luisfmcalado / Makefile
Last active October 16, 2017 08:42
makefile-blink.make
all:
avr-gcc -g -Os -mmcu=atmega328p -c blink.c
avr-gcc -g -mmcu=atmega328p -o blink.elf blink.o
avr-objcopy -j .text -j .data -O ihex blink.elf blink.hex
clean:
rm *.o *.elf *.hex
class Person
private
SPEAK = ENV['ENABLE_SPEAK'] == 'true'
public
def speak
return 'WWWWWAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHH' unless SPEAK

Keybase proof

I hereby claim:

  • I am luisfmcalado on github.
  • I am luisfmcalado (https://keybase.io/luisfmcalado) on keybase.
  • I have a public key ASBsv_KsWf0PbNoWQ4qcD4LTT_bx9ZMMv4_lN5aTAia1QAo

To claim this, I am signing this object: