Gregory Varghese
  • About Me
  • Labs
  • GitHub
  • My Work Setup
  • My Photography Blog
  • Contact Me
  • About Me
  • Labs
  • GitHub
  • My Work Setup
  • My Photography Blog
  • Contact Me
  • Categories
  • All
  • Administration
  • Solutions
  • Troubleshooting
  • Tips and Tricks
  • Development
6th February 2016
AdministrationDevelopmentGithubLinuxSSHTips and TricksUtilities

Copy File Context to Clipboard via Command Line, Git Bash (Mingw64), or Terminal

I've been spending more timeย switching from SVN to Git and learning the command line options. I'm finding a lot of the Mac Git terminal commands I run aren't the same in Git Bash (Mingw64). One of the commands I use is the pbcopy command to copy the ssh key to the clipboard to paste into Github and Bitbucket accounts. I'm starting to use it more as I am learningย managing Linuxย servers and adding my key to login. I'm adding it here as a cheatsheet for myself but I thought others may find it useful. On Windows, you can run this command to copy your ssh key to the clipboard:

Continue Reading
0
289
18th January 2016
AdministrationCloudDevelopmentDigital OceanDropletJavascriptJavaScriptLinuxMacSecuritySolutionsTips and TricksToolsTroubleshootingWeb Development

How to Copy and Paste into the Digital Ocean VNC Console

I recently signed up for Digital Ocean to test droplets for my development and linux management testing. I was securing the server andย setup fail2ban, disabled the rootย login, and created a user account but forgot to change the user name from root to the user name I selected in my SSH client profile.ย I ended up locking myself out of the server and had to resort to logging into theย adminย panelย on Digital Ocean's website and use their browser embedded VNC client to restore my access. I quickly discovered that one of the downsides of using this panel is that you can't copy and paste commands. Luckily there's a workaround and you can use the browser console to do sendkeys through Javascript.

Bring up the console in the browser developer tools. Here's a cheat sheet for keyboard shortcuts:

Continue Reading
18
324
14th October 2015
AdministrationDevelopmentIISProgrammingSitecoreSitecoreSolutionsTroubleshootingWeb Development

Sitecore 8 Install Error: “The name you entered is not unique.”

Continue Reading
0
241
9th September 2015
AdministrationHackSolutionsTroubleshootingWordpress

How to fix “hacked by Moroccanwolf” WordPress site

A client of mine had their wordpress hacked and when you would load the site, it would simply display a message that said "hacked by Moroccanwolf". I did some digging and luckily it wasn't a major hack and they didn't mess with the posts or other settings as a lot of the hacks do.

Continue Reading
1
205
23rd July 2015
AdministrationMacOutlook 2011SolutionsTroubleshooting

When updating Office 2011 for Mac, you are prompted that you must close “Microsoft Database Daemon” and “SyncServicesAgent”

If you're trying to update your install of Microsoft Office 2011 for Mac, you may get the following message: "These applications must be closed before the software can be installed: Microsoft Database Daemon SyncServicesAgent Close these applications and try again" If you try to kill the apps using activity monitor, you'll find they keep getting restarted. The only way I found that worked to stop them is by following the instructions below.

Continue Reading
0
275
15th June 2015
AdministrationApplicationsRDCRemote DesktopSoftwareTips and TricksWindowsWindows ServerWindows Server 2008Windows Server 2012

Windows Server 2008/2012 Blue Screen after Login – No Desktop

One of my teammates was working on a Windows server and needed to access IIS to complete a Sitecore upgrade on the machine. After logging in, he was reporting that he only saw a blue screen with no user interface. I logged in under the administrator account and ran into the same thing. Here's how I was able to reset:

Continue Reading
0
205
10th May 2015
PeerblockSolutionsSteamTips and TricksToolsTroubleshootingWindows 7Windows 8

Steam is having trouble connecting to the Steam servers.

If youย use Steam and ย suddenly find yourself unable to connect receiving the error "Steam is having trouble connecting to the Steam servers.", check and see if you have Peerblock installed and running. I wasted a lot of time trying to figure out why the connections wouldn't go through and finally went through apps running in the background one by one, until I closed Peerblock and discoveredย Steam suddenly started working. If youย would like to continue to use Steam while Peerblock is open, follow these instructions for a workaround: 1. Start PeerBlock 2. Click List Manager 3. Click Add 4. Put something in the description like steam-allow 5. click add url and paste this: "http://list.iblocklist.com/?list=steam" (no quotes) 6. Choose type: allow 7. Click Ok then close the List Manager. This will download a list that adds exceptions for Steam and should let you connect with no issues.

Continue Reading
1
242
8th May 2015
ApplicationsDevelopmentProgrammingSoftwareSolutionsSyncfusionTips and TricksToolsTroubleshootingUtilitiesVisual Studio 2013Windows

Visual Studio 2013 package did not load correctly

Continue Reading
2
238
6th May 2015
ApplicationsASP.NETDapperGithubMVCOpen SourceORMProgrammingSoftwareToolsUtilitiesWeb DevelopmentWindowsWinForms

ASP.NET MVC Model Generator

In making the switch to ASP.NET MVC, I've moved away from using my old Data Access Layer that I've used for years and have opted to use Dapper as my ORM of choice in the quest for optimal performance. My DAL was actually pretty optimized for WinForms and WebForms (using straight SQL Queries and SQL parameters) but mapping it to models wasn't something I had in mind when I created it. I'm finding Dapper takes some getting used too but it is still pretty fast. The downside is that writing the code for Models to wire it up is proving to be a little tedious. To that effect, I wrote a little application that has helped me generate the models from a database dynamically. It's in it's infancy stages and something I cobbled together in less than 8 hours but it works. I'll add more features too as time goes on if there's enough interest or to satisfy my own needs. In the meantime, I'm open sourcing the project as it may help others and I'd love to see it become something grander if others are willing to contribute to it. There's also some useful bits of code that others may find useful to reference like dynamically reading fields from a database, pluralization/singularization of words, amongst others. You can find the repository on Github: https://github.com/gregvarghese/MVCModelGenerator

Continue Reading
2
282
28th April 2015
JavaScriptProgramming

How to Get Browser Name and Version via JavaScript

Today I ran into a strange issue where Firefox version 28 and below rendered style widths different than Firefox 29 and above. Firefox 29 and above appear to have fixed the issue and render sizes to match Chrome/IE8+/Opera/Safari. Unfortunately, as old as Firefox 28 is, our client's legal review team is stuck on that version as IT refuses to let them upgrade. As such, we needed to add a kludge fix to the site to add a style to fix the issue for those running older Firefox versions. JQuery removed the version support from version 1.9 so here's a handy script that will allow you to detect the browser and version without any extra dependencies.

Continue Reading
9
295
Page 6 of 10
Newer Posts
  • 1
  • …
  • 5
  • 6
  • 7
  • …
  • 10
Older Posts

Tags

.NET (4) Administration (24) AI (3) Applications (13) ASP.NET (8) ASP.NET MVC (2) C# (6) Caution (4) Debug (6) Development (23) digital ocean (2) Errors (9) ESET (3) Excel (2) Fix (22) High CPU Usage (2) IIS (3) Javascript (5) jQuery (4) laravel (7) linux (6) Mac (17) MAMP (3) Microsoft (5) NTFS (2) Open Source (3) Outlook (2) Outlook 2011 (4) Photography (2) php (4) Programming (9) review (2) Sitecore (2) Software (7) Solutions (43) SQL (4) SSL (3) Tips (35) Tools (5) Troubleshooting (27) Useful (22) Utilties (8) Windows (14) Windows 7 (4) Windows Server (2)

Categories

  • Administration 66
    • Caution 3
    • Cloud 8
      • Cloudflare 1
      • Digital Ocean 6
        • Droplet 5
      • Namecheap 1
    • Hardware 4
      • Drobo 3
    • IIS 2
    • Linux 9
      • Apache 1
      • SSH 7
        • Terminal 4
      • Ubuntu 16.04 1
    • Mac 14
      • Software 5
        • Alfred 1
        • MacFusion 1
        • MAMP 3
        • pCloud 1
        • PHPStorm 1
      • Terminal 9
        • bun.sh 1
    • Review 1
    • Security 6
      • ESET 4
      • Firewall 1
    • SQL 3
      • 2008 1
      • DTSX 1
      • mySQL 1
    • Stupid Tales 2
    • Windows 46
      • Applications 16
      • Malware 2
      • NTFS 2
      • PowerShell 2
      • Software 21
        • Excel 3
        • Outlook 1
        • Peerblock 1
        • Remote Desktop 1
          • RDC 1
        • SourceTree 1
        • Steam 1
        • Synergy 1
        • Visio 1
        • Visual Studio 2013 1
        • Word 1
        • Wordpress 2
          • Hack 2
      • Tips and Tricks 35
      • Tools 23
      • Utilities 19
      • Windows 10 2
      • Windows 7 9
      • Windows 8 4
      • Windows Server 3
        • Windows Server 2008 2
        • Windows Server 2012 2
  • Body Hacking 1
    • Diet 1
    • Soylent 1
  • Development 35
    • AI 3
    • Bitbucket 3
      • Pipelines 3
    • c# 2
    • CouchDB 1
    • Github 3
    • Gitlab 2
    • Open Source 4
    • ORM 1
      • Dapper 1
    • PHP 8
      • Laravel 8
        • Jigsaw 1
    • PHPStorm 2
    • Sitecore 2
    • SourceTree 1
    • Syncfusion 1
  • Mac 13
    • iCloud 1
    • Outlook 2011 2
    • Safari 1
  • Photography 3
    • Food 1
    • Rockstars 1
    • Uproar Festival 2012 1
    • Wolves 1
  • Products 3
    • Backblaze B2 1
    • Reviews 2
  • Programming 32
    • ASP.NET 7
      • MVC 1
    • AWS 1
      • Rekognition 1
    • C# 3
    • Gatsby 1
    • Javascript 2
    • jQuery 3
      • Fancybox 1
    • MonoTouch 1
    • PHP 7
      • Laravel 7
        • Tinker 1
    • Regex 1
    • Sitecore 2
    • SQL 1
    • SSL 2
    • VBA 2
      • Microsoft Word 1
    • Web Development 10
      • JavaScript 2
    • WinForms 2
  • Raspberry Pi 1
  • Recipe 1
  • Self Experimentation 1
  • Troubleshooting 46
    • Solutions 45
  • Uncategorized 11

Archives

  • May 2025 (1)
  • August 2024 (1)
  • July 2024 (3)
  • March 2024 (1)
  • January 2024 (1)
  • September 2023 (2)
  • March 2023 (2)
  • January 2023 (1)
  • November 2022 (1)
  • August 2022 (1)
  • January 2022 (1)
  • October 2021 (1)
  • January 2021 (1)
  • July 2020 (1)
  • May 2020 (1)
  • April 2020 (1)
  • February 2020 (1)
  • September 2019 (1)
  • August 2019 (3)
  • July 2019 (1)
  • June 2019 (1)
  • May 2019 (4)
  • October 2018 (1)
  • July 2018 (1)
  • May 2018 (1)
  • April 2018 (2)
  • November 2017 (1)
  • October 2017 (1)
  • June 2017 (1)
  • May 2017 (1)
  • November 2016 (1)
  • October 2016 (2)
  • September 2016 (1)
  • June 2016 (2)
  • May 2016 (4)
  • February 2016 (1)
  • January 2016 (1)
  • October 2015 (1)
  • September 2015 (1)
  • July 2015 (1)
  • June 2015 (1)
  • May 2015 (3)
  • April 2015 (1)
  • March 2015 (1)
  • February 2015 (1)
  • July 2014 (1)
  • June 2014 (1)
  • May 2014 (1)
  • December 2013 (2)
  • September 2013 (1)
  • July 2013 (1)
  • May 2013 (2)
  • March 2013 (2)
  • February 2013 (1)
  • September 2012 (1)
  • August 2012 (4)
  • July 2012 (1)
  • March 2012 (1)
  • November 2011 (1)
  • September 2011 (4)
  • July 2011 (3)
  • June 2011 (2)
  • February 2011 (1)
  • August 2010 (1)
  • May 2010 (1)
  • October 2007 (1)

Continue Reading
Gregory Varghese

Recent Posts

  • How to Extract SSL Certificates from a PFX File on macOS
  • Supercharge Your Laravel Development and Get AI to Understand Your Models
  • How to Take Ownership of Files and Folders Using PowerShell
  • How to add case insensitive where in Laravel
  • How to Move Files by Partial File Name to New Directory on Mac using a shell script

Copyright © Gregory Varghese. 2025 • All rights reserved.

Published with WordPress.