This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"flag" | |
"image/jpeg" | |
"log" | |
"os" | |
) | |
func main() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package tor | |
import ( | |
"bytes" | |
"fmt" | |
"log" | |
"os/exec" | |
) | |
//StartTorService starts tor service and returns url |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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>'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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): | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 =( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package web | |
import ( | |
"fmt" | |
"log" | |
"net/http" | |
"golang.org/x/crypto/acme/autocert" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import( | |
"github.com/justyntemme/nextwave/web" | |
) | |
func main() { | |
web.Run() | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() + "¤cy=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 + `", |
OlderNewer