Skip to content

Instantly share code, notes, and snippets.

View justyntemme's full-sized avatar

Justyn Temme justyntemme

View GitHub Profile
@justyntemme
justyntemme / main.go
Created July 19, 2016 03:16
Coder Radio Challenge 1
package main
import (
"fmt"
"strings"
)
/*Explanation of solution
blackJackCS is a map with the key value being that of myhand on the blackjack cheat sheet, the val value is an array.
package main
import (
"flag"
"image/jpeg"
"log"
"os"
)
func main() {
package tor
import (
"bytes"
"fmt"
"log"
"os/exec"
)
//StartTorService starts tor service and returns url
<html>
<form action="learnphp.php" method="GET">
<b>Name :</b> <input type="text" name="name">
</form>
<?php
echo("Hello world! <br>");
echo("The time is: " . date('h:i:s') . "<br>");
echo("Todays date is " . date('d/m/y') . '<br>');
#!/usr/bin/env python3
from gi.repository import GObject
from gi.repository import Ide
from gi.repository import Gio
class GofmtOnSave(GObject.Object, Ide.GoFmtWorkbenchAddin):
#!/usr/bin/env python3
from gi.repository import GObject
from gi.repository import Ide
from gi.repository import Gio
class GofmtPreferences(GObject.Object, Ide.PreferencesAddin):
def do_load(self, prefs):
self.completion_id =(
jQuery('#field53610330_2').click(function() {
jQuery("#field54441009").val("8");//
jQuery.get("https://api.pipedrive.com/v1/organizations/" + jQuery("#field53423360").val() + "?api_token=REDACTED", function(resp){
console.log(resp.data.b34abe6f7c4765955a312fbb286d4f1d94199baf)
if (resp.data.b34abe6f7c4765955a312fbb286d4f1d94199baf == '') {
alert("Recreational License Number Missing!\nPlease enter the Recreational License number for the Organization into Pipedrive, then close and re-open this form.\nFor help, contact Lorenzo at 831.334.6363");
}
});
});
//medical
package web
import (
"fmt"
"log"
"net/http"
"golang.org/x/crypto/acme/autocert"
)
package main
import(
"github.com/justyntemme/nextwave/web"
)
func main() {
web.Run()
}
var invocation = new XMLHttpRequest();
//First Product will be sent by defualt; the next will be checkedif not equal to -----
jQuery.get("https://api.pipedrive.com/v1/products/find?term=" + jQuery("#field53412749").val() + "&currency=USD&start=0&api_token=REDACTED", function(resp){
console.log(jQuery("#field53412749").val())
callOtherDomain(resp.data[1].id);
});
var url = "https://api.pipedrive.com/v1/deals/" + pipedrive_deal_ID + "/products?api_token=REDACTED";
function callOtherDomain(firstProductID){
var firstProductData = `{
"id": "` + pipedrive_deal_ID + `",