Skip to content

Instantly share code, notes, and snippets.

Avatar

Maisnam Raju Singh maisnamraju

View GitHub Profile
View gist:4b705a23c6953bfe8d412aaad264d764
Techniques
There are several approaches to memorizing scripture.
Erase the words
Write the Bible verse on a white board and have everyone read it aloud together. Then erase a word and have them read it again, supplying the erased word. Continue erasing words and reading the verse aloud until all the words are gone. At this point, the entire class should know the verse.
Hand write the verse
Write the verses down several times by hand until you can do it from memory.
In song
Many passages of scripture have been set to music. Memorizing the lyrics to a song is a lot easier than memorizing raw text, and the memory will last for years. If the verse you are trying to memorize has already been set to music, switch to the version of the text that matches the song. If it has not been set to music, make up your own tune. Explore different translations of the text to see which one lends itself best to your song.
Say it aloud
View gist:5069f12f858a152511daeba70ee2f1bb
[
{
"raw_score": 0.772199294655321,
"percentile": 0.7696052319060478,
"trait_id": "big5_openness",
"significant": true,
},
{
"raw_score": 0.6389301482005938,
@maisnamraju
maisnamraju / invite-user.ts
Last active Apr 18, 2020
Zeit now routing issue with CORS error
View invite-user.ts
import { NowRequest, NowResponse } from '@now/node';
import { query as q } from 'faunadb';
import { v4 as uuidv4 } from 'uuid';
export default async (req: NowRequest, res: NowResponse) => {
const { body } = req;
console.log(body);
// the body field returns as undefined
}
@maisnamraju
maisnamraju / client.js
Last active Feb 25, 2020 — forked from agrueneberg/client.html
HMAC-SHA256 sample code.
View client.js
var http, crypto, sharedSecret, query, signature;
http = require("http");
crypto = require("crypto");
sharedSecret = "super-secret";
body = { "test": "123" };
signature = crypto.createHmac("sha256", sharedSecret).update(body).digest("hex");
http.post({
View index.html
<p dir="ltr" style="line-height:1.2;text-align: center;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:#000000;background-color:transparent;font-weight:700;font-style:normal;font-variant:normal;text-decoration:underline;-webkit-text-decoration-skip:none;text-decoration-skip-ink:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap;">PAAYS FINANCIAL TECHNOLOGIES INC.</span></p>
<p dir="ltr" style="line-height:1.2;text-align: center;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:#000000;background-color:transparent;font-weight:700;font-style:normal;font-variant:normal;text-decoration:underline;-webkit-text-decoration-skip:none;text-decoration-skip-ink:none;vertical-align:baseline;white-space:pre;white-space:pre-wrap;">TERMS OF USE</span></p>
<p>
<br>
</p>
<p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:9pt;font-family:Calibri,sans-serif;color:#000
View gist:f1a4570fd300b3e9ccd1c2e3081971fe
curl 'https://identitytoolkit.googleapis.com/v1/accounts:signInWithIdp?key=[API_KEY]' \
-H 'Content-Type: application/json' \
--data-binary '{"postBody":"id_token=[GOOGLE_ID_TOKEN]&providerId=[google.com]","requestUri":"[http://localhost]","returnIdpCredential":true,"returnSecureToken":true}'
@maisnamraju
maisnamraju / create-ssl-for-localhost
Last active Sep 24, 2019 — forked from itsMattShull/create-ssl-for-localhost
Command to create a key.pem and cert.pem for localhost for ubuntu
View create-ssl-for-localhost
openssl req \
-newkey rsa:2048 \
-x509 \
-nodes \
-keyout key.pem \
-new \
-out cert.pem \
-subj /CN=localhost \
-reqexts SAN \
-extensions SAN \
@maisnamraju
maisnamraju / main.go
Created Jun 27, 2019 — forked from creack/main.go
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
View main.go
package main
import (
"context"
"fmt"
"log"
"net/http"
"os"
"os/signal"
"strconv"
@maisnamraju
maisnamraju / go-soap-wsdl-using-http.go
Created Jun 17, 2019 — forked from novalagung/go-soap-wsdl-using-http.go
Example implementation of making SOAP call on WSDL web service using go with only net/http package. The full tutorial avaiable on https://medium.com/eaciit-engineering/soap-wsdl-request-in-go-language-3861cfb5949e
View go-soap-wsdl-using-http.go
package main
import (
"bytes"
"crypto/tls"
"encoding/base64"
"encoding/xml"
"fmt"
"log"
"net/http"
View gist:d06811dfe9c6855992cfbcc246abade4
CardHolderDetails:
{ AddressLine1: '181 University Ave',
AddressLine2: 'Suite 1802',
BirthDate: '/Date(1972-12-31)/',
BusinessPhone: '',
CardHolderID: '',
City: 'Toronto',
Company: '',
CountryCode: 'CA',
CountrySubdivisionCode: 'ON',