Skip to content

Instantly share code, notes, and snippets.

View tauseedzaman's full-sized avatar
😉
Working from home

Tauseed Zaman tauseedzaman

😉
Working from home
View GitHub Profile
@ExcaliburZero
ExcaliburZero / Main.java
Last active September 19, 2022 06:36
Heap's Algorithm - Java Implementation
/*
* Heap's algorithm
*
* Gives all permutations for the numbers 1 through n.
*
* Java implementation for psuedocode on the algorithm's Wikipedia article:
* https://en.wikipedia.org/wiki/Heap%27s_algorithm
*/
import java.util.Scanner;
@nasrulhazim
nasrulhazim / quotes.json
Created May 14, 2017 08:23
Quotes List in JSON Format
{
"quotes": [
{
"quote":"Life isn’t about getting and having, it’s about giving and being.","author":"Kevin Kruse"},
{
"quote":"Whatever the mind of man can conceive and believe, it can achieve.","author":"Napoleon Hill"},
{
"quote":"Strive not to be a success, but rather to be of value.","author":"Albert Einstein"},
{
@raffis
raffis / php
Created October 8, 2019 07:50
pure md5 algorithm written in php with serialization support
<?php
namespace Hash;
/**
* PHP implementation of the MD5 algorithm according RFC-1321.
* This implementation has support for hash context serialization which the php inbuilt HashContext has not.
*/
class MD5
{
/**
@Windos
Windos / Toast-RTEvent-Example.ps1
Created March 31, 2020 07:16
Example of trying to register a Windows RT event via PowerShell, specifically here we're looking at events on Toast Notifications
$XmlString = @"
<toast>
<visual>
<binding template="ToastGeneric">
<text>Default Notification</text>
<image src="C:\Program Files\PowerShell\7\assets\Powershell_av_colors.ico" placement="appLogoOverride" />
</binding>
</visual>
<audio src="ms-winsoundevent:Notification.Default" />
</toast>
{
"id":1,
"name":"Aethelwuf",
"inventory":[
{
"name":"Trinket",
"quantity":1
},
{
"name":"Mace",
@shobhitic
shobhitic / index.html
Created January 30, 2022 07:47
Wallet Connect Integration Code - https://youtu.be/Ws5jIo4NMDc
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Wallet Connect</title>
<script src="https://cdn.jsdelivr.net/npm/@walletconnect/[email protected]/dist/umd/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js"></script>
</head>
<body>
@tauseedzaman
tauseedzaman / linux-commands.json
Created May 19, 2022 17:12
1780 linux commands with descriptions created thro automation
{
"data": [
{
"command": "anytopnm",
"description": "attempt to convert an unknown type of image file to a portable anymap"
},
{
"command": "aplay",
"description": "command-line sound recorder and player for ALSA soundcard driver"
},
<!DOCTYPE html>
<html>
<head>
<title>Please Subscribe</title>
</head>
<body>
<script>
// File name and contents