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
SELECT DISTINCT | |
o.name AS Object_Name, | |
o.type_desc | |
FROM sys.sql_modules m | |
INNER JOIN | |
sys.objects o | |
ON m.object_id = o.object_id | |
WHERE m.definition Like '%INSERT%'; |
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
import datetime | |
t1 = datetime.time(22, 0, 0) | |
t2 = datetime.time(21, 0, 0) | |
if t1>t2: | |
print("t1 is greater than t2") # this will be printed as t1 is gt than t2 |
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
aws ec2 describe-security-groups --query 'SecurityGroups[*].GroupId' --output text | tr '\t' '\n' |
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
<div class="hero-section--how_works-scheme"> | |
<button class="button button-switch active"> | |
<span class="switch-label switch-label--on">with basement</span> | |
<span class="switch-label switch-label--off"">without basement</span> | |
<span class="switch-handle"> | |
<svg class="switch-handle__icon" viewBox="0 0 46 46" fill="none" xmlns="http://www.w3.org/2000/svg"> | |
<circle opacity="0.6" cx="22.6875" cy="22.8125" r="22.6875" fill="#ffffff"/> | |
<path d="M14.5 18.7916H30.7273V28.125H14.5V18.7916Z" fill="#2CC7C4"/> | |
<rect x="19.167" y="18.7916" width="7" height="7" fill="#AFEBEA"/> | |
<rect x="14.5" y="30.325" width="16.3333" height="4.66667" fill="#2CC7C4"/> |
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
######################### | |
# App Development 2017 | |
# | |
# Section: Snippets | |
# Author: Nstone1013 | |
# AuthorName: Nick Stone | |
# Company: Contacted, NSD LLC., | |
# Ascention, Kansas City Consultant | |
# AuthorPage: http://github.com/nstone1012 | |
# Gist URI: http://gist.github.com/ |
NewerOlder