Skip to content

Instantly share code, notes, and snippets.

View alokmenghrajani's full-sized avatar
💾

Alok Menghrajani alokmenghrajani

💾
View GitHub Profile
@alokmenghrajani
alokmenghrajani / gist:edf1b49cbfd84418f178974fb00e7e34
Created February 16, 2022 10:28
The 1734 available 3 letter .ch domain names (as of Feb 2022)
aca.ch
adk.ch
aea.ch
afd.ch
aft.ch
ahf.ch
ajk.ch
akr.ch
amy.ch
aoe.ch
import java.security.InvalidAlgorithmParameterException;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
import java.security.spec.RSAKeyGenParameterSpec;
import static java.lang.String.format;
{
"swagger": "2.0",
"info": {
"description": "",
"version": "1.0.0",
"title": "Swagger Petstore",
"termsOfService": "javascript:alert(document.domain)",
"contact":
{ "email": "apiteam@swagger.io" }
diff --git a/Gruntfile.js b/Gruntfile.js
index eb0c686..79a5646 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -16,7 +16,7 @@ module.exports = function(grunt) {
src: [
'lib/jose-core.js',
'lib/jose-jwe-webcryptographer.js',
- 'lib/jose-jwe-utils.js',
+ 'lib/jose-utils.js',
diff --git a/Gruntfile.js b/Gruntfile.js
index eb0c686..ab823da 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -15,8 +15,8 @@ module.exports = function(grunt) {
},
src: [
'lib/jose-core.js',
+ 'lib/jose-utils.js',
'lib/jose-jwe-webcryptographer.js',

Keybase proof

I hereby claim:

  • I am alokmenghrajani on github.
  • I am alokmenghrajani (https://keybase.io/alokmenghrajani) on keybase.
  • I have a public key whose fingerprint is 8AF7 C613 4A04 E421 0208 76C2 D257 8FEB 2793 D637

To claim this, I am signing this object:

client function blah(_) {
i = Int.of_string_opt("xyz")
#content = <>meh {i}</>
}
function page() {
i = Int.of_string_opt("xyz")
<div id=#content onready={blah}>
loading...
</div>
diff --git a/opabsl/jsbsl/bslTime.js b/opabsl/jsbsl/bslTime.js
index c7cee7d..0db6b13 100644
--- a/opabsl/jsbsl/bslTime.js
+++ b/opabsl/jsbsl/bslTime.js
@@ -159,10 +159,9 @@ function now()
return t.getHours();
}
-##register local_timezone_offset : time_t -> int
- ##args(f)