Skip to content

Instantly share code, notes, and snippets.

View raigad's full-sized avatar

Rohitah raigad

View GitHub Profile
@raigad
raigad / vagrant-vmware-tech-preview-apple-m1-pro.md
Created April 7, 2022 07:56 — forked from sbailliez/vagrant-vmware-tech-preview-apple-m1-pro.md
Vagrant and VMWare Tech Preview on Apple M1 Pro

Vagrant and VMWare Tech Preview on Apple M1 Pro

This document summarizes notes taken while to make the VMWare Tech preview work on Apple M1 Pro, it originated from discussions in hashicorp/vagrant-vmware-desktop#22

Installing Rosetta

First install Rosetta if not already done, this is needed to run x86 code:

@raigad
raigad / snakecoin-server-full-code.py
Created February 21, 2019 17:28 — forked from aunyks/snakecoin-server-full-code.py
The code in this gist isn't as succinct as I'd like it to be. Please bare with me and ask plenty of questions that you may have about it.
from flask import Flask
from flask import request
import json
import requests
import hashlib as hasher
import datetime as date
node = Flask(__name__)
# Define what a Snakecoin block is
class Block:
@raigad
raigad / README.md
Created May 17, 2018 21:14 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@raigad
raigad / nginx.conf
Created April 8, 2018 00:25 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048