Skip to content

Instantly share code, notes, and snippets.

View nhz-io's full-sized avatar
🙃
Gate Gate Pāragate Pārasaṃgate Bodhi Svāhā

Kumarajiva nhz-io

🙃
Gate Gate Pāragate Pārasaṃgate Bodhi Svāhā
  • Nanohertz
View GitHub Profile
@nhz-io
nhz-io / self-signed-certificate-with-custom-ca.md
Created January 23, 2025 20:35 — forked from fntlnz/self-signed-certificate-with-custom-ca.md
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
@nhz-io
nhz-io / readme.md
Created April 14, 2024 00:58 — forked from Brandonbr1/readme.md
This Simply Disables all useless or uneeded for windows 10/11 services to make your computer faster.

Make sure you run this script as admin,otherwise it will fail to execute

About this script

Warning this is a hardcore removal script, unlike the others, This tries to fully remove almost all uneeded services, without making the computer unusable

Disclamer

By running or using this script you accept. I am not hield responsible if anything breaks or stops working on your computer/machine. That is your fault and it is up to you to re-enable the service.

Printers will not work with this script.

@nhz-io
nhz-io / 0_reuse_code.js
Created March 16, 2017 00:32
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
@nhz-io
nhz-io / README.md
Created March 15, 2017 22:15 — forked from emeeks/README.md
An online tool for interactive teaching of network visualization and representation principles.

The range sliders at the top change the values for the force-directed algorithm and the buttons load new graphs and apply various techniques. This will hopefully serve as a tool for teaching network analysis and visualization principles during my Gephi courses and general Networks in the Humanities presentations.

Notice this includes a pretty straightforward way to load CSV node and edge lists as exported from Gephi.

It also includes a pathfinding algorithm built for the standard data structure of force-directed networks in D3. This requires the addition of .id attributes for the nodes, however.

Now with Clustering Coefficients!

Also, it loads images for nodes but the images are not in the gist. The code also refers to different network types but the data files on Gist only refer to the transportation network.

@nhz-io
nhz-io / nextTick.js
Created May 19, 2016 06:53 — forked from mmalecki/nextTick.js
process.nextTick vs setTimeout(fn, 0)
for (var i = 0; i < 1024 * 1024; i++) {
process.nextTick(function () { Math.sqrt(i) } )
}