Skip to content

Instantly share code, notes, and snippets.

View mdusher's full-sized avatar

Michael Usher mdusher

View GitHub Profile
#!/usr/bin/env ruby
require 'twitter'
client = Twitter::REST::Client.new do |config|
config.consumer_key = ""
config.consumer_secret = ""
config.access_token = ""
config.access_token_secret = ""
end

Keybase proof

I hereby claim:

  • I am mdusher on github.
  • I am mdusher (https://keybase.io/mdusher) on keybase.
  • I have a public key ASCwHZCrSNbCwrs_vR90yN7lW0lobEMMzWq0mghYI2Vl-go

To claim this, I am signing this object:

"""
Check if libjemalloc was built with `--enable-prof` (and thus has
memory profiling capabilities) or not.
Author: Ori Livneh
No copyright restriction
Original Source: https://gist.github.com/atdt/736137113e577795e5fc
Able to specify the path to libjemalloc as the first argument.
"""
import ctypes
@mdusher
mdusher / gist:0848c6ed2600f07f8b8e7b2e2330fe68
Created November 29, 2023 06:56
Windows Terminal Theme - Dainty TTY
{
"background": "#0C0C0C",
"black": "#0C0C0C",
"blue": "#0037DA",
"brightBlack": "#767676",
"brightBlue": "#3B78FF",
"brightCyan": "#61D6D6",
"brightGreen": "#16C60C",
"brightPurple": "#B4009E",
"brightRed": "#E74856",