Skip to content

Instantly share code, notes, and snippets.

View 08shubhamjindal's full-sized avatar
💭
Imbalanced to the Leaf Nodes!🤔🤔

Shubham Jindal 08shubhamjindal

💭
Imbalanced to the Leaf Nodes!🤔🤔
View GitHub Profile
@nxtr
nxtr / Charset.cls
Created March 20, 2017 14:08
Salesforce Force.com Apex: encode and decode string to / from binary characters in charset
public abstract class Charset {
/**
* Convenience method that encodes a string into bytes in charset.
* <p>
* @param input string of Unicode characters
* @param charset name according to http://www.iana.org/assignments/character-sets/character-sets.xhtml
* @return binary characters in charset
*/
public static Blob encode(final String input, final String charset) {
@08shubhamjindal
08shubhamjindal / game.php
Last active September 11, 2016 19:49
post method in php
<html>
<head>
<title>PHP Form Validation</title>
</head>
<body>
<?php
$name = $email = $gender = $comment = $website = "";
if ($_SERVER["REQUEST_METHOD"] == "POST") {
@parmentf
parmentf / GitCommitEmoji.md
Last active May 6, 2024 18:30
Git Commit message Emoji