Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bspavel/0fd18f906b420192f1afbdb1d4ac4025 to your computer and use it in GitHub Desktop.
Save bspavel/0fd18f906b420192f1afbdb1d4ac4025 to your computer and use it in GitHub Desktop.
docker;xsl, exslt; git, CM;gitlab;intellij,IDE;markdown;SSH;java, JVM; soap; xsl, exslt;migration,ant,maven;

###TOP 20

  1. check list
  2. OverAPI, collecting all cheat sheets
  3. popular frameworks: JQury(guide);
  4. release notice

release notice

  1. checklist for scope & dependencies;

###DEV & OPS

  1. OverAPI, collecting all cheat sheets
  2. ports for tunnel (252XX QA,253XX STG,254XX PRD)list of TCP and UDP

java & JVM

  1. reference: JDK 1.8 source code and JVM specification
  2. Java Collections Cheat Sheet

Centos

  1. How to Setup network on centos 7 and Configuring Web Proxy:

git

  1. proxy git config --global http.proxy http://devproxy.com:2222 stackoverflow
  2. Reference: Git - Useful Tips & 19 Tips For Everyday Git Use
  3. popular commands
    git status
    git add *
    git commit -m 'msg'
    git push --all
    git help
    git clone https://username:[email protected]/username/repository.git
    git pull/fetch
  4. cheat sheet

###Docker

  1. HTTP proxy
  • mkdir /etc/systemd/system/docker.service.d
  • vi /etc/systemd/system/docker.service.d/http-proxy.conf by adding the service part below
  • sudo systemctl daemon-reload
  • systemctl show --property=Environment docker
  • sudo systemctl restart docker
[Service]
Environment="HTTP_PROXY=http://proxy.example.com:80/" "NO_PROXY=localhost,127.0.0.1,docker-registry.somecorporation.com"
  1. installation: For centos: centos doc step Install & Create a docker group & Start the docker daemon at boot; then reboot the server/ logout the server;
  2. popular commands: A. systemctl start/status docker;
    B. docker login/ps/images;
    C. docker run -d -p 8080:8080 t8j8;
    D. docker build -t t8j8 .
  3. cheat sheet
  4. docs of docker:

###XSL & exslt

  1. reference: xsl from W3C , exslt and try it yourself

###Web Service

  1. spring 4 soap reference: UT in soap UI, create a new soap project and set the wsdl is http://localhost:8080/springsoap-1/soapws/students.wsdl E.G. : cube\do\l\j\webs\springsoap

SSH

  1. ssh keys for github
  2. putty configuration A. hostname from jekins/wiki; B. tunnels based on applications/projects; C. window setting

###markdown editor

  1. markdown editor cheat sheet
  2. an example
  3. github guides

IDE

  1. set up the intellij IDE 0). import the settings 1). custome the configuration : idea.properties under $installation/bin path; 2). update the settings: A. SDK (platform) configure-->project default->project structure;
    B. maven configure-->settings
    C. gradle
    D. proxy
    E. git
    3). export the settings
    4). e.g.
  1. Add SSH key annd then more quickly to access the git repository
  2. installing-ssh-keys
  3. git on windows by putty Summary:
    1). if it doesn't work after setting up based on the description above, please signout and sign in again.
    2). install git and putty suite; check the GIT_SSH variable in environment;
    3). generating a key ; add the public key to gitlab; import the private key to pageant;

###migrate a history project from ant to maven

  1. check the jar info from MANIFEST.MF file, it may include the name, title and version.

  2. add third party repository to maven configuration file,setting.xml{ mvnrepository http://mvnrepository.com/artifact true fail false Central http://repo1.maven.org/maven2 central

    Central http://repo.maven.org/maven2 central Central http://central.maven.org/maven2 central

} 3. install the unknown jar locally

mvn install:install-file -Dfile=ojdbc-11.2.0.1.0-jdk15.jar -DgroupId=com.oracle -DartifactId=ojdbc -Dversion=11.2.0.1.0 -Dpackaging=jar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment