Skip to content

Instantly share code, notes, and snippets.

View ralugli's full-sized avatar
🏠
Working from home

Rafael Lugli ralugli

🏠
Working from home
  • São Paulo
  • 19:59 (UTC -03:00)
  • X @ralugli
View GitHub Profile
@ralugli
ralugli / lily58-keyboard.org
Created April 1, 2022 16:26 — forked from braun-steven/lily58-keyboard.org
Lily58 Pro Parts List
{
"workbench.colorTheme": "Cobalt2",
"editor.fontFamily": "Fira Code",
"editor.fontSize": 16,
"editor.lineHeight": 25,
"editor.fontLigatures":true,
"editor.letterSpacing": 0.5,
"files.trimTrailingWhitespace": true,
"editor.fontWeight": "400",
"editor.cursorStyle": "line",
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
query_builder = QueryBuilder::UserPerformanceQuery.new
query_builder.by_date_range(DateTime.now.beginning_of_day, DateTime.now.end_of_day)
list = UserPerformance.execute(query_builder.build(only_status_change: true))
UserPerformance.transaction do
list.each do |o|
raise ActiveRecord::Rollback unless o.save
end
end