Thursday, April 02, 2020

Install git-lfs in MacOS

Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.

1. Download git-lfs from https://git-lfs.github.com/
2. Extract tarball: $tar zxvf git-lfs-darwin-amd64-v2.10.0.tar.gz 
3. Run install script: $sudo ./install.sh
4. Allow git-lfs app from Menu > System Preferences > Security & Privacy > allow git-lfs
5. Intsall git-lfs from git: $git lfs install

Tuesday, March 31, 2020

Google Search API in Python 3

[image source: https://towardsdatascience.com/current-google-search-packages-using-python-3-7-a-simple-tutorial-3606e459e0d4]
Install the Google package in python:
pip install google

Code:

try :
        from googlesearch import search
except ImportError:
        print("No Module named 'google' Found")

count = 0

for i in search(query="devharsh", tld='co.in', lang='en'):
        count += 1
        print(i)
        if(count > 20):
                break


Output:

(base) devharsh@Devharshs-MBP Downloads % python google_search.py
http://devharshinfotech.com/
http://devharshinfotech.com/aboutus.html
http://devharshinfotech.com/services.html
http://devharshinfotech.com/banking.html
http://devharshinfotech.com/clients.html
https://www.linkedin.com/company/devharsh-infotech-pvt-ltd-
https://www.facebook.com/devharshinfotech/
https://www.glassdoor.com/Overview/Working-at-Devharsh-Infotech-EI_IE1489739.11,28.htm
https://www.zaubacorp.com/company/DEVHARSH-INFOTECH-PRIVATE-LIMITED/U30007MH2004PTC146993
https://www.devharshinfotech.co.in/
https://www.justdial.com/Mumbai/Devharsh-Infotech-Pvt-Ltd-Near-Jaswanti-Landmark-Vikhroli-West/022PXX22-XX22-180816132003-K8B9_BZDET
https://www.indeed.co.in/Devharsh-Infotech-Pvt-Ltd,-Vikroli,-West-jobs-in-Vikhroli,-Mumbai,-Maharashtra
https://www.indiamart.com/luckyforms/profile.html
https://www.dnb.com/business-directory/company-profiles.devharsh_infotech_private_limited.4573fff3e216bfdf56a77b57d67fd683.html
https://panjiva.com/Devharsh-Infotech-Pvt-Ltd/30939713
https://www.fundoodata.com/companies-detail/Devharsh-Infotech-Pvt-Ltd/101820.html
https://www.zoominfo.com/c/devharsh-infotech-limited/358353372
https://github.com/devharsh
https://www.indiamart.com/devharsh-infotech-ltd/
https://hamariweb.com/names/hindu/hindi/boy/devharsh-meaning_25329
http://www.babynology.com/name/devharsh-m.html

Thursday, December 12, 2019

Install git on NetBSD 8.1

I am running NetBSD 8.1 on Virtualbox. Use the following commands to install and configure git on NetBSD if it was not pre-installed.


$ export PKG_PATH="http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/8.1/All/"
$ su
# echo $PKG_PATH
# pkg_add -v pkgin
# pkg_add -v git
# exit
$ git
$ git config --global user.email "devharsh@live.in"
$ git config --global user.name "Devharsh Trivedi"
$ git config --global http.sslVerify false 

Saturday, May 18, 2019

Top 10 Sites for Computer Science & Engineering [2019]

*Top 10 Sites for your career:* 1. LinkedIn 2. Indeed 3. Careerealism 4. Job-Hunt 5. JobBait 6. Careercloud 7. GM4JH 8. Personalbrandingblog 9. Jibberjobber 10. Neighbors-helping-neighbors *Top 10 Tech Skills in demand in 2019:* 1. Machine Learning 2. Mobile Development 3. SEO/SEM Marketing 4. Data Visualization 5. Data Engineering 6. UI/UX Design 7. Cyber-security 8. Cloud Computing/AWS 9. Blockchain 10. IOT *Top 10 Sites to learn Excel for free:* Search for these on Google: 1. Microsoft Excel Help Center 2. Excel Exposure 3. Chandoo 4. Excel Central 5. Contextures 6. Excel Hero 7. Mr. Excel 8. Improve Your Excel 9. Excel Easy 10. Excel-Jet *Top 10 Sites for Free Online Education:* *Search for these on Google:* 1. Coursera 2. edX 3. Khan Academy 4. Udemy 5. iTunesU Free Courses 6. MIT OpenCourseWare 7. Stanford Online 8. Codecademy 9. Open Culture Online Courses *Top 10 Sites to review your resume for free:* 1. Zety Resume Builder 2. Resumonk 3. Resume.com 4. VisualCV 5. Cvmaker 6. ResumUP 7. Resume Genius 8. Resume builder 9. Resume Baking 10. Enhancv *Top 10 Sites for Interview Preparation:* 1. Ambitionbox 2. AceTheInterview 3. Geeksforgeeks 4. Leetcode 5. Gainlo 6. Careercup 7. Coder career 8. InterviewUp 9. InterviewBest 10. Indiabix

Sunday, January 06, 2019