fabiochiu/medium-articles huggingface dataset:
SEEKING REVENGE…
By: Vidushi Choudhary
Tags: Creative Writing, Life Lessons, Opportunity, People, Dreams

Tell me how somebody feels when they see their loved one with someone else? how do they feel when the stories that they picturized in their soul is living by someone else? Still also, after glimpses of all of these undesired situations trying not to drop a single tear?

I know, we all face this kind of situation even at once in all of our lifetimes. and this gives us that amount of heartaches, hatred, anguish, depressed thoughts, that maybe we found even difficult to synthesize before someone because there is already a great battle been started between our heart and mind, which is not even controlled by us then.

One of my friends once said to me that life is all about balance. We have to take every circumstance as it is coming, no matter it is good or bad. Like our heartbeats are proof that we are living the same as in reality these greater ups and lowest downs are facts or the reasons that we are living a pure life, with all our flaws and with all the disbalances, have to accept and face the reality harder than we know.

But, do we even think about taking revenge for all the hurt, pain, sorrow gave by them? I guess no, or even if we think it takes so many guts to implement that. I am not talking about revenge in the sense of performing any kind of crime to them. BUT saving ourselves, improvising ourselves that much, making that capable, where we starting living our dreams. No matter, it is getting about our dream job, house, profession, holiday, or admitted in the world-famous or larger institute, whatever it is. The main thing is what are our dreams? and how we step forward towards fulfilling them.

My teacher always talks about the BCD formula, i.e., “BELIEF-CONSISTENCY- DETERMINATION”. These three words touch each aspect of our lives. Belief that we should have in ourselves and in the almighty. Consistency that we always try to keep in our daily life. And the most important one, Determination which gives us that supernatural power that helps us stand by all odds. Just don’t let your dreams be dreams.

I understand people think that these concepts only look good in books. But deep down we all know that our heart always looking for a reason to live, to make a life that worth all our struggles.

So, what are we waiting for? Just for a second close our eyes and imagine ourselves after our dreams get attained. Yes, we are living our dream life which makes us proud and our family proud. Just by having a visionary look & taking a much wider scope of the dream life we wanted, all answers from our present dreadful life will be automatically compensated. Then, no evil people affect us, what they say, what they do, it won’t affect our soul.

Because we are here living life for ourselves, not for others. These others only contain abusers, narcissists, control freaks, and mental health-destroying leeches. Thus, losing them will be a great opportunity to find our real ones and dreams, where only we start standing up for ourselves.

This is when we actually started seeking revenge.

“HAPPY READING”
Run
By: Alice Floris
Tags: Life Lessons, Illumination Curated, Dreams, Self, Poetry

It’s so easy to get discouraged when others don’t believe in your potential. But you shouldn’t do that.

If your voice is not the favourite sound of others, at least it can become your favourite sound.

If you enjoyed this, please take a look at my previous work:
What it all means?
By: Darius Butkevicius
Tags: Short Story, Prophetic Dream, Conjunctions, Dreams, Unconscious Mind

What it all means?

I am changing car breaks on a car forgetting to fit some parts which keep brakes from overheating.

The same time, an old car passes by at high speed. A truck drives without a wheel.

What it all means?

Am I rushing anywhere, am I not applying brakes where I should?

What it all means?

What message my subconscious is sending me?

Is my world going down? Do I slow down or hurry up?

Considering that the dream occurred on the night of the conjecture of Jupiter and Saturn, it has to mean something, doesn’t it?

Brakes are broken, wheels are falling, full speed on.

There was no crash, do I still have time to fix it? Why do I have a feeling that it’s too late?

My unconscious is playing games with me-naughty, tricky games.

I sit and watch the wheels falling apart.

See you on the other side!
The most irrational thing we can do is following our own logic, reason
By: Zsolt Hermann
Tags: Perception, Illusion, Ego, Education, Dream

Question from the Internet:

“What irrational behaviors cost humans the most?”

The most irrational behaviour which costs us the most is following our own logic, reason, rational thinking. We can see how fast to day how everything we created, used slips through our fingers and turns to dust.

While it sounds like a paradox, since we are all born with an inherently egocentric, subjective mind, intellect, perception of reality, whatever we invent, conclude with our inherent logic, rational thinking is by default incorrect.

In fact until now, we have all been living in an illusion that is painted by our inherent mind, for millennia we have been building and destroying, building and destroying artificial concepts and constructs that are incompatible with the true — Natural — reality.

Of course this is as difficult to accept, comprehend as the famous scene in the movie “Matrix" when Neo realizes that all of his life up to that point was a software generated dream.

In our case it is exactly the same, except that our false dream — that now is turning into a nightmare — is generated by our own Ego.

But we have no other choice but to accept this brutal recognition, as from now on Nature's system, its strict laws sustaining balance and homeostasis won't allow us to return to the previous dream. Humanity has to grow up and start existing, acting according to the laws, principles of the “real world", fulfilling our predetermined, integral cogwheel role in Nature.

This is why we urgently need a unique purposeful and highly practical educational method which can teach us how to become compatible compatible with Nature's integrated system — against and above our ego's resistance.

https://youtu.be/EASYp4ssTrE
Are dreams a common thing?
Tags: Learning, Dreaming, Dreams, Education, Information

All of us dream every night. Sadly, most of us (me included ) forget 95%-99% of our dreams.And it is really a pity, because we spend around 6 years of our life doing something we mostly dont even remember !

One dream can last from few seconds to few hours.It can be a sweet memory or nightmare, but it’s still a dream.

In fact, we ,humans, are not the only creatures that dream !

Have you ever seen your cat/dog twitching , moving paws slightly while sleeping? Have you ever wondered if your dog is actually sleeping or is just weird? I have your answer !

In around 1950’s scientists have found some evidence that dogs, cats, many other mammals and birds can dream.

A little fact : cold-blooded animals don’t seem to go through REM sleep, which means they most likely don’t dream.

But are dreams actually real?

I believe many of us have heard a sentence “You’re just dreaming”, but dreams are very much real. They convey real information, real impact, real emotions, and have real consequences if ignored.

Dreams is a key for our subconsciousness.It often tells us things we dont even know we thought about.It speaks for our insecurities, problems in life and many other things , even if usually you won’t look at a dream that way and will laugh it off.

Impact of dreams

Often you can control the dream’s storyline and environment.Lucid dreaming can help treat conditions like recurring nightmares and PTSD.

But it’s not a secret that dreaming has another side too, not a very sweet one.

Have you ever had a nightmare? I personally have had around 3 nightmares in my life that i remember. Bad dreams not only stay in your head and makes you remember them, but they often worse your sleep quality as well. Nightmares can cause medical conditions as heart disease ,depression and obesity.

Nightmares can make us wake up in sweat ,heart punding and beating crazy, even being scared or worried.

But can nightmares kill you?

Technically nightmares can’t kill you, but health diseases caused by nightmares are capable of that.

There is no need to be scared or worried if sometimes a nightmare shows up in your dream.Actually, sometimes bad dreams can even mean good things.As example, seeing a death in your dream can mean a new beggining , a change in your life.

So, despite of if you dream or not, count yourself lucky .Because you either avoid nightmares or get dreams that may give you clues and keys about your subconsciousness.
Dear Winter…
By: Nicole Ivy
Tags: Winter, Introspection, Transformation, Dreams, Poetry

Dear Winter,

Thank you for the long dark nights and crisp crystal cold air slowing our blood and coaxing us inward.

I know there’s been ample and unseasonable time for hibernation this year, but I promise still to peer into the icy reflections of recently broken dreams… and mourn.

I let my old dreams die quietly under layers of frost.

I promise, Dear Winter, to keep the budding of new dreams warm in my heart until they are ready for the Spring birth.

And I will not wish for your end. I will feel your piercing winds, just as I will be enchanted by your sparkling drifts of snow.

I will not curse the bitter cold. I will not rush you.

There is work to do here.

And I am here. Embracing your darkness. I curl up in my nest of pines under the black diamond skies. My breath releases thick smoke that fills up the echoing space.

Where I can just be.

New dreams are gestating in the eternal womb of Winter.

But shhh…

you have to slow way, way down.

In order to feel her.

In order to come out the other side.
Dare to fly
By: Sharon Writes
Tags: Believe, Flying, Freedom, Dream, Peace

“If only you would open your eyes, you would see that you already have what you thought was missing”

Everyday she stared out of the window

Admiring the birds of the sky

Marvelling what it would be like

To fly up between the clouds

All the time she spent wondering

She was never once aware

That she too was given wings

If only she would believe
Am I a loser?
Tags: Motivation, Dreams, Society, Self Help, Loser

Am I a loser?

The society expects us to live the normal ordinary life. If we try to go against the system we are labelled as a loser.

There is this storm of questions you will have to face.

“You have degree,but still don’t have a job?.”

“You are 30. Why are you not married?”

Going against societal conventions is tough. People live in a little safety bubble with no risks and liabilities. They feel threatened when someone does something out of the box. So,instead of thinking about a new possibility, the person is labelled a loser and ostracized from society. He is followed by pitiful words and mocking looks.

Being successfull,demands rising against this situation and creating your own safe mesh. ‘Living your dream' is a dream and will remain a dream for many as they lack the courage to defend themselves.

So whenever this question pops up in your mind,remind yourself.

Iam not a loser. Iam just different!
How To Chase Your Dream
By: Mark Craven
Tags: Success, Dreamers, Self Improvement, Dreams, Self

Our imagination is the greatest gift that has been given to us. It helps us to see that which is unseen and that which has never been seen. Every great thing that has ever occurred or has been created was the product of imagination.

Every great symphony and composition starts in our imagination and swirls in such a way that we can’t help but figure out how to create it.

Your dream and my dream are how we imagine ourselves and our lives to be. It’s more than just an ideal, it’s a sense of absolute fulfillment and a daily enrichment within ourselves brought on by the work that we do in bringing that imaginative dream to our reality.

So how do we do it? How do we chase our dream?

One thing we will find out is that the chase is very much and should be very obviously connected to the dream. Attaining the dream is actually the smallest and mostly insignificant part.
Hello everyone!
Tags: Power Lead System, Goals, Outcomes, Dreams, Self Believe

Hello everyone!

Am back again but this time definitely as a better version of myself. It did take me a little long time for me to realise and sink in to the reality that “am more powrful than I ever could imagine”.

Thanks to my lovely buddy coaches and the fellow coaches of Incredible you program..!!

I’ve always been a big fan of self belief . Self belief is about knowing our worth and not giving up on things that matter to us the most.

In today’s world it is very very important to know your strength and have the right clarity. Ultimately your strength and the clarity is what would drive you towards achieving your outcomes.

Talking about outcomes, we all want to achieve our outcomes but during this time we forget to take those little actions which gets us closer towards achieving out goals or dreams.

I recently came across this big change in me that is if I consistently or continuously do things regularly my subconscious mind without my knowledge works for my betterment .

So what I have learnt in recent time is that,you need to set outcomes for yourself. When I say outcomes ,your outcome has to be realistic, measurable and most importantly need quite a lot of focus to work on them.

Make sure you define your outcomes and then set a time to achieve those. You may have many outcomes but you can always prioritise your outcomes.

So how does one work on outcomes?

Well the answer is to have a right plan towards it. You may want to join zoomba class. But when and how will you join?

So you need to work on getting the roadmap to attending zoomba class.

What can you do, here is an example :

You’ll plan your schedule Enroll for the class Plan your day Plan your eating habbits

You could add what is important to your outcomes which basically is called “POWER LEAPS”.

Just like the word itself “ power leaps” play a very important and powerful role in getting you closer and closer to your outcomes and finally achieving them.

Cheers ….!!keep smiling and keep believing in yourself…!! The outcome is always guaranteed.
My Dreams and Wishes Are Precious
By: Bingz Huang
Tags: Books, Dreams, Childhood, Reading, Inner Child

My Kind of Superheroes

The Guardians of Childhood, magically created by William Joyce through his novels, picture books, and movie, are my kind of superheroes whom I believe can truly help to heal this world.

Being an adult for almost two decades, an intuitive healer for a decade, and a parent for the past 8 years, I see how vital it is for our early childhood years to be as happy and nurturing as possible. So many of our insecurities and negative behavior patterns stem from the way we interpret life through our early childhood experiences.

It is so crucial for us to have guardians who make us feel safe, seen, and loved as kids, so we can feel more confident in being our authentic selves, and in reaching towards our true goals and dreams.

In this book series, even though these Guardians of Childhood are mythical figures such as Santa Claus, Easter Bunny, Tooth Fairy, Jack Frost, and Sandman, it feels like there’s an implied invitation for any adult to become a Guardian of Childhood, as long as you uphold The Guardians’ Oath:

“We will watch over the children of Earth,

Guide them safely from the ways of harm,

Keep happy their hearts, brave their souls, and rosy their cheeks.

We will guard with our lives their hopes and dreams,

For they are all that we have, all that we are,

And all that we will ever be.” ~ William Joyce

Reading this oath always brings me fresh tears of gratitude.
GIT: Remove files from a repository without Removing them locally
By: Oweis Yahya
Tags: Remove From Repository, Gitignore, Git, Untrack Files, Programming

From time to time, we forget to add files to .gitignore before we push our changes, it can be tricky how we can remove those files from the repository without deleting them locally, below you will find how to untrack files step by step:

Step 1:

Before starting, make sure all your changes are already committed. so you don’t lose any important changes you were working on.

Step 2:

After committing our changes, now clear your repository using the cmd below:

git rm -r --cached .

Step 3:

Add everything again:

git add .

Step 4:

Commit your changes:

git commit -m "untrack uneeded files/folders"

Now, push everything and go check your repository.
Set the default branch on your Azure DevOps Repos
By: James Dumont Le Douarec
Tags: Main, Repos, Azure Devops, Git, Azure

Existing Repos

I will share here few commands to set your Azure DevOps default branch. There is a popular way to do that through Git cmdlet by renaming the master branch, I will share here another approach which consist in creating a new branch and locking the old one through Azure DevOps CLI extension.

In order to proceed you will need the following prerequisites :

Set up variables

Since these variables are re-used, a locals block makes this more maintainable.

organization=”https://dev.azure.com/organization_name/" targetBranch=”main”

Connection

Connect directly through Azure AD or use a Personal Access Token that has the minimum privileges :

Read privilege a the Projet and Team level.

Full privilege at the Code level.

az login # OR az devops login

Script & Workflow
git log grep — Search a git repository for a particular commit message — Big Fat Software, Inc.
By: Big Fat Software
Tags: Git, Release Management

In Unix, if you want to find a piece of text, you generally grep it. You check the logs or ps -ef or lsof -i or you do an ls -l and then use grep on it. In a similar fashion - How do you find a piece of text in your entire commit history?

To search commit-message one-liners

git log --pretty=oneline --abbrev-commit --grep="TICKET-1234"

Try these too:

git log --grep="TICKET-1234"

git log --name-status --grep=""

git log --pretty=oneline --abbrev-commit --grep=""

git log --pretty=oneline --abbrev-commit --name-status --grep=""

git log --pretty=format:%s --grep=""

Simple Unix grep:

git log | grep -b3 "TICKET-1234"

git log --pretty=oneline | awk '{print $1}'

Creating an alias

If you haven’t read about creating aliases, then read the following articles:

Add this in your ~/.gitconfig :

[alias] find = log --pretty=\"format:%Cgreen%H %Cblue%s\" --name-status --grep

Usage:

git find "string"

Add this in your ~/.gitconfig :

[alias] lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit

Usage:

git lg --grep=""

The snippet above does the same thing as the following:

git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"

To search and grep across all branches and and all commit messages for the given piece of text :

git log --all --grep='TICKET-1234'

git log --pretty=\"format:%Cgreen%H %Cblue%s\" --name-status --grep

To search the actual content of commits through a repository’s history:

Caution: It can take a while to execute

git grep 'TICKET-1234' $(git rev-list --all)

To show all instances of the given text, the containing file name, and the commit SHA-1.

git grep 'TICKET-1234' $(git rev-list --all)

If your commit is not connected to history at all, you can search the reflog itself with the (short for --walk-reflogs :

git log -g --grep='TICKET-1234'

If you seem to have lost your history, check the reflog as your safety net. Look for Build 0051 in one of the commits listed by

git reflog

You may have simply set your HEAD to a part of history in which the 'Build 0051' commit is not visible, or you may have actually blown it away. The git-ready reflog article may be of help.

To recover your commit from the reflog: do a git checkout of the commit you found (and optionally make a new branch or tag of it for reference)
git — How to define aliases in git — Big Fat Software, Inc.
By: Big Fat Software
Tags: Git

Create alias using the git config command

Use the git config command with the alias followed by the command you want to substitute

Example:

To create the alias p for git push:

git config --global alias.p 'push'

Usage:

git p

List all your aliases

git config --global -l

This command will list out all your config properties associated with git. Since the aliases are git configurations too, they

$ git config --global -l

alias.co=checkout

alias.br=branch

alias.ci=commit

alias.st=status

alias.unstage=reset HEAD --

alias.p=push

Note:

Git aliases are not the same thing as UNIX aliases. Therefore, to use them, you have to use a command as if you are providing it as an argument to git like any other git-command.

For example:
[Git] rebase 使用場景
By: Pc Chen
Tags: Git, Git Rebase

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
AUP, ToS, and Privacy Policies
Tags: Privacy Policy, Git, Tools, Chrome, Gdpr

When GDPR took affect a few years back I really didn’t pay a whole lot of attention to creating these documents until it directly affected the projects I owned. Now anytime I start new projects, the thought of Privacy Policies, TOS, AUP, and similar documents comes to mind. This post is about a tool I wrote to simplify the process of policy document management, specifically making the documents publicly available and thus be GDPR-compliant.

As I’m not a lawyer and don’t have a legal department as such to reach out to, sites like termly.io have been my goto for generation of said policy documents. For the most part sites like these have been very useful. Both in generating the required documents, and previously have also helped by providing a hosted link for said documentation. The hosted part being important since often while working on a new project, there is no established “home” yet where these documents can be hosted yet.

Our Privacy Policy Hosted on Termly.io

Unfortunately during my most recent attempt to generate policy documents using termly.io, I found out that they had removed the feature of providing a hosted URL from the free plan and instead only provided an HTML version of the document. Of course hosting a document is a simple thing to do and I knew that I would come across this issue again. I’m sure if you’re reading this, you’re familiar with GitHub and GitHub Pages. Being that these documents are always intended to be public, GitHub Pages seemed like an ideal place to host the documents. And while it was easy enough to manually copy the document from termly.io by using the provided button, and then commit the file to a Git repo, and then setup GitHub Pages, and then point DNS ( à la Cloudflare) to GitHub, and then… well I think you get the point. Small but mundane, repetitive steps which could be automated.

So was born Policies and it’s companion Chromium Extension Policies Extension. The extension is open source on GitHub and it’s easy enough to add support for other policy document generators. Currently supported are termly.io and formswift.com with getterms.io to follow.

So basically the Policies tool brings back the hosted feature and even improves upon things by being backed by Git version control and the robust hosting infrastructure of GitHub which ensures the policies are always available

Next time you need a hosted privacy policy or other compliance document, give Policies a try along with one of the supported generators and/or fork and submit a PR to add support for additional providers.
How to add ssh key to gitlab accounts
By: Ari Nurcahya
Tags: Ssh Keys, Github, Git, Gitlab, Ssh

Generate SSH

You must create your ssh keys from your machine, I just create ssh keys at the default folder, at /Users/my-account-name/.ssh then type this code at your terminal.

you will get a message to insert file name to your ssh key. default name is id_rsa

Generating public/private rsa key pair.

Enter file in which to save the key (/Users/nurcahyaari/.ssh/id_rsa):

after you inserted the ssh’s name you will get message to enter passphrase. I just make it as empty, and enter. end enter again because I didn’t type anytext for passphrase so when it told me to Enter same passphrase again I just typed Enter

Enter passphrase (empty for no passphrase):

Enter same passphrase again:

then your terminal will print this



Your public key has been saved in test.pub.

The key fingerprint is:

SHA256:W4RhTmhYm85tspOqvtMEt4pK9+wmCTTiXDjMxp4ZNvE

The key's randomart image is:

+---[RSA 3072]----+

| o..+ |

| . . o* o |

|+ + .o o . |

|.&.E.o . . |

|O Oo .+ S . |

| B o = o |

| o.=. + . |

|o +o+o . |

|o.++=+ |

+----[SHA256]-----+ Your identification has been saved in test.Your public key has been saved in test.pub.The key fingerprint is:SHA256:W4RhTmhYm85tspOqvtMEt4pK9+wmCTTiXDjMxp4ZNvE ari.nurcahya@fast-8.com The key's randomart image is:+---[RSA 3072]----+| o..+ || . . o* o ||+ + .o o . ||.&.E.o . . ||O Oo .+ S . || B o = o || o.=. + . ||o +o+o . ||o.++=+ |+----[SHA256]-----+

congratulation you just make new ssh key, cheers

when you type l, or ll, or ls you will see a new ssh file

-rw------- 1 nurcahyaari staff 2.5K Dec 21 09:34 test

-rw-r--r-- 1 nurcahyaari staff 577B Dec 21 09:34 test.pub

Registering SSH to your machine

after you created a new ssh key you must registering it to your machine.

Start your ssh-agent

eval $(ssh-agent -s)

Add your ssh key

ssh-add -K ~/.ssh/test

Open your SSH config file

nano ~/.ssh/config

Type this config

Host your_git_host

AddKeysToAgent yes

UseKeychain yes

IdentityFile ~/.ssh/test

Save your config file by using ctrl + x

Check your ssh key

ssh-add -l

Insert your SSH Key to your Gitlab Account

First you must copy your public ssh key

pbcopy < ~/.ssh/test.pub

Go to gitlab, then go to Profile > keys

Paste your public key to key input, and you can add the title

input, and you can add the Press A dd key button

button check your SSH by typing

ssh -T git@gitlab.com

where the gitlab.com is your gitlab email

when your ssh are correctly, the output will be

WoW, You have been adding your SSH key to your Gitlab
Virtual Camera Man!
By: Mark Bohuslav
Tags: Unity, Unity3d, Github, Git, Game Development

Today was fun. I tackled the Beginning Cutscene for the Stealth Game. Above is a small excerpt of the 65 second clip that involved 14 different virtual camera angles with all the shots needing to be coordinated with the audio track. It took time and patience but the end result was well worth it. I really enjoy using Virtual Machine, its not without its faults like when the Audio goes out unexpectedly but aside from the small irritations its a very powerful tool in Unity that can create WOW scenes in any game.

I thought I would actually get to Player Movement today but I ended up spending a lot of time playing around with the different scenes and trying different takes and then trying to perfect each shot. I spent 6 hours on about 65 seconds of footage…lol! Alas the joys of being a game developer. I tend to get obsessive over the small details. Several times I would call my wife over to look at a scene then make a change and show her and she would laugh at me and say she couldn’t even tell what I changed. The little barely perceivable imperfections drive me nuts so I do what I have to make sure it looks the way the director notes call the scene and If I can I try to add my own spin on the shots.

After I was done with the Cutscene I did try to commit my change to the Unity Collaboration Services but it bugged out. I couldn’t understand what the issue was but after checking the boards, apparently it’s a known issue this month and I decided to scrap trying to use it and instead send my project to GitHub.

I have used GitBash/GitHub for version control on my Space Shooter without any issues and it was simple enough. I heard stories from team members having a lot of issues but I was lucky I guess….until now… I thought the Git Gods had spared me the pain but I guess I fell out of their good graces because tonight I had couple of roadblocks. At first I got an error that the file paths where too long, then after figuring out a way to force GIT to accept my longer file paths, I got the dreaded Large File error that prevents you from using files over 100mb. I downloaded LFS and was about to start that ritual for the first time but then it dawned on me that I didn’t even need that file, it was an Asset from the Learning section. So instead, I went on GitHub and added the path to that folder in the Gitignore file and voila problem solved.

I still have a lot to learn with Git. While it seemed easy to me at first, I realized today, there was a lot more to it, and a couple times I made a bit of a mess of my REPO. The lesson here is that its simple while everything is working but you better GIT GOOD to prepare yourself when things do go wrong so you know how to fix the situations rather than making it worse.

Mahalo!
Don’t enter username and password every time for GitHub activity in ubuntu.
By: Ankit Kumar Rajpoot
Tags: Username, Git, Github, Passwords

If we use GitHub on command prompt through the HTTPS then every time have to use username and password. It is too irritating for us. This the solution to this thing.

Just follow these steps.

Open terminal. Run this on the terminal.

$ cd ~

$ sudo nano .netrc

3. Paste this content there.

machine github.com

login YOUR_GITHUB_USERNAME

password YOUR_GITHUB_PASSWORD

4. Save and exit.

5. Close the terminal.

Now you can do any activity of GitHub on command prompt without typing the username and password.

That’s it for this time! I hope you enjoyed this post. As always, I welcome questions, notes, comments and requests for posts on topics you’d like to read. See you next time! Happy Coding !!!!!
How to config multiple ssh
By: Rg Oliver
Tags: Git, Ssh

First we need to have different accounts and ssh previously… if you don’t know how to create an ssh, follow the steps to generate a new SSH key.

When we have the ssh ready to be configure it in our system let’s add the into our file config in “~/.ssh/config” if you don’t have that file, create it and add the following information, and change the personal_key and work_key with your ssh keys

you don’t need git@github.com, because as both user ‘git’ and host name ‘github.com’ are already describing your ‘work’ host, so whenever you use ‘work’ as host, user and host name are automatically retrieved from the config

Let’s add the keys to the ssh-agent

Start the ssh-agent in the background.

$ eval “$(ssh-agent -s)”

> Agent pid 59566

replace id_ed25519 in the command with the name of your private key file.

$ ssh-add -K ~/.ssh/[personal_key]

$ ssh-add -K ~/.ssh/[work_key]

Let’s clone the repo from the work account

instead of doing this

$ git clone git@github.com:company/workproject.git

you can go with the name of work Host

$ git clone work:company/workproject.git

modify your Git config repo

$ git config user.name “Name”

$ git config user.email “name@server.com”

It’s all, enjoy :)
Understand different Git states and the corresponding file states.
By: Guanglin Kuang
Tags: Repository, Github, Repo, Git, Staging

Different Git states and file states

There are four Git states, namely the local working directory, the staging area, the local repository and the remote repository.

The local working directory is the folder where the hidden .git folder is located. It is the project folder where you run the git init command or the folder you cloned from GitHub or Git Lab. Only the files inside the project folder can be tracked by git. And any file inside this directory can be tracked, no matter it is in a subdirectory or not.

Staging area is a virtual git state, files in the staging area have been tracked by git and are ready to be committed to the local repo.

Local repo is a bit more complex and can be confusing for beginners. Local repo is also a virtual git state, normally it refers to the hidden .git folder. This folder handles all the magic heavy lifting work of git. However, the files in the git folder have been treated specially and are not human readable. So don’t bother to find your files there. However, if you make some commits, you will find that the size of the git folder would increase, reflecting that your file changes have been tracked by git.

Remote repo means the remote version of your local repo. However, it is not data in the .git folder but the actual files of your project folder.

Due to the different Git states, there are multiple states for the files in the project folder. If a file has never been added to the git repository, it’s in the untracked state. Once a file is added by git, it’s first in the staging area and thus in the staged state, meaning that it’s ready to be committed to the local repo. When a change is committed, the file is then in the committed state, which means that the staged file has been added to the local repo and can be pushed to the remote repo. If we make changes to a file which has already been tracked, then the changes are first in the modified state in the local working directory, we need to add and commit the changes in order to track them in git.

Finally, the commits in the local repo can be pushed to the remote repo, which will then make our remote repo up to date with the local repo.
Rasa Advanced Deployment: Part 3(Git Connection)
Tags: Chatbots, Kubernetes, Rasa, Git, Deployment

Till now we learned about installing rasa in VM and scaling pods. Now let’s connect our chatbot with git so we can keep track of changes and sync rasa-x data with the git. So that rasa-x automatically updates data if it finds any changes in the master branch.

Here are the steps to connect the git repo with the Rasa-x.

Step 1: Fork https://github.com/RasaHQ/deployment-workshop-bot-1

Step 2: Navigate to your forked copy

Step 3: Copy the SSH URL from your GitHub repository

Step 4: Connect Integrated Version Control in Rasa X

4.a. Specify the branch you want to use as master

4.b. Check “Require users to add changes to a new branch”

4.c. Do step 5 first, then click on “Verify connection”

5. Copy/paste the Deploy Key in your GitHub repository settings

5.a. Check “Allow write access”

Once you click verify connection, you’ll see something like this in a few minutes. This means our git connection succeeded.

By connecting GitHub rasa will now sync data from our repo. We can verify this in rasa-x nlu data.

Now let’s train the chatbot. Before that, we will see the training process in logs so let’s start the logs.

Issue this command to see your pods name

kubectl -n my-namespace get pods

We have to run logs on rasa-worker pods. So issue this command with rasa-worker pods name.

kubectl -n my-namespace logs my-release-rasa-worker-7984cdb4fb-89j9g --follow --tail 20

my-release-rasa-worker-7984cdb4fb-89j9g is my rasa worker pod name.

— follow means it will sync with the new logs that come in the pod.

— tail 20 means it will show us the last 20 records of logs.

Now click the train button in rasa-x and navigate into logs to see the process of training

After the model is trained. We have to make the model active to interact with it. Navigate to the model section in rasa-x where you will find your models.

It will take some time to finish. When it will finish. You can see something like this.

Now our assistant is up so let’s can click on the talk to bot button to check how your new model is working.

Great, it’s working fine. So now whenever we make changes in the master branch of the repo which is connected to rasa-x, it will sync the new data. Then we can train the model on the new synced data, activate it, and talk with it.

That’s all for today in the series of advance deployment of the Rasa chatbot. Keep an eye on the series of this blog. Till then, Happy Coding!!!

References

If you like this post, HIT Buy me a coffee! Thanks for reading.

Your every small contribution will encourage me to create more content like this.
How to config Git first time in the machine
By: Ankit Kumar Rajpoot
Tags: Configuration, Local, PC, Github, Git

I think you know what is Git & GitHub. Git serves a big role in any developer’s life. There is the first step of usage of Git and GitHub.

There are some basic steps which are given below:-

Get a GitHub account.

account. Download and install git .

. Set up git with your user name and email.

Open a terminal/shell and type:

$ git config --global user.name "Your name here"

$ git config --global user.email "your_email@example.com"

“Your name here” means which name you want to show in contributor.

“your_email@example.com” means which email is registered on GitHub.

Note:- (Don’t type the $ ; that just indicates that you’re doing this at the command line.)

This will enable colored output in the terminal

$ git config --global color.ui true

That’s it for this time! I hope you enjoyed this post. As always, I welcome questions, notes, comments and requests for posts on topics you’d like to read. See you next time! Happy Coding !!!!!
Solve Invalid username or password error.
By: Ankit Kumar Rajpoot
Tags: Passwords, Github, Git, Invalid, Https

Note:- Problem faced if you are using git through HTTPS.

Guys some time we clone or push or any activity on the GitHub account through the command prompt but every time it gives the same issue as the image.

After spending a single day I found a solution, and I am very happy to share it with you.

If you have enabled two-factor authentication then you can face the same problem as me. So if you are using git through HTTPS via command prompts then you should disable two-factor authentication. If you want to enable it, Then you should use git through the ssh key.

That’s it for this time! I hope you enjoyed this post. As always, I welcome questions, notes, comments and requests for posts on topics you’d like to read. See you next time! Happy Coding !!!!!
How to Create Next Level GitHub Profile Readme
By: Shubham Kumar
Tags: Github, Readme, Git, Gitlab, Github Pages

This is all you need to do here, but I recommend setting the repository to private while you are working on your fancy README , as to not show some broken stuff in your profile.

You can also tick Initialize this repository with a README as it needs to be there for it to appear in your profile. That said, you can include any other files like code, GIFs, pictures, etc.

Make It Stand Out

We have a repository with README , but what about the content? You could just throw in some information about yourself, your email contact and call it a day, but we can do better.

One thing I would suggest to add is a nice header to make it more personalized. You could include your name or job title in it, content is up to you. There are a lot of examples of very nice and creative headers, e.g. :

Now, how to add it into README ? First, add the header picture to your repository, so that you have it hosted publicly. Next, include following line at the top of README.md :

This is just basic markdown that embeds picture. It also includes URL so that you can — for example — make the picture link to your personal website and edit it as per your requirement.

You can use icons from this sites :

If you want to add GitHub Readme Stats you can do this just by including this line of code in your README.md file.

and don’t forget to mention your username correctly, you can also add your private repository contributions by adding &count_private=true after username

If you face can issues regrading stats then please head over to vercel.

To create account in Vercel follow this blog.

GIFs and Emojis

Another way to make your README more interesting and fun is to add various GIFs or emojis. I personally like to add emojis to start of each title, for example:

The easiest way I found to get relevant emojis was searching emoji names on https://emojipedia.org/emoji/ and then looking up its HTML entity on https://www.fileformat.info/index.htm. These HTML entities can be included in markdown and your browser should be able to render them just fine.

If emojis are not enough for you and you want some movement into your README , then you can also add GIFs. When adding GIFs, you will need actual .gif file hosted either right in your repository like the header picture or on external website like https://imgur.com/. Regardless of where it is hosted, you will include it using:

There are a few HTML tags that can be used in GitHub markdown and <img> is one of them. This makes it easy to add images and GIFs like this one in my README :

Showcase Your Repos
How to undo the most recent local commits in Git?
By: Steven Hough
Tags: Version Control, Git Checkout, Git, Software Development, Git Reset

$ git commit -m "Something terribly misguided" # (0: Your Accident)

$ git reset HEAD~ # (1)

<< edit files as necessary >> # (2)

$ git add . # (3)

$ git commit -c ORIG_HEAD # (4)

This command is responsible for the undo. It will undo your last commit while leaving your working tree (the state of your files on disk) untouched. You’ll need to add them again before you can commit them again). Make corrections to working tree files. git add anything that you want to include in your new commit. Commit the changes, reusing the old commit message. reset copied the old head to .git/ORIG_HEAD ; commit with -c ORIG_HEAD will open an editor, which initially contains the log message from the old commit and allows you to edit it. If you do not need to edit the message, you could use the -C option.

Alternatively, to edit the previous commit (or just its commit message), commit --amend will add changes within the current index to the previous commit.
Git Aliases
By: Daniel Afonso
Tags: Git Alias, Git, Software Development, Software

Are you constantly repeating the same Git command or sequence of commands? Do you wish that it would be faster and easier to type those commands? With Git Aliases you can do it.

In this short blog post, I’ll introduce Git Aliases, show you how to configure them, and give you a list of my commonly used aliases.

What are Git Aliases?

Git aliases allow you to reduce the amount of text you write when trying to execute certain commands or a chain of commands. For example, imagine you are doing you are running the push — force-with-lease command. This can get really repetitive sometimes. With Git aliases, you can create an alias for this command, like pfwl, and reduce the amount of text you write every time.

Configuring Git Aliases

Git Aliases can be added in two ways.

Adding aliases by the console

On your console, you can type git config --global followed by alias.<aliasToAdd> <command to add alias to>

For creating an alias to the push --force-with-lease command, this would translate to the following:

git config --global alias.pfwl 'push --force-with-lease'

After running this line in your console, now you can run git pfwl .

Adding aliases by editing your .gitconfig

By opening your .gitconfig file and adding it to a [alias] section, you can define all your aliases there.

For creating an alias to the push --force-with-lease command, you need to open your .gitconfig file and add the following:

[alias] pfwl = push --force-with-lease

After saving, you should be able to run your new command.

My aliases

Here’s a dump of my current .gitconfig aliases

[alias] pfwl = push --force-with-lease br = branch st = status ci = commit co = checkout last = log -1 HEAD logg = log --oneline --graph --decorate undo = reset --hard HEAD~1 aliases = !git config -l | grep alias | cut -c 7- cl = clone fwl = --force-with-lease rbm = rebase master rbim = rebase -i master cm = commit -m cob = checkout -b acm = !git add . && git commit -m amend = !git add -A && git commit --amend --no-edit rba = rebase --abort rbc = rebase --continue rb = rebase rbi = rebase -i

Most of them should be simple to understand and self-explanatory.

Final considerations

As you have been able to see, Git Aliases are simple to configure and improve your experience when using Git.

I hope you enjoyed this blog post and, stay tuned for the next ones!
IF GIT CLONE NOT WORKING TRY THIS COMMAND
By: Aditya Kohli
Tags: Git, Github Pages, Github, Github Actions

Sometime i faced this issue while working with version control system that certain commands do not work as expected ,one of the most common one that i faced is when i try to do git clone ,it produces an unexpected error

So one life saving command that i found in my research is below mentioned :

git credential-manager uninstall git credential-manager install

AND THAN RUN GIT CLONE IN CMD IN RESPECTIVE FOLDER WHERE YOU WANT TO INSTALL THAT PROJECT, IT WILL POPUP username and pass box fill and and it will work.

Cheers for git hub :)
What is the HEAD in git?
By: Steven Hough
Tags: Version Control, Bitbucket, Git, Head, Coding

HEAD is a ref (reference) to the currently checked out commit.

layman’s terms of HEAD :-

HEAD means (the reference to the) current commit

means (the reference to the) current commit HEAD~1 means (the reference to) 1 commit before

means (the reference to) 1 commit before HEAD~ ALSO means (the reference to) 1 commit before

ALSO means (the reference to) 1 commit before HEAD~87 means (the reference to) 87 commits before

means (the reference to) 87 commits before HEAD~3..HEAD means from 3 commits to current commit

In normal states, it’s actually a symbolic ref to the branch you have checked out — if you look at the contents of .git/HEAD you’ll see something like “ref: refs/heads/master”. The branch itself is a reference to the commit at the tip of the branch. Therefore, in the normal state, HEAD effectively refers to the commit at the tip of the current branch.

It’s also possible to have a “detached HEAD”. This happens when you check out something besides a (local) branch, like a remote branch, a specific commit, or a tag. The most common place to see this is during an interactive rebase, when you choose to edit a commit. In detached HEAD state, your HEAD is a direct reference to a commit — the contents of .git/HEAD will be a SHA1 hash.

Generally speaking, HEAD is just a convenient name to mean “what you have checked out” and you don’t really have to worry much about it. Just be aware of what you have checked out, and remember that you probably don’t want to commit if you’re not on a branch (detached HEAD state) unless you know what you’re doing (e.g. are in an interactive rebase).

Usage:
Temel Git Komutları Dersi
By: Ertan Özdemir
Tags: Free, Komut, Course, Github, Git

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
WP Git Updater now supports theme updates
By: Wp Git Updater
Tags: Git, Github, WordPress, Github Actions

That’s right! You can now update WordPress plugins and themes using WP Git Updater.

The primary goal of WP Git Updater is to optimize and automate updates on your Git controlled WordPress websites. We started with plugins but early on it became clear theme updates were a must have. We felt this was such a critical feature we needed to make sure it was available before we officially released WP Git Updater.

Additionally we have been able to retain the same configuration format with some new additions. This is down to some forward thinking knowing theme features were coming in the future.

In short just adding:

themes:

enabled: true

path: themes

To your config file is sufficient to enable theme updates.

There are of course further customizations available if required. Full details can be found in the Documentation.

Just like plugins you can now automate theme branch and pull request creation on infrastructure and terms you define.
গিট (Git) এবং গিটহাব (Github):Part-1
By: Monayem Islam
Tags: গিট, Git, Github, গিটহাব

Passionate about programming and working towards B.Sc. in Information and Communication Technology at Islamic University, Bangladesh.