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
| source 'https://rubygems.org' | |
| gem 'paperclip' | |
| gem 'aws-sdk' | |
| # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
| gem 'rails', '4.1.6' | |
| # Use sqlite3 as the database for Active Record | |
| gem 'sqlite3' | |
| # Use SCSS for stylesheets |
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
| private void ReportChanged(string siteName, string accessionNumbers, int radWhereReportStatus, bool isaddendum, string plaintext, string richtext) | |
| { | |
| Logger.Debug("Report {0} Site:{1} AccessionNumber: {2} Status: {3}", ReportEvent.Changed, siteName, accessionNumbers, (RadWhereReportStatus)radWhereReportStatus); | |
| if (PowerscribeStatus.UnknownOrPending == (PowerscribeStatus)radWhereReportStatus) | |
| return; | |
| Hub.Publish(HubEvents.DictationSystem.PSInterop.ReportChanged); | |
| } |
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
| namespace Powerscribe.Client | |
| { | |
| public enum PowerscribeStatus | |
| { | |
| /// <summary> | |
| /// Specifies that a report was created and then discarded. | |
| /// </summary> | |
| Discarded = -1, | |
| /// <summary> |
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
| public static void KillProcesses(string processName, bool currentUserOnly, Process excludeMe = null) | |
| { | |
| var processes = new ManagementObjectSearcher(string.Format("SELECT * FROM Win32_Process WHERE Name='{0}'", processName)).Get(); | |
| foreach (var o in processes) | |
| { | |
| var process = (ManagementObject)o; | |
| var processId = int.Parse(process["ProcessId"].ToString()); | |
| if (process["ExecutablePath"] == null) continue; | |
| if (excludeMe != null && processId == excludeMe.Id) continue; | |
| var ownerInfo = new object[2]; |
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
| using System; | |
| using System.Linq; | |
| using DicomObjects; | |
| using DicomObjects.Enums; | |
| namespace Dicom | |
| { | |
| public class DicomQueryManager : IDicomQueryManager | |
| { | |
| public string CurrentServer { get; set; } |
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
| Write "Installing NServiceBus License" | |
| $content = [xml]"<?xml version=`"1.0`" encoding=`"utf-8`"?> | |
| <license id=`"MyId`" expiration=`"2114-06-11T04:13:03.9080905`" type=`"Standard`" ProductName=`"Royalty Free Platform License`" WorkerThreads=`"Max`" LicenseVersion=`"5.0`" MaxMessageThroughputPerSecond=`"Max`" AllowedNumberOfWorkerNodes=`"Max`" UpgradeProtectionExpiration=`"2015-06-11`" Applications=`"ServiceInsight;NServiceBus;ServicePulse;ServiceMatrix;ServiceControl;`" LicenseType=`"Royalty Free Platform License`" Edition=`"Enterprise `" Quantity=`"2`" Perpetual=`"`"> | |
| <name>MyName</name> | |
| <Signature xmlns=`"http://www.w3.org/2000/09/xmldsig#`"> | |
| <SignedInfo> | |
| <CanonicalizationMethod Algorithm=`"http://www.w3.org/TR/2001/REC-xml-c14n-20010315`" /> | |
| <SignatureMethod Algorithm=`"http://www.w3.org/2000/09/xmldsig#rsa-sha1`" /> | |
| <Reference URI=`"`"> |
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
| SET ANSI_NULLS ON | |
| GO | |
| SET QUOTED_IDENTIFIER ON | |
| GO | |
| SET NOCOUNT ON | |
| GO | |
| IF (OBJECT_ID('RebuildIndexes') IS NOT NULL) | |
| DROP PROCEDURE RebuildIndexes | |
| GO |
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
| 3_website push | |
| Deploying _site/* to blog.rangerrom.com | |
| Calculating diff //Users/romikoderbynew/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/openssl/buffering.rb:174:in `sysread_nonblock': end of file reached (EOFError) | |
| from /Users/romikoderbynew/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/openssl/buffering.rb:174:in `read_nonblock' | |
| from /Users/romikoderbynew/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/net/protocol.rb:141:in `rbuf_fill' | |
| from /Users/romikoderbynew/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/net/protocol.rb:122:in `readuntil' | |
| from /Users/romikoderbynew/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/net/protocol.rb:132:in `readline' | |
| from /Users/romikoderbynew/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/net/http.rb:2563:in `read_status_line' | |
| from /Users/romikoderbynew/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/net/http.rb:2552:in `read_new' | |
| from /Users/romikoderbynew/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/net/http.rb:1320:in `block in transport_request' |
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
| using System.Security.Permissions; | |
| using System.Web.Mvc; | |
| using MyStory.Logic.Security; | |
| using MyStory.Web.Models; | |
| using MyStory.Web.Models.Clients; | |
| namespace MyStory.Web.Areas.Agency.Controllers | |
| { | |
| public partial class ClientController | |
| { |
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
| private void DeleteLatestDuplicateReferrals(IList<Node<Referral>> duplicateReferrals) | |
| { | |
| var theReferralsToDelete = from r in duplicateReferrals | |
| group r by r.Data.UniqueId | |
| into g | |
| where g.Count() > 1 | |
| select new | |
| { | |
| UniqueId = g.Key, | |
| DateIntiated = (from r in g select r.Data.DateInitiatedUtc).Max(), |