Skip to content

Instantly share code, notes, and snippets.

Roman Le Négrate Roman2K

Block or report user

Report or block Roman2K

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .Xresources-hybrid
! Hybrid Terminal Colours. Uses the palette from Tomorrow-Night:
! https://github.com/chriskempson/tomorrow-theme/blob/master/vim/colors/Tomorrow-Night.vim
! vim: ft=xdefaults
*background: #1D1F21
*foreground: #C5C8C6
! black
*color0: #282A2E
*color8: #373B41
! red
View gist:77462
def on_time_value
attendances.inject(0) do |sum, attendance|
sum + (attendance.late? ? 0 : 5)
end
end
You can’t perform that action at this time.