Skip to content

Instantly share code, notes, and snippets.

View busseyl's full-sized avatar
💭
👍 Primary Social Network

Lucas Bussey busseyl

💭
👍 Primary Social Network
View GitHub Profile
@busseyl
busseyl / csv-data-form.html
Created December 1, 2024 22:48
VueJS 2 | VuetifyJS 2 | CDN | CSV | Data Form | HTML | Javascript
<!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>
@busseyl
busseyl / index.html
Created February 24, 2024 05:21
Simple spinner in pure CSS
<!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
@busseyl
busseyl / strspn.js
Created October 13, 2018 14:54 — forked from detomon/strspn.js
JavaScript implementation of the PHP function `strspn`
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;
@busseyl
busseyl / ansible-summary.md
Created May 29, 2018 19:30 — forked from andreicristianpetcu/ansible-summary.md
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file

intro_configuration.html

First one found from of

@busseyl
busseyl / state_events.rb
Last active March 24, 2018 23:02
Sensu extension bridge
#!/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}";
@busseyl
busseyl / .gitignore
Last active August 29, 2015 14:08 — forked from karmi/.gitignore
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