Quick Jekyll Posts With Bookmarklet

I’ve made a /new-post-bookmarklet.html. It propt me for a title and then opens up a new github file to add what ever content I want.

I hope this get me to post more here. The code is simple and you could easlily modify it for your jekyll site as well. You can use a https://caiorss.github.io/bookmarklet-maker/.

var isoDate = (new Date()).toISOString();
var date = isoDate.split('T')[0];
var d = date.split('-');
var dataPermaLink = d.join('/');
var t = prompt("title", "");
var title = t.replaceAll(/([&$\+,:;'"=\?@#\s<>\[\]\{\}[\/]|\\\^%])+/g, '-');

var filename = date + "-" + title + '.md';

var html = [
'---',
'date: '+ isoDate,
'author: Stefan Hayden',
'title: ' + t,
'layout: post',
'permalink: /blog/'+ dataPermaLink  +'/'+ title +'/',
'categories:',
'  - web',
'---',
].join('%0A');


window.location.href = "https://github.com/stefanhayden/stefanhayden.github.io/new/master/" + "?filename=_posts/" + filename + "&value=" + html;

New Computer from ibuypower

I always post my new computer stats so I can find them in the future. My last desktop was 8 years ago and it started to blue screen of death after the graphics card started to hit 100% capacity.

iBUYPOWER Slate 4 MR Mirror Finished Tempered Glass ARGB Gaming Case

  • Processor: Intel® Core™ i7-10700KF Processor (8x 3.80 GHz /16MB L3 Cache)

  • Processor Cooling: iBUYPOWER DEEPCOOL GAMERSTORM RGB 240mm CASTLE 240EX Liquid Cooler

  • Memory: 32 GB [8 GB x4] DDR4-3000 Memory Module - Certified Major Brand Gaming Memory

  • Video Card: NVIDIA GeForce RTX 2070 SUPER - 8GB GDDR6 (VR-Ready)

  • Motherboard: ASUS PRIME Z490-V - ARGB Header (1), USB 3.2 Ports (4 Type-A), M.2 Slot (3) - Free Upgrade to ASUS PRIME Z490-P - WiFi

  • Power Supply: 650 Watt - High Power - 80 PLUS Gold

  • Primary Hard Drive: 500 GB ADATA SU720 SSD – Read: 550MB/s, Write: 520MB/s - Single Drive

  • Secondary Hard Drive: 1 TB Samsung 860 EVO SSD – Read: 550MB/s, Write: 520MB/s - Single Drive

  • Sound Card: 3D Premium Surround Sound Onboard

  • Network Card: Onboard LAN Network (Gb or 10/100)

  • Operating System: Windows 10 Home - (64-bit)

  • Keyboard: iBUYPOWER ARES M2 Gaming Keyboard

  • Mouse: iBUYPOWER ARES M2 Gaming Optical Mouse

  • Warranty: Three Year Standard Warranty

NBCNews covers Shutterstock censoring in china

Excited to have @David_Ingram and @NBCNews dive deeper in to what happened at @Shutterstock when it decided to ban search terms in china. Employees and media need to work together to hold companies to account.

And I also want to make a reminder that I care a lot about Shutterstock and my fellow employees. I don’t want to have a controversy to talk about. I just want to build websites with my friends. 9+ years I was able to do that. I wish everything had been different.

NBCNews covers Shutterstock censoring in china

pdf

Beliber

I think Bieber just knighted Splice.

Screenshot of bieber telling laxcity he's part of it now