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
| env PYTHON_CONFIGURE_OPTS="--enable-framework" \ | |
| env CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" \ | |
| pyenv install 3.7.2 |
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 java.util.regex.Matcher; | |
| import java.util.regex.Pattern; | |
| public class TestMain { | |
| /* ${catalina.base}/conf/Catalina/${hostname}/manager.xml | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <Context privileged="true" antiResourceLocking="false" docBase="${catalina.base}/webapps/manager"> | |
| <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="^127\.0\.0\.1$|^192\.168\.0\.7$|^(192)\.(168)\.(\d{1,3})\.(\d{1,3})$" /> | |
| </Context> |
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
| ------------------------------------------------------------ | |
| -- TOMCAT 8.5 | |
| ------------------------------------------------------------ | |
| -- JNDI Access Context Name | |
| java:comp/env/jdbc/[JNDI_NAME] | |
| -- server.xml | |
| <GlobalNamingResources> | |
| <Resource auth="Container" | |
| name="jdbc/[JNDI_NAME]" |
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
| mongos> sh.status() | |
| --- Sharding Status --- | |
| sharding version: { | |
| "_id" : 1, | |
| "minCompatibleVersion" : 5, | |
| "currentVersion" : 6, | |
| "clusterId" : ObjectId("5c00b9622d7a02e715896479") | |
| } | |
| shards: | |
| { "_id" : "shard0000", "host" : "db03:27118", "state" : 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
| import pkg_resources | |
| from subprocess import call | |
| packages = [dist.project_name for dist in pkg_resources.working_set] | |
| call("pip install --upgrade " + ' '.join(packages), shell=True) |
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
| let g:chromatica#libclang_path = '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libclang.dylib' |
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
| OPTIONS ( | |
| ROWS=1000, | |
| BINDSIZE=5242880, | |
| READSIZE=5242880 | |
| ) | |
| load data | |
| append | |
| into table DPVMO.PTB_AIS_DYNAMIC | |
| fields terminated by "," | |
| (MMSI_NO |
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
| # ^[^aeiouAEIOU][aeiouAEIOU]ll$ | |
| Balldoom | |
| Belldoom | |
| Billdoom | |
| Bolldoom | |
| Bulldoom | |
| Calldoom | |
| Celldoom | |
| Cilldoom | |
| Colldoom |
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
| input { | |
| file { | |
| type => "tomcat" | |
| path => [ "/tomcat/logs/catalina.out" ] | |
| codec => multiline { | |
| pattern => "(^\s*)" | |
| negate => true | |
| what => "previous" | |
| } | |
| } |
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
| # sqlnet.ora Network Configuration File: D:\oracle\product\12.2.0\dbhome_2\network\admin\sqlnet.ora | |
| # Generated by Oracle configuration tools. | |
| # This file is actually generated by netca. But if customers choose to | |
| # install "Software Only", this file wont exist and without the native | |
| # authentication, they will not be able to connect to the database on NT. | |
| SQLNET.AUTHENTICATION_SERVICES= (NTS) | |
| NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT) |