Activates a service immediately:
systemctl start foo.service
Deactivates 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> |
### Keybase proof | |
I hereby claim: | |
* I am iopsthecloud on github. | |
* I am iopsthecloud (https://keybase.io/iopsthecloud) on keybase. | |
* I have a public key ASDytEvFhtKPNYfHx65IHkXTUJrAgJpc_csh3_8NA1HPmwo | |
To claim this, I am signing this object: |
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.
I hereby claim:
To claim this, I am signing this object:
class CategoryCreateView(GroupRequiredMixin, CreateView): | |
template_name = "catalogs/category/create.html" | |
model = Category | |
group_required = [u"admin", u"supervisor"] | |
login_url = '/error/' | |
raise_exception = True | |
redirect_unauthenticated_users = True | |
(...) |
// 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, |