Skip to content

Instantly share code, notes, and snippets.

Avatar
🎰
Coding

Ryein Goddard Goddard

🎰
Coding
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am goddard on github.
  • I am goddard (https://keybase.io/goddard) on keybase.
  • I have a public key ASAu65Z8bNOUiykkICqqfWW_jrfW2ApI-hnoy1c45addYgo

To claim this, I am signing this object:

View resources.json
[{"id":"p16","resourceType":"Coordinator","title":"zCIT - Resurreccion, Stephanie","businessHours":null},{"id":"p72","resourceType":"Coordinator","title":"Sulzbacher/Beck, Fred","businessHours":[{"daysOfWeek":[0,1,2,3,4,5,6],"startTime":"07:00","endTime":"11:00"},{"daysOfWeek":[0,1,2,3,4,5,6],"startTime":"12:00","endTime":"17:00"}]},{"id":"p11","resourceType":"Investigator","title":"Green, Ben","businessHours":[{"daysOfWeek":[0,1,2,3,4,5,6],"startTime":"07:00","endTime":"11:00"},{"daysOfWeek":[0,1,2,3,4,5,6],"startTime":"12:00","endTime":"17:00"}]},{"id":"p13","resourceType":"Investigator","title":"Johnson, Katelyn","businessHours":[{"daysOfWeek":[0,1,2,3,4,5,6],"startTime":"07:00","endTime":"11:00"},{"daysOfWeek":[0,1,2,3,4,5,6],"startTime":"12:00","endTime":"17:00"}]},{"id":"p57","resourceType":"Administration","title":"Lawson, Johanna","businessHours":{"daysOfWeek":[0,1,2,3,4,5,6],"startTime":"07:00","endTime":"17:00"}},{"id":"p27","resourceType":"Recruitment","title":"Lopez, Jennifer","businessHours":{"da
View librem5webfix.css
body {
background-color: black;
}
#masthead {
top: 0;
z-index: 2;
}
.sticky-header {
View KeyMappings
o.......Open files, directories and bookmarks....................|NERDTree-o|
go......Open selected file, but leave cursor in the NERDTree.....|NERDTree-go|
t.......Open selected node/bookmark in a new tab.................|NERDTree-t|
T.......Same as 't' but keep the focus on the current tab........|NERDTree-T|
i.......Open selected file in a split window.....................|NERDTree-i|
gi......Same as i, but leave the cursor on the NERDTree..........|NERDTree-gi|
s.......Open selected file in a new vsplit.......................|NERDTree-s|
gs......Same as s, but leave the cursor on the NERDTree..........|NERDTree-gs|
O.......Recursively open the selected directory..................|NERDTree-O|
x.......Close the current nodes parent...........................|NERDTree-x|
@Goddard
Goddard / blockjs-in-chrome.js
Created Nov 20, 2019
Chrome print is blocking even though it is not in the same window or tab
View blockjs-in-chrome.js
<script>
function sleep(milliseconds) {
var start = new Date().getTime();
for (var i = 0; i < 1e7; i++) {
if ((new Date().getTime() - start) > milliseconds){
break;
}
}
}
@Goddard
Goddard / name-cheap-dynamic-dns.sh
Last active Aug 5, 2020
auto update ip script for dynamic dns
View name-cheap-dynamic-dns.sh
curl -i -H "Accept: application/xml" -H "Content-Type: application/xml" -X GET https://dynamicdns.park-your-domain.com/update?host=@&domain=[domain]&password=[update-password]&ip=[local-ip]
@Goddard
Goddard / oidgen.vbs
Created Jun 26, 2019
This script is a modification to the original oidgen.vb script. It adds a required DLL register and prints it to a file for easy copy pasting and saving. -------------------- Generates an object identifier (OID) using a GUID and the OID prefix 1.2.840.113556.1.8000.2554. This script contributed by Omar Sinno of Microsoft. Original - https://gall…
View oidgen.vbs
' oidgen.vbs
'
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
' OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR
' FITNESS FOR A PARTICULAR PURPOSE.
'
' Copyright (c) Microsoft Corporation. All rights reserved
' Improvements made by Ryein C. Goddard
'
' This script is not supported under any Microsoft standard support program or service.
View openvpnauto
#!/bin/sh
### BEGIN INIT INFO
# Provides: OpenVPN Autoconnect
# Required-Start: $local_fs $remote_fs $network
# Required-Stop: $local_fs $remote_fs $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: OpenVPN Autoconnect
# Description: OpenVPN Autoconnect
### END INIT INFO
@Goddard
Goddard / staircase.py
Created Apr 15, 2019
hankerrank staircase example python
View staircase.py
#!/bin/python3
import math
import os
import random
import re
import sys
# Complete the staircase function below.
def staircase(n):
@Goddard
Goddard / diagonalDifference.py
Created Apr 15, 2019
something I did for hankerrank
View diagonalDifference.py
#!/bin/python3
import math
import os
import random
import re
import sys
# Complete the diagonalDifference function below.
def diagonalDifference(arr):