This is content converted from Markdown!
Here's a JSON sample:
{
"foo": "bar"
}
var request = require('request'); | |
const MicrosoftGraph = require("@microsoft/microsoft-graph-client"); | |
// required inputs | |
var tenant = ''; // tenant id | |
var clientId = ''; // application id | |
var secret = ''; // application password | |
// prepare http request | |
var url = 'https://login.microsoftonline.com/' + tenant + '/oauth2/v2.0/token'; |
<html> | |
<head> | |
<style> | |
h1 { | |
font-family: Calibri; | |
} | |
</style> | |
</head> | |
<body> | |
<h1>Hello World!</h1> |
package net.bubblemix.signature; | |
import java.io.UnsupportedEncodingException; | |
import java.nio.charset.Charset; | |
import java.nio.charset.StandardCharsets; | |
import java.security.InvalidKeyException; | |
import java.security.KeyFactory; | |
import java.security.KeyPair; | |
import java.security.KeyPairGenerator; | |
import java.security.NoSuchAlgorithmException; |
package net.bubblemix; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.io.UnsupportedEncodingException; | |
import java.util.Enumeration; | |
import javax.servlet.Filter; | |
import javax.servlet.FilterChain; |
package main | |
import ( | |
"fmt" | |
"golang.org/x/crypto/ripemd160" | |
) | |
func main() { | |
hasher := ripemd160.New() | |
hasher.Write([]byte("The quick brown fox jumps over the lazy dog")) |
<html> | |
<head> | |
<style> | |
#ian { | |
position: absolute; | |
bottom: 0px; | |
height: 400px; | |
} | |
body { | |
background: #eef; |
package net.bubblemix.test; | |
import org.cassandraunit.spring.CassandraDataSet; | |
import org.cassandraunit.spring.CassandraUnitTestExecutionListener; | |
import org.cassandraunit.spring.EmbeddedCassandra; | |
import org.junit.After; | |
import org.junit.Before; | |
import org.junit.Test; | |
import org.junit.runner.RunWith; | |
import org.slf4j.Logger; |
import static org.hamcrest.Matchers.equalTo; | |
import static org.junit.Assert.assertThat; | |
import static org.mockito.Mockito.when; | |
import java.io.IOException; | |
import org.junit.Before; | |
import org.junit.Test; | |
import org.mockito.Mockito; | |
import org.springframework.http.HttpStatus; |
package net.bubblemix.cardcheck; | |
/** | |
* Validator for credit card numbers | |
* Checks validity and returns card type | |
* | |
* @author ian.chen | |
*/ | |
public class RegexCardValidator { | |