CodeChi Logo

Code Chi

Sharing the power of code.

Menu
  • Home
  • Cheat Sheets
    • GIT Commands Cheat Sheet
    • Linux Commands Cheat Sheet
    • Nginx Cheat Sheet
    • Windows Command Line Cheat Sheet
    • Handy MySQL Commands
  • Dev Tools
    • Date to Millisecond Calculators
  • JavaScript
  • DevOps
  • Mac
  • Frameworks
    • AngularJS
    • Grails
    • WordPress
  • published inJune 24, 2020

    How to Add a Root Certificate to the Java Truststore on Mac OS 10.15 Catalina

    When developing a java web app on Mac OS Catalina, you may have a service that makes an API request to a secure URL. If you don’t have that secure (https) URL’s root certificate in your Java truststore, the call will fail with this error: The solution is to put that secure URL’s host’s root more

    wrote byColin
    category inDevOps
    0
  • published inNovember 25, 2019

    Compilation of links to software trends data

    A list of of other lists that might help you stay up do date on software trends.

    wrote byColin
    category inFrameworks, JavaScript, Linux, Windows
    0
  • published inSeptember 10, 2019

    MacBook Pro Thunderbolt 2 port detects monitor but display is dark

    One of my 2015 Mac Book Pro’s Thunderbolt2 ports was detecting my monitor, but not sending it a video signal. I tried all the usual suggestions to fix this: reset NVRAM, reset SMC… But the issue turned out to be caused by a bent pin on the bottom of the Thunderbolt 2 port. I had more

    wrote byColin
    category inMac
    0
  • published inOctober 15, 2018

    Delay a Grails controller’s response

    Sometimes, for testing or development, you need to slow down an ajax response from the server. In the Grails framework, to delay a controller’s response, do the following: In the action you want to delay, insert: Thread.sleep(5000) as in: def index() { Thread.sleep(5000) … do some work… render … some response } where 5000 is more

    wrote byColin
    category inFrameworks, Grails
    0
  • published inOctober 15, 2018

    Nginx Cheat Sheet

    Test and restart an nginx configuration change The reload will not happen if the test fails. sudo nginx -t && service nginx reload or, on a bitnami image: sudo nginx -t && sudo /opt/bitnami/ctlscript.sh restart nginx   Redirect all subdomains to the top level domain ie: http://www.mydomain.com -> http://mydomain.com In your DNS management system, you’ll more

    wrote byColin
    category inCheat Sheets
    0

Posts navigation

1 2 3 4 5 Next

Recent Comments

  • Colin on Date to Millisecond Calculators
  • Carlos Quiñones on Date to Millisecond Calculators
  • Leo on macbook pro turns on but screen stays black — my solution
Contact Code Chi - Privacy Policy - Terms of Service
Code Chi Copyright © 2009 - 2021 All Rights Reserved.

Go Top