Skip to content

Instantly share code, notes, and snippets.

View radhack's full-sized avatar

Alex Griffen radhack

View GitHub Profile
@radhack
radhack / withStyle.html
Created July 22, 2020 20:40
This'll move the last two <ol> items out far enough that you'll see the whole (hilarious) number
<!DOCTYPE html><!-- Last Published: Wed Jul 22 2020 17:14:36 GMT+0000 (Coordinated Universal Time) -->
<html data-wf-domain="www.controlaltdeath.com" data-wf-page="5e5f40a67dbd995d6817771b" data-wf-site="5e5859de03c6fe8536232ee0">
<head>
<meta charset="utf-8"/>
<title>Rankings</title>
<meta content="Rankings" property="og:title"/>
<meta content="Rankings" property="twitter:title"/>
<meta content="width=device-width, initial-scale=1" name="viewport"/>
<link href="https://uploads-ssl.webflow.com/5e5859de03c6fe8536232ee0/css/controlaltdeath.webflow.5a1ff6789.css" rel="stylesheet" type="text/css"/>
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js" type="text/javascript"></script><script type="text/javascript">WebFont.load({ google: { families: ["Montserrat:100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic","Roboto:regular,500,700,900"] }});</script><!--[if lt IE 9]><script src="
@radhack
radhack / nonEmbeddedWithTemplate.go
Created December 6, 2018 23:04
Go non embedded with template
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
@radhack
radhack / webpage_with_link.go
Created December 6, 2018 23:04
Go Webpage With Link
@radhack
radhack / nonembeddedSignatureRequest.go
Created December 6, 2018 23:03
Another Go NonEmbedded Signature Request
package main
import (
"bytes"
"fmt"
"io/ioutil"
"log"
"mime/multipart"
"net/http"
"os"
@radhack
radhack / goNonEmbeddedSignatureRequest.go
Created December 6, 2018 23:02
Go HelloSign Non Embedded Signature Request
package main
import (
"fmt"
"strings"
"net/http"
"os"
"io/ioutil"
"bytes"
"log"
@radhack
radhack / hellogo.go
Created December 6, 2018 23:02
Go Hello World
package main
import "fmt"
func main() {
fmt.Printf("hello, world\n")
}
@radhack
radhack / signerpage.php
Last active November 7, 2018 16:28
HelloSign Embedded Feature Page Example
<script>
HelloSign.init("<?php echo $client_id ?>");
HelloSign.open({
url: "<?php echo $sign_url ?>",
allowCancel: true,
// skipDomainVerification: true,
uxVersion: 2,
debug: true,
// userCulture: HelloSign.CULTURES.ES_MX, // Spanish (Mexico)
@radhack
radhack / embeddedSignatureRequestWithTemplate.php
Created June 6, 2018 21:30
HelloSign PHP POST with Template Example
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Embedded Signing with Template</title>
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="//s3.amazonaws.com/cdn.hellosign.com/public/js/hellosign-embedded.LATEST.min.js"></script>
<link rel="stylesheet" type="text/css" href="newcss.css" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" href="/favicon-32x32.png"/>
@radhack
radhack / Signature Declined
Last active December 15, 2017 19:40
HelloSign declined event - this occurs when a signer has chosen to decline a signature request.
{
"event":{
"event_type":"signature_request_declined",
"event_time":"1513366554",
"event_hash":"b5daf665bd7e80bb8c6e38cfe912620fb7783303d2f4f648f50b2da2ef3eb2e5",
"event_metadata":{
"related_signature_id":"0d03570d7a1645eeee234dfef29a6813",
"reported_for_account_id":"bc1225d28a648231a589100c07c9f17c82d80411",
"reported_for_app_id":"d7219512693825facee9241f458decf2",
"event_message":"Here's my reason for declining."
@radhack
radhack / Unknown Error
Created December 7, 2017 15:15
HelloSign unknown_error
{
"event":{
"event_type":"unknown_error",
"event_time":"1512659345",
"event_hash":"44ce26e05fc01a12e0deac29d83d4d10328ef918b192fe96c763f0ab3770e345",
"event_metadata":{
"related_signature_id":null,
"reported_for_account_id":"bc1225d28a648231a589100c07c9f17c82d80411",
"reported_for_app_id":null
}