22) Reverse - JS Array Methods Under A Minute #Shorts
JS Array methods often create confusion among new developers. And from that reason I've decided to create a mini-series to make an introductory approach to them. By doing that, I plan to create a brief overview about each method before anyone decides to learn them in detail. So I hope this will be helpful :)
There are many npm packages available for all sort of tasks, but Node.js itself has vast amount of features. As a result using them will probably be a good idea instead of installing tons of modules. From that reason, I decide to make a mini-series about the Node.js modules. Starting off with the OS Module. This module is one of the Node.js modules that we used to access operating system related properties. We will try to discover every functionality inside the os module. In second part we will look at the following,
- os.freemem()
- os.getPriority([pid])
- os.setPriority([pid, ]priority)
- os.homedir()
- os.hostname()
I hope you enjoy it :)
Helpful Resources:
- Node.js OS Module Documentation: https://nodejs.org/api/os.html
Socials:
- YouTube: https://www.youtube.com/channel/UCs_a2ClztgYY-hHYI-Qzz8g
- Medium: https://medium.com/@mrrandomgenerator
- Twitter: https://twitter.com/MrRandomGen
#Node.js #OS #Module #MrRandomGenerator
Music Used
––––––––––––––––––––––––––––––
Ghostrifter Official - Morning Routine [Lofi Study Music]: https://soundcloud.com/ghostrifter-official/morning-routine
Ghostrifter Official Social
- Spotify: open.spotify.com/artist/1mIePRs1ixMW0gTaTSbX2p
- Youtube: www.youtube.com/c/GhostrifterOfficial
- Instagram: www.instagram.com/ghostrifterofficial
- Facebook: www.facebook.com/GhostrifterOfficial
- Bandcamp: ghostrifterofficial.bandcamp.com/
...
https://www.youtube.com/watch?v=lHYhTinl9iY
In this video I made brief introduction to the package managers and divide package managers into various categories for ease of understanding. This is done with the sole purpose of remembering which package managers used for which purposes. Since language based package managers sometimes become quite confusing, I've created a simple chart below so you can find which package managers correspond to which language. Also remember there are many package managers available for each language, the ones below are the widely used and generally known ones, not every package manager is listed.
Javascript Package Managers - Npm, Yarn
Java Package Managers - Gradle, Maven
Python Package Managers - Pip, Conda
Php Package Manager - Composer
C# Package Manager - NuGet
C++ Package Manager - Conan, Hunter, Vcpkg
Ruby Package Manager - RubyGems
Go Package Manager - Dep
Also on a side note, I highly suggest you to learn the differences and relationships between package managers and repositories.
If you find any mistakes or want to add anything, be sure to post it in comments section, I would highly appreciate it.
A nice article on package managers by Ovidijus Okinskas: https://blog.idrsolutions.com/2018/07/what-is-a-package-manager-and-why-should-you-use-one/
Socials:
- YouTube: https://www.youtube.com/channel/UCs_a2ClztgYY-hHYI-Qzz8g
- Medium: https://medium.com/@mrrandomgenerator
- Twitter: https://twitter.com/MrRandomGen
#PackageManagers #MrRandomGenerator
Music Used
––––––––––––––––––––––––––––––
"Sakura Hz - Chill" is under a Creative Commons Attribution 4.0 International License (CC BY 4.0)
Music promoted by BreakingCopyright: https://youtu.be/-WvzUvhH6iE
...
https://www.youtube.com/watch?v=0W8-3RwvJwc
In this video I showed that how you can quickly create your own custom chrome extensions. The chrome extension I made here is extremely simple, but way more complicated extensions can be made based on the things I've mentioned. All you have to have is a basic understanding of HTML, CSS, JS and JSON. Those skills will definitely be useful if you want to create your custom chrome extensions. Of course as for making complex chrome extensions more skills maybe required. Also if you are interested in publishing your own extension, you can check the links down below for the official chrome extension publishing guide provided by Google Developer page.
This video is kinda rushed, but I promise I got some cool projects on the way :) And as always, if you find any mistakes or want to add anything, feel free to mention it in the comments below
Helpful Resources:
-What are extensions? - https://developer.chrome.com/extensions
-"Hello Extensions" Example - https://developer.chrome.com/extensions/samples#search:hello
-How to Publish Extensions in the Chrome Web Store: https://developer.chrome.com/webstore/publish
Socials:
- YouTube: https://www.youtube.com/channel/UCs_a2ClztgYY-hHYI-Qzz8g
- Medium: https://medium.com/@mrrandomgenerator
- Twitter: https://twitter.com/MrRandomGen
#Build #ChromeExtensions #MrRandomGenerator
Music Used
––––––––––––––––––––––––––––––
"Uniq - Japan" is under a Royalty Free license. Photo of the license: http://bit.ly/2sTETUQ
Music promoted by BreakingCopyright: https://youtu.be/MAiHpRUbc0k
Uniq Soundcloud: https://soundcloud.com/uniqofficial
Uniq YouTube:https://www.youtube.com/channel/UCV-OE1O2SpfSaneY5awNR0w
...
https://www.youtube.com/watch?v=-JAQS5oGPOQ
This is simple project called "Folder Sniper" which is used to delete unwanted folders, files and shortcuts in a fun way. It has been created using WPF and .NET Framework. It does not consume a lot of resources, therefore it can be set to always running in the background. Hence I've set it so that it always run in the system tray. In the video, I've thoroughly explained how the program works, how you can create it for yourself and how to possibly modify/customize it according to your needs. It does not hide/show files whatsoever, it deletes them. So if you plan to use, use it carefully. Also adding hide/show functionality might become useful. So, feel free to tweak it and add your own functionalities to it. That would be great. Also let me know if you have any cool small project ideas :)
Skip 12:16 to see the program in action.
Project repository: https://github.com/Naktrem/FolderSniper
Globalmousekeyhook by George Mamaladze (gmamaladze): https://github.com/gmamaladze/globalmousekeyhook
Socials:
- YouTube: https://www.youtube.com/channel/UCs_a2ClztgYY-hHYI-Qzz8g
- Medium: https://medium.com/@mrrandomgenerator
- Twitter: https://twitter.com/MrRandomGen
#FolderSniper #SoftwareProject #MrRandomGenerator
Sound effects in the project are retrieved from soundjay.com
Music Used
––––––––––––––––––––––––––––––
Oyasumi by Smith The Mister https://smiththemister.bandcamp.com
Smith The Mister https://bit.ly/Smith-The-Mister-YT
Free Download / Stream: https://bit.ly/oyasumi-smith-the-mister
Music promoted by Audio Library https://youtu.be/JufVrgV5i0s
––––––––––––––––––––––––––––––
Track: We Are Not Alone — Theo Dor [Audio Library Release]
Music provided by Audio Library Plus
Watch: https://youtu.be/RgrEOZ20OMg
Free Download / Stream: https://alplus.io/we-are-not-alone
––––––––––––––––––––––––––––––
...
https://www.youtube.com/watch?v=2CDcEZqNo5g
In this video, I go over the "Digitalized Enigma Machine" project that I've made a year ago. It is not a too complex project to make, however it took a reasonable amount of time. (Finished in 2 weeks with a help of a friend)
It has basic functionalities of the real Enigma machine that is used in the second world war by Germans. But it doesn't feature a plug board. Because total cost of switches are not worth it for demonstrating the enigma machine. Therefore, this design decision decrease the amount of settings. Original Enigma Machine has 158,962,555,217,826,360,000 possible settings, which is absolutely ridiculous and one of the reasons that I like this machine. This digitized enigma machine is built because, it is quite a challenging task to theoretically and algorithmically understand the enigma machine. So, it is better to try it in real life and learn it along the way :)
Also still trying to figure out the audio levels, this one is a bit more bearable, but in the next video it will probably be fine.
If you want to add anything, be sure to post it in comments section, I would highly appreciate it.
Also I highly recommend you to watch the videos below if you are interested in Enigma machines. Dr James Grime has amazing explanation. He also explained the flaw in the enigma machine, which is found by the Alan Turing and changed course of the second world war. He later on found the principles of computer science which we heavily rely on modern computing today.
Numberphile - 158,962,555,217,826,360,000 (Enigma Machine): https://www.youtube.com/watch?v=G2_Q9FoD-oQ
Numberphile - Flaw in the Enigma Code: https://www.youtube.com/watch?v=V4V2bpZlqx8
Project Repository: https://github.com/Naktrem/DigitalizedEnigmaMachineReconstruction
Socials:
- YouTube: https://www.youtube.com/channel/UCs_a2ClztgYY-hHYI-Qzz8g
- Medium: https://medium.com/@mrrandomgenerator
- Twitter: https://twitter.com/MrRandomGen
#Digitalized #EnigmaMachine #MrRandomGenerator
Music Used
––––––––––––––––––––––––––––––
"Spirit by Sappheiros" is under a Creative Commons ( cc-by ) license
Music promoted by BreakingCopyright: https://youtu.be/KVIYvVjfnCs
Sappheiros YouTube: https://www.youtube.com/channel/UCxLKyBhC6igFhLEb0gxvQNg
Sappheiros Soundcloud: https://soundcloud.com/sappheirosmusic
Sappheiros Spotify: https://open.spotify.com/artist/5ZVHXQZAIn9WJXvy6qn9K0
...
https://www.youtube.com/watch?v=lb1W3itIcVM
Since I like to create random stuff, I decide to make a simple GitHub project called "GitHub Roulette". The inspiration of this project came from combining the CSGO Roulette and the vast amount of amazing GitHub Repositories waiting to get discovered. Main behavior of this project is to fetch random repositories from random people on GitHub. It was created by using Unity and C#. This project assumes that you have basic understanding of how the Git and version control systems work. It is by no means a beginner GitHub tutorial or an introduction video to GitHub.
Feel free to tweak it and add your own functionalities this project. That would be great to see. Also let me know if you have any cool project ideas for me to make :)
Skip 5:22 to see the generator in action.
Project repository on Github: https://github.com/Naktrem/GitHub-Roulette
Socials:
- YouTube: https://www.youtube.com/channel/UCs_a2ClztgYY-hHYI-Qzz8g
- Medium: https://medium.com/@mrrandomgenerator
- Twitter: https://twitter.com/MrRandomGen
#GitHub #Roulette #GithubRoulette #MrRandomGenerator
Videos Used
––––––––––––––––––––––––––––––
Drew - 5x KATOWICE 2014 OPENING! *$10,000* :https://www.youtube.com/watch?v=vSDKHxC1x-A
Mrtweeday - $1000 CS GO COBBLESTONE CASE OPENING with Sparkles & Mojo: https://www.youtube.com/watch?v=tdat-47xwbQ
Music Used
––––––––––––––––––––––––––––––
Barradeen - bedtime after a coffee
Barradeen Soundcloud: https://soundcloud.com/barradeen
Barradeen Youtube: https://www.youtube.com/channel/UCfTggY6U7d6XVre774B1_qg
...
https://www.youtube.com/watch?v=Xb8kDU_rMsE
Recently I saw a lot of tweets talking about Visual Studio Code versus Vim. Should I use vs code or vim?, Vim is better, vs code is better. Vim masterrace, Vs code masterrace :) and so on so forth.
Everyone generally have a valid point of view, but I decide look a bit into it. So I decide to create this video. I go over on few different aspect of both Visual Studio Code and Vim. I also include my personal preferences about them, so they might become helpful too. I hope you've liked it, and as usual if you have anything to add or want to correct feel free to mention it in the comments down below :)
Socials:
- YouTube: https://www.youtube.com/channel/UCs_a2ClztgYY-hHYI-Qzz8g
- Medium: https://medium.com/@mrrandomgenerator
- Twitter: https://twitter.com/MrRandomGen
#VisualStudioCode #Vim #TextEditor #TechVersus #MrRandomGenerator
*Logos used under fair use. Neither this video not the creator has any relation with the companies.
Memes
––––––––––––––––––––––––––––––
- We don't do that meme: Yago Azedias - https://medium.com/@yagoazedias/you-shouldnt-be-so-scary-about-vim-5e43831e3758
- Sword meme: Tim Pope - https://twitter.com/tpope/status/1172743697315835904
- VSCode Users, VIM Users: https://me.me/i/vscode-users-with-vscode-vim-users-with-vscode-vscode-users-dc1de738fade4edebf52b112d6b608ee
Music Used
––––––––––––––––––––––––––––––
Ghostrifter Official - Subtle Break [Lofi Study Music]: https://soundcloud.com/ghostrifter-official/subtle-break-relaxing-study-music
Ghostrifter Official Social
- Spotify: open.spotify.com/artist/1mIePRs1ixMW0gTaTSbX2p
- Youtube: www.youtube.com/c/GhostrifterOfficial
- Instagram: www.instagram.com/ghostrifterofficial
- Facebook: www.facebook.com/GhostrifterOfficial
- Bandcamp: ghostrifterofficial.bandcamp.com/
...
https://www.youtube.com/watch?v=nr7NBvZ_F10
The terms Authentication and Authorization are two terms that are often confused with each other. Unlike the similarity in names, authentication and authorization are two very different terms. They are part of a larger protocol named "Triple A Protocol". In addition to the authentication and authorization, this protocol includes "Accounting" as well. In this video, I go over all three in simple terms and what they are actually used for.
I hope you enjoy it :)
Helpful Resources:
- https://en.wikipedia.org/wiki/AAA_(computer_security)
- https://www.techopedia.com/definition/24130/authentication-authorization-and-accounting-aaa
Socials:
- YouTube: https://www.youtube.com/channel/UCs_a2ClztgYY-hHYI-Qzz8g
- Medium: https://medium.com/@mrrandomgenerator
- Twitter: https://twitter.com/MrRandomGen
#Authentication #Authorization #Accounting #TechVersus #MrRandomGenerator
Music Used
––––––––––––––––––––––––––––––
- Lofi Hiphop - Totally Free Audio Assets by Audiosome: https://soundcloud.com/audiosome/lofi-hip-hop-1-min-edit
- Audiosome Soundcloud: https://soundcloud.com/audiosome
...
https://www.youtube.com/watch?v=OdptSS_km28
In previous video I demonstrated "How To Make A Custom Metal Keycap" at home. In this one, I modded my keyboard to produce quieter sound without losing any of its "Clickyness". So using the O-ring is not the perfect solution. So I chose a lazy approach which is going with a "Spray Lube" method. I basically spray lubed my Outemu Blue switches to produce quieter noise. Spray lubing also provided a much smoother pressing feel. But keep in mind that, in the spray lube method I've used a silicone based spray lube. Other spray lube options may damage your keyboard. And no, you cannot use WD-40 :) In addition to spray lubing my keyboard, I've greased the larger keys which have stabilizers. Since they have larger mechanical joints, only spray lubing will not cut it. By doing that they become buttery smooth.
Timestamps:
0:00 - Disassembly
0:37 - Greasing Stabilizers
0:52 - Applying Spray Lube on Top Left Corner of Switches
1:11 - Cleaning The Excess Oil
1:25 - Adding the dampener
1:45 - Assembly
2:07 - Before Sound Test
2:57 - After Sound Test
3:44 - Adding The Final Touch
By no means this is the absolute proper way to do things, there are obviously better methods to do it with better materials. However this quick spray lubing process worked properly for me. Keep in mind that, the switch and the keyboard type heavily influence the end result and the process itself. My keyboard is "Motospeed CK101" with Outemu Blue switches.
Also a disclaimer, be aware that your experience may vary and this spray lubing process may ruin your keyboard. Remember, spray lubing is kinda a lazy approach. So act responsibly and take necessary health precautions if you attempt this, such as wearing a mask.
Hope you like the video, it is my second time filming a physical building process. So, sorry for bad cinematography. I am open for any recommendations :)
Thanks to :3ildcat for the inspiration.
- His channel: https://www.youtube.com/channel/UCeHOkFGW-7uAZFvq3BXb8YA
- His Guide on How to Spray Lube: https://www.youtube.com/watch?v=CFHomk3IBk0
Socials:
- YouTube: https://www.youtube.com/channel/UCs_a2ClztgYY-hHYI-Qzz8g
- Medium: https://medium.com/@mrrandomgenerator
- Twitter: https://twitter.com/MrRandomGen
#HowTo #MechanicalKeyboard #SwitchLubrication #MrRandomGenerator
Music Used
––––––––––––––––––––––––––––––
Punch Deck - Dream 13 (Instrumental Mix): https://soundcloud.com/punch-deck/dream-13-instrumental-mix
-Punch Deck Youtube: https://www.youtube.com/channel/UC3M9...
-PunchDeck Soundcloud: https://soundcloud.com/punch-deck
...
https://www.youtube.com/watch?v=CevbdkGVtzo