User Tools

Site Tools


development

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
development [2015-11-07 12:44] – created mrksdevelopment [2022-07-28 08:24] (current) – mrks
Line 1: Line 1:
 ===== Development ===== ===== Development =====
 +
 +==== Tools ====
 +
 +  * Code editors
 +    * Visual Studio Code
 +    * Sublime Text
 +    * Notepad++
 +  * Visualization
 +    * [[https://github.com/jgraph/drawio-desktop|draw.io Diagrams]]
 +    * GraphViz
 +    * Inkscape
 +    * paint.net
 +    * PlantUML
 +  * Productivity
 +    * AutoHotKey
 +    * KeePass
 +    * SysInternals
 +    * VirtuaWin
 +    * WinDirStat
 +  * Misc
 +    * ADExplorer
 +    * Archi
 +    * aws-cli
 +    * dbeaver
 +    * docutils (rst2html)
 +    * [[https://git-scm.com|Git version control]]
 +    * FoxitReader
 +    * FreeFileSync
 +    * kubectl
 +    * PuTTY
 +    * s3cmd
 +    * WinSCP
 +
 +
 +==== Visual Studio Code ====
 +
 +Extensions:
 +
 +  * Python (Microsoft)
 +  * reStructuredText (LeXtudio Inc.)
 +  * Rewrap (stkb)
 +
  
 ==== Git ==== ==== Git ====
  
-Documentation online as well as downloadable as HTML, ePub, etc.: [[https://git-scm.com/doc|Pro Git]]+ 
 +Documentation and Best Practices: 
 + 
 +  * [[https://git-scm.com/book/en/v2|Git Book]] including downloads as HTML, ePub etc. 
 +  * [[https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow|Gitflow Workflow by Atlassian]] 
 +  * [[https://chris.beams.io/posts/git-commit/|How to Write a Git Commit Message]] 
 +  * [[https://git-scm.com/docs/|Git Reference]]
  
 Set the default editor: Set the default editor:
Line 16: Line 64:
 git log --decorate --graph --full-history --all --color --pretty=format:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s" git log --decorate --graph --full-history --all --color --pretty=format:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s"
 </code> </code>
 +
 +[[http://blog.kfish.org/2010/04/git-lola.html|Clean log information using git lola alias.]]
 +
 +Git global config:
 +
 +  * Linux: ~/.gitconfig
 +  * Windows: %HOMEDRIVE%%HOMEPATH%\.gitconfig
  
 Show all diffs which were made between two commits in reverse order (ascending commit time) which is useful for code reviews: Show all diffs which were made between two commits in reverse order (ascending commit time) which is useful for code reviews:
Line 28: Line 83:
 git add -p test.txt git add -p test.txt
 </code> </code>
 +
 +[[http://durdn.com/blog/2012/11/22/must-have-git-aliases-advanced-examples/|Useful Git aliases.]]
 +
 +
 +==== Database Schema Management ====
 +
 +  * [[https://alembic.sqlalchemy.org/en/latest/|Alembic]]
 +  * [[https://flywaydb.org/|Flyway]]
 +  * [[https://www.liquibase.org/|Liquibase]]
 +
 +
 +
 +==== Windows ====
 +
 +Create .lnk files in batch:
 +
 +<code>
 +powershell '$s=(New-Object -COM WScript.Shell).CreateShortcut("my_shortcut.lnk");$s.TargetPath="C:\my_path\to\some_file.txt";$s.Save()'
 +</code>
 +
 +
 +==== JDBC ====
 +
 +
 +^ Database ^ URL ^
 +| IBM DB2 | <nowiki>jdbc:db2://[HOST]:[PORT]/[DB]</nowiki> |
 +| Microsoft SQL Server | <nowiki>jdbc:microsoft:sqlserver://[HOST]:[PORT](;DatabaseName=[DB])</nowiki> |
 +| MySQL | <nowiki>jdbc:mysql://[HOST]:[PORT]/[DB]</nowiki> |
 +| Oracle Thin | <nowiki>
 +jdbc:oracle:thin:@[HOST]:[PORT]:[SID]</nowiki> \\ <nowiki>jdbc:oracle:thin:@[HOST]:[PORT]/[SERVICE_NAME]</nowiki> \\ <nowiki>jdbc:oracle:thin:@ldap://[LDAP_URL]:[LDAP_PORT]:[SID],[CONTEXT_PATH]</nowiki> \\ <nowiki>jdbc:oracle:thin:@ldap://[LDAP_URL]:[LDAP_PORT]/[SERVICE_NAME],[CONTEXT_PATH] </nowiki> |
 +| PostgreSQL | <nowiki>jdbc:postgresql://[HOST]:[PORT]/[DB]</nowiki> |
 +| SQLite | <nowiki>jdbc:sqlite:sample.db</nowiki> |
  
development.1446896680.txt.gz · Last modified: (external edit)