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 python3 | |
| #-*- coding: utf-8 -*- | |
| import re | |
| from gi.repository import Notify | |
| def send_message(summary, message): | |
| Notify.init (summary) | |
| notification = Notify.Notification.new (summary,message,"dialog-information") |
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
| #!/bin/bash | |
| # a script to find any javascripts that may not be used anywhere anymore. | |
| base_directory="." | |
| all_files=$(find "$base_directory" -type f) | |
| for file in $all_files | |
| do | |
| import_name=$(echo "$file" | rev | cut -d "/" -f 1 | rev | sed -e 's/\.js$//') |
NewerOlder