Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am 1mrat on github.
  • I am imrat (https://keybase.io/imrat) on keybase.
  • I have a public key whose fingerprint is 9A90 1A1C 2057 2E15 827C 2979 8C27 E897 FA5B CFF6

To claim this, I am signing this object:

@1mrat
1mrat / postdata_to_csv.js
Last active July 25, 2018 13:59
Javascript code to extract Readinglist data to a csv file.
// Prepare output
var csv="datetime,readtime";
// Get timestamps for all saved posts
var posts=document.querySelectorAll('time[datetime]');
// Add line with post data to csv
posts.forEach(function(i,j) {
// Remove comma from Locale format so its compitable with Google Sheets format
var postTime = new Date(i.attributes.datetime.value).toLocaleString().replace(',','');
@1mrat
1mrat / AdDisapprovalReasons.txt
Last active March 25, 2021 00:27
Reasons Why Facebook Disapprove Ads
UNKNOWN
IRREGULAR_APP_INSTALL
TEXT_OVERLAY
ADULT_CONTENT
ADULT_HEALTH
ALCOHOL
ANIMATED_IMAGE
BEFORE_AND_AFTER
CASUAL_DATING
DATING