Hi:
perl -e 'print "hello world!\n"'
A simple filter:
perl -ne 'print if /REGEX/'
Filter out blank lines (in place):
| abandoned | |
| able | |
| absolute | |
| academic | |
| acceptable | |
| acclaimed | |
| accomplished | |
| accurate | |
| ace | |
| aching |
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| import string | |
| def succ(s): | |
| if not isinstance(s, (str, string)): | |
| raise TypeError("succ works only with strings") | |
| if not s: return |
Hi:
perl -e 'print "hello world!\n"'
A simple filter:
perl -ne 'print if /REGEX/'
Filter out blank lines (in place):
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| gsettings set org.cinnamon.desktop.privacy remember-recent-files false | |
| gsettings set org.cinnamon.theme name "Mint-Y-Dark" | |
| gsettings set org.cinnamon.desktop.interface gtk-theme "Mint-Y-Dark" | |
| gsettings set org.cinnamon.desktop.wm.preferences theme "Mint-Y-Dark" | |
| gsettings set org.cinnamon.desktop.interface cursor-blink false | |
| gsettings set org.gnome.system.proxy autoconfig-url "http://mediahint.com/default.pac" | |
| gsettings set org.gnome.system.proxy mode auto | |
| gsettings set org.cinnamon enabled-applets "['panel1:left:0:menu@cinnamon.org:0', 'panel1:left:2:panel-launchers@cinnamon.org:2', 'panel1:left:3:window-list@cinnamon.org:3', 'panel1:right:0:notifications@cinnamon.org:4', 'panel1:right:1:user@cinnamon.org:5', 'panel1:right:2:removable-drives@cinnamon.org:6', 'panel1:right:3:keyboard@cinnamon.org:7', 'panel1:right:11:show-desktop@cinnamon.org:1', 'panel1:right:5:network@cinnamon.org:9', 'panel1:right:6:sound@cinnamon.org:10', 'panel1:right:7:power@cinnamon.org:11', 'panel1:right:8:systray@cinnamon.org:12', ' |