Skip to content

Instantly share code, notes, and snippets.

Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/themes/Dark.qss
Attempted path: /usr/share/obs/obs-studio/themes/Dark.qss
info: CPU Name: 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
info: CPU Speed: 3000.000MHz
info: Physical Cores: 4, Logical Cores: 8
info: Physical Memory: 15716MB Total, 8320MB Free
@knipknap
knipknap / lambda.py
Last active December 12, 2018 07:23
import json
from botocore.vendored import requests
base_url = 'http://myserver.com:8888/api/'
auth_url = base_url+'auth/1.0/session/start'
open_url = base_url+'action/1.0/action/start'
headers = {'Content-Type': 'application/json'}
auth = {'username': 'foo',
'password': 'bar'}
@knipknap
knipknap / diff.css
Created December 24, 2010 10:28
Formating a diff_match_patch diff array into a pretty two-column HTML table
.diff {
text-align: left;
white-space: pre;
}
.diff td {
padding: 5px 2px;
}
.diff td.line-numbers {