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
| class PyTrieNode(object): | |
| def __init__(self, key="", seq=[]): | |
| self.key = key | |
| self.end = len(seq) == 0 | |
| self.children = {} | |
| if len(seq) > 0: | |
| self.children[seq[0]] = PyTrieNode(seq[0], seq[1:]) | |
| def add(self, seq): | |
| if len(seq) == 0: |
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
| set listchars=tab:→\ ,trail:␣,extends:…,eol:⏎ | |
| set listchars=tab:→\ ,trail:␣,precedes:«,extends:»,eol:⏎ | |
| set listchars=tab:→\ ,trail:·,precedes:«,extends:»,eol:¶ | |
| set listchars=tab:‣\ ,trail:·,precedes:«,extends:»,eol:¬ | |
| set listchars=tab:␋\ ,trail:␠,precedes:«,extends:»,eol: | |
| set listchars=tab:>-,trail:.,precedes:<,extends:>,eol:$ |
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
| [Unit] | |
| Description=Jenkins | |
| After=network.target | |
| Requires=network.target | |
| [Service] | |
| Type=simple | |
| EnvironmentFile=/etc/sysconfig/jenkins | |
| ExecStart=/usr/bin/java ${JENKINS_JAVA_OPTIONS} -jar /usr/lib/jenkins/jenkins.war --httpPort=${JENKINS_PORT} --httpListenAddress=${JENKINS_LISTEN_ADDRESS} ${JENKINS_ARGS} | |
| Restart=always |