This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GTK3 variant: │drwxr-xr-x 2 czak czak 4096 Jan 12 15:24 . | |
// gcc -DGTK3 $(pkg-config --cflags gtk+-3.0) -o glarea-gtk3 glarea.c $(pkg-config --libs gtk+-3.0) │drwxr-xr-x 18 czak czak 4096 Jan 12 11:15 .. | |
// │-rw-r--r-- 1 czak czak 24 Jan 12 13:24 .gitignore | |
// GTK4 variant: │-rw-r--r-- 1 czak czak 1012 Jan 12 13:33 .vimlocal | |
// gcc -DGTK4 $(pkg-config --cflags gtk4) -o glarea-gtk4 glarea.c $(pkg-config --libs gtk4) │-rw-r--r-- 1 czak czak 551 Jan 12 15:00 Makefile | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[constants] | |
arch = 'arm-webos-linux-gnueabi' | |
toolchain = '/home/czak/projects/webos/webos-sdk-x86_64/1.0.g' | |
sysroot = toolchain / 'sysroots/armv7a-neon-webos-linux-gnueabi' | |
[host_machine] | |
system = 'webos-linux' | |
cpu_family = 'arm' | |
cpu = 'armv7a' | |
endian = 'little' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
if ARGV.empty? | |
puts 'Usage: genscale.rb 1.125' | |
exit 1 | |
end | |
scale = ARGV.first.to_f | |
steps = %w[xs sm base lg xl 2xl 3xl 4xl 5xl 6xl 7xl 8xl 9xl] | |
offset = -2 |
OlderNewer