Обновляемся
apt update && apt upgradeСтавим docker
sudo apt-get install apt-transport-https ca-certificates curl gnupg2 | ## Kali light xfce4 root autologin (works after lightdm update) | |
| # @author intrd - http://dann.com.br/ | |
| # @license Creative Commons Attribution-ShareAlike 4.0 International License - http://creativecommons.org/licenses/by-sa/4.0/ | |
| After lighdtdm update root autologin is broken fix doing this: | |
| nano /etc/lightdm/lightdm.conf | |
| at [Seat:*] group uncomment/edit: | |
| autologin-user=root | |
| autologin-user-timeout=0 |
| Product | Version | FQDN | URL | |
|---|---|---|---|---|
| VMwareESXi | 6.0 | ESXi | /ui | |
| VMwareESXi | 6.5 | ESXi | /ui | |
| VMwareESXi | 6.0 | ESXi | /sdk | |
| VMwareESXi | 6.5 | ESXi | /sdk/vimService.wsdl | |
| vSphereWebClient | 5.1 | vCenter | :9443/vsphere-client | |
| vSphereWebClient | 5.5 | vCenter | :9443/vsphere-client | |
| vSphereWebClient | 6.0 | vCenter | /vsphere-client | |
| vSphereWebClient | 6.0 | vCenter | :9443 | |
| vSphereWebClient | 6.5 | vCenter | /vsphere-client |
Обновляемся
apt update && apt upgradeСтавим docker
sudo apt-get install apt-transport-https ca-certificates curl gnupg2 | Exception in filterworker {"exception"=>#<NoMethodError: undefined method `[]=' for nil:NilClass>, "backtrace"=>["file:/opt/logstash/logstash.jar!/logstash/event.rb:135:in `[]='", "org/jruby/RubyProc.java:255:in `call'", "(eval):9:in `exec'", "org/jruby/RubyProc.java:255:in `call'", "file:/opt/logstash/logstash.jar!/logstash/util/fieldreference.rb:44:in `exec'", "file:/opt/logstash/logstash.jar!/logstash/event.rb:134:in `[]='", "file:/opt/logstash/logstash.jar!/logstash/filters/mutate.rb:234:in `rename'", "org/jruby/RubyHash.java:1332:in `each'", "file:/opt/logstash/logstash.jar!/logstash/filters/mutate.rb:232:in `rename'", "file:/opt/logstash/logstash.jar!/logstash/filters/mutate.rb:205:in `filter'", "(eval):127:in `initialize'", "org/jruby/RubyProc.java:255:in `call'", "file:/opt/logstash/logstash.jar!/logstash/pipeline.rb:243:in `filter'", "file:/opt/logstash/logstash.jar!/logstash/pipeline.rb:191:in `filterworker'", "file:/opt/logstash/logstash.jar!/logstash/pipeline.rb:134:in `start_filters'"], :level=>: |
| $username = "[email protected]" | |
| $pwdTxt = Get-Content "C:\temp\ExportedPassword.txt" | |
| $securePwd = $pwdTxt | ConvertTo-SecureString | |
| $credObject = New-Object System.Management.Automation.PSCredential -ArgumentList $username, $securePwd |
| $secureStringText = $secureStringPwd | ConvertFrom-SecureString | |
| Set-Content "C:\temp\ExportedPassword.txt" $secureStringText |
| $username = "[email protected]" | |
| $password = "Password123!@#" | |
| $secureStringPwd = $password | ConvertTo-SecureString -AsPlainText -Force | |
| $creds = New-Object System.Management.Automation.PSCredential -ArgumentList $user, $secureStringPwd |
Magic words:
psql -U postgresSome interesting flags (to see all, use -h or --help depending on your psql version):
-E: will describe the underlaying queries of the \ commands (cool for learning!)-l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)| param ( | |
| [Parameter(Mandatory=$true, | |
| Position = 0)] | |
| [int] | |
| $Width, | |
| [Parameter(Mandatory=$true, | |
| Position = 1)] | |
| [int] |
| List of all Sublime Text 3 Environment Variables to be used by Snippet Makers / Plugin Developers | |
| $SELECTION The text that was selected when the snippet was triggered. | |
| $TM_CURRENT_LINE Content of the line the cursor was in when the snippet was triggered. | |
| $TM_CURRENT_WORD Current word under the cursor when the snippet was triggered. | |
| $TM_FILENAME File name of the file being edited including extension. | |
| $TM_FILEPATH File path to the file being edited. | |
| $TM_FULLNAME User’s user name. | |
| $TM_LINE_INDEX Column the snippet is being inserted at, 0 based. | |
| $TM_LINE_NUMBER Row the snippet is being inserted at, 1 based. |