Activates a service immediately:
systemctl start foo.serviceDeactivates a service immediately:
| Use this as an example on how to start the virtual console without the need of Java Web Start or accessing it from the web interface. | |
| You can use the user and password that you use for the web interface. | |
| You need an old JRE... I used 1.7.0_80 from the Server JRE package, also I have tested successfully 1.7.0_79 with MacOS. | |
| You don't need to install it, just extract it or copy the files in "jre" folder. | |
| Open the viewer.jnlp file that you get by launching the virtual console from the web interface with a text editor. | |
| Note the urls to the jar files. Download the main jar file avctKVM.jar and the libs for your operating system and architecture. | |
| Extract the dlls (.so Linux, .jnilib MacOS) from the jar libs. |
| """Implement a memorable ID string. | |
| The original idea for this comes from Asana where it is documented on their | |
| blog: | |
| http://blog.asana.com/2011/09/6-sad-squid-snuggle-softly/ | |
| There are other partial implementations of this and can be found here: | |
| Node.js: https://github.com/linus/greg | |
| Java: https://github.com/PerWiklander/IdentifierSentence |
| <Sysmon schemaversion="4.1"> | |
| <!-- Capture all hashes --> | |
| <HashAlgorithms>*</HashAlgorithms> | |
| <EventFiltering> | |
| <!-- Event ID 1 == Process Creation. Log all newly created processes except --> | |
| <ProcessCreate onmatch="exclude"> | |
| <Image condition="contains">splunk</Image> | |
| <Image condition="contains">btool.exe</Image> | |
| <Image condition="contains">SnareCore</Image> | |
| <Image condition="contains">nxlog</Image> |
| ErrorDocument 503 /index.html | |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule .* /index.html [R=503,L] |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| // Just before switching jobs: | |
| // Add one of these. | |
| // Preferably into the same commit where you do a large merge. | |
| // | |
| // This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
| // and then it quickly escalated into more and more evil suggestions. | |
| // I've tried to capture interesting suggestions here. | |
| // | |
| // Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
| // @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |