Since you cant know everything, why using StackOverflow could be bad ? Thinking that you are better than everyone and ignore the {Collective Knowledge} is probably the sign that you are one of the worst type of geek/dev/person.
@@Tagadarealty not sure if you meant that for me? But to clear things up I was speaking to an experience I had with someone who actually felt above others. I didn’t provide context on that because it didn’t seem necessary nor did I want to call out anyone. I am 100% for stackoverflow and collaboration.
I like the intro.. it’s like a mental break and reminder that there’s something beautiful beyond the screen. Makes me want to take a break and walk outside for a bit.
Just finished recreating this project from scratch without watching the video. It was pretty fun and probably one of the projects I've done that I'll be using the most. I also went a lil extra and made a batch file to be able to run it from anywhere on my computer and have it open VS Code so I can get working right away
Love it so much! UA-cam these days really lacks high-effort content, I really appreciate the thought put in the script and cinematics of your content. Keep it up!
While this works, here's a few things you can do to make this even better. 1. use a simple bash script with cURL commands - this gets rid of the overhead of having to use python and selenium. 2. use application specific keys don't mess around with passwords. 3. add in an optional config file to store - project_name, add_readme toggle, priv_pub repo toggle, editor_selector toggle 4. use the tree utility to append the dir listing on your README automatically each time you git add a new file. 5. create a keyboard shortcut on your mac that brings up a terminal screen where you just enter the project_name. 6. add in an auto error logger - to log all new error codes + err_msg's with timestamps. 7. add in an importance_toggle - that checks if the local and remote HEADS match + prevents accidental deletes.
Wow thanks man! Love that you put in the effort to write all of this, I really appreciate it! And not only from a personal standpoint but this can also be really good for others to learn from so that's also great I will look into this stuff for sure :)
Quick tip: Use the little mouse pointer icon at the top left in Chrome Dev Tools to select an element on the page instead of looking for it in the html
Kalle, like some people have already mentioned. Using the Github API would have been easier and would have been the "official" way to do it. Importing API packages into your code is one of the main pillars of programming. It's interesting that you showed this alternative way though, I personally would have used the API, but this is a creative way of doing it and useful for other types of projects where no API is available.
Dude this is cool! I always love these kind of automation project and seeing the computer doing everything in seconds like a ghost that we used to do manually is really great and awesome!
Great video and awesome content! I've read some of the comments and nobody seems to have told you that there is a much easier way of finding the element you are looking on a webpage: In that same place on the Elements tab there is a button on the top left corner that allows you to click on the element you want and it will automatically takes you to the part of the html code that has it. (It can also be enabled by clicking Ctrl + Shift + C). Or even faster by right clicking the button / text you want and selecting the "Inspect element" which will even open the dev. options for you :3 I hope this small tip helps you as much as you help all of us. Keep it up!
On the 'Elements' tab, instead of going down the elements, you could just use the select element button on the top left corner and click on the input box. It jumps right to that element for you.
Snyggt Kalle! I’m new to Python and programming, so I really enjoy how you explain your thinking and break down the project into a step by step process. Learning a lot from that! Keep it up!
Hey! A cool tip when you use the Chrome console is to use the arrow in the top left of the console. When selected, you'll be able to directly point an element on your page and it will open the html code of this element. It's like a shortcut instead of trying to open all the html balises one by one until the one you're searching for 😊
When in the dev tools in chrome, if you click button in the top left of the panel that looks like a mouse on a square, it will let you go to the web page and click on an element and it will highlight the HTML instead of searching through it all :)
Ye the first time I saw his vid I took up python and made a script that arranges files into folders according to extensions and folders. It was his suggestion. Spent 2 days getting familiar with python and 1 day on the project. Totally worth the effort and time even if it was small.
Instead of finding each element by looking top-down in the html, you could have just clicked that cursor kind of button in the top left of the inspect window, and then click on the required element. That could have saved you a lot of time!
Idk if you will read this.I am a developer on the process and your videos have been a great idea on how to work in various software development field. Love the content
man you motivate the hell out of me... this is awesome. fyi you can do this with python and only python without a shell script, just make the python file executable. There's probably multiple ways of doing this but this is great. Love your channel.
You could have used a dictionary from an external file to get the password without having to blur it. Your videos really motivate me a lot to code keep uploading pls :)
5:50 instead of calling cd twice I believe you could simply put an absolute path through cd to your directory. Eliminating the need to go to the base directory initially.
Does Mac OS not support #!/? It's what I'd do on Linux and avoids needing the intermediary shell script. Edit: Ah, I didn't realise you were using the shell script to perform the git/code steps, my bad.
I really liked this. It is a useful script in general. It is fantastic for beginners, nice hands-on practice in webscraping and heading right into API territory (which properly would have been much easier). Overall a cool way to learn the basics and start organising your stuff from the get go. This really can be such a useful daily helper. Now that you have created so many depositories, you might need to a script to delete them again. XD
Your one day build is amazing Kalle, I have been able to customize my own build to create Flutter application and add a template code to the new application
Is there a way to like this video infinity time? I reviewed the video and I wanted to like it, then I just noticed that I already liked it earlier:)) Awesome content! 💙
I am really glad to hear that you think so! Thank you! I didn't use any particular tutorial for the python, but I used a tutorial for just getting the shell script up and running medium.com/devnetwork/how-to-create-your-own-custom-terminal-commands-c5008782a78e
Yeah I know, but I kind of wanted to practice web scraping (I think that term applies to this) using selenium and python. But the API would most likely be the smoother way to do it :)
nice insight into your learning process, maybe do a version 2 follow up where you can do the whole thing using an API instead rather than web scraping which is quite fragile and can break at any time if the underlying HTML changes. Personally, it's important to also learn good practice for loose coupling and well defined interfaces that wont break longer term. Also, it's worth looking into the VSCode github plugins as well as I suspect you can actually do most of this inside VSCode itself and just use a code snippet or similar. Then you also pain yourself into a corner with needing to use VSCode which means it wont work on other IDEs so not the best option for everyone if you are thinking of making this more generic for people to use! Great little video series though - keen to see more!
Thanks man! I will look into what you're suggesting! And also the web scraping part; I mostly wanted to learn how to do that so I know the API would have been a better choice :)
Thanks cole, I contacted him and he is as good as you say. Turns out your wife was cheating on me as well. I never thought she would do something like this again. Came outta the blue.
kalle is video was amazing! I thought what you built to automate the new project process was really cool too. I might have to use this for me as well...
new comment on a very old video - what you've created is really cool - could you do an addition showing how you could make it work with Github accounts that have MFA activated? Surely that would be a bit of a blocker?
Finally a real developer that demonstrates they use stack overflow and there is nothing wrongn with using it on a daily basis. Great content
Haha yes of course, stack overflow all day!
even professional uses it so why not haha
never seen a single dev say it's bad or that they dont use it tbh
edit: woops did not realise i just responded to a year old comment
Since you cant know everything, why using StackOverflow could be bad ? Thinking that you are better than everyone and ignore the {Collective Knowledge} is probably the sign that you are one of the worst type of geek/dev/person.
@@Tagadarealty not sure if you meant that for me? But to clear things up I was speaking to an experience I had with someone who actually felt above others. I didn’t provide context on that because it didn’t seem necessary nor did I want to call out anyone. I am 100% for stackoverflow and collaboration.
I like the intro.. it’s like a mental break and reminder that there’s something beautiful beyond the screen. Makes me want to take a break and walk outside for a bit.
Just finished recreating this project from scratch without watching the video. It was pretty fun and probably one of the projects I've done that I'll be using the most. I also went a lil extra and made a batch file to be able to run it from anywhere on my computer and have it open VS Code so I can get working right away
That "YES" feeling after you got that automated commit is the entire reason I love coding.
Love it so much!
UA-cam these days really lacks high-effort content, I really appreciate the thought put in the script and cinematics of your content.
Keep it up!
That's a great compliment to get Josse! I really appreciate that! :)
For a lot of forms you can end the last line with
to press "Enter" instead of finding the button and pressing it.
Your focus on practicality and optimisation of day to day tasks is so interesting and inspiring, actually. Also i love the cinematography choices!
Thank you! Haha and yes I am super into the optimization stuff (maybe a bit too much haha)
Glad you liked it, I appreciate it! :)
Love the one day builds series! I hope to see more of these on your channel
I am really glad to hear that, I truly appreciate it
And I will not stop anytime soon :)
@@Hallden_ yes please share more ..It would be so helpful thanks 🙂
While this works, here's a few things you can do to make this even better.
1. use a simple bash script with cURL commands - this gets rid of the overhead of having to use python and selenium.
2. use application specific keys don't mess around with passwords.
3. add in an optional config file to store - project_name, add_readme toggle, priv_pub repo toggle, editor_selector toggle
4. use the tree utility to append the dir listing on your README automatically each time you git add a new file.
5. create a keyboard shortcut on your mac that brings up a terminal screen where you just enter the project_name.
6. add in an auto error logger - to log all new error codes + err_msg's with timestamps.
7. add in an importance_toggle - that checks if the local and remote HEADS match + prevents accidental deletes.
Wow thanks man! Love that you put in the effort to write all of this, I really appreciate it!
And not only from a personal standpoint but this can also be really good for others to learn from so that's also great
I will look into this stuff for sure :)
@@Hallden_ Yeah everyone pitching in helps !! Kudos mate ! :)
im actually trying to make this now so far so good :)
Quick tip: Use the little mouse pointer icon at the top left in Chrome Dev Tools to select an element on the page instead of looking for it in the html
Cool stuff. Makes me really interested in learning Python
So am I
Kalle, like some people have already mentioned. Using the Github API would have been easier and would have been the "official" way to do it. Importing API packages into your code is one of the main pillars of programming. It's interesting that you showed this alternative way though, I personally would have used the API, but this is a creative way of doing it and useful for other types of projects where no API is available.
you can click on the pointer in the box on developer toools to ato navigate to the element you are hovering over
I love the excitement with each new step working as you intend it to. Awesome video!
This is how the tutorials should be; With step-by-step problems & their solution.
loved it!
Love your intros
Dude this is cool! I always love these kind of automation project and seeing the computer doing everything in seconds like a ghost that we used to do manually is really great and awesome!
0:00 I thought I clicked on the wrong video...
"Did I just click a garden review video?"
I see someone has been reading, how to automate the boring stuff with python
Got the course and book but I keep getting diverted into work or volunteering... To actually focus on finishing it hehe.
Good oldMr.albert swiegart...
Oh yes
"I think this is cool. I don't know why but I think it's cool"
It's super cool dude.
Great video and awesome content! I've read some of the comments and nobody seems to have told you that there is a much easier way of finding the element you are looking on a webpage: In that same place on the Elements tab there is a button on the top left corner that allows you to click on the element you want and it will automatically takes you to the part of the html code that has it. (It can also be enabled by clicking Ctrl + Shift + C). Or even faster by right clicking the button / text you want and selecting the "Inspect element" which will even open the dev. options for you :3
I hope this small tip helps you as much as you help all of us. Keep it up!
Nice! Yes I definitely appreciate that piece of advice, it is warmly welcomed. So thank you, great tip! :)
Awesome video showing how Python can be used to automate the time-consuming process of creating a new project!
On the 'Elements' tab, instead of going down the elements, you could just use the select element button on the top left corner and click on the input box. It jumps right to that element for you.
at 12:10, I dont use find_element_by_css. I just import time, then wait 3 seconds after setting up the repo name, and then just make the click.
I just LOVED everything in this video! It is so high quality as always!
Thank you Mayra, as always I'm really glad to hear that you liked it! :)
Snyggt Kalle! I’m new to Python and programming, so I really enjoy how you explain your thinking and break down the project into a step by step process. Learning a lot from that! Keep it up!
Hey! A cool tip when you use the Chrome console is to use the arrow in the top left of the console. When selected, you'll be able to directly point an element on your page and it will open the html code of this element. It's like a shortcut instead of trying to open all the html balises one by one until the one you're searching for 😊
Nice content Kalle, you are always killing it 👌. BTW congratulations on 21K subs 😁
Thank you again man, I really do appreciate it!
And yes thank you, 21k is incredible!
I really enjoy this type of content, keep on the good work man!!!
Thank you! I really appreciate it :)
When in the dev tools in chrome, if you click button in the top left of the panel that looks like a mouse on a square, it will let you go to the web page and click on an element and it will highlight the HTML instead of searching through it all :)
Ye the first time I saw his vid I took up python and made a script that arranges files into folders according to extensions and folders. It was his suggestion. Spent 2 days getting familiar with python and 1 day on the project. Totally worth the effort and time even if it was small.
You can also run the selenium driver in headless mode, which runs the script in the background so it doesn't use your screen real estate. Try that!
Cool, never thought about trying to automate the painful process, thanks Kalle
That's cool to hear! Thank you man! :)
Instead of finding each element by looking top-down in the html, you could have just clicked that cursor kind of button in the top left of the inspect window, and then click on the required element. That could have saved you a lot of time!
Your intro is mind blowing
Idk if you will read this.I am a developer on the process and your videos have been a great idea on how to work in various software development field. Love the content
there is a github cli with which you can create a repo from the commandline and it automatically adds the remote to your folder
i really like it when people use automation for things that need automation kudos
man you motivate the hell out of me... this is awesome. fyi you can do this with python and only python without a shell script, just make the python file executable. There's probably multiple ways of doing this but this is great. Love your channel.
That's awesome to hear! I am glad that I can motivate you.
Yeah I saw that afterwards haha would have been a more neat way to do it 😆
You could have used a dictionary from an external file to get the password without having to blur it.
Your videos really motivate me a lot to code keep uploading pls :)
or setup a certificate and use that instead, it's a little more complicated but cleaner.
Great suggestion, I will try that in the future :)
You could have used the Project feature in the Github Which also does the same thing but more organized way for TODO tasks.!
5:50 instead of calling cd twice I believe you could simply put an absolute path through cd to your directory. Eliminating the need to go to the base directory initially.
You should try to use '#!/usr/bin/env bash' instead of '#!/bin/bash' for better cross-platform compatibility, but nice work!
Alright, noted
Thank you! :)
Does Mac OS not support #!/? It's what I'd do on Linux and avoids needing the intermediary shell script.
Edit: Ah, I didn't realise you were using the shell script to perform the git/code steps, my bad.
Doesn't GitHub provide an API to do this kind of things?
# yup, its called "git"
git init && git add . && git commit -m "first commit"
git remote add origin git@github.com:/.git
git push -u origin master
Lmfao
Yeah, but I wanted to learn some web scraping :)
I really liked this. It is a useful script in general. It is fantastic for beginners, nice hands-on practice in webscraping and heading right into API territory (which properly would have been much easier). Overall a cool way to learn the basics and start organising your stuff from the get go. This really can be such a useful daily helper.
Now that you have created so many depositories, you might need to a script to delete them again. XD
This project is awesome Kalle 👏😜 I'm loving it😁
Thank you man!
I am glad to hear you enjoyed it, it was a lot of fun to build! :)
Don't forget you can probably send the tab key as inputs to the website as well to get to the next field!
Not to mention enter to login!
Great video, I like the way you researched everything on the fly then you advanced step by step. Good methodology and way of implementing it. 👍
Your one day build is amazing Kalle, I have been able to customize my own build to create Flutter application and add a template code to the new application
This is so cool. I am gonna do this for all of my repeated task. Thanks Kalle!
Thank you! Yes do it :)
Is there a way to like this video infinity time?
I reviewed the video and I wanted to like it, then I just noticed that I already liked it earlier:))
Awesome content! 💙
i could have lived without the 1 minute faux artistic intro...
Trust me you would be dead!
just skip it if it was that bad
@@UnconventionalPotato I think he did... We all did
Over indulgence.
Someone is feeling themselves too much.
yeah but it was cool so
This is awesome! Thanks for sharing this with us.
excellent work man! thx for great content
I have been always wanting to do something like that. Glad you came around to do it. :) I am gonna use it.
Nice! Glad you liked it Taban!
Really cool intro and great video! 👍🏼
I really like the idea behind it, I think about using yours or try building my own 😁
Keep up the good work Bro 😎
Thank you man!
Yeah use mine or build it yourself it was really fun to do :)
Appreciate you man!
This is super awesome. Congratz!
Thank you! I appreciate it! :)
I'm definately going to do this!
Awesome videos, keep up the good work!
Awesome trick and video!!! This will help me a lot!!! THANKS :)
This was just amazing
Dude! This is so inspirational! Thanks for the motivation - that this can be done.
Thank you William! I appreciate it, and I'm glad to hear that this gave you some motivation :)
I like your automation videos! they are very inspirational ! Automation is cool . !! thanks!
This was really awesome! Thank you for the tutorial 😁
awsome one buddy . Love from India ❤❤👍👍
It's really amazing, I have never seen it before.
Great for me. Thank you!
Wow awesome job 👍👍👍
Thank you! :)
This is incredible!! U are amazing bro!!
I've never seen something like that before
Haha thank you! :)
All of your content is fantastic. Very artful and engaging, in addition to your insightful commentary. Which Python tutorial were you reading?
Thanks!
I am really glad to hear that you think so!
Thank you!
I didn't use any particular tutorial for the python, but I used a tutorial for just getting the shell script up and running
medium.com/devnetwork/how-to-create-your-own-custom-terminal-commands-c5008782a78e
Kalle Hallden thanks! Looking forward to your next uploads!
Very serene and cool environment.
Nice tutorial
Thank you man, and yes love the environment here! :)
I have to get this going, too. Great idea
Thank you for the great idea just created similarly to yours with .bat file and removed time taking stuff out.
I love your teaching bro
Very useful project!
Using the github API to create a new repo would be so much cleaner than using selenium.
Yeah I know, but I kind of wanted to practice web scraping (I think that term applies to this) using selenium and python.
But the API would most likely be the smoother way to do it :)
Such a cool idea! Good job
Thank you, I am glad to hear you liked it! :)
At 0:00 you won’t anticipate a coding video. The look at 3:39
Thank u Kalle, I like ur videos
Instant subscribe. Great video gave me a lot of ideas for web automation. Look forward to new vids keep it up
Thank you for that!
I really appreciate it :)
Thank you Man, I like it
I like watching coding vlogs. #Subscribed
Cool, that's exactly what I consider them, coding vlogs :)
To be honest I probably would have just made a bash function in my .aliases file to do all of this
Good choice :)
Sensacional! Parabéns!
damn i just learned selenium and this is the first time i've knew more than the programmer im watching finally getting somewhere with code
nice insight into your learning process, maybe do a version 2 follow up where you can do the whole thing using an API instead rather than web scraping which is quite fragile and can break at any time if the underlying HTML changes.
Personally, it's important to also learn good practice for loose coupling and well defined interfaces that wont break longer term.
Also, it's worth looking into the VSCode github plugins as well as I suspect you can actually do most of this inside VSCode itself and just use a code snippet or similar.
Then you also pain yourself into a corner with needing to use VSCode which means it wont work on other IDEs so not the best option for everyone if you are thinking of making this more generic for people to use!
Great little video series though - keen to see more!
Thanks man!
I will look into what you're suggesting!
And also the web scraping part; I mostly wanted to learn how to do that so I know the API would have been a better choice :)
Thanks cole, I contacted him and he is as good as you say. Turns out your wife was cheating on me as well. I never thought she would do something like this again. Came outta the blue.
I like you like Python!
I am also blowen away by its readability.
Dude! Instead of typing "clear" to clear the terminal screen, you can just press Command-K and it clears the screen.
You should reward noble prize. Teaching thousand students all over the world 🌏
kalle is video was amazing! I thought what you built to automate the new project process was really cool too. I might have to use this for me as well...
Thank you! That's cool, try it and let me know what you think of it! :)
Great video! You can also use a selenium headless so it won't open and close a browser everytime and it is a little faster.
Aha okay nice! Thank you, I will update it to do that for sure :)
Nice job!
Thank you, I appreciate it! :)
Damn those opening shots were some next level Peter Mckinnon shit
Haha thank you!
Great Video Man!!!
Thank you!! :)
Can you explain the .sh file a bit more? Where is it located and does the function definition constitute the command to be used in the sh file?
cool, I want to be efficient as you. Now, I learn some good things
Idk but you inspire me so much, thanks for the videos, keep it up man :D
Thank you! I am humbled to hear that this is the case, it inspires me that you say this :)
new comment on a very old video - what you've created is really cool - could you do an addition showing how you could make it work with Github accounts that have MFA activated? Surely that would be a bit of a blocker?
That’s a nice exercise. 😊
Thank you for this great video!