Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am anoopsankar on github.
  • I am anoop (https://keybase.io/anoop) on keybase.
  • I have a public key whose fingerprint is F892 85B1 B4F8 C9D2 AB79 D9D6 4EB3 E874 8C30 06FD

To claim this, I am signing this object:

@anoopsankar
anoopsankar / PKCSSigner.java
Last active Dec 11, 2015
PKCS#1 digital signature
View PKCSSigner.java
private byte[] sign(byte[] data, PrivateKey privateKey) throws GeneralSecurityException {
Security.addProvider(new BouncyCastleProvider());
Signature signer = Signature.getInstance("SHA1withRSA", "BC");
signer.initSign(privateKey);
signer.update(data);
return signer.sign();
}
View css-flicker.html
<!DOCTYPE html>
<html>
<head>
<title>Flickering Text</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script>
View flicker-text.css
#text-block .flickr {
color: transparent;
text-shadow: white 0 0 1px;
-webkit-transition: text-shadow 0.2s ease-in-out;
-moz-transition: text-shadow 0.2s ease-in-out;
transition: text-shadow 0.2s ease-in-out;
}
You can’t perform that action at this time.