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"> | |
| <meta name="google-site-verification" content="3dRpUi_nCRUylR6q1QmELb0AKrQNCdo17cBgOOSTmSc" /> | |
| <title>Progress Knight 2.0 - Preact/HTM Version</title> | |
| <link rel="shortcut icon" href="https://placehold.co/16x16/000000/FFFFFF?text=PK" /> | |
| <script type="importmap"> |
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
| import Vue from 'vue'; | |
| if (process.env.NODE_ENV === "development") { | |
| Vue.config.devtools = true; | |
| } else { | |
| Vue.config.devtools = false; | |
| } | |
| // import App from './App.vue' |
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
| // If data already existins in dbcontext tables it Returns Migration Builder Seed data in form of string containing initialers to modulBuilder.Entity | |
| #r "nuget:Microsoft.EntityFrameworkCore.SqlServer/5.0.1" | |
| #r "nuget:Microsoft.EntityFrameworkCore/5.0.1" | |
| using Microsoft.EntityFrameworkCore; | |
| using Microsoft.EntityFrameworkCore.SqlServer; | |
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; |
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
| DECLARE @tableName VARCHAR(200); | |
| DECLARE @columnName VARCHAR(200); | |
| DECLARE @nullable VARCHAR(50); | |
| DECLARE @datatype VARCHAR(50); | |
| DECLARE @nullableSign VARCHAR(10); | |
| DECLARE @columnType VARCHAR(200); | |
| DECLARE @maxlen INT; | |
| DECLARE @sType VARCHAR(50); | |
| DECLARE @sProperty VARCHAR(200); |
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
| if object_id('tempdb..#TempTableClassName') is not null | |
| drop table #TempTableClassName | |
| SELECT TOP 1 * | |
| INTO #TempTableClassName | |
| FROM table | |
| WHERE id = 1; | |
| declare @TempTable VARCHAR(255)= '#TempTableClassName%'; | |
| declare @tableName varchar(200) |
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
| import pandas as pd | |
| import random | |
| import numpy as np | |
| import simplejson | |
| import urllib | |
| import time | |
| from jinja2 import Template | |
| from itertools import combinations | |
| apikey = "YOUR KEY HERE" |
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
| #!/usr/bin/env python | |
| # filename: shrinkpdf | |
| # description: A Python wrapper for the gs command, to reduce the filesize of PDFs | |
| # fileversion: 0.2.1 | |
| # date: 20130506 | |
| # author: Dayo Adewunmi, Matthew Levandowski | |
| # email: [email protected] | |
| # license: GPLv3 | |
| # python version: 2.7.3 |
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 Function LatestFiles(ByRef MyPath As String, ByRef MyFileExtension as String) As Variant | |
| 'Declare the variables | |
| Dim MyFile As String | |
| Dim LatestFile As String | |
| Dim LatestDate As Date | |
| Dim LMD As Date | |
| Dim OldDate As Date | |
| Dim Now As Date | |
| Dim FileList() As Variant |
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
| USE [DBName] | |
| GO | |
| SET ANSI_NULLS ON | |
| GO | |
| SET QUOTED_IDENTIFIER ON | |
| GO | |
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
| import numpy as np | |
| from matplotlib import pyplot as plt | |
| import random | |
| import itertools | |
| # ground = [2, 5, 1, 3, 1, 2, 1, 7, 6] # data | |
| #ground = [2, 5, 1, 3, 1, 2, 1, 7, 6, 3, 1, 3] | |
| ground = [] | |
| solutions = [10, 17, 18, 0, 20, 20, 39, 42, 0, 0, 17, 25, |
NewerOlder