Skip to content

Instantly share code, notes, and snippets.

View iopsthecloud's full-sized avatar

Renaud R. iopsthecloud

View GitHub Profile
@iopsthecloud
iopsthecloud / README
Created April 23, 2020 08:08 — forked from xbb/README
IDRAC6 Virtual Console Launcher
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.
@iopsthecloud
iopsthecloud / idsentence.py
Created April 21, 2020 08:06 — forked from prschmid/idsentence.py
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/
"""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:

Linux - Systemd cheatsheet

systemctl

Activates a service immediately:

systemctl start foo.service

Deactivates a service immediately:

@iopsthecloud
iopsthecloud / .htaccess
Created December 20, 2016 11:47 — forked from donnykurnia/.htaccess
.htaccess for 503 maintenance page
ErrorDocument 503 /index.html
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* /index.html [R=503,L]
@iopsthecloud
iopsthecloud / introrx.md
Created October 23, 2016 10:26 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing

Keybase proof

I hereby claim:

  • I am renaudmanda on github.
  • I am renaudmanda (https://keybase.io/renaudmanda) on keybase.
  • I have a public key ASAuk-WkVPb6HcYDVPbM9q73bZkvZi_e6_in2rjriFBmWwo

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
(...)
@iopsthecloud
iopsthecloud / preprocessor_fun.h
Last active August 29, 2015 14:27 — forked from aras-p/preprocessor_fun.h
Things to commit just before leaving your job
// 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,