/images/avatar.png

I am|

How I Lost and Recovered 3 Hours Worth of Work Using Git

So, imagine you sit down in front of your computer; you start a new project in your favourite editor, and you’re flowing. Four hours later, you’ve ticked every item on your to-do list and it’s time to commit and push your project to git. You add your files, commit and push. Go on the remote server and what? Half your files are not there. You go back to your local project; you check the head and nothing. Oh sh.t! you say to yourself; the git ignore excluded a bunch of files, and some files that shouldn’t have been committed were added. We’ll fix it, you think to yourself. Delete the .gitignore, then git rm the files to remove, then you’ve removed the wrong files. Oh sh.t, again!. You decide to reset the branch to the origin: git reset --hard origin/master. As soon as you type enter, you realise your uncommitted files are gone. Disappeared. Never to be found again. Oh f#ck!

Breathe

When your mind is cluttered, close your eyes and breathe. Breathe when it’s cold, when you can no longer bear The load on your back, the weight on your knee Close your eyes, feel the air. And remember, you still have your breath

How To : Get a user's gigya profile using their gigya uid - Gigya Drupal 8/9

This is technical document to serve an implementation reference by Developer. We assume that you have the gigya PHP SDK and gigya raas drupal 8 module installed in your project. We’ve had multiple issues with getting user’s profiles or showing users information on the site – This is because of the limitation of theGigya Client Side - Web SDK . The user information have to be queried server side and this is how: