Starting Vim
vim [file1] [file2] ...
| [Unit] | |
| Description=WS02 Identity Server | |
| [Service] | |
| Type=simple | |
| PIDFile=/opt/WSO2/wso2is-5.4.0/wso2carbon.pid | |
| Environment=JAVA_HOME=/usr/java/jdk1.8.0_161 | |
| Environment=CARBON_HOME=/opt/WSO2/wso2is-5.4.0 | |
| User=wso2 | |
| PermissionsStartOnly=true |
| Hi All! | |
| I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future. | |
| Feel free to request any features you'd like to see, and I'll prioritize them accordingly. | |
| One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it. | |
| Here's the link to the repository: https://github.com/Pulimet/ADBugger | |
| App Description: | |
| ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups. |
| ##create one big partition | |
| echo ';' | sfdisk /dev/sdc | |
| ##create one big partition with specific partition type | |
| #creates W95 FAT32 (LBA) | |
| echo ',,c;' | sfdisk /dev/sdd | |
| #creates lvm type | |
| echo ',,8e;' | sfdisk /dev/sdd |
| #!/usr/bin/env python2 | |
| # | |
| # OpenSSH certificate decoder in Python | |
| # | |
| # References: | |
| # - https://tools.ietf.org/html/rfc4251.html#section-5 | |
| # - http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/PROTOCOL.certkeys?annotate=HEAD | |
| # | |
| # Copyright (c) 2016 Julian Kornberger <jk+github@digineo.de> | |
| # |
| <?php | |
| /** | |
| * LDAP PHP Change Password Webpage (modified for Active Directory) | |
| * @author: Matt Rude <http://mattrude.com> | |
| * @author: Isaiah Olson <http://www.olsontech.io/> | |
| * @website: http://technology.mattrude.com/2010/11/ldap-php-change-password-webpage/ | |
| * | |
| * | |
| * GNU GENERAL PUBLIC LICENSE |
This is a bash script that will automatically turn your wifi off if you connect your computer to an ethernet connection and turn wifi back on when you unplug your ethernet cable/adapter. If you decide to turn wifi on for whatever reason, it will remember that choice. This was improvised from this mac hint to work with Yosemite, and without hard-coding the adapter names. It's supposed to support growl, but I didn't check that part. I did, however, add OSX notification center support. Feel free to fork and fix any issues you encounter.
Most the credit for these changes go to Dave Holland.
| # | |
| # Name: nginx-tls.conf | |
| # Auth: Gavin Lloyd <gavinhungry@gmail.com> | |
| # Desc: Nginx SSL/TLS configuration for "A+" Qualys SSL Labs rating | |
| # | |
| # Enables HTTP/2, PFS, HSTS and OCSP stapling. Configuration options not related | |
| # to SSL/TLS are not included here. | |
| # | |
| # Additional tips: | |
| # |
For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.
Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.
You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |