This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
===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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts "Hello #{ARGV[0]}!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: PURPOSE: Launches Firefox with a roaming profile so you can save cookies, bookmarks, and passwords again. | |
:: SETUP: Browse to \\maclsp\user\ and locate the folder with your username. If not found, right click an empty space | |
:: and create the folder with your MACL username. Save this file to your Desktop on MACL1-3 and/or in startup | |
:: scripts under Start > Programs > Startup to run it automatically on login. | |
echo Launching Firefox with roaming profile... | |
"\\maclprofiles\thinapps\firefox\Mozilla Firefox.exe" -profile \\maclsp\user\%USERNAME%\%USERNAME%.ffp -url http://maclinterface:8081/login.html | |
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Charlie's Whiskey Refreshment | |
// @description Refreshes ConnectWise every 10 minutes. Take a drink or go back 3 spaces. | |
// @version 1.0.1 | |
// @author James Dunn | |
// @namespace jdunn.netfor.com | |
// @grant none | |
// @include https://na.myconnectwise.net/* | |
// @icon https://pbs.twimg.com/profile_images/1176286377/scotch-glass.png | |
// @updateURL https://gist.github.com/protolif/b08caa1fa564e6b29cec322be0c4894b/raw/cw_refreshment.meta.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
REM INSTALL: Add the full path string of this file via regedit to: | |
REM \HKCU\Software\Microsoft\Command Processor\AutoRun | |
REM Set up aliases to mimic BASH/*NIX environment | |
doskey ls=dir /X /Q /TW /OG /P $* | |
doskey ll=dir $* | |
doskey cat=type $* | |
doskey ..=cd.. | |
doskey grep=find "$1" $2 | |
doskey mv=ren $* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
The MIT License (MIT) | |
Portal Lite Skin for Firefox v1.2 | |
Copyright (c) 2015 - 2016 James Dunn | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Beginning wipe" | |
for i in {1..7} | |
do | |
echo "Starting pass $i..." | |
dd if=/dev/urandom of=/sda1 bs=1M | |
dd if=/dev/zero of=/sda1 bs=1M | |
echo "Pass $i complete." | |
done | |
echo "Wipe complete." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "jewel_thief/version" | |
require "rubygems" | |
require "rubygame" | |
require "jewel_thief/game" | |
require "jewel_thief/player" | |
module JewelThief | |
Game.new | |
end |
NewerOlder