Skip to content

Instantly share code, notes, and snippets.

View jkstill's full-sized avatar
🏠
Working from home

Jared jkstill

🏠
Working from home
View GitHub Profile
@jkstill
jkstill / 0_reuse_code.js
Created March 26, 2016 18:34
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@jkstill
jkstill / c2.sql
Created March 26, 2016 18:42
Test table for Timestamp Math Blog
col c1_dump format a70
col c1 format a35
col funcname format a15
set linesize 200 trimspool on
set pagesize 60
drop table timestamp_test purge;
-- showlock.sql - show all user locks
--
-- see ML Note 1020008.6 for fully decoded locking script
-- parts of the that script to not work correctly, but the
-- lock types are current
-- (script doesn't find object that is locked )
--
-- speeded up greatly by changing order of where clause,
-- jks 04/09/1997 - show lock addresses and lockwait
@jkstill
jkstill / pt-check.c
Created October 4, 2023 00:32 — forked from carter-yagemann/pt-check.c
Quick and dirty check for Intel Processor Trace (PT) features.
/*
* Copyright 2019 Carter Yagemann <yagemann@gatech.edu>
*
* 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 copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
@jkstill
jkstill / gist:f731aa7eed90be2a9cda0d1bf47170ee
Created February 21, 2024 00:44
custom ad block hosts file for dnsmasq
#!/usr/bin/env bash
set -eu
echo
echo Pulling latest Steven Black hosts file
echo
# curl and openssl built
# openssl /usr/local/ssl