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
use my-database | |
go | |
declare @tableList table (Id int not null primary key identity, DatabaseName varchar(50), SchemaName varchar(50), TableName varchar(50), TableDescription varchar(max)) | |
-- #### CONFIGURATION: | |
-- Which tables to generate the markdown for? | |
insert into @tableList (DatabaseName, SchemaName, TableName, TableDescription) values | |
('my-database', 'dbo', 'Entity', ''), |
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
use varis_p | |
go | |
declare | |
@table varchar(50) = 'dbo.SomeTable' | |
select md from ( | |
-- Row 1 - Headers | |
select | |
-2 as colid, |
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
{ | |
"basics": { | |
"name": "Adam Plocher", | |
"picture": "https://avatars0.githubusercontent.com/u/1132447?v=4", | |
"label": "Software Developer at Varis LLC", | |
"headline": "A motivated and professional software engineer with over 15 years of experience in the industry", | |
"summary": "Experienced full-stack developer with an appreciation for design patterns.", | |
"website": "http://blog.bitcollectors.com/adam", | |
"yearsOfExperience": 19, | |
"username": "aplocher", |
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
@echo off | |
net file > NUL 2>&1 | |
if not [%ERRORLEVEL%]==[0] ( | |
echo ERROR - RUN AS ADMIN | |
echo. | |
goto :done | |
) | |
echo Enter the path to the CMDER folder... |
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; | |
namespace ConsoleApp3 | |
{ | |
// This is a sample Console App written in C# / .NET Core (but should work with .NET Framework). | |
// This will flatten an array structure, recursively, down to the generic type specified (or throw an exception if the input is bad) | |
class Program | |
{ |
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
M104 S0 ; turn off extruder | |
M140 S0 ; turn off bed | |
G91 ; relative movement | |
G1 F150 ; slow Z rate | |
G1 Z10 ; Z up 15mm | |
G1 X3 ; X 3mm | |
G1 Y3 ; Y 3mm | |
G90 ; back to absolute movement | |
G1 Y200 F1000 | |
M84 ; disable motors |
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
@echo off | |
setlocal | |
:: <config> | |
:: CONFIGURATION STUFF BELOW | |
:: Base folder where the new sub-folders will be created. Do NOT include a trailing slash [eg, c:\temp is ok, but not c:\temp\] | |
set "baseDir=C:\TEMPOUTPUT" | |
:: The second destination to recieve a copy of these files | |
set "baseDir2=C:\TEMPOUTPUT2" |
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
#!/usr/bin/python | |
# | |
# usage: clapper.py [-h] [--on | --off] | |
# | |
# With no arguments, this will run continuously and listen for clap noises to | |
# trigger an RF power plug to turn on or off (aka The Clapper). Can | |
# alternatively be used to manually control a power plug with arguments | |
# | |
# optional arguments: | |
# -h, --help show this help message and exit |
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
$ErrorActionPreference = "Stop" | |
$client = new-object System.Net.WebClient | |
# Reset vagrant password so it's not expired | |
([adsi]"WinNT://vagrant-2012-r2/vagrant").SetPassword("P@55w0rd!") | |
# Setup UAC wrapper ;( | |
if(!(Test-Path -Path "C:\uacts_x64.zip")) { | |
Write-Output "Setting up UAC wrapper" | |
$client.DownloadFile("http://www.itknowledge24.com/files/uacts_x64.zip", "C:\uacts_x64.zip") |
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
#!/bin/bash | |
# play YUV444 FULL HD file | |
gst-launch-1.0 -v filesrc location=size_1920x1080.yuv ! \ | |
videoparse width=1920 height=1080 framerate=25/1 format=GST_VIDEO_FORMAT_Y444 ! \ | |
videoconvert ! \ | |
autovideosink | |
# play YUV422 FULL HD file | |
gst-launch-1.0 -v filesrc location=size_1920x1080.yuv ! \ |
NewerOlder