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
/* | |
CHECK FOR OBJECTS IN MS SQL SERVER | |
Examples of how to check for existing objects in SQL Server. | |
Use them before you drop/create/modify to avoid errors. | |
*/ | |
--Column Check | |
--Using INFORMATION_SCHEMA.COLUMNS | |
IF NOT EXISTS(SELECT * FROM INFORMATION_SCHEMA.COLUMNS |
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
# install nodejs | |
# run npm i -g lighthouse | |
# open powershell to folder where you saved this file | |
# use like: | |
# .testsite mycogen.com | |
Param ( | |
$url | |
) | |
$timestamp = Get-Date -Format yyyymmdd-hhmmss |
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
using System; | |
using System.Collections.Generic; | |
//tested using Aspose.Pdf 18.8.0 | |
using Aspose.Pdf; | |
using Aspose.Pdf.Drawing; | |
namespace Dirq.DocBuilder.Rendering | |
{ | |
public static class PrinterMarks | |
{ |
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
#set( $className = "$NAME.substring(0,1).toLowerCase()$NAME.substring(1)" ) | |
/** | |
* Created by ${USER} on ${DATE}. | |
*/ | |
var ${className} = (function () { | |
'use strict'; | |
var self = {}, | |
debug = true; |
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 app = (function () | |
{ | |
'use strict'; | |
var self = {}, | |
debug = true; | |
function log(msg) | |
{ | |
if (debug && console && console.log) |
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
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
var FORMAT_ONELINE = 'One-line'; | |
var FORMAT_MULTILINE = 'Multi-line'; | |
var FORMAT_PRETTY = 'Pretty'; | |
var LANGUAGE_JS = 'JavaScript'; | |
var LANGUAGE_PYTHON = 'Python'; |