Skip to content

Instantly share code, notes, and snippets.

Linking my account firegrass on GitHub with my address 5FYuxf9qNp8zSD6RKKpf17jZZBeqKMGHyoTtS3EYY36sazz2 on Substrate in mycryptoprofile.io, and the challenge code is: 208c2f30f68278a61ff7294ec0d86efc. #LitentryVerifyMyAddress

@firegrass
firegrass / test.py
Created February 6, 2019 13:51
Another test
# This test is a Python file
@firegrass
firegrass / test.md
Created February 6, 2019 13:50
Just a test

Yep it's a test

@firegrass
firegrass / .drone.yml
Created September 3, 2018 14:41 — forked from arehmandev/.drone.yml
.drone.yml example
workspace:
base: /build
pipeline:
build-image:
image: docker
commands:
# Build development target, which includes xdebug.
# Tag with both api-build:<build_number> and api-build:latest.

Keybase proof

I hereby claim:

  • I am firegrass on github.
  • I am firegrass (https://keybase.io/firegrass) on keybase.
  • I have a public key ASBiQb_5JngTkm-0cs-KBGQY-FiyKGAnXwg4Gp7oZ3rQmwo

To claim this, I am signing this object:

@firegrass
firegrass / beats-logstash-tls.md
Created January 19, 2017 09:22 — forked from andrewkroh/beats-logstash-tls.md
Using TLS between Beats and Logstash

Using TLS between Beats and Logstash

Beats to Logstash over TLS

The purpose of this document is to help with configuring and troubleshooting using TLS on the connection between Beats and Logstash.

Configuration

You must configure TLS on both the client and server to make this work. This

@firegrass
firegrass / forceCustomization.patch
Created September 14, 2015 15:28
Libcloud vcloud force customization patch
diff --git a/libcloud/compute/drivers/vcloud.py b/libcloud/compute/drivers/vcloud.py
index 3b289d4..8827132 100644
--- a/libcloud/compute/drivers/vcloud.py
+++ b/libcloud/compute/drivers/vcloud.py
@@ -1011,7 +1011,7 @@ class VCloud_1_5_NodeDriver(VCloudNodeDriver):
else:
return False
- def ex_deploy_node(self, node):
+ def ex_deploy_node(self, node, forceCustomization = False):
Import-Module WebAdministration
# NOTE: Set a MediaDirectory variable if requied
if (!$MediaDirectory) {
# Get site and parent dir for Media dir
$projectDir = Split-Path -Path $OctopusParameters['Octopus.Action.Package.CustomInstallationDirectory'] -Parent
$MediaDirectory = Join-Path $projectDir "Media"
}
Write-Host 'Media directory on disk: ' + $MediaDirectory
@firegrass
firegrass / ganeti-rundeck-yaml.py
Last active August 29, 2015 13:57
Script resource for RunDeck to find Ganeti nodes
#!/usr/bin/env python
import urllib2, json, sys
cluster_name = 'YOUR.CLUSTER.COM'
print '# Loading nodes from {0}'.format(cluster_name)
name_filter = '*'
if len(sys.argv) > 1:
@firegrass
firegrass / gist:5270126
Created March 29, 2013 10:40
C# MVC (MonoRail actually) helper for timeago jquery plugin
using System;
using Castle.MonoRail.Framework.Helpers;
namespace Clubhouse.Web.Helpers
{
public class TimeAgoHelper : AbstractHelper
{
const string default_class = "timeago";
const string default_date_format = "d";