Skip to content

Instantly share code, notes, and snippets.

View abraham's full-sized avatar
🍩
donot mind if I do

Abraham Williams abraham

🍩
donot mind if I do
View GitHub Profile
cool
@abraham
abraham / test.txt
Last active December 12, 2024 15:32
orangeorangeorangeorange
require 'uri'
require 'cgi'
require 'json'
known_keys = [
"secret",
"digits",
"period",
]

Test 2

@abraham
abraham / readme.md
Created November 3, 2022 22:06
Public test gist

hello world

@abraham
abraham / enable-print-styles.js
Created September 5, 2018 20:05
Enable CSS that is behind a `@media print` media query
Object.keys(document.styleSheets).forEach(function(styleSheetKey) {
var rules = document.styleSheets[styleSheetKey].rules || {};
Object.keys(rules).forEach(function(ruleKey) {
var media = rules[ruleKey].media;
if (media) {
media.mediaText = media.mediaText.replace('print', 'screen');
}
});
});
import { one, two, pipe } from './utils';
class Main {
public sentence() {
return pipe<string>('word',
addPeriod,
capitalize);
}
}
@abraham
abraham / example.json
Created July 7, 2018 23:25
Split a large JSON file into multiple files
[
{"one":"two"},
{"three":"four"}
]
{
"is_quote_status": true,
"quoted_status": {
"is_quote_status": true,
}
}