Skip to content

Instantly share code, notes, and snippets.

@Vodzo
Vodzo / object-watch.js
Created August 10, 2016 12:18 — forked from eligrey/object-watch.js
object.watch polyfill in ES5
/*
* object.watch polyfill
*
* 2012-04-03
*
* By Eli Grey, http://eligrey.com
* Public Domain.
* NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
*/
@Vodzo
Vodzo / rootCA.md
Last active October 19, 2017 11:59

Generate private key

openssl genrsa -des3 -out rootCA.key 2048

Generating RSA private key, 2048 bit long modulus
 .................................................................+++
 .....................................+++
 e is 65537 (0x10001)
 Enter pass phrase for rootCA.key:
 Verifying - Enter pass phrase for rootCA.key:
@Vodzo
Vodzo / DI.m3u
Created October 23, 2017 13:45 — forked from sim642/DI.m3u
Digitally Imported premium streams
#EXTM3U
#EXTINF:-1,Digitally Imported - Ambient
http://pub1.diforfree.org:8000/di_ambient_hi
#EXTINF:-1,Digitally Imported - Big Room House
http://pub1.diforfree.org:8000/di_bigroomhouse_hi
#EXTINF:-1,Digitally Imported - Breaks
http://pub1.diforfree.org:8000/di_breaks_hi
@Vodzo
Vodzo / ToastNotification_Windows10.ps1
Created October 29, 2017 05:25 — forked from altrive/ToastNotification_Windows10.ps1
Windows 10 toast notification sample
$ErrorActionPreference = "Stop"
$notificationTitle = "Notification: " + [DateTime]::Now.ToShortTimeString()
[Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] > $null
$template = [Windows.UI.Notifications.ToastNotificationManager]::GetTemplateContent([Windows.UI.Notifications.ToastTemplateType]::ToastText01)
#Convert to .NET type for XML manipuration
$toastXml = [xml] $template.GetXml()
$toastXml.GetElementsByTagName("text").AppendChild($toastXml.CreateTextNode($notificationTitle)) > $null

AppData\Local\slack\app-3.3.8\resources\app.asar.unpacked\src\static\ssb-interop.js

document.addEventListener('DOMContentLoaded', function() {
$.ajax({
  url: 'https://gist.githubusercontent.com/Vodzo/ca3b19a6528611cb3f332b55325328db/raw/97c1ff9db81917cbbd8cd7f0da6e9110325f5af0/slack-dark.css',
  success: function(css) {
    $("<style></style>").appendTo('head').html(css);
  }
});