Skip to content

Instantly share code, notes, and snippets.

View steam-system-information
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 5 2600 Six-Core Processor
CPU Family: 0x17
@braiam
braiam / disqus.js
Last active Apr 13, 2017
Implementing Disqus CSP friendly in Jekyll (and maybe others)
View disqus.js
var disqus_config = function () {
let data_element = document.getElementById("disqus-data")
this.page.url = data_element.dataset.url;
this.page.identifier = data_element.dataset.identifier;
};
View gist:7681018
glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_multisample, GLX_EXT_create_context_es2_profile,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
View jQuery.loadScript.js
jQuery.loadScript = function (url, arg1, arg2) {
"use strict";
var cache = false,
callback = null,
load = true;
//arg1 and arg2 can be interchangable
if ($.isFunction(arg1)) {
callback = arg1;
cache = arg2 || cache;
} else {