Skip to content

Instantly share code, notes, and snippets.

View jwshields's full-sized avatar

Jared Shields jwshields

View GitHub Profile
@jwshields
jwshields / ShareX Settings
Created September 16, 2023 03:23
Discord Rich Presence Integration - Album Artwork Uploader - Windows + Sharex + SFTP
Configure ShareX to utilize the FTP uploader for images, files, and text; preferrably, set it up so that you are using SCP/SFTP/SSH to upload the files to your server.
Prepare to have a web server already configured, and a location that you can write to easily.
In Sharex, also, configure your "Task Settings" -> Upload -> File Naming - I personally have all my files named with this pattern: `%pn_%ra{25}`
```
"FTPAccountList": [
{
"Name": "my_server_lol",
"Protocol": "SFTP",
@jwshields
jwshields / keybase.md
Last active May 3, 2022 00:59
keybase.md

Keybase proof

I hereby claim:

  • I am jwshields on github.
  • I am jwshields (https://keybase.io/jwshields) on keybase.
  • I have a public key ASCQJ7heWGHLd6I2lOlIYgMeTeYiYa_ef_RyyB71cGsdWgo

To claim this, I am signing this object:

@jwshields
jwshields / xbee_zha_settings.md
Created August 29, 2020 07:18 — forked from courtarro/xbee_zha_settings.md
XBee settings for Zigbee Home Automation (ZHA)

According to https://forms.na1.netsuite.com/app/site/hosting/scriptlet.nl?script=457&deploy=2&compid=818164&h=5928a16f2b6f9582b799&article=zigbee-home-automation

When developing a Zigbee Home Automation application or Wanting to talk with a Zigbee Home Automation Device, the XBee module you should select is the XBee ZB SMT module or XBee ZB (Zigbee) Surface Mount module.

Using our XCTU software or some other Terminal Emulator or processor, the following settings within the XBee ZB SMT module would need to be set:

  • ZS 2
  • AP 1
  • AO 3
  • EE 1
//Suppress=DevAbsorbFuncs
//Suppress=DevAssetDataBase
//Suppress=DevBsp
//Suppress=DevCollision
//Suppress=DevCompile
//Suppress=DevComponents
//Suppress=DevConfig
//Suppress=DevDataStore
//Suppress=DevGarbage
//Suppress=DevGFxUI
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_dhparam /etc/nginx/dhparam.pem;
ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA';
#ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";
#ssl_ecdh_curve secp384r1;
#ssl_session_tickets off;
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains