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
#set-executionpolicy unrestricted | |
$wshell = New-Object -ComObject wscript.shell; | |
$wshell.AppActivate('title of the application window') | |
Sleep 1 | |
# stopping Bit service | |
$nbStopCommand1 = {net stop bits} | |
$nbStopCommand2 = {net stop wuauserv} |
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
#set-executionpolicy unrestricted | |
$wshell = New-Object -ComObject wscript.shell; | |
$wshell.AppActivate('title of the application window') | |
Sleep 1 | |
# stopping Bit service | |
$nbStopCommand1 = {net stop bits} | |
$nbStopCommand2 = {net stop wuauserv} |
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
$schema = Yii::app()->db->schema; | |
$builder = $schema->commandBuilder; | |
$command = $builder->createFindCommand($schema->getTable('pos_patient_info'), $criteria); | |
$results = $command->text; | |
var_dump($results); | |
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
HTML | |
========================================================= | |
<div class="my-element"> | |
Hey, this is a blue rectangle with 5px rounded corners on all sides. | |
</a> | |
SASS/CSS | |
========================================================= |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
test |
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 * | |
INTO #Temp2 | |
FROM | |
(Select aa.OID, ROW_NUMBER() | |
OVER (ORDER BY aa.OID) AS RowN | |
FROM VCG_PersonToTeam_Grid_View aa | |
inner join CG_UserLog (nolock) bb | |
on aa.PersonMemberOfTeams = bb.UserID | |
Where aa.GCRecord is null AND aa.TeamName='E-mail Team' and bb.UserLoggedIn=1 )a |
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
// Get list of properties for an object | |
var dueDateControl = document.querySelectorAll('#DynamicLayoutControl1_DueDate_dtc_24_DueDate_Date_I'); | |
console.log(Object.getOwnPropertyNames(GetDateTimeControl("DueDate"))); | |
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
118 All Active Incidents 0 0 All active incidents. SDInterfaces.Entities.IIncidentRequest 0 1 1 1 1 0 0 ALL Global Views 1 |
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
/* Logically delete the report */ | |
UPDATE ChangeGear.dbo.CG_ReportEntity | |
SET GCRecord = 12345 | |
WHERE NAME = 'New Pie Chart' | |
/* Check the GCRecord field for the report record*/ | |
/* If it's null, then that means it's not deleted */ | |
/* If it's a numeric value, then that mean it is deleted */ | |
SELECT GCRecord |