Category: NoteToSelf
-
How to find the Raspberry Pi model
Note to self: How to find the Raspberry Pi Model :
-
Quickly find that new Raspberry Pi’s address
Saw this the other day, and I wanted to post it, so that I can remember it. How to find a Raspberry Pi’s DHCP address:
-

vim: How to stop the tab annoyingness when you paste
This is a NoteToSelf. Often I paste into VI/VIM, and the tabs go crazy and fly across the screen, leaving the text starting in the middle of the line. Then next line is even further! I can never remember how fix the issue. To fix: :set paste
-
Note to self: cURL with data-urlencode for GET/QuerySting values
I know I would loose this if I didn’t blog it. With cURL, you can use “–data-urlencode” with query string params and a GET if you include the “-G” parameter. Of course you still have to escape things out, I just found it easer to add all the QueryString params separately. All the examples I…
-
My SSL/Certificate Cheatsheet
Whenever a certificate needs to be renewed, I always have to scramble to remember how to update/renew. I finally put a cheat sheet together. I decided I will do all cert related stuff form Linux. Here are some commands: To request a new csr with a new key: To request a new csr with an…
-
When using PowerShell to pull REST data from MS CRM, escape `$filter !
Note to self. When trying to filter a REST response in PowerShell, by using the “$filter” parameter in the url (as with MS CRM 2011), you must escape the “$” with “`$”. For example: Does not work: $url=”http://crmserver.company.com/Organization/xrmservices/2011/OrganizationData.svc/ContactSet$filter=StateCode/Value eq 0″ Works: $url=”http://crmserver.company.com/Organization/xrmservices/2011/OrganizationData.svc/ContactSet`$filter=StateCode/Value eq 0″ Gets me every time, and I can’t figure out why my…
-
Using Let’s Encrypt, cerbot-auto with Apache on CentOS 6
There are plenty of better documented examples out there, so this is more of a note to self. The name on the cert will be the first domain you list int he command above. All the other names will be part of the SAN cert. And to renew, cron this up: /opt/YourDir/certbot-auto renew
-
Grep to Remove Spaces and Comments (#)
Sometimes I just want to look at the content of a config file and not all the descriptions.
-
Thawte: The state name can not be abbreviated. Gets me every time.
Note to self: When generating a CSR for Thawte: The State Name in the CSR cannot be abbreviated Gets me every time.
-
Import Picture into AD with PowerShell
I know this is everywhere, so this is more a note for myself. How to upload pictures to AD via PowerShell:
