Skip to content

Instantly share code, notes, and snippets.

View dorman99's full-sized avatar
🎯
Focusing

Muhammad Hafizh Abdillah AR dorman99

🎯
Focusing
View GitHub Profile
@dorman99
dorman99 / CryptoJs & Golang
Created May 22, 2022 15:46 — forked from xsephiroth/CryptoJs & Golang
AES decrypt encrypt with CryptoJs & Golang
<template>
<div>
</div>
</template>
<script>
import CryptoJs from "crypto-js"
export default {
name: "",
data(){
@dorman99
dorman99 / hasse.nb
Created January 20, 2019 14:33 — forked from Eckankar/hasse.nb
Generating Hasse diagrams in Mathematica
(* Combinatorica contains HasseDiagram,so we need to load it. *)
<<Combinatorica`;
(* The set the partial order operates on. *)
nums = {1, 2, 4, 7, 8, 14, 30};
(* Define our partial order. *)
pOrder[x_, y_] := Divisible[y, x];
(* Generate a directed graph from the partial order. *)
@dorman99
dorman99 / postjson.js
Created May 17, 2018 04:53 — forked from JacobHsu/postjson.js
#nodejs #npm - post json with node.js (npm request )
var request = require('request');
var options = {
uri: 'https://www.googleapis.com/urlshortener/v1/url',
method: 'POST',
json: {
"longUrl": "http://www.google.com/"
}
};
@dorman99
dorman99 / postjson.js
Created May 17, 2018 04:53 — forked from JacobHsu/postjson.js
#nodejs #npm - post json with node.js (npm request )
var request = require('request');
var options = {
uri: 'https://www.googleapis.com/urlshortener/v1/url',
method: 'POST',
json: {
"longUrl": "http://www.google.com/"
}
};