Skip to content

Instantly share code, notes, and snippets.

View AnderRasoVazquez's full-sized avatar
Guess I'll work ¯\_(ツ)_/¯

Ander Raso Vázquez AnderRasoVazquez

Guess I'll work ¯\_(ツ)_/¯
View GitHub Profile
@danirabbit
danirabbit / meson.build
Last active May 20, 2020 08:38
Meson example
# project name and programming language
project('com.github.yourusername.yourrepositoryname', 'vala', 'c')
# Include the translations module
i18n = import('i18n')
# Set our translation domain
add_global_arguments('-DGETTEXT_PACKAGE="@0@"'.format (meson.project_name()), language:'c')
# Create a new executable, list the files we want to compile, list the dependencies we need, and install
@mariocesar
mariocesar / app_granite.py
Last active June 29, 2021 08:35
Python GTK3 desktop app and Granite App (Elementary OS Desktop)
import sys
from gi.repository import Granite
from gi.repository import Gtk
from gi.repository import Gio
class LightWindow(Gtk.Dialog):
def __init__(self):
super(LightWindow, self).__init__()