Skip to content

Instantly share code, notes, and snippets.

View CorradoRossi's full-sized avatar

Rossi Meacham CorradoRossi

View GitHub Profile

Keybase proof

I hereby claim:

  • I am corradorossi on github.
  • I am rssi (https://keybase.io/rssi) on keybase.
  • I have a public key ASCvXJvEm0eV1W_GXbzW-HA6UXMm5UDfnhLBpiBVgQIgSwo

To claim this, I am signing this object:

@CorradoRossi
CorradoRossi / localhost
Created April 24, 2019 15:22
A function for injecting a CSS page into an existing site from the console
(function(i,n,j,e,c,t,css){
css=i.createElement(n);t=i.getElementsByTagName(c)[0];css.href=j;css.rel=e;
t.insertAdjacentElement('beforeend',css);})
(document,'link','https://yourdomain.xyz/path/to/the/stylesheet','stylesheet','head');
@CorradoRossi
CorradoRossi / 0_reuse_code.js
Created January 30, 2017 00:22
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