Skip to content

Instantly share code, notes, and snippets.

View theBliz's full-sized avatar
🚀
{ work: 'hard', party: 'nope', work: 'harder' }

theBliz theBliz

🚀
{ work: 'hard', party: 'nope', work: 'harder' }
View GitHub Profile
@rcugut
rcugut / [GUIDE] macos yarn nvm install.md
Last active July 10, 2023 11:49
GUIDE for mac OS X yarn nvm node install

GUIDE to install yarn, nvm (node) on macOS

last update: Dec 4, 2020

Assumptions:

  • macOS >= 10.14 (Mojave); tested with 10.15 (Catalina)
  • homebrew properly installed
@lauraturk
lauraturk / circleci-heroku-continuous-deployment2.0.md
Last active November 23, 2021 15:28
instructions for deploying from circleci2.0 to heroku
@crittermike
crittermike / wget.sh
Last active March 26, 2024 22:49
Download an entire website with wget, along with assets.
# One liner
wget --recursive --page-requisites --adjust-extension --span-hosts --convert-links --restrict-file-names=windows --domains yoursite.com --no-parent yoursite.com
# Explained
wget \
--recursive \ # Download the whole site.
--page-requisites \ # Get all assets/elements (CSS/JS/images).
--adjust-extension \ # Save files with .html on the end.
--span-hosts \ # Include necessary assets from offsite as well.
--convert-links \ # Update links to still work in the static version.
@stigok
stigok / githook.js
Last active July 30, 2023 09:46
Verify GitHub webhook signature header in Node.js
/*
* Verify GitHub webhook signature header in Node.js
* Written by stigok and others (see gist link for contributor comments)
* https://gist.github.com/stigok/57d075c1cf2a609cb758898c0b202428
* Licensed CC0 1.0 Universal
*/
const crypto = require('crypto')
const express = require('express')
const bodyParser = require('body-parser')
@davidpodhola
davidpodhola / README.MD
Last active March 25, 2022 15:11
How to reinstall Windows 8 on Samsung ATIV 500T and upgrade to Windows 10

How to reinstall Windows 8 on Samsung ATIV 500T and upgrade to Windows 10

I bought my Samsung ATIV 500T back in 2013 in Paris. It was preinstalled with Windows 8 Home. I soon upgraded it to Windows 8 Professional to be a part of the work domain. And later to Windows 8.1 and later to Windows 10.

I am still very happy with it and it's pen-OneNote combination is still bringing a lot of surprise to whoever is near.

Once I incidentally tryied to install SQL Express to it and it was very bad decision. I create a Windows Restore Point before so it was quite easy to roll back.

But few days ago I tried to do the factory Reset and ended up with unbootable device. There seems to be no "Boot from USB" so I have had to come with another idea.

@PurpleBooth
PurpleBooth / README-Template.md
Last active May 3, 2024 18:53
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@stvhwrd
stvhwrd / website-dl.md
Last active March 13, 2024 17:05
Download an entire website for offline use with wget. Internal inks will be corrected so that the entire downloaded site will work as it did online.

The best way to download a website for offline use, using wget

There are two ways - the first way is just one command run plainly in front of you; the second one runs in the background and in a different instance so you can get out of your ssh session and it will continue.

First make a folder to download the websites to and begin your downloading: (note if downloading www.SOME_WEBSITE.com, you will get a folder like this: /websitedl/www.SOME_WEBSITE.com/)


STEP 1: