Version control systems are programs or software to manage the source code of computer programs. Most of the open source projects are now hosted on github. So learning about git and github is very much necessary to learning and start contributing to the open source projects. In this presentation I hope to get the audience introduced to the basics of version control systems and learn the basics of git.
http://shdlr.com/conferences/talk/20332
This presentation covers how to modify git history to fix mistakes and provide a clearer picture of the flow of changes. I walk through some basic git fundamentals, and then outline several different methods of modifying history, as well as what type of situation they would apply for.
This presentation covers how to modify git history to fix mistakes and provide a clearer picture of the flow of changes. I walk through some basic git fundamentals, and then outline several different methods of modifying history, as well as what type of situation they would apply for.
Git is a version control system for tracking changes in computer files and coordinating work on those files among multiple people.
This PPT describes most used commands.
Do you know the basics of Git but wonder what all the hype is about? Do you want the ultimate control over your Git history? This tutorial will walk you through the basics of committing changes before diving into the more advanced and "dangerous" Git commands.
Git is an open source, distributed version control system used to track many different projects. You can use it to manage anything from a personal notes directory to a multi-programmer project.
This tutorial provides a short walk through of basic git commands and the Git philosophy to project management. Then we’ll dive into an exploration of the more advanced and “dangerous” Git commands. Watch as we rewrite our repository history, track bugs down to a specific commit, and untangle commits into an LKML-worthy patchset.
In this slide, I have a fully explanation about what is Git and why use it. I also give a fully explanation about the basic command that mostly use with git.
Git is a version control system for tracking changes in computer files and coordinating work on those files among multiple people.
This PPT describes most used commands.
Do you know the basics of Git but wonder what all the hype is about? Do you want the ultimate control over your Git history? This tutorial will walk you through the basics of committing changes before diving into the more advanced and "dangerous" Git commands.
Git is an open source, distributed version control system used to track many different projects. You can use it to manage anything from a personal notes directory to a multi-programmer project.
This tutorial provides a short walk through of basic git commands and the Git philosophy to project management. Then we’ll dive into an exploration of the more advanced and “dangerous” Git commands. Watch as we rewrite our repository history, track bugs down to a specific commit, and untangle commits into an LKML-worthy patchset.
In this slide, I have a fully explanation about what is Git and why use it. I also give a fully explanation about the basic command that mostly use with git.
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
Generating a custom Ruby SDK for your web service or Rails API using Smithyg2nightmarescribd
Have you ever wanted a Ruby client API to communicate with your web service? Smithy is a protocol-agnostic language for defining services and SDKs. Smithy Ruby is an implementation of Smithy that generates a Ruby SDK using a Smithy model. In this talk, we will explore Smithy and Smithy Ruby to learn how to generate custom feature-rich SDKs that can communicate with any web service, such as a Rails JSON API.
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Version Control Systems with git (and github) as an example
1. 03/18/16 NOS Conf 2016
Version control system with git
and (github) as an example
Gaurav Garg
@gaurav_garg_
ggarg@redhat.com
freenode irc nic: ggarg
2. 03/18/16 NOS Conf 2016
Agenda
VCS – What is it ?
Why using a VCS is good idea
Git Basic including:
➢How to obtain and install Git
➢How to use it for basic/common operation
➢More information resource for Git
Q & A
3. 03/18/16 NOS Conf 2016
VCS What is it ?
• A way to keep track of changes to files or folders
• Keep record of changes why, what, when
• Non distributed system (subversion, CVS)
server has the master repo, all commit goes to the server
• Distributed (Git, mercurial)
server has the master repo, but you have copy of that repo
(clone) in your machine
4. 03/18/16 NOS Conf 2016
Getting Git
•Dependencies:
* on a system that has yum (such as fedora)
$ yum install curl-devel expat-devel gettext-devel
openssl-devel zlib-devel
* on a system that has apt-get (debian based system)
$ apt-get install libcurl4-gnutls-dev libexpat1-dev gettext
libz-dev libssl-dev
5. 03/18/16 NOS Conf 2016
Getting Git cont...
•Get the latest snapshot from git website:
http://git-scm.com/download
Then, compile and install:
$ tar -zxf git-1.7.2.2.tar.gz
$ cd git-1.7.2.2
$ make prefix=/usr/local all
$ sudo make prefix=/usr/local install
6. 03/18/16 NOS Conf 2016
Getting Git cont...
• Binary Installer:
If you want to directly install binary then:
For Fedora:
$ yum install git
For debina based distribution:
$ apt-get install git
For mac
$ brew install git
7. 03/18/16 NOS Conf 2016
Git basic operation
•Checking the installation:
Check if Git is installed
$ git - -version
git version 1.9.3
If not then follow the installation steps that mentioned in previous slides.
• Setting user name and email to your git config:
$ git config --global user.name "Gaurav Kumar Garg"
$ git config --global user.email " ggarg@redhat.com"
Note: If you want to set it for specific repositery then cd to that repositery and
Remove “--global” option.
$ git config - -list command will verify user name and email address
8. 03/18/16 NOS Conf 2016
Git basic operation cont...
• Obtaining a repository:
Creating a repository (if it does not exist remotely)
$ git init (follow http://git-scm.com/docs/git-init for more information)
Or cloning a remote repository:
git clone ssh://[username@]git.gluster.org/glusterfs.git glusterfs
For eg: cloning a gluserfs repository:
git clone ssh://ggarg@git.gluster.org/glusterfs.git glusterfs
here glusterfs is optional, which will be the name of repository.
Inspecting a repo: $ vim .git/config
9. 03/18/16 NOS Conf 2016
Git basic operation cont...
• Inspecting repo:
$ git tag
will show you list of all tags (versioning of software)
$ git status
Difference b/w index file and current head commit
$ git log
Sow list of all commit with commit message
$ git log -1
Show top 1st commit
$ git log - -pretty=oneline
Show list of all commit in single line
10. 03/18/16 NOS Conf 2016
Git basic operation cont...
• Making edit and commiting
• Edit your file with your fav editor (vim/emac etc.) and save it.
• $ git diff
will show delta difference code of current master HEAD and current index
• $ git status
will show path of file as “Changes not staged for commit”
• $ git add (-A)
will show file as “Changes to be commited”
• $ git commit -s
write your commit message. Save and exit.
* file changed, * insertion, * deletion (-)
• Check your commit by $ git log
11. 03/18/16 NOS Conf 2016
Git basic operation cont...
• Recover your changes that you have added by
mistakes
$ git add <file name>
file <file name> that you have added by mistake
$ git status
$ git reset HEAD <filename>
$ git checkout - - <filename>
12. 03/18/16 NOS Conf 2016
Git basic operation cont...
• Best pratice is to make seperate branch
$ git branch <branch name>
or
$ git checkout -b <branch name>
$ git branch -D <branch name>
will delete branch <branch name>
$ git branch -m <branch name> <new name>
will rename branch <branch name > with <new name>
13. 03/18/16 NOS Conf 2016
Git basic operation cont...
• Git Stashing
Will allow you to save your changes without commiting them.
• $ git stash
save your change as a seperte stash@{*} branch with commit
message
• $ git stash list
will show you list of all stash with commit message
• $ git show <stash@{0}>
will show you what code difference contain this this stash@{0}
• $ git apply <stash@{0}>
will allow to apply change in current branch.
14. 03/18/16 NOS Conf 2016
Git basic operation cont...
• Git rebase
forward-port local commit to local upstream master
• $ git rebase master
* will update your local commit with master
• $ git rebase -i HEAD~3
* will pick up top 3 commit and it
* can be use for reword, edit, squash commit
15. 03/18/16 NOS Conf 2016
Git basic operation cont...
• Adding remote:
• $ git remote add <remote name> <remote_url>
Adding remote repo address in your local machine
user can add multiple remote repo address
• $ git remote -v
will show you list of all remote address with name
• $ git push <remote name> <branch name>
will push <branch name> change to remote address
16. 03/18/16 NOS Conf 2016
Git basic operation cont...
• Git tagging
• $ git tag
* will list out all the tags (calles as versioning of
software)
• $ git tag -a <tag name> -m “tag description”
* will give tag with tag name of tag version with
current branch HEAD
• $ git tag -d <tag name>
* Delete tag <tag name>
17. 03/18/16 NOS Conf 2016
More information resource for Git
• $ git - -help
for eg: git - -help <rebase>
will give your help regarding “git rebase”
• http://git-scm.com/docs/
contains resource of all git related command/operations.