
Tuesday, February 27, 2018
allowing smtp access to gmail for a GSuite account
The (admin of the domain or user?) would need to do the following:
Saturday, February 24, 2018
removing a recent audio file
Thursday, February 22, 2018
MAT types in OpenCV
| C1 | C2 | C3 | C4 | |
| CV_8U | 0 | 8 | 16 | 24 |
| CV_8S | 1 | 9 | 17 | 25 |
| CV_16U | 2 | 10 | 18 | 26 |
| CV_16S | 3 | 11 | 19 | 27 |
| CV_32S | 4 | 12 | 20 | 28 |
| CV_32F | 5 | 13 | 21 | 29 |
| CV_64F | 6 | 14 | 22 | 30 |
Wednesday, February 21, 2018
Sunday, February 11, 2018
easy way to save Octave figures as EPS
print -depsc test.eps
- prints current figure to test.eps - the c at the end indicates it will be in colour.
opencv and 3D
Looking at options for incorporating 3D data into opencv, and whether some other tool is better for that job -
export google charts as svg
Saw this post,
http://www.osmanoglu.org/computing/89-how-to-export-google-spreadsheet-charts-as-svg
but it doesn't seem to work that way any more.
Friday, February 09, 2018
using an old 1st generation iPad
How to install apps - from
https://apple.stackexchange.com/questions/135060/how-to-install-apps-which-require-a-newer-version-of-ios-on-a-1st-gen-ipad
1. On your old iPhone/iPad, go to Settings -> Store -> set Apps to Off.
2. Go onto your computer (it doesn't matter if it's a PC or a Mac) and open the iTunes app. Then go to the iTunes store and download all the apps you want to be on your iPad/iPhone.
3. If the iTunes on the computer and your iPad are both signed into the same Apple ID, and the iPad is connected to the internet, then go on your iPad/iPhone to App Store -> Purchased -> tap on an individual app you want to install.
4. You'll get a message that says "The current version requires iOS 6.1 or later, but you can download the last compatible version," just hit Download.
This method should at least allow you to have most apps on your outdated device. Most of them will work, but sometimes even once you have the app installed on your it still won't run correctly. That's just tough luck. But in my experience that's not too common; apps usually work just fine.
How to get ebooks on the ipad:
1. Using Amazon Kindle Store and Kindle App
2. Using direct links to pdfs, or email attachments - when opened in safari, they show a "Open in" button on the top. You can open pdf and epub in Freading, mobi in Kindle.
3. Using gutenberg.org
4. https://www.thebalance.com/places-to-get-free-kindle-books-1357954
5. https://www.mobileread.com/forums/ebooks.php?forumid=128
Thursday, February 08, 2018
converting csv files in google drive to google sheets
This stackoverflow answer seems to be good. Either download and re-upload after enabling "convert uploads" in Drive settings, or use an Apps script.
Wednesday, February 07, 2018
prevent emails from going to spam
For Windows Live and MSN Hotmail users:
For Google Gmail users:
For Yahoo! mail users:
For AOL mail users:
For Microsoft Outlook users:
Tuesday, February 06, 2018
signing out of google account on Android
This link has the details for Android 5.0+
On Android 5.0+, Settings -> Accounts -> Google -> Choose the account you wish to sign out of -> Menu with 3 dots on top right -> Remove account
On the LG Q6 running Android 8.1, there is a search field in settings where I can enter Accounts, and directly get listings of the Google accounts. Clicking on an account brings up a page with Remove account also listed.
creating a dashboard
Monday, February 05, 2018
New Google sites has support for custom urls with HTTPS
Looks like New Google Sites automatically provisions SSL certs after domain validation, but the cert takes 24 hours or so.
https://gsuiteupdates.
Friday, January 19, 2018
2G reception issue for refurbished mobile
Saturday, January 13, 2018
accessing archived emails from old CPanel server
Can you tell me how to copy the old emails from the old server before they shut it down?
Inside the cpbackups folder, there are the backups of each site. So, if you want the emails from sitename site for example, you can open the folder
/backup/cpbackup/weekly/sitename/homedir/mail
The archived emails will be in the archive subfolder. They are likely to be in the maildir format -
Wikipedia has a list of e-mail readers that can directly read e-mail in that format -
http://en.wikipedia.org/wiki/Maildir#Mail_readers
Friday, January 12, 2018
wavelab loudness normalization - recommended settings
Saturday, December 23, 2017
bulk deleting emails in horde
cd /home/username/mail
rm -rf cur
rm -rf new
Friday, December 22, 2017
some notes on rkhunter
1. I will now change the rkhunter configuration file so that the emails will come to me instead of coming to you. vim /etc/sysconfig/rkhunter
2. the hidden file warning message is about /etc/.brand which just says hostgator - it is just a branding file from hostgator. Totally harmless.
3. I will prevent ssh login without keys. That is, password-based ssh login using terminal will be disabled. This is a good security feature, since the ssh is routinely hit with brute force attacks.
4. It looks like rkhunter does not play nice with user-compiled or modified files. I will set up rkhunter to ignore all the currently available files, and only give warnings for new files. Basically by editing the whitelist, and running
sudo rkhunter --update
sudo rkhunter --propupd
https://www.linuxquestions.org/questions/linux-security-4/rkhunter-package-manager-fail-warnings-on-centos-5-running-whm-11-a-871791/
https://www.digitalocean.com/community/tutorials/how-to-use-rkhunter-to-guard-against-rootkits-on-an-ubuntu-vps
Sunday, December 17, 2017
AutoSSL feature of WHM
as root, as mentioned in the documentation.
So, no need of going through the painful process of WHM SSL certificate installation.
And if we want to redirect all users using http to https, we can use the htaccess file, as given here.


