<commit_before>#!/bin/env python2
# A custom menu (<EMAIL>)
# GNU/GPL https://www.gnu.org/licenses/gpl.html

import os
import sys
from Tkinter import Tk, Label, Button, Scale, Menu, HORIZONTAL, TRUE
#import subprocess
#print os.name

def runCommand(app, prm=""):
  print app
  os.system(app + prm + " &")
  #proc = subprocess.Popen([app, ""], stdout=subprocess.PIPE, shell=True)
  #(__out__, __err__) = proc.communicate()
  #print "program: " , app, " output: ", __out__, " error: ", __err__

#__terminal__ = "xfce4-terminal --disable-server --geometry=120x40"
__terminal__ = "terminology"
#__editor__ = __terminal__ + " -e /bin/env /bin/bash  ~/opt/zed/zed"
#__editor__ = __terminal__ + " -e micro"
__editor__ = "atom"
#__editor__ = "nedit"
#__file_manager__ = "gentoo --root-ok"
__file_manager__ = "xfe"
#__file_manager__ = "spacefm"
__browser__ = "~/bin/firefox-de"
#__sudo_cmd__ = "SUDO_ASKPASS=/usr/bin/ssh-askpass-fullscreen &&sudo --askpass "
__sudo_cmd__ = "SUDO_ASKPASS=/usr/bin/x11-ssh-askpass sudo --login --askpass "

basic_apps = (
    ("Terminal", __terminal__, "ctl+t"),
    ("Editor", __editor__, "ctl+e"),
    ("File Manager", __file_manager__, "ctl+f"),
    ("Browser", __browser__, "ctl+b"))

net_apps = (
    ("Firefox", "firefox"),
    ("Firefox DE", "~/bin/firefox-de"),
    ("Seamonkey", "seamonkey"),
    ("Tor Network", "cd /opt/tor/ && " + __terminal__ + " --login=false"),
    ("Mail", "seamonkey -mail"),
    #("FileZilla", "filezilla"),
    ("W3m", __terminal__ + " -e w3m www.google.com"),
    ("Quassel IRC", "quassel"),
    ("HexChat IRC", "hexchat"))

dev_apps = (
    ("Eclipse", "eclipse"),
    ("Netbeans", "netbeans"),
    ("KDevelop", "kdevelop"),
    #("QtCreator", "qtcreator.sh"),
    #("QtDesigner", "qtchooser -run-tool=designer -qt=5"),
    ("QtDesigner", "~/opt/qt/5.8/gcc_64/bin/designer"),
    ("QtCreator", "~/opt/qt/Tools/QtCreator/bin/qtcreator.sh"),
    ("Code Blocks", "codeblocks"),<commit_msg>firefox-55<commit_after>#!/bin/env python2
# A custom menu (<EMAIL>)
# GNU/GPL https://www.gnu.org/licenses/gpl.html

import os
import sys
from Tkinter import Tk, Label, Button, Scale, Menu, HORIZONTAL, TRUE
#import subprocess
#print os.name

def runCommand(app, prm=""):
  print app
  os.system(app + prm + " &")
  #proc = subprocess.Popen([app, ""], stdout=subprocess.PIPE, shell=True)
  #(__out__, __err__) = proc.communicate()
  #print "program: " , app, " output: ", __out__, " error: ", __err__

#__terminal__ = "xfce4-terminal --disable-server --geometry=120x40"
__terminal__ = "terminology"
#__editor__ = __terminal__ + " -e /bin/env /bin/bash  ~/opt/zed/zed"
#__editor__ = __terminal__ + " -e micro"
__editor__ = "atom"
#__editor__ = "nedit"
#__file_manager__ = "gentoo --root-ok"
__file_manager__ = "xfe"
#__file_manager__ = "spacefm"
__browser__ = "firefox"
#__sudo_cmd__ = "SUDO_ASKPASS=/usr/bin/ssh-askpass-fullscreen &&sudo --askpass "
__sudo_cmd__ = "SUDO_ASKPASS=/usr/bin/x11-ssh-askpass sudo --login --askpass "

basic_apps = (
    ("Terminal", __terminal__, "ctl+t"),
    ("Editor", __editor__, "ctl+e"),
    ("File Manager", __file_manager__, "ctl+f"),
    ("Browser", __browser__, "ctl+b"))

net_apps = (
    ("Firefox", "firefox"),
    ("Firefox DE", "~/bin/firefox-de"),
    ("Seamonkey", "seamonkey"),
    ("Tor Network", "cd /opt/tor/ && " + __terminal__ + " --login=false"),
    ("Mail", "seamonkey -mail"),
    #("FileZilla", "filezilla"),
    ("W3m", __terminal__ + " -e w3m www.google.com"),
    ("Quassel IRC", "quassel"),
    ("HexChat IRC", "hexchat"))

dev_apps = (
    ("Eclipse", "eclipse"),
    ("Netbeans", "netbeans"),
    ("KDevelop", "kdevelop"),
    #("QtCreator", "qtcreator.sh"),
    #("QtDesigner", "qtchooser -run-tool=designer -qt=5"),
    ("QtDesigner", "~/opt/qt/5.8/gcc_64/bin/designer"),
    ("QtCreator", "~/opt/qt/Tools/QtCreator/bin/qtcreator.sh"),
    ("Code Blocks", "codeblocks"),
{'fraction_non_alphanumeric': 0.2058217413704276, 'fraction_numerical': 0.008758371973209686, 'mean_word_length': 4.156706507304117, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '194225', 'n_tokens_mistral': 1551, 'n_tokens_neox': 1480, 'n_words': 297}