Skip to content

Instantly share code, notes, and snippets.

View phylor's full-sized avatar

Serge Hänni phylor

View GitHub Profile
// Problem statement:
$brand-primary: red;
$brand-primary: green;
// $brand-primary == green
// How to use variables in a common SCSS, but override them per client?
// holcim.scss
$brand-primary: red;
@import "common";
@phylor
phylor / ruby-gtk3-cheatsheet.md
Last active February 6, 2021 17:07
Cheatsheet for GTK3 in Ruby

Components

  • Button
button = Gtk::Button.new(label: 'click me')
button.signal_connect 'clicked' do |widget|
  puts "I was clicked"
end