This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Custom YouTube Video Sync</title> | |
<script src="https://www.youtube.com/iframe_api"></script> | |
<style> | |
/* Styling the headings */ | |
h2, h3 { |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Custom YouTube Video Sync</title> | |
<script src="https://www.youtube.com/iframe_api"></script> | |
<style> | |
/* Styling the headings */ | |
h2, h3 { |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Custom YouTube Video Sync with Pause/Resume</title> | |
<script src="https://www.youtube.com/iframe_api"></script> | |
</head> | |
<body> | |
<h2>Custom YouTube Video Sync with Pause/Resume</h2> |
This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.Data; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Dapper; | |
using FirebirdSql.Data.FirebirdClient; | |
using MySql.Data.MySqlClient; |
This file contains hidden or 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
<font size="14" weight="bold">EasyPost Rating Estimate</font> | |
<br><br> | |
<p>Sales Order: 50005</p> | |
<pre> | |
Carrier Service Speed Rate | |
UPS Ground 3-5 Days $20.00 | |
UPS Ground 3-5 Days $20.00 |
This file contains hidden or 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
#pragma warning disable 1591 | |
//------------------------------------------------------------------------------ | |
// <auto-generated> | |
// This code was generated by a tool. | |
// Runtime Version:4.0.30319.42000 | |
// | |
// Changes to this file may cause incorrect behavior and will be lost if | |
// the code is regenerated. | |
// </auto-generated> | |
//------------------------------------------------------------------------------ |
This file contains hidden or 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
#pragma warning disable 1591 | |
//------------------------------------------------------------------------------ | |
// <auto-generated> | |
// This code was generated by a tool. | |
// Runtime Version:4.0.30319.42000 | |
// | |
// Changes to this file may cause incorrect behavior and will be lost if | |
// the code is regenerated. | |
// </auto-generated> | |
//------------------------------------------------------------------------------ |
This file contains hidden or 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
Unirest.setObjectMapper(new ObjectMapper() { | |
private Gson gson = new Gson(); | |
public <T> T readValue(String s, Class<T> aClass) { | |
try{ | |
return gson.fromJson(s, aClass); | |
}catch(Exception e){ | |
throw new RuntimeException(e); | |
} | |
} |
This file contains hidden or 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
public class KRestClient : RestClient | |
{ | |
public Int32 RequestRetryCount = 5; // Attempt Types | |
public Int32 BackoffRate = 100; // Milliseconds | |
public KRestClient(string baseUrl) : base(baseUrl) | |
{ | |
} | |
public override IRestResponse<T> Execute<T>(IRestRequest request) |
This file contains hidden or 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
select | |
part.num, | |
part.description, | |
SUM(tag.qty) as qoh, | |
SUM(tag.qtycommitted) as qtycmtd | |
from part | |
join tag on tag.partid = part.id | |
where part.activeflag = 0 | |
and part.id > 0 | |
group by 1,2 |
NewerOlder