Setup terminator default layout with custom commands

Setup terminator default layout with custom commands

I’ve been working with terminator for years and one of the best things you can do is personalize your own layout with custom commands in each window. Be careful, terminator version 1.90 won’t render layouts properly. I’m using terminator 1.91 In my...
Running bash scripts using udev rules

Running bash scripts using udev rules

I’ve been playing with udev rules for a couple of days and I’ve been quite interested in the capabilities it offers. I highly recommend this two documents: Udev Rules examples How to write udev rules This guide reflects the whole process from connecting...
Determine if a string is a panagram with python

Determine if a string is a panagram with python

A pangram is a sentence that contains every single letter of the alphabet at least once. For example, the sentence “The quick brown fox jumps over the lazy dog” is a pangram, because it uses the letters A-Z at least once (case is irrelevant). I’ve...
Find missing number in sequence with python

Find missing number in sequence with python

This code snippet is designed to find the missing number in a sequence of integers with python 2.7. I’ve tested it with several lists in python which are commented at the start of the script. Miguel Ortiz #!/usb/bin/python #miguel.ortiz #s=[-1, -4, -7, -10, -13,...