Skip to content

Instantly share code, notes, and snippets.

View sverrirs's full-sized avatar
🌟
Be the change you wish to see in the world

Sverrir Sigmundarson sverrirs

🌟
Be the change you wish to see in the world
View GitHub Profile
class Program
{
static BackgroundWorker _bgWorker = new BackgroundWorker();
static ManualResetEvent _terminateSignal = new ManualResetEvent(false);
static void Main(string[] args)
{
_bgWorker.DoWork += BgWorkerOnDoWork;
[Version]
Signature="$Windows NT$"
Class=CustomUSBDevices
ClassGuid={a503e2d3-a031-49dc-b684-c99085dbfe92}
Provider=%ProviderName%
DriverVer=10/10/2015,1.0.0
[Manufacturer]
%ProviderName% = MyWinUSBDevice,NTx86,NTamd64
@sverrirs
sverrirs / Google Blogger Social Meta Tags.html
Last active April 28, 2020 05:26
Because it is notoriously difficult, here is how you integrate social media tags for Facebook, Twitter, Google+ and Pinterest into Google Blogger template. Tested and validated by myself on blogger.com in August 2015. This is based on https://gist.github.com/MilanAryal/92997b311580c6e96dd0 but with important fixes and different integration strat…
<!-- add the following code in the head and body tags -->
<head prefix='og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article: http://ogp.me/ns/article#'>
<body itemscope='itemscope' itemtype='http://schema.org/Blog' prefix='og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article: http://ogp.me/ns/article#'>
<!--
I've found easiest to simply include the rest of the tags in the body of the webpage.
The browser will automatically interpret the should-be header tags correctly.
The only problem, and unavoidable when using a blogger template is that the Pintrest markup
will not currently work with their Rich Pin validation tool.