Skip to content

Instantly share code, notes, and snippets.

View Razz21's full-sized avatar

Andrzej Kurek Razz21

  • Poland
View GitHub Profile
@Razz21
Razz21 / yt-playlist-remover.js
Last active August 13, 2026 20:28
YouTube Playlist Remover
// ==UserScript==
// @name YouTube Playlist Remover
// @namespace https://gist.github.com/Razz21
// @version 1.0
// @author Razz21
// @description Removes 'list' from video URLs, but preserves the playlist URL on a dedicated button (works with same-tab navigation).
// @match *://www.youtube.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @updateURL https://gist.githubusercontent.com/Razz21/35c8979d04af24000d87522f9f743987/raw/yt-playlist-remover.js
// @downloadURL https://gist.githubusercontent.com/Razz21/35c8979d04af24000d87522f9f743987/raw/yt-playlist-remover.js
@Razz21
Razz21 / dense_tied.py
Created January 30, 2019 15:23
Tied weights version for tf.python.keras. Dense layer
from tensorflow.python.framework import tensor_shape
from tensorflow.python.eager import context
from tensorflow.python.framework import common_shapes
from tensorflow.python.framework import ops
from tensorflow.python.framework import tensor_shape
from tensorflow.python.keras import activations
from tensorflow.python.keras import backend as K
from tensorflow.python.keras import constraints
from tensorflow.python.keras import initializers
from tensorflow.python.keras import regularizers