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; | |
using System.IO; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
using System.Xml; | |
using System.Xml.Linq; | |
namespace GithubWikiDoc | |
{ |
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 | |
#this is a comment-the first line sets bash as the shell script | |
rm -rf ~/.Trash/* | |
exit 0 |
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
--'sp_rename ''' + obj.name + ''', ''FK_' + tab1.name + '_' + tab2.name + '_' + col2.name + '''', | |
SELECT | |
'sp_rename ''' + obj.name + ''', ''FK_' + tab1.name + '_' + tab2.name + '_' + col2.name + '''' AS [PROC], | |
'FK_' + tab1.name + '_' + tab2.name + '_' + col2.name + '''' AS EXPECTED_NAME, | |
obj.name AS FK_NAME, | |
tab1.name AS [table], | |
tab2.name AS [referenced_table], | |
col2.name AS [referenced_column] | |
FROM sys.foreign_key_columns fkc | |
INNER JOIN sys.objects obj |
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 | |
'sp_rename ''' + OBJECT_NAME(OBJECT_ID) + ''', ''PK_' + OBJECT_NAME(parent_object_id) + '''' AS [PROC], | |
OBJECT_NAME(OBJECT_ID) AS NameofConstraint, | |
OBJECT_NAME(parent_object_id) AS TableName, | |
type_desc AS ConstraintType | |
FROM sys.objects | |
WHERE type_desc LIKE 'PRIMARY_KEY_CONSTRAINT' AND OBJECT_NAME(parent_object_id) <> 'sysdiagrams' | |
AND OBJECT_NAME(OBJECT_ID) <> 'PK_' + OBJECT_NAME(parent_object_id) |
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 auth = { | |
user: "USERNAME", | |
pass: "PASSWORD" | |
}; | |
function ParallelRunner (list, func, runners) { | |
function createSlots(runners) { | |
var slots = []; | |
for (var i = 0; i < runners; i++) { | |
slots.push( objReturner() ); |
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
<dict> | |
<key>NSCalendarsUsageDescription</key> | |
<string>$(PRODUCT_NAME) calendar events</string> | |
<key>NSRemindersUsageDescription</key> | |
<string>$(PRODUCT_NAME) reminder use</string> | |
<key>NSCameraUsageDescription</key> | |
<string>This app requires to access your photo library to show image on profile and send via chat</string> | |
<key>NSMicrophoneUsageDescription</key> | |
<string>This app requires to access your microphone to record video with your voice send via chat</string> | |
<key>NSPhotoLibraryUsageDescription</key> |