Skip to content

Instantly share code, notes, and snippets.

View isummation's full-sized avatar

iSummation INC isummation

View GitHub Profile
<cfscript>
variables.functions = [];
variables.functionList = getFunctionList();
variables.functionList.each((key, value) => {
var funInfo = getFunctionData(key);
if(funInfo.description contains 'deprecated') {
variables.functions.append({
name: key,
description: funInfo.description
})
<cfsavecontent variable="htmlcontent">
<!DOCTYPE html [ <!ENTITY nbsp "&#160;">
<!ENTITY reg "&#174;"> <!ENTITY uuml "&#220;">
<!ENTITY auml "&#196;"> <!ENTITY ouml "&#214;">
<!ENTITY rsquo "&#146;">]>
<body>
<table border="1" cellpadding="3" cellspacing="1" class="normalTable">
<thead>
<tr>
<th>First Name</th>
@isummation
isummation / backup_all_database.sql
Last active July 12, 2019 06:42
Create script to take backup for all database
SELECT
'BACKUP DATABASE [' + name + '] TO DISK = ''C:\sqlbackup\' + name + '.bak'''
FROM sys.databases ;
aws cloudformation deploy --template-file packaged.yaml --stack-name pdfgenerator --capabilities CAPABILITY_IAM
sam package --template-file template.yaml --s3-bucket [S3-BUCKET]--output-template-file packaged.yaml
sam local start-api
sam --version
pip install aws-sam-cli
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.css" />
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<title>Google Map</title>
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:GetBucketLocation",
"s3:ListAllMyBuckets"