Skip to content

Instantly share code, notes, and snippets.

@Richienb
Richienb / stopwatch.py
Created October 10, 2017 02:17
Simple Python Stopwatch
import time
seconds = 0
minutes = 0
hours = 0
mseconds = 0
while True:
print(hours, ":", minutes, ":", seconds, ":", mseconds)
time.sleep(0.01)
if minutes == 59:
hours += 1
@Richienb
Richienb / page.html
Created October 19, 2017 05:58
Wordpress Code For Embedding JavaScript
<script type="text/javascript" src="/javascript/testcode.js"></script>
@Richienb
Richienb / Miner Code In Ascii.txt
Created November 4, 2017 03:02
Miner Code In Ascii
....` `....` `..`
NNNNh. sNNNN: :NN:
MMNNMo .NMmMM/ `::`
MMhyMN` `yMN+MM/ .//. -// -oyyyo:` ./oyyyo:` ./-.oyyo.
MMy.NMs /NM+/MM/ /MM/ yMMymhhhmMNs` `smNdhyhmNm/` /Mmdmhhm-
MMy oMN: `dMh`/MM/ /MM/ yMMy- `hMN: `sMm-` `+NN+ /MMm. `
MMy .dMh +MM: /MM/ /MM/ yMM. /MM/ -NMdyyyyyyyNMm /MM+
MMy +MM: .mMh /MM/ /MM/ yMM /MM/ :MMmhhhhhhhhhh /MM/
MMy dMd.sMN: /MM/ /MM/ yMM /MM/ -NMy ..` /MM/
MMy /NMsMMs /MM/ /MM/ yMM /MM/ oMMs-```.sNNo /MM/
@Richienb
Richienb / index.html
Created May 22, 2018 04:18
Simple Material Design Document
<html lang="en">
<body>
</header>
<div class="demo-ribbon"></div>
<main class="demo-main mdl-layout__content">
<div class="demo-container mdl-grid">
<div class="mdl-cell mdl-cell--2-col mdl-cell--hide-tablet mdl-cell--hide-phone"></div>
<div class="demo-content mdl-color--white mdl-shadow--4dp content mdl-color-text--grey-800 mdl-cell mdl-cell--8-col">
<div class="demo-crumbs mdl-color-text--grey-500">
@Richienb
Richienb / form.vb
Created May 24, 2018 05:17
Delay in VB.NET
Private Sub delay(ByVal interval As Integer)
Dim sw As New Stopwatch
sw.Start()
Do While sw.ElapsedMilliseconds < interval
Application.DoEvents()
Loop
sw.Stop()
End Sub
@Richienb
Richienb / README.md
Last active June 15, 2018 04:45
Travis Variable Encryption Wizard

Travis Variable Encryption Wizard

What is this?

Encrypt Travis variables with this simple wizard for Windows

How do I use it?

Download the .bat file and run it. Ensure that Ruby is installed.

@Richienb
Richienb / README.md
Created July 1, 2018 08:30
Text Cipher In Python

Text Cipher For Python

What is this?

This is a simple text-based cipher for python

@Richienb
Richienb / README.md
Created July 1, 2018 08:37
Python 3 to 2 backwards compatibility with future

Backwards compatibility in Python using future

How does it work?

The future module adds support for modules supported in Python 3.x to Python 2.x

How to use it?

  1. Install future
$ pip install future