Skip to content

Instantly share code, notes, and snippets.

View HaoZeke's full-sized avatar
:octocat:
Gasping for air.

Rohit Goswami HaoZeke

:octocat:
Gasping for air.
View GitHub Profile
@cprakashagr
cprakashagr / LICENCE SUBLIME TEXT
Last active June 24, 2024 20:13
Sublime Text 3 Serial key build is 3143
## Sublime Text 3 Serial key build is 3103
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
B085E65E 2F5F5360 8489D422 FB8FC1AA
@jgcastro89
jgcastro89 / GEPP
Created October 17, 2017 17:16
Gaussian Elimination with Partial Pivoting Modularized
import numpy as np
class GEPP():
"""
Gaussian elimination with partial pivoting.
input: A is an n x n numpy matrix
b is an n x 1 numpy array
output: x is the solution of Ax=b
@phyllisstein
phyllisstein / fontawesome.sty
Last active July 17, 2023 14:03
FontAwesome 5.0.0-beta.6 mapping for XeLaTeX
% FontAwesome Pro 5.0.0-beta.6 (https://github.com/FortAwesome/Font-Awesome-Pro)
% bindings for XeLaTeX.
%
% Author: Honza Ustohal <[email protected]>
% (https://gist.github.com/sway/3101743)
%
% Updated for FontAwesome 5 by Daniel P. Shannon <[email protected]>.
%
% Translation of FontAwesome's private range characters into XeTeX symbols. All
% icons are camel-cased and prefixed with 'fa', i.e. what was .fa-address-book
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active May 12, 2025 11:23 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy

Exporting your 2FA tokens from Authy to transfer them into another 2FA application

IMPORTANT - Update regarding deprecation of Authy desktop apps

Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.

And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.

If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.

@gidim
gidim / test_in_batches.py
Created May 16, 2017 13:12
A quick example on how to run in-training validation in batches
'''
A Dynamic Recurrent Neural Network (LSTM) implementation example using
TensorFlow library. This example is using a toy dataset to classify linear
sequences. The generated sequences have variable length.
Long Short Term Memory paper: http://deeplearning.cs.cmu.edu/pdfs/Hochreiter97_lstm.pdf
Author: Aymeric Damien
Project: https://github.com/aymericdamien/TensorFlow-Examples/
'''
@brunoleles
brunoleles / readme.md
Last active January 22, 2021 15:10
Gulp Watch Fails with "Error: watch ... ENOSPC"

gulp watch fails with error: Error: watch ... ENOSPC

Stacktrace:

[13:58:28] Starting 'watch'...
[13:58:28] 'watch' errored after 22 ms
[13:58:28] Error: watch /.../resources/assets/images/ ENOSPC
    at exports._errnoException (util.js:1023:11)
    at FSWatcher.start (fs.js:1306:19)
 at Object.fs.watch (fs.js:1331:11)
@simonbyrne
simonbyrne / paynehanek.jl
Last active November 18, 2023 02:39
Payne-Hanek reduction in Julia
import Base: TwicePrecision, significand_bits, significand_mask, exponent_mask, exponent_bias
# Bits of 1/2π
# 1/2π == sum(x / 0x1p64^i for i,x = enumerate(INV2PI))
# Can be obtained by:
#
# setprecision(BigFloat, 4096)
# I = 0.5/big(pi)
# for i = 1:19
# I *= 0x1p64
#!/bin/bash
echo "Start Export Process"
echo "Log into Keybase..."
keybase login
echo "Exporting your PGP keys..."
keybase pgp export -o keybase.public.key
keybase pgp export -s -o keybase.private.key
@Phlow
Phlow / nested-for-loop.liquid
Created January 6, 2017 20:08
This is a nested liquid loop for Jekyll to iterate through YAML data with a depth of three levels. The example loops through a potential table of contents of a book.
{% comment %}
#
# This is a nested liquid loop for Jekyll to iterate through YAML data with
# a depth of three levels. The example loops through a potential table of
# contents of a book.
#
# This is the example YAML content'
- chapters: 'Einführung'
sub_chapters:
@QuietMisdreavus
QuietMisdreavus / what-is-rust.markdown
Created December 29, 2016 21:46
what is rust (baby don't hurt me)

what is rust (baby don't hurt me)

(Hosting in a fake-blog for now until i get back to the computer with the blog files on them >_>)

I've seen a fair amount of discussion recently about what Rust's greatest "selling point" is. This was sparked by Steve Klabink's article about how Rust should be about ["more than safety"][safety]. There have been responses about how the community is top-notch, or how the titular safety allows people to feel empowered to write lower-level software than they had previously thought they were capable of. I'm going to add more words to the pile about a somewhat related point.