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 | |
years="1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015" | |
months1="01 02 03 04 05 06 07 08 09 10 11 12" | |
months2="11 12" | |
n=1 | |
for y in $years | |
do | |
if [ $y = "1997" ]; then |
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 | |
echo test |
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 | |
gateway=$(netstat -rn|grep "/32" |grep -vi link |awk '{print $2}'|head -1) | |
DESTS="\ | |
0.0.0.0/5\ | |
8.0.0.0/7\ | |
11.0.0.0/8\ | |
12.0.0.0/6\ | |
16.0.0.0/4\ | |
32.0.0.0/3\ | |
64.0.0.0/6\ |
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
fa927a2 - 2021-01-29 14:45:08 -0500 - Bob Builder - slightly improve comment | |
101fc05 - 2021-01-29 14:44:01 -0500 - Bob Builder - Fix the issue about different path of sfcirqaffinity in earlier RHEL version | |
bee9d68 - 2021-01-29 13:03:12 -0500 - Bob Builder - Fix the issue about different path of sfcirqaffinity in earlier RHEL version | |
e5d714d - 2021-01-28 15:36:19 -0500 - Bob Builder - Fix for: ISSUE-3178 |
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 python3 | |
# -*- encoding: utf-8 -*- | |
# vim: set ts=4 sts=4 sw=4 et ci nu ft=python: | |
import os | |
from posix import CLD_CONTINUED | |
import sys | |
import argparse | |
import json | |
from fnmatch import fnmatch | |
from functools import partial |
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
elinks -dump -no-references -no-numbering "https://www.officialcharts.com/chart-news/all-the-number-1-singles__7931/"| egrep '([0-9]{2}/)' |
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 python3 | |
#!/usr/bin/env python3 | |
# pattern matching | |
import re | |
# HTML fetching | |
import requests | |
# HTML parsing | |
from bs4 import BeautifulSoup | |
# for CSV output | |
from csv import DictWriter |
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
In [2]: import os | |
In [3]: for mfilename in os.listdir('tobythings/'): | |
...: with open('tobythings/' + mfilename, 'r+') as minfile: | |
...: if mfilename.endswith('_modified'): | |
...: r = 'POST THING' | |
...: print (mfilename) | |
...: | |
server.yaml_modified | |
haproxy1.yaml_modified |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<svg baseProfile="full" height="400" version="1.1" width="300" xmlns="http://www.w3.org/2000/svg" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<defs /> | |
<line stroke="darkgray" stroke-width="2" x1="30" x2="270" y1="165.0" y2="165.0" /> | |
<line stroke="darkgray" stroke-width="2" x1="30" x2="270" y1="230.0" y2="230.0" /> | |
<line stroke="darkgray" stroke-width="2" x1="30" x2="270" y1="295.0" y2="295.0" /> | |
<line stroke="darkgray" stroke-width="2" x1="30" x2="270" y1="360.0" y2="360.0" /> | |
<circle cx="22" cy="262.5" fill="darkslategray" r="2" /> | |
<line stroke="darkslategray" stroke-width="3.0" x1="31.5" x2="31.5" y1="90" y2="370" /> | |
<text alignment-baseline="middle" fill="silver" font-family="Verdana" font-size="24" font-weight="bold" text-anchor="middle" x="31.5" y="72.0">X |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder