Skip to content

Instantly share code, notes, and snippets.

View mediamagnet's full-sized avatar

Nathan Conlon mediamagnet

  • San Antonio Tx
  • 06:34 (UTC -05:00)
View GitHub Profile
@mediamagnet
mediamagnet / test.txt
Created August 23, 2023 15:17 — forked from SleepyLctl/test.txt
Test Strings
EICAR Test String
(anti-virus) X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
When an anti-virus program scans this file, it reports that it finds the EICAR-STANDARD-AV-TEST-FILE virus.
GTUBE Test String
(spam) XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X
For further information, see: http://spamassassin.apache.org/gtube/.
@mediamagnet
mediamagnet / tohl_engie.md
Last active April 27, 2022 04:38
tohl_engie.md

First Host


Name: Corro Tohl Gender: Male Captian: USS Truro NCC-1889 (Miranda Class) Status: Deceased

Details of the Truro
  • Miranda Class
  • Dedication Plaque: "And glow more intense than blaze of branch, or brazier, Stirs the dumb spirit..." - T. S. Elliot Little Gidding

#Nivi Lybeth

  • Actual Age: 53
  • DOB: 07/23/1970
  • Apparent Age: 23
  • Physical Description:
    • Hair: Black
    • Eyes: Green
    • Height: 162 CM
    • Weight: 54 KG

Keybase proof

I hereby claim:

  • I am mediamagnet on github.
  • I am mediamagnet (https://keybase.io/mediamagnet) on keybase.
  • I have a public key ASDUmgg27JnjXXLyfHtj9SD5e-gHeaM2AKw6JAbqI869gAo

To claim this, I am signing this object:

First Host


Name: Corro Tohl Gender: Male Captian: USS Truro NCC-1889 (Miranda Class) Status: Deceased

Details of the Truro
  • Miranda Class
  • Dedication Plaque: "And glow more intense than blaze of branch, or brazier, Stirs the dumb spirit..." - T. S. Elliot Little Gidding
#!/usr/bin/env ruby
require 'eventmachine'
require 'websocket-eventmachine-client'
require 'huey'
Huey.configure do |config|
config.hue_ip = '192.168.1.244'
config.uuid = "NqysWo8Fmlm4WE8M6Sxm-9UznfDoSnmFJOmg7q2g"
end
#!/usr/bin/env ruby
require 'eventmachine'
require 'websocket-eventmachine-client'
EM.run do
ws = WebSocket::EventMachine::Client.connect(:host => 'irc-ws.chat.twitch.tv', :port => 80, :ssl => false)
ws.onopen do
puts "Connected"
ws.send "CAP REQ :twitch.tv/tags twitch.tv/commands twitch.tv/membership"
require 'eventmachine'
require 'websocket-eventmachine-client'
EM.run do
ws = WebSocket::EventMachine::Client.connect(:uri => 'wss://irc-ws.chat.twitch.tv')
ws.onopen do
puts "Connected"
ws.send "CAP REQ :twitch.tv/tags twitch.tv/commands twitch.tv/membership"
ws.send "NICK justinfan#{rand(100000..999999)}"

Keybase proof

I hereby claim:

  • I am mediamagnet on github.
  • I am mediamagnet (https://keybase.io/mediamagnet) on keybase.
  • I have a public key ASD0oHBx8wAu3Up0maUq7OsoB9-S7hSsbUVg_adSbegUrQo

To claim this, I am signing this object:

#!/usr/bin/env ruby
require 'configatron'
require 'rest-client'
require 'twitch/chat'
require_relative 'config.rb'
require 'json'
follows = RestClient.get "https://api.twitch.tv/helix/users/follows?to_id=#{configatron.chanid}", {:'Client-ID' => configatron.clientid}
follows1 = JSON.parse(follows).fetch('data').take(1).zip