Skip to content

Instantly share code, notes, and snippets.

@sliceofbytes
sliceofbytes / For Mac 4.2.6 unlimited trial.md
Created April 23, 2024 17:52 — forked from rise-worlds/For Mac 4.2.6 unlimited trial.md
Beyond Compare 4 license for Windows, Mac, Linux

for 4.2.4 or higher, 4.2.5,4.2.6,4.3.7, it's works, this is the way which makes Always in evaluation mode.

  1. open Terminal, go to the dir : cd /Applications/Beyond Compare.app/Contents/MacOS
  2. change the name BCompare to BCompare.bak: mv BCompare BCompare.bak
  3. touch a file name BCompare , and chmod a+ux BCompare : touch BCompare && chmod a+ux BCompare
  4. open BCompare with text editor, insert the script :
#!/bin/bash
rm "/Users/$(whoami)/Library/Application Support/Beyond Compare/registry.dat"
"`dirname "$0"`"/BCompare.bak $@
@sliceofbytes
sliceofbytes / gist:911e266a7a8d347c72a81b99e3d1dc31
Created April 14, 2024 20:35 — forked from digitaljhelms/gist:4287848
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch
@sliceofbytes
sliceofbytes / Prompts
Created September 27, 2023 14:29 — forked from lukecav/Prompts
Stable Diffusion Prompts - Cinematic
Cinematic cameras
Captured by (camera)
Sony cinealta
Cannon cinema eos
Phantom high speed camera
Arri Alexa
Super-16
Panavision Super R200 SPSR Camera
@sliceofbytes
sliceofbytes / scaleFontSize.js
Created April 26, 2019 21:17 — forked from x35a/scaleFontSize.js
jq plugin decrease font size on text ovrfl
/*
works with JQ
usage
<p class="targetElement">Text to scale</p>
$('.targetElement').scaleFontSize({minFontsize: 12});
minFontsize минимальное размер шрифта для уменьшения, default 16px.
Определяется переполнение по ширине и высоте.
Определение переполнения по высоте работает если элементу задан height.
@sliceofbytes
sliceofbytes / gistlog.yml
Created April 22, 2019 14:28 — forked from askilondz/gistlog.yml
Adaptive Streaming with MPEG-DASH and HLS using AWS

Adaptive Streaming has become the neccessity for streaming video and audio. Unfortantely, as of this post, there isn't a whole lot of tutorials that accumulate all of the steps to get this working. Hopefully this post achieves that. This post focuses on using Amazon Web Services (AWS) to transcode for HLS and DASH and be the Content Delivery Network (CDN) that delivers the stream to your web page. We'll be using Video.js for the HTML5 player as well as javascript support libaries to make Video.js work with HLS and DASH.

So Here's what you need:

Set up three S3 buckets

@sliceofbytes
sliceofbytes / style-desaturate.css
Created July 18, 2018 14:08 — forked from internoma/style-desaturate.css
Desaturate & saturate css3
.desaturate {
filter: grayscale(100%); /* Current draft standard */
-webkit-filter: grayscale(100%); /* New WebKit */
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%); /* Not yet supported in Gecko, Opera or IE */
filter: url(resources.svg#desaturate); /* Gecko */
filter: gray; /* IE */
-webkit-filter: grayscale(1); /* Old WebKit */
}
@sliceofbytes
sliceofbytes / 0_reuse_code.js
Created April 4, 2016 04:06
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console