Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>CSV Data Form</title> | |
| <link href="https://cdn.jsdelivr.net/npm/@mdi/font/css/materialdesignicons.css" rel="stylesheet"> | |
| <link href="https://cdn.jsdelivr.net/npm/vuetify@2/dist/vuetify.min.css" rel="stylesheet"> | |
| </head> |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Pure CSS Spinner</title> | |
| <style> | |
| body, html { | |
| height: 100%; | |
| margin: 0; |
| Public Sub SendToJoplin() | |
| Dim sToken As String, sURL As String | |
| Dim sURLNotes, sURLResources, sEscapedBody, sJSONString, sFolderID As String | |
| Dim objItem As Outlook.MailItem | |
| sToken = "REPLACE ME WITH YOUR TOKEN" | |
| sURL = "http://127.0.0.1:41184" | |
| sURLNotes = sURL & "/notes?token=" & sToken | |
| sURLResources = sURL & "/resources?token=" & sToken |
| String.prototype.strspn = function (chars, start, length) { | |
| var end; | |
| if (start == undefined) | |
| start = 0; | |
| else if (start < 0) | |
| start += this.length; | |
| if (length == undefined) | |
| length = this.length; |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
| #!/usr/bin/env ruby | |
| # coding: utf-8 | |
| # Send state events of all severity to RabbitMQ (Transport) | |
| # | |
| # This extension requires Sensu >= 1.2.0 | |
| # | |
| # Here is an example of what the Sensu configuration should look like: | |
| # | |
| # { |
| server { | |
| index index.php; | |
| set $basepath "/var/www"; | |
| set $domain $host; | |
| # check one name domain for simple application | |
| if ($domain ~ "^(.[^.]*)\.dev$") { | |
| set $domain $1; | |
| set $rootpath "${domain}"; |
| nginx/ | |
| !nginx/.gitkeep | |
| !nginx/logs/.gitkeep | |
| src/ | |
| tmp/ |
| #!/usr/bin/python | |
| # Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford ([email protected]) | |
| # The author disclaims copyright to this source code. | |
| # | |
| # Modified slightly by Andreas Thienemann <[email protected]> for clearer exploit code | |
| # and 64k reads | |
| # | |
| # This version of the exploit does write received data to a file called "dump" in the local directory | |
| # for analysis. |
| root@wutang:/usr/local/src/logstash-fayep# USE_JRUBY=1 make package | |
| => Ensuring ruby gems dependencies are in vendor/bundle... | |
| => Preparing tarball | |
| make[1]: Entering directory `/usr/local/src/logstash-fayep' | |
| make[1]: Leaving directory `/usr/local/src/logstash-fayep' | |
| (cd pkg; \ | |
| ./build.sh ubuntu 12.04; \ | |
| ./build.sh centos 6 \ | |
| ) | |
| Building package for ubuntu 12.04 |