Skip to content

Instantly share code, notes, and snippets.


Nick Briz nbriz

View GitHub Profile
nbriz / example-sketch.html
Created Jul 25, 2022
View example-sketch.html
body {
margin: 0;
<script src=""></script>
const W = innerWidth
nbriz /
Last active Jul 2, 2020
SCSS vs modern CSS


CSS on its own can be fun, but stylesheets are getting larger, more complex, and harder to maintain. This is where a preprocessor can help. Sass lets you use features that don't exist in CSS yet like variables, nesting, mixins, inheritance and other nifty goodies that make writing CSS fun again.

that's from the Sass website, while I agree that may have been true 10 years ago, CSS has come a long way since then :) i think most of Sass's features (as listed here) are all things CSS3 has since taken care of. so, without further ado, my case:


SCSS (example from their website)

nbriz / index.html
Created Oct 18, 2019
a basic html5 structure
View index.html
<!DOCTYPE html>
<!-- meta info like the title and author of the page goes here -->
<!-- also links to any stylesheets, favicons or js libraries :)-->

Keybase proof

I hereby claim:

  • I am nbriz on github.
  • I am nickbriz ( on keybase.
  • I have a public key ASA9ponWFHHMc8jG1vcQY0jrLM-Fqp-1xvBRLTG40RXgHQo

To claim this, I am signing this object:

nbriz / convert.php
Created Apr 8, 2016
convert image into base64 encoded string
View convert.php
<!DOCTYPE html>
<title> img to data</title>
<meta charset="utf-8">
textarea{ width: 50%; height: 200px; }
nbriz / leave_facebook.js
Last active Oct 16, 2018 — forked from subimage/jquery-2.1.1.min.js
all-in-one script ( with parameters ) >> big thnx to @subimage && xtra updates by Luigi DiGangi
View leave_facebook.js
// forked from subimage's modifications of my much messier prior scripts
// ( )
// after entering jquery into ur console, enter the code below in ur console
// then load a few months of activity && enter leaveFacebook(); into ur console
// u can specify parameters like so: leaveFacebook('Unlike'); if u only want to unlike
// or leaveFacebook('Unfriend'); if u only want to unfriend
// etc...
// visit for vidz && details
View unfriend5.js
function unfriend() {
}; unfriend();
View unfriend4.js
"boxes" : [ {
"box" : {
"maxclass" : "comment",
"frgb" : 0.0,
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 0,
"patching_rect" : [ 464.0, 344.0, 207.0, 20.0 ],
View gist:580a04c7884a9d0ca269
$('._4-hy').css('background-color','rgba(0, 0, 0, 0)');
View gist:0eb08d7dcddf687ea749
$('button').each(function( i ) {
if( $(this).html() == 'Continue'){ $(this).click(); }
if( $(this).html() == 'Confirm'){ $(this).click(); }
if( $(this).html() == 'Delete Post'){ $(this).click(); }
if( $(this).html() == 'Remove Tag'){ $(this).click(); }
if( $(this).html() == 'Remove Search'){ $(this).click(); }
if( $(this).html() == 'Okay'){ $(this).click(); }
$('span').each(function( i ) {
if( $(this).html() == 'Close'){ $(this).click(); }