This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/nsmb.conf - macOS 11.3 - 2021-04-29 | |
#------------------------------------------------------------------------------ | |
# SMB configuration for macOS 11.3 <-> Synology | |
#------------------------------------------------------------------------------ | |
# Additional information: | |
# ----------------------- | |
# https://support.apple.com/de-de/HT211927 | |
# https://support.apple.com/en-us/HT208209 | |
# https://apple.stackexchange.com/questions/309016/smb-share-deadlocks-since-high-sierra | |
# https://photographylife.com/afp-vs-nfs-vs-smb-performance |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#run in console | |
document.querySelectorAll("span[ng-click='fontFamilyAccordionCtrl.reactivate(variation)'").forEach(element => element.click()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Instagram Stream - Utilize Full Viewport | |
// @namespace https://www.instagram.com | |
// @version 0.1 | |
// @description When you watch a stream on instagram it's suuuper tiny by default. This increases the size to utilize as much space as possible for the window you're using. | |
// @match https://www.instagram.com/ | |
// @match https://www.instagram.com/* | |
// @author You | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Amazon brute force clear saved for later | |
// @namespace https://www.amazon.com/ | |
// @version 0.1 | |
// @description Make sure to disable this user script after your saved for later is empty, as this will keep attempting to delete saved for later items until you disable | |
// @author You | |
// @include http*://www.amazon.cn/* | |
// @include http*://www.amazon.in/* | |
// @include http*://www.amazon.co.jp/* | |
// @include http*://www.amazon.com.sg/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Open Full Instagram Image In New Window | |
// @namespace https://www.instagram.com | |
// @version 0.1 | |
// @description Will add an open in new window link | |
// @match https://www.instagram.com/ | |
// @match https://www.instagram.com/* | |
// @author You | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Jekyll | |
class UCFBlockWrap < Liquid::Block | |
def initialize(tag_name, markup, tokens) | |
super | |
end | |
def render(context) | |
output = super | |
"<div>%s</div>" % [output] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sc_embed_youtube( $atts, $content='' ) { | |
$atts = shortcode_atts( | |
array( | |
'width' => '400', | |
'height' => '250', | |
'class' => null, | |
'style' => null | |
), $atts | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Adds necessary CSS for a background image when | |
// a higher-res version is needed for higher pixel density screens | |
@mixin background-2x($url: "transparent", $url-r: "transparent", $position: "0 0", $repeat: no-repeat, $width: 5px, $height: 5px) { | |
background-image: url($url); | |
background-repeat: $repeat; | |
background-position: $position; | |
@media screen and (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { | |
background-image: url($url-r); | |
background-size: $width $height; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// The plugin looks for a .jsbeautifyrc file in the same directory as the | |
// source file you're prettifying (or any directory above if it doesn't exist, | |
// or in your home folder if everything else fails) and uses those options | |
// along the default ones. | |
// Details: https://github.com/victorporof/Sublime-HTMLPrettify#using-your-own-jsbeautifyrc-options | |
// Documentation: https://github.com/einars/js-beautify/ | |
"html": { | |
"allowed_file_extensions": ["htm", "html", "xhtml", "shtml", "xml", "svg"], |
NewerOlder