Skip to content

Instantly share code, notes, and snippets.

View lfarah's full-sized avatar

Lucas Farah lfarah

  • Awesome Labs
  • São Paulo
View GitHub Profile
@lfarah
lfarah / gist:e19b2f837fa65baf2529e79eca1c5f7d
Created September 15, 2024 23:49
lilygo t5 working but ugly
substitutions:
name: esphome-web-45eef0
friendly_name: Lily
esphome:
name: ${name}
friendly_name: ${friendly_name}
min_version: 2024.6.0
name_add_mac_suffix: false
platformio_options:
@lfarah
lfarah / helloWorld.md
Created September 2, 2018 15:17
Written in Twig
hanfr# Testing Twig
  • It's
  • Really cool!
@lfarah
lfarah / helloWorld.md
Created September 2, 2018 15:15
Written in Twig
hanfr# Testing Twig
  • It's
  • Really cool!
@lfarah
lfarah / helloWorld.md
Created August 14, 2018 03:15
asdasd
hanfr# Testing Twig
  • It's
  • Really cool!
@lfarah
lfarah / helloWorld.md
Created August 14, 2018 03:11
asdasd
hanfr# Testing Twig
  • It's
  • Really cool!
@lfarah
lfarah / helloWorld.md
Created August 12, 2018 21:22
asdasd

Testing Twig

  • It's
  • Really cool!
@lfarah
lfarah / AwesomeiOSWeekly24.md
Last active May 17, 2018 21:04
AwesomeiOSWeekly24

AwesomeiOS.Weekly [24]

Links of the week

The first featured link is "Touch ID and Face ID on iOS" by Michael Brown. In my last 2 freelance projects I've been implementing TouchID and FaceID and it is so easy! Michael shows us his abstraction called BiometricAuth, making the implementation nicer and easier to track all states of authentication.

The second featured link is "Best iOS hacks from Twitter: March & April Edition", by Lisa Dziuba. Our friends at Flawless release this series every month and there's always something new to learn. My favorite one is how to open a file in a certain line using the Quick Open dialog.

Wanna see your library here? [Send us an email!](mailto:lucas.fara

@lfarah
lfarah / ProblemasServidorPEL.md
Last active May 15, 2018 18:06
ProblemasServidorPEL

Problemas do Servidor

Listas

Endpoint: v1/user/1/lists/3 - DELETE

BUG ao deletar uma lista que tem livros

Endpoint: v1/user/1/lists - POST

Servidor da erro ao criar listas com o mesmo nome para usuários diferentes

Explorar

extension UIColor {
func lighter(by percentage:CGFloat=30.0) -> UIColor? {
return self.adjust(by: abs(percentage) )
}
func darker(by percentage:CGFloat=30.0) -> UIColor? {
return self.adjust(by: -1 * abs(percentage) )
}
/*
See LICENSE folder for this sample’s licensing information.
Abstract:
Wrapper SceneKit node for virtual objects placed into the AR scene.
*/
import Foundation
import SceneKit
import ARKit