Setup to adjust macbook to my personal preferences.
- About > Name: (change default hostname)
Adobe has introduced some obnoxious new PDF form technology which I am seeing more commonly in the wild. These PDF forms can only be used with the official Adobe Reader® software.
You will know you've hit one of these documents when you try to open a PDF in your web browser or Preview and you only see this text.
Please wait...
const UNITS = ['byte', 'kilobyte', 'megabyte', 'gigabyte', 'terabyte', 'petabyte']; | |
function beautifulFilesize(filesizeBytes) { | |
let unitIdx = 0; | |
let magnitude = filesizeBytes; | |
while (magnitude > 1000 && unitIdx < UNITS.length - 1) { | |
unitIdx++; | |
magnitude /= 1000.0; | |
} | |
const numberFmt = new Intl.NumberFormat('en', { |
[Adblock Plus 2.0] | |
news.ycombinator.com##table.comment-tree |
// Iterated from: https://stackoverflow.com/questions/10599933/convert-long-number-into-abbreviated-string-in-javascript-with-a-special-shortn | |
function abbreviateNumber(value) { | |
let newValue = value; | |
const suffixes = ["", "K", "M", "B","T"]; | |
let suffixNum = 0; | |
while (newValue >= 1000) { | |
newValue /= 1000; | |
suffixNum++; | |
} |
{ | |
"word_count": 5054, | |
"processed_language": "en", | |
"personality": [ | |
{ | |
"trait_id": "big5_openness", | |
"name": "Openness", | |
"category": "personality", | |
"percentile": 0.79548652792948, | |
"children": [ |
I hereby claim:
To claim this, I am signing this object:
select | |
REPLACE( | |
REPLACE( | |
REPLACE( | |
REPLACE( | |
REPLACE( | |
REPLACE( | |
REPLACE( | |
REPLACE( | |
REPLACE( |
Taken from: https://www.google.com/js/th/xcoWlAKVx6cl2goeDVagdx3OJQvQ3hwXRwBhFWqI9A0.js |