git in head detached state & push to remote branch

When you are in the ‘head detached’ state, it is a normal state in Git. 1. When you checkout with a remote branch like ” git checkout remote/origin/onebranch” You will get a message showing that you are in the ‘head detached’ state. 2.As there is no branch locally against this remote branch, so the head…

advertisement on LinkedIn

Hi all, I’m Vic. I am an experienced and qualified data engineer and full stack developer (proficient in big data, back-end, front-end) with proven technical skills. Experienced in communicating with customers and providing solutions for business requirements. Possess a wide range of big data, web and mobile development experience having completed several projects and I’m…

when install jupyter notebook with python3 Error: NotImplementedError

This problem is related to the tornado server which jupyter notebook uses. To fix this problem, we need to edit the file tornado/platform/asyncio.py, This file is under your virtualenv directory, I have an env3 virtual environment, so my tornado file is C:\Users\Developer\Envs\env3\Lib\site-packages\tornado\platform\asyncio.py, by adding: After all the main imports.

How to get datetime from date() using JavaScript

getDateTime = () => {    var today = new Date();    var date =      today.getFullYear() +      “-” +      (“0” + (today.getMonth() + 1)).slice(-2) +      “-” +      (“0” + today.getDate()).slice(-2);    var time =      (“0” + today.getHours()).slice(-2) +      “:” +      (“0” + today.getMinutes()).slice(-2) +      “:” +      (“0″ + today.getSeconds()).slice(-2);    var dateTime = date + ” ” + time;    return dateTime;  };

How to launch Android Emulator using command line

Cd to the directory of the emulator which contains the “emulator.exe”; run emulator -list-avds to list all the available avds’ name; run emulator -avds [avd-name] to run the specific avd.

Using Firebase to host multi website

Initiate your project cd into your working directory, using firebaes init to initiate your website. Then three files will appear under your folder, “.firebaserc”, “.gitignore” and “firebase.json”. Change your setting In “firebase.json” file, it contains your hosting settings. a configuration example below: { “hosting”: { “site”: “XXXXXXX”, // the site name in your Firebase console…

install mysqlclient on win10 python37

from: https://stackoverflow.com/questions/51146117/installing-mysqlclient-in-python-3-6-in-windows I am using python3.7 on Windows 10 operating system. I had same issue and after a long research I had installed it successfully. Install “Microsoft Visual C++ Build Tools” AND My OS is having 64 bit operating system but still then it need to install 32 bit version “mysqlclient‑1.4.2‑cp37‑cp37m‑win32.whl” Download binary wheels from…