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
git clone git@github.com:aspnet/BugTracker.git | |
cd BugTracker/src/BugTracker | |
kpm restore | |
k kestrel |
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
-- DELETE OLD CONSTRAINTS | |
DECLARE @sql NVARCHAR(MAX) = N''; | |
SELECT @sql += N' | |
ALTER TABLE ' + QUOTENAME(OBJECT_SCHEMA_NAME(parent_object_id)) | |
+ '.' + QUOTENAME(OBJECT_NAME(parent_object_id)) + | |
' DROP CONSTRAINT ' + QUOTENAME(name) + ';' | |
FROM sys.key_constraints | |
WHERE type IN ('UQ', 'PK') AND OBJECT_SCHEMA_NAME(parent_object_id) = 'dbo' AND OBJECT_NAME(parent_object_id) = 'RO_tblRole2User'; | |
--PRINT @sql; |
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
-- | |
-- OCR selected documents to a folder | |
-- | |
on run | |
try | |
set input_items to choose file of type "com.adobe.pdf" with prompt "Choose input files:" with multiple selections allowed | |
set output_folder to choose folder with prompt "Choose output folder:" | |
tell application "Finder" to set output_folder_path to output_folder as text | |