Skip to content

Instantly share code, notes, and snippets.

View protolif's full-sized avatar

James Dunn protolif

  • Protolif Consulting LLC
  • Indianapolis, IN
View GitHub Profile
@protolif
protolif / portalSkin.meta.js
Last active March 12, 2017 10:17
Portal Skin
// ==UserScript==
// @name Portal Skin
// @description Minimalist theme for Netfor SMP
// @version 1.2.1
// @author James Dunn
// @namespace jdunn.netfor.com
// @grant none
// @include https://intranet.netfor.net/*
// @include http://intranet.netfor.net/*
// @updateURL https://gist.githubusercontent.com/protolif/0f9bd5daf64307b7696647563d554e46/raw/portalSkin.meta.js
puts "Hello #{ARGV[0]}!"
@protolif
protolif / ssh-algos.txt
Created April 24, 2020 00:35
WS_FTP 12 SSH Algorithms
===ssh-kex
diffie-hellman-group-exchange-sha1
diffie-hellman-group1-sha1
===ssh-shk
ssh-dss
ssh-rsa
===ssh-ciphers
aes256-ctr
aes192-ctr
aes128-ctr
@protolif
protolif / sfpyclient.py
Last active May 26, 2020 12:58
SmartFile API Client test for #33131
#!/usr/bin/python3
import os
import pprint
from smartfile import BasicClient
api_key = os.environ['SMARTFILE_API_KEY']
api_password = os.environ['SMARTFILE_API_PASSWORD']
api = BasicClient(api_key, api_password)
# pprint.pprint(api.get('/ping'))
f = open('./tmp/foo.xlsx', 'rb')
pprint.pprint(api.post('/path/data/test_files/', file=('sfpyclient.was.here.xlsx', f)))
@protolif
protolif / picard-facepalm-ascii.txt
Created May 22, 2012 17:47
Captain Picard Facepalm ASCII
............................................________
....................................,.-'"...................``~.,
.............................,.-"..................................."-.,
.........................,/...............................................":,
.....................,?......................................................,
.................../...........................................................,}
................./......................................................,:`^`..}
.............../...................................................,:"........./
..............?.....__.........................................:`.........../
............./__.(....."~-,_..............................,:`........../