This file contains 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 python | |
# -*- coding: utf-8 -*- | |
import gi | |
gi.require_versions({"Gtk": "3.0", "Gdk": "3.0"}) | |
from gi.repository import Gtk | |
from gi.repository import Gdk | |
from gi.repository import GObject |
This file contains 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
#!/bin/bash | |
## Install .NET Core 2.0.0 SDK on Ubuntu 16.04 64Bits | |
## Author: Nilton OS www.linuxpro.com.br | |
## https://www.microsoft.com/net/core#linuxubuntu | |
## https://docs.microsoft.com/en-us/aspnet/core/publishing/apache-proxy | |
## https://medium.com/@renato.groffe/net-core-e-sql-server-em-linux-primeiros-passos-89a7cb475ebd | |
## Version 0.1 | |
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg |
This file contains 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
// This populates our imports object with gi modules in the child process. | |
imports.gi.GIRepository.Repository.get_default(); | |
const Gio = imports.gi.Gio; | |
const Soup = imports.gi.Soup; | |
const Signals = imports.signals; | |
// Cinnamon's JS context does not have an ARGV global defined. | |
const isChildProcess = typeof ARGV !== 'undefined'; | |
const DEBUG = true; |
This file contains 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
# Packages # | |
############ | |
# it's better to unpack these files and commit the raw source | |
# git has its own built in compression methods | |
*.7z | |
*.dmg | |
*.gz | |
*.iso | |
*.jar | |
*.rar |
This file contains 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 | |
# See http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gtk%3A%3ATreeViewColumn | |
# for more details on Gtk::TreeViewColumn | |
require 'gtk2' | |
require 'base64' | |
win = Gtk::Window.new("Multiple cells in a column") | |
win.signal_connect('delete-event') { Gtk.main_quit } |