Skip to content

Instantly share code, notes, and snippets.

@unruthless
unruthless / CSS for <sup> and <sub>
Created May 26, 2010 01:31
CSS for <sub> and <sup>
sub, sup {
/* Specified in % so that the sup/sup is the
right size relative to the surrounding text */
font-size: 75%;
/* Zero out the line-height so that it doesn't
interfere with the positioning that follows */
line-height: 0;
/* Where the magic happens: makes all browsers position
@vaibhavpandeyvpz
vaibhavpandeyvpz / blocker.cs
Last active May 12, 2018 21:04
Blocking User Interaction in WinForms (C#)
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace VPZ.Security
{
@DanielSWolf
DanielSWolf / Program.cs
Last active October 30, 2024 13:57
Console progress bar. Code is under the MIT License: http://opensource.org/licenses/MIT
using System;
using System.Threading;
static class Program {
static void Main() {
Console.Write("Performing some task... ");
using (var progress = new ProgressBar()) {
for (int i = 0; i <= 100; i++) {
progress.Report((double) i / 100);
@epixoip
epixoip / rtx2080.md
Last active February 23, 2022 17:54
Nvidia RTX 2080 FE Hashcat Benchmarks

Nvidia RTX 2080 FE Hashcat Benchmarks

Product: As there is currently no Linux driver, we had to use chick3nman's desktop (Windows 7)

Software: Hashcat v4.2.1, Nvidia driver 411.63

Accelerator: 1x Nvidia RTX 2080 Founders Edition

Notes