User Tools

Site Tools


infrastructure

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
infrastructure [2016-01-04 16:33] – mrksinfrastructure [2023-03-14 15:55] (current) – mrks
Line 1: Line 1:
 ===== Infrastructure ===== ===== Infrastructure =====
 +
 +
 +==== Safe Browsing ====
 +
 +
 +  * HTTPS Everywhere
 +  * uBlock Origin
 +  * PrivacyBadger
 +
 +https://digitalcourage.de/digitale-selbstverteidigung/pc
 +
 +
 +
 +==== Linux Mint Setup ====
 +
 +
 +Change the font size: Preferences > Appearance > Fonts > DPI > [x] Own DPI value (modify value)
  
  
Line 92: Line 109:
 Install packages (CTRL+SHIFT+P, "Package Control: Install Package"): Install packages (CTRL+SHIFT+P, "Package Control: Install Package"):
  
-  * [[https://github.com/freewizard/SublimeFormatSQL|Format SQL]]+  * [[https://packagecontrol.io/packages/Alignment|Alignment]], [[http://www.granneman.com/webdev/editors/sublime-text/packages/how-to-install-and-use-sublime-alignment/|Tutorial]] 
 +  * [[https://packagecontrol.io/packages/Diffy|Diffy]] 
 +  * [[https://packagecontrol.io/packages/dired|dired]]: Displays a directory in a view, allowing easy file manipulation 
 +  * [[https://packagecontrol.io/packages/FileDiffs|FileDiffs]] 
 +  * [[https://github.com/kemayo/sublime-text-2-goto-documentation|GotoDocumentation]]
   * [[https://facelessuser.github.io/HexViewer/|HexViewer]]   * [[https://facelessuser.github.io/HexViewer/|HexViewer]]
 +  * [[https://github.com/dzhibas/SublimePrettyJson|Pretty JSON]]
 +  * [[https://packagecontrol.io/packages/Python%20PEP8%20Autoformat|Python PEP8 Autoformat]]
 +  * [[https://packagecontrol.io/packages/PyYapf%20Python%20Formatter|PyYapf Python Formatter]]
 +  * [[https://packagecontrol.io/packages/Restructured%20Text%20%28RST%29%20Snippets|Restructured Text (RST) Snippets]]
 +  * [[https://packagecontrol.io/packages/RestructuredText%20Improved|Restructured​Text Improved]]
 +  * [[https://github.com/Kronuz/SublimeCodeIntel|SublimeCodeIntel]]
 +  * [[https://github.com/SublimeLinter/SublimeLinter-for-ST2|SublimeLinter]]
 +  * [[https://packagecontrol.io/packages/SqlBeautifier|SqlBeautifier]]
 +  * [[https://packagecontrol.io/packages/Terminal|Terminal]]
 +  * [[https://packagecontrol.io/packages/TrailingSpaces|TrailingSpaces]]
 +  * [[https://github.com/jonathandelgado/SublimeTodoReview|TodoReview]]
 +  * [[https://github.com/spadgos/sublime-ToggleQuotes|ToggleQuotes]]
   * [[https://github.com/ehuss/Sublime-Wrap-Plus|Wrap Plus]]   * [[https://github.com/ehuss/Sublime-Wrap-Plus|Wrap Plus]]
 +  * ([[https://github.com/freewizard/SublimeFormatSQL|Format SQL]])
  
 +[[https://realpython.com/blog/python/setting-up-sublime-text-3-for-full-stack-python-development/|Sublime Text 3 for Python Development]]
  
  
Line 169: Line 204:
   * Taskbar location on screen: Left   * Taskbar location on screen: Left
   * Taskbar buttons: Always combine, hide labels   * Taskbar buttons: Always combine, hide labels
 +
 +
 +
 +==== Wifi sharing on Windows ====
 +
 +
 +
 +share_wifi.bat
 +
 +<code>
 +:: Creates a Local Area Connection network adapter.
 +:: For the first time of the connection setup an internet connection must be
 +:: shares with the local area connection. In the network adapter configuration
 +:: select the network adapter which provides the internet connection, choose
 +:: Properties, Sharing, [x] Share with others, select Local Area Connection
 +:: from drop down. Confirm.
 +
 +:: Open network adapter configuration
 +start "" ncpa.cpl
 +:: Configure hosted network
 +netsh wlan set hostednetwork mode=allow ssid=wifi_name key=wifi_key
 +:: Start hosted network
 +netsh wlan start hostednetwork
 +pause
 +:: Stop hosted network
 +netsh wlan stop hostednetwork
 +</code>
 +
 +
 +==== LDAP ====
 +
 +=== General information ===
 +
 +  * DN: distinguished name
 +  * CN: common name
 +  * OU: organizational unit
 +  * DC: domain component
 +
 +=== Searches ===
 +
 +  * Find LDAP servers of a domain: <code>nslookup -type=srv _ldap._tcp.DOMAINNAME</code>
 +  * Search within base DN: <code>ldapsearch -h example.com -b ",dc=example,dc=com" "cn=MY_IDENTIFIER"</code>
 +  * Search the whole database: <code>ldapsearch -h example.com "cn=MY_IDENTIFIER"</code>
 +  * Search a host inside all Oracle TNS strings: <code>ldapsearch -h example.com "orclNetDescString=*HOST=database.tld*"</code>
 +
 +
 +=== References ===
 +
 +  - [[https://tools.ietf.org/search/rfc1558|RFC 1558: A String Representation of LDAP Search Filters]]
 +  - [[https://en.wikipedia.org/w/index.php?title=LDAP_Data_Interchange_Format&oldid=661799172|Wikipedia contributors. "LDAP Data Interchange Format." Wikipedia, The Free Encyclopedia, 11 May. 2015. Web. 21 Oct. 2015.]]
 +
 +
 +
 +==== Windows File System ====
 +
 +
 +  * Hard links
 +    * Create: ''> mklink /H linked-file.ext original-file.ext''
 +    * List: ''> fsutil hardlink list linked-file.ext''
 +  * Junctions
 +    * Create: ''> mklink /J linked-dir original-dir''
 +    * List: ''> dir'', lists ''<JUNCTION> linked-dir [original-dir]''
infrastructure.1451921620.txt.gz · Last modified: (external edit)