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
| phpinfo() | |
| PHP Version => 7.1.25 | |
| System => Linux testrunner 4.19.76-linuxkit #1 SMP Thu Oct 17 19:31:58 UTC 2019 x86_64 | |
| Build Date => Sep 27 2019 05:15:51 | |
| Configure Command => './configure' '--build=x86_64-alpine-linux-musl' '--host=x86_64-alpine-linux-musl' '--prefix=/usr' '--program-suffix=7' '--libdir=/usr/lib/php7' '--datadir=/usr/share/php7' '--sysconfdir=/etc/php7' '--localstatedir=/var' '--with-layout=GNU' '--with-pic' '--with-pear=/usr/share/php7' '--with-config-file-path=/etc/php7' '--with-config-file-scan-dir=/etc/php7/conf.d' '--disable-short-tags' '--enable-bcmath=shared' '--with-bz2=shared' '--enable-calendar=shared' '--enable-ctype=shared' '--with-curl=shared' '--enable-dba=shared' '--with-db4' '--with-dbmaker=shared' '--with-gdbm' '--enable-dom=shared' '--with-enchant=shared' '--enable-exif=shared' '--enable-fileinfo=shared' '--enable-ftp=shared' '--with-gd=shared' '--with-freetype-dir=/usr' '--disable-gd-jis-conv' '--enable-gd-native-ttf' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with- |
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
| export PATH="/usr/local/bin:$PATH" | |
| # Make ls use colors | |
| export CLICOLOR=1 | |
| alias ls='ls -Fa' | |
| # define colors | |
| C_DEFAULT="\[\033[m\]" | |
| C_WHITE="\[\033[1m\]" | |
| C_BLACK="\[\033[30m\]" | |
| C_RED="\[\033[31m\]" | |
| C_GREEN="\[\033[32m\]" |
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
| def explore_bigport(): | |
| try: | |
| # This is the path on the local IBI network that houses WF and PMF installers | |
| path = "//rediron1/u1/bigport/rels_development/" | |
| "\n...Attempting to explore bigport..." | |
| # lists all directories in the path Z:/bigport/rels_development | |
| versions = os.listdir(path) | |
| # remove all possibilites that do not begin with 8 or 7 and are 3 or fewer characters AKA non-client versions |
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
| import numpy | |
| import string | |
| letters='abcdefghijklmnopqrstuvwxyz' | |
| matrixdict = {x: {y : 0 for y in letters} for x in letters} | |
| letterdict={x:0 for x in letters} | |
| words=open('enable1.txt').read().splitlines() | |
| for word in words: | |
| for i in range(len(word) - 1): |
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
| ''' | |
| stickdict={'stick1':((0,3),(4,5)), | |
| 'stick2':((2,3),(8,1)), | |
| 'stick3':((4,0),(5,1)), | |
| 'stick4':((1,3),(4.2,1)), | |
| } | |
| stickdict={'stick1':((1,6),(12,6)), | |
| 'stick2':((1,7),(1,15)), |
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
| import math | |
| import random | |
| import pprint | |
| from copy import copy,deepcopy | |
| class Node: | |
| def __init__(self, val, pos): | |
| self.val = val | |
| self.pos = pos |