Skip to content

Instantly share code, notes, and snippets.

View pvrego's full-sized avatar
๐Ÿ’พ
Producing

Rego pvrego

๐Ÿ’พ
Producing
View GitHub Profile
@pvrego
pvrego / windows-keys.md
Created October 16, 2024 13:07 — forked from rvrsh3ll/windows-keys.md
Windows Product Keys

NOTE

These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.

Index

@pvrego
pvrego / Reset Udemy Progress.md
Created October 14, 2022 14:12 — forked from AstralJohn/Reset Udemy Progress.md
Reset Udemy Progress

Reset Udemy Progress

Last Updated: 09/30/2022

Step 1. Go to Udemy course in browser

Go to the course and have any video up. The following code relies on the right sidebar to be visible to uncheck all your progress.

Step 2. Open browser console

You can do this with ctrl+shift+j and making sure the console tab is selected for chrome/brave

@pvrego
pvrego / hrng.sol
Last active May 2, 2022 12:40
Random Generator HPB
pragma solidity ^0.5.6;
contract HRNG {
function getRandom() public view returns (bytes32) {
return block.random;
}
}
@pvrego
pvrego / combined.tex
Last active October 17, 2024 16:42
Markdown To LaTeX
% Options for packages loaded elsewhere
\PassOptionsToPackage{unicode}{hyperref}
\PassOptionsToPackage{hyphens}{url}
%
\documentclass[
]{article}
\usepackage{amsmath,amssymb}
\usepackage{lmodern}
\usepackage{iftex}
\ifPDFTeX
@pvrego
pvrego / Constructor.md
Last active March 23, 2022 18:49
ABC Wallet
constructor(address _newPayer, address _newReceiver, uint _depositMin){
    require(_depositMin > 0);           // R2.3, non-nullity 
    __depositMinAllowed = _depositMin;  // R2.3, definition of min deposit value
    __payer = _newPayer;                // R4.1, assignment of the payer role
    __receiver = _newReceiver;          // R4.1, assignment of the receiver role
    __mediator = __owner;               // Mediator role is the contract, by design
}
@pvrego
pvrego / list-all-repos.py
Created October 10, 2020 15:08 — forked from ralphbean/list-all-repos.py
Script to list all repos for a github organization
#!/usr/bin/env python
""" Print all of the clone-urls for a GitHub organization.
It requires the pygithub3 module, which you can install like this::
$ sudo yum -y install python-virtualenv
$ mkdir scratch
$ cd scratch
$ virtualenv my-virtualenv
@pvrego
pvrego / README.md
Last active September 26, 2020 15:02 — forked from christopherlovell/display.py
display youtube video in jupyter notebook

Display youtube video in jupyter notebook

@pvrego
pvrego / gist:1bf9e11f72f9f46f098bb42c9a20b5ac
Last active September 27, 2020 18:32 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

Emojis List

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
@pvrego
pvrego / colored_placeholders.md
Last active September 16, 2020 16:48
Colored Placeholders

Colored Placeholders

@pvrego
pvrego / Colored Github README.md
Last active March 17, 2025 10:48
How to make README.md files with colored texts in Github

Colored text #1

You can use the diff language tag to generate some colored text:

- text in red
+ text in green
! text in orange
# text in gray
@@ text in purple (and bold)@@