fabiochiu/medium-articles huggingface dataset:
Hello
By: Isa K
Tags: Welcome, Beginner, Introduction, Writer

Hello

Well, welcome to my profile. It’s my first time writing something after years, despite writing essays for school. I found Medium on social media, thought it was pretty cool and gave it a shot. I love writing, it somehow distracts me and leads me to another dimension (if you understand what I’m trying to say), furthermore I really really want to study something with media or journalism later on. In my opinion it’s an interesting and cool major, although I think it can be pretty hard and stressful too.

It’s kind of funny: I’m really not that into public speaking, not even speaking in class, but I’m in love with the idea of becoming a news reporter or something like that. Idk, but I should better improve my writing skills to become a great writer. I can work on speaking out loud, practice it to talk more fluently or become even more confident, I’d love that.

I’m from Germany, took english classes since kindergarten. I’ve always loved English, it amazed me ever since. So one of my biggest aims is to speak fluently and live somewhere abroad. The UK really has my heart, especially London. It’s crazy, I’ve been there three times and it always felt like coming back home, even though my parents and me only stayed there for a few days back then. Every time we arrived at Heathrow airport my anxiety and concerns dwindled, happiness filled me and I felt safe.

Traveling is one thing, I could do forever and I really hope to be able to visit the States, like California, Colorado and New York, but also Canada. Having the opportunity to get informed and see beautiful nature in each kinds all over the world fascinates me, thank to social media.

I guess that’s enough for my first time writing on here, it’s already 1.21 am in Germany and maybe I should slowly get ready for bed. I’m sure I’m going to write something on here again pretty soon and I’m really excited if anyone even reads my tiny article. Let’s see what the future brings, see you then!

Goodnight :)
Why I Decided to Become a Software Engineer.
By: Mario Lopez
Tags: Beginner, Career Change, Software Engineering

Today, we are fascinated with the advances in technology. Things that before we could only dream of, or artifacts that you only read about in fictions books, are now a reality that transcends the comprehension of many human beings. With these accelerated growth in technology, the ideal thing to do is to learn how the “future” works, learn the concepts of this development and finally put it into work. Even though we are surrounded by technology, and we use it in our everyday lives, it is important that we don’t just try to blend in with the change, or even embrace it, but to grasp the details and know the work behind the scenes, so that we are not just being part of this change, but we are the ones making it happen.

Photo by Andreas Klassen on Unsplash

Growing up, the thrill of knowing how things worked was breath taking to me, I didn’t want to use something and not know if it could work better, and if it broke or just stopped functioning, that’s when I had to figure out a way to make it work again. However, as I grew older, life necessities and my obligations, pushed me towards getting a job with whatever career that paid the most. I became distant from the things that made passionate, and just went along with whatever I thought would benefit me and my family, which is the respectable thing to do, even if I wasn’t working in my desired job or being in the profession that I once aspired for.

Photo by Farzad Nazifi on Unsplash

Fortunately, nowadays, companies have noticed these increasing demands for people to perform jobs that weren’t recognized by many as essential and that today we know are crucial to the development of our society. One fundamental profession in this modernization is the Software Engineer. Software Engineers are “computers professionals that use their knowledge of engineering principles and programming languages to build software products, develop computer games, and run network control systems,” in other words, this occupation is right in the heart of innovation and transition. I feel this career will allow me to go back to my objectives and aspirations. It’s is definitely a long way to go, a lot to learn and many obstacles will come along, as in life there really shouldn’t be any other way, but with the right mind-set and perspective, this profession is the best path to, as I mentioned before, not just blend in with the change, but actually make it happen; those are the many reasons, of why I decided to become a Software Engineer.
TryHackMe — Advent of Cyber 2 — Day 17
By: Trent Darrow
Tags: Radare2, Reverse Engineering, Beginner, Walkthrough, Tryhackme

Good afternoon everyone,

Today we will be tackling the first reverse engineer challenge. As I have only done this roughly 3 times. Should be a good review and learning lesson for me. The walkthrough on TryHackMe’s site has them doing it with radare2 so I’ll give that a shot.

We have to get into the machine with the given creds and get the needed files.

We got the challenge1 file and made sure it was an executable real quick.

challenge1: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, for GNU/Linux 3.2.0, BuildID[sha1]=884f57a67cddb0fc0104f1d556ab051183952324, not stripped

Anyhow lets load it up into radare2 and let it run.

Once it completes, we can start the analysis

Question 1: What is the value of local_ch(var_ch in mine) when its corresponding movl instruction is called (first if multiple)?

We can see the answer right there at the 0x00400b51 instruction. But we can verify if we set a breakpoint at 0x00400b51 and look at @rbp-0xc.

Question 2: What is the value of eax when the imull instruction is called?

Here we can look at main again and see where the imull instructions are located, set a breakpoint and checkout the value of var_8h

Final Question: What is the value of local_4h before eax is set to 0?

Again, we can look at main and see we need to set the breakpoint at 0x00400b69, let it run and take a look at var_4h

Here we get the value of eax before it is set to 0. I mainly following directions on this and still struggled. I need more practice, if you know of a good place to get more practice with this, drop a note.

As always, best of luck. If you enjoy my content, feel free to add me on LinkedIn and let me know you saw the blog.

Until next time,

-3lduderino
Task walkthrough: Image gallery(MDN)
By: Dusing Chang
Tags: Development, JavaScript, Mozilla, Beginner, Front End Development

project link:

https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/Image_gallery

my work:

https://github.com/readwalkerchang/imagegallery

Project Analysis

Image gallery a.k.a. ‘lightbox’ is a general interface for image preview. But this assessment from MDN is relatively tricky for a beginner who has just learned basic manipulation of event listener or event handler. This article will show you my solutions and strategies.

This assessment consists of three main tasks:

Looping the images from the ‘image’ folder and then showing them as a full image and four thumbnail images(the thumbnail bar) Add event handlers onto the thumbnail images which switch the full image with clicks Add event handlers onto the ‘darken’ button which darken the full image with an overlay.

Sounds easy? Looping images is a piece of cake but how to show them is the issue you have to work on it. If you do the assessment on the premise that you do without modifying the .hml and .css files, how do you ‘Adding an onclick handler to each thumbnail image’ as the instruction described? Here are my solutions:

Use the load event to include all expressions that you going to execute on this page

Add an event listener instead of the ‘onclick’ handler on each image

For the ‘darken/lighten button’, well, this is the only easier part.

Useful methods and strategies

While load the page, include all expressions

I separated all the tasks into three functions as you see

window.addEventListener('load', (event) => { loopingImg(); clickImg(); darkenImg(); });

loopingImg()

Access and change the the src attribute via setAttribute method

newImage.setAttribute(‘src’, taget)

clickImg()

loop and add an event listener for detecting clicks by using the foreach method

remember to use Array.from(elements) in order to transform the nodelist object into an array

let elements = document.querySelectorAll('img'); Array.from(elements).forEach(function(element) { element.addEventListener('click', function); });

darkenImg();

Just do as the instructions described

Concept Recap

Arrow function

An arrow function is just a shorthand of traditional function but limited

is just a shorthand of traditional function but limited It is not compatible with this keyword or other OOP methods such as call, apply and bind.

keyword or other OOP methods such as call, apply and bind. traditional function

myfunction function(){…}

arrow function

(myfunction) => {…}

Nodelist

Whilst you use a document.querySelectorAll(), the document method returns a nodelist

it is an array-like structure but not an actual array

Be sure to convert a nodelist into real array by using Array.from()

foreach

it loops the array-like structure for you but the return value ‘undefined’

that means you can do whatever you want inside the function’s scope

Improvement ideas
Why I’m Here
By: Rahjanique Stone
Tags: College, Blog, Beginner, Pandemic, Mental Health

Truth be told I made this account in the spur of the moment. Lately, I have been feeling so powerless, so small, so unheard, and so unproductive. I just needed something. Something that was mine. Something that I could control and watch grow. Something to make me feel like I have a voice. So I decided to make a “blog”. I don’t know if this will really be a blog or just me spewing my thoughts and feelings every now and again. But I decided that whatever this is would be a lot more beneficial and healthy than another mental breakdown. I used to love to read and write but I lost my passion for it a long time ago. Maybe I’ll find it again here. The first few entries or posts (including this one) will probably be horrible and all over the place. But I am a broken girl, surviving engineering school and a pandemic, with nobody to talk to. So here I am.

Blog #1
TryHackMe — Advent of Cyber 2 — Day 18
By: Trent Darrow
Tags: Dotnet, Reverse Engineering, Beginner, Walkthrough, Tryhackme

Good evening everyone,

Onto day 2 of the reverse engineering challenges. Day 1 took a toll on the brain for me. I definitely need more practice so hopefully today helps.

Anyhow let’s get after it. Today’s task involves diving into the .Net reverse engineering. I’ve used dnSpy before so I’ll use that and see what I can remember. First we have to login to the machine and grab the needed files.

Had to setup a local drive real quick to share the file with my machine, figured I’d share the link I used (https://support.microsoft.com/en-us/help/313292/how-to-gain-access-to-local-files-in-a-remote-desktop-session-to-a-win)

Once we load the file into dnSpy, here is our tree.

Looking into the MainForm()

And let’s see how deep the rabbit hole goes.. Now because this isn’t offset with pretty colors, I’ll bold the part that we need to follow next.

// Token: 0x0600005E RID: 94 RVA: 0x000013A4 File Offset: 0x000007A4

private void InitializeComponent()

{

..... this.buttonActivate.Anchor = AnchorStyles.None;

Point location5 = new Point(111, 11);

this.buttonActivate.Location = location5;

this.buttonActivate.Name = "buttonActivate";

Size size5 = new Size(75, 23);

this.buttonActivate.Size = size5;

this.buttonActivate.TabIndex = 3;

this.buttonActivate.Text = "Submit Password";

this.buttonActivate.UseVisualStyleBackColor = true;

this.buttonActivate.Click += this.buttonActivate_Click;

....

And once we follow the lead on that one.

Flag removed for sake of fun.

Anyway, that was fun for me. That challenge went way smoother than yesterday’s for me anyway. dnSpy makes the task super simple and runs really well. Well, that is it for today.

As always, best of luck. If you enjoy my content, feel free to add me on LinkedIn and let me know you saw the blog.

Until next time,

-3lduderino
New Beginnings
Tags: Beginner, Breakups, Poetry Writing

As his gaze meets mine,

I can’t help but turn away.

Every inch of his body fits perfectly in mine

As he pulls me in closer.

His hands wandered up and down the same passages

They had taken many times before

As if he hadn’t already explore every inch of my body

Making a map in his mind to follow.

The stench of booze filled the air

Along with the scent of his cologne.

As I opened my eyes I was met with a grey hue

From the faint smoke of a cigarette

Still lit on the coffee table.

I can’t help but question my choices.

But as I glance through the hotel window,

and catch a faint glimpse of the subtle glow of the sun

Just beyond the horizon,

I know,

Twilight is ending.

And I carefully remove his arm from my waist

As tears trickle down our cheeks

and meet at the center where our lips embrace once more.

Here’s to new beginnings.
TryHackMe Linux: Local Enumeration Write-Ups
Tags: Beginner, Writeup, Walkthrough, Tryhackme

Hi, this a write-up for the room Linux: Local Enumeration on TryHackMe platform. The creator of this room is Swafox. Without further ado, let’s start!

Link to TryHackMe Linux: Local Enumeration room: https://tryhackme.com/room/lle

To start, go to the IP address provided by TryHackMe platform with port 3000.

Copy the reverse shell string and change both IP to your machine IP address and port.

Run NetCat listener with the port selected.

nc -lnvp <port>

Run the reverse shell and we are in.

Unit 1-tty

We will learn how to upgrade to a proper stable terminal to run command such as sudo and su.

For Perl, we can run:

perl -e ‘exec “/bin/bash”;’

which can be found online. I use GTFOBINS.

Unit 1-ssh

We learn now how to use ssh to connect to a box and use ssh-keygen.

To look for id_rsa for a user, it is usually can be found at:

/home/user/.ssh/id_rsa

For this machine, after a search in .ssh directory, we could not find any id_rsa files. So, the answer is:

Nay

Unit 2-Basic Enumeration

In this, we learn about sudo -l , sudo -V and uname.

To print the machine hardware name only:

uname -m

To find bash history, we can find it at:

~/.bash_history

For the flag, we can just use cat command to print out the history.

Unit 3 -/etc

In this part, we learn about /etc/passwd and /etc/shadow.

We can use cat /etc/passwd on the machine and we can see:

Unit 4-Find command and interesting files

This part teaches how to use the find command to find some sensitive files in the machine.

To find the password and based ion the hint given, we can use:

find / -type f -name “*.bak” 2>/dev/null

To find the flag in the .conf file, we can: ( I predicted the name to be flag.conf so :D)

find / -type f -name flag.conf 2>/dev/null

Unit 4 -SUID

This part teaches us about using the find command to find SUID binaries for privesc.

By using:

find / -perm -4000 2>/dev/null

we can find the grep command that can be used.

For showing the /etc/shadow, we can use command:

grep ‘’ /etc/shadow

The command/payload can be used to read the /etc/shadow using grep command can be found in GTFOBINS.

And we are done! Thank you for finishing my write ups.

This room help beginner a lot in using command lines. I also learnt a lot while doing this room.

This a great room for beginners provided in TryHackMe Platform.

############################################

Anyone willing to provide me free vouchers are greatly appreciated!

Thanks in advance!

############################################
TryHackMe — Advent of Cyber 2 — Day 13
By: Trent Darrow
Tags: Beginner, Walkthrough, Tryhackme, Linux, Dirty Cow

Good afternoon all,

Today we will tackling day 13. This is a special box by John Hammond. It looks like this is a complete scan, enumerate, foothold, escalate machine. This is about the only intro we get from the machine:

“Prove these sysadmins deserve coal for Christmas!”

Anyhow, lets get after it.

We will start off with a quick nmap.

nmap -sC -sV 10.10.14.48

We see that telnet is open, lets give that a go. Immediate upon login, we get some creds.

And it works..

With the initial ls -al, we get a few files. Looks like the Grinch was here before us, below his note was some C code.

Running the christmas.sh file, we get a little Easter egg/gift from Mr. John Hammond.

Anyhow, back to the C code(cookies_and_milk.txt)

Copied a small bit into the google machine with some quotes and the first result was the old DirtyCow exploit.

Take’s take a look at what version of Linux we are running to see if we can use DirtyCow.

$ uname -a

Linux christmas 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

$ cat etc/release

cat: etc/release: No such file or directory

$ cat /etc/*release

DISTRIB_ID=Ubuntu

DISTRIB_RELEASE=12.04

DISTRIB_CODENAME=precise

DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"

Here is the Exploit-DB information on DirtyCow:



Exploit: Linux Kernel 2.6.22 < 3.9 (x86/x64) - 'Dirty COW /proc/self/mem' Race Condition Privilege Escalation (SUID Method)

URL:

Path: /usr/share/exploitdb/exploits/linux/local/40616.c

File Type: C source, ASCII text, with CRLF line terminators root@kali:/mnt/hgfs/shared_folder/tryhackme# searchsploit -x 40616Exploit: Linux Kernel 2.6.22 < 3.9 (x86/x64) - 'Dirty COW /proc/self/mem' Race Condition Privilege Escalation (SUID Method)URL: https://www.exploit-db.com/exploits/40616 Path: /usr/share/exploitdb/exploits/linux/local/40616.cFile Type: C source, ASCII text, with CRLF line terminators

Because we fall within that kernel version range(3.2.0–23) we should be able to build it and use it. All we need to do is copy the file to the machine, compile, and run. Then we can SSH into the machine with the firefart credentials. Since the machine has wget I just started the simple Python http server and moved the file, compiled and ran it. SSH’d into the machine with the new credentials without any issue.

Inside /root there is a message_from_the_grinch.txt (John Hammond). As a verification that you finished the machine, you need to create a file named coal and create an md5 hash of the tree command. I’ll leave that last portion up to you.

As always, best of luck. If you enjoy my content, feel free to add me on LinkedIn and let me know you saw the blog.

Until next time,

-3lduderino
TryHackMe — Advent of Cyber 2 — Day 16
By: Trent Darrow
Tags: Python, HTML, Beginner, Walkthrough, Tryhackme

Good afternoon everyone,

Today we will be tackling the 2nd scripting challenge. You may have noticed I didn’t create a page for Day 15. This was a relatively simple task with basic python questions that was complete within about 5 minutes. It is easy enough to follow along with on their page or with a little googling.

Anyhow the intro for today:

“Oh no! Santa 🎅 has taken off, leaving you — the faithful elves behind! Can you help find Santa’s location? Luckily, the elves are OSINT masters and remember a thing or two. Specifically, they remember: Santa has a webpage at MACHINE_IP/static/index.html to help lost elves find their way home. Santa never told the elves what port number the webserver is on. Can you find out?! This webpage has a link somewhere on it, hidden away so anyone that isn’t an elf can’t find it. Santa’s Sled has an API we can talk too. The key for the API is between 0 and 100, and it’s an odd number. But be careful! After an unknown number of attempts, Santa’s Sled will ban your IP address. Deploy the machine that is running Santa’s Sled and allow a couple of minutes for the target (MACHINE_IP) to start up. Using your Python skills from Day 15 to find the correct key for the API.”

Alright, lets start with the nmap.

nmap -sC -sV 10.10.99.243

Question 1: What is the port number for the web server?

From the nmap, that’s pretty simple.

Question 2: Without using enumerations tools such as Dirbuster, what is the directory for the API? (without the API key)

Alrighty, lets take a look at the site look around. On the source code of the main page, we find this:

If we navigate to the page, and test a number for the API key, this is the result.

Now it does warn us about this on the task information: But be careful! After an unknown number of attempts, Santa’s Sled will ban your IP address.

So I’ll take a look around some more and see if we can find anything related to this. Searching around I couldn’t find any clues. So I just made a quick Python script to run through odd numbers appended to the URL and print out if we get a hit. Hopefully we don’t get banned trying.

And I got banned after my first try.. had some scripting errors that weren’t test for above.. and once again, I failed to read the documentation on the python library for requests

New and improved script, checks for the correct error and also breaks if we get banned again just so I don’t waste more time.

And we got a hit!

Once we navigate to that page, we get the answer to the last 2 questions.

Anyhow, that was a decent reminder to test before you place into ‘production’ and also a good review on some simple Python fundamentals.

As always, best of luck. If you enjoy my content, feel free to add me on LinkedIn and let me know you saw the blog.

Until next time,

-3lduderino
I’m always surprised to find such a helpful website.
By: Vic Ward
Tags: Website Development, Creativity, Senior, Beginner, Startup

I’m always surprised to find such a helpful website.

Most would say get a website you need one. And, not tell us which are good or are free.

Thanks
async / await in forEach loop 🤯
By: Nick Graffis
Tags: Async, Code, JavaScript, Beginner, Quick

async / await in forEach loop 🤯

Hey! I recently was working on a project that had me looping through an array of table names, and wanted to see if each table existed in a MySQL database. Create one if it didn’t exist, then log something.

For this article I’m going to use a different promised based function, instead of the MySQL query, for simplicity sake.

We will use this function in our loop:

const waitFor = (ms) => new Promise(res => setTimeout(res, ms));

So the first thing I tried was:

[10, 2, 3].forEach(async (num) => {

await waitFor(num);

console.log(num);

});

console.log('Done');

Seems to make sense, but in reality

$ Done

$ 2

$ 3

$ 10

If we take a look at the polyfill for forEach() we get a better idea of what is happening: Array.prototype.forEach() — JavaScript | MDN

Basically it uses a while loop that calls the callback for each entry, but it doesn’t wait for the previous entry to finish.

So we need to create our own asyncForEach():

Array.prototype.asyncForEach = async function (callback) {

for (let i = 0; i < this.length; i++) {

await callback(this[i]);

}

}

With this new tool we try again:

[10, 2, 3].asyncForEach(async (num) => {

await waitFor(num);

console.log(num);

});

console.log('Done');

And we get:

$ Done

$ 10

$ 2

$ 3

Closer! The asyncForEach() is working great! waiting the 10ms for iteration 0 to finish, before going on to iteration 1.

To get it all to work as expected we can just wrap our execution into an async function:

const go = async () => {

await [10, 2, 3].asyncForEach(async (num) => {

await waitFor(num);

console.log(num);

});

console.log('Done');

} go()

And then in response:

$ 10

$ 2

$ 3

$ Done

👏 And it works!
Start your DEV journey
By: Masoom Kumar
Tags: Github, Beginner, Git, Dev

Are you someone who wants to start your career as a web developer and not sure as in how to start it, by the end of this I can assure you would be good to go.

In case you’re new to this let me welcome you with some facts .

1. Coding is one of the most important technical skill an individual can have these days.

2. If one wants a high paying job or wishes to freelance, its all he/she needs in their arsenal to kickstart this journey.

I hope you’re pumped up, so let us begin . We will talk about 3 things.

A browser : Everything is online. Yes, all the information to all the help or assistance you need is here. But that’s not it. To see the magic you’re doing, a browser is what you need. INSPECT ELEMENT and it is a whole new world. I personally use Google Chrome Browser and it is as good as anyone out there. A code-editor : You know know where to look for information and where is it that to you can see your work let’s now see how. A code-editor is the place , to see wonder you will be writing codes and this ability of creating something out of nothing is magic and once you get the hang of it, you’ll be amazed to see what you can do. Do try VS Code with all the extensions it is a really powerful tool. Github and Git: Things that will keep you progressing.

Github is the go to place for all the developers , yes every site’s data can be found here(if they are open sourced). Now to answer why github, because you need to showcase your work taking you ahead in this journey of yours. It is the online storage for your codes and it is no less than a skill to use Github efficiently.

Now comes GIT , it is the language that helps your local system interact with Github, to use it efficiently Git is a must. It usually comprises of a bunch of codes which will make your journey fun and easier. Let’s call these the “Magic Words”.

All done yet it is not out online, for this you need to host your codes as in a project with the help of a hosting platform like Netlify which is absolutely free and you are done.

Keep coding…
Conquer The Command Line: The touch Command
By: Jim Homme
Tags: Tutorial, Command Line, Beginner, Linux, Programming

How to use the Linux touch command plus essential options

In this installment of “Conquer The Command Line” we talk about how to use the Linux touch command.

When ever you want to change the time stamp on an existing file or create an empty file, use the touch command.

Memory Aid: Think “wake up”

OK. I need to explain that one. Thinking of waking up works for me because if your sleeping and someone touches you, you might wake up if you are a light sleeper. In my mind, waking up in the morning starts a new day. My mind jumps to touching a file creates it. I wonder how touch meant create. Oh well. There it is. A look into my crazy mind.

To use the touch command, type touch <file> where is the name of any file, including path.

Touch does one of two things. If the file hasn’t been created, it creates it and makes it empty. If the file already exists, it changes the time stamp to the current time.

Let’s say you have a file named recipe.txt that doesn’t exist that you want to create. To do that, type touch recipe.txt .

If recipe.txt already exists, and you want to change the time stamp to the current tyme, you would also type touch recipe.txt .

Note, you can also type more than one file on the command line after typing touch . That means that if you type touch recipe.txt cake.txt , touch would act on those two files. It would either create one or both of them or change the time stamp on one or both of them.

Essential Options

-t set the time stamp on a file to any time you want. For example: touch -t <YYYYMMDDHHMM.SS> recipe.txt .

YYYY sets the year. MM sets the month. DD sets the day. HH sets the hour from 1 to 23. MM.SS sets the minute from 1 to 59 and the second from 1 to 59.

-r makes touch use the time stamp on one file to set the time stamp on a second file.

Let’s say that you want to set the time stamp on the cake.txt file to the time stamp on the recipe.txt file. type touch -r recipe.txt cake.txt .

Related Commands

To print the working directory, the one you are currently pointing to, use the pwd command.

To change to directories, use the cd command.

To list the contents of a directory, use the ls command.

To make directories, use the mkdir command.

To remove directories, use the rmdir command.

To move or rename files and directories, use the mv command.

To copy files and directories, use the cp command.

Remember to use the man command to find all the options for any command on your system.

And remember that for a less technical explanation of commands to check out tldr pages.

What Now?

Hopefully this post has helped you take one more step in conquering the command line. I welcome any feedback.

This post was originally written at https://www.jimhomme.com
Self-Love Meditation Mini Series — You Are Extraordinary
By: Katie Krimitsos
Tags: Daily, Morning, Beginner, Self Love, Starter

Today’s self-love meditation will remind you of how extraordinary you are.

The intention of today’s meditation is to remind you of how extraordinary you are. To give you a loving reminder that there is no one else in this world like you, and that the world needs you, just as you are.

So Let’s Begin…

SELF-LOVE MEDITATION MINI SERIES — YOU ARE EXTRAORDINARY MEDITATION SCRIPT

So take a second to get your body settled,

Relaxing into a position that’s comfortable for you.

And close your eyes.

Take a deep breath in and stretch your arms and your legs out wide, reaching as far as you can, opening up your fingers and your toes.

Hold that stretch for a few seconds,

And then exhale and relax your arms and legs, settling them into a comfortable position beside you.

Take a deep breath in,

Filling up your entire belly with refreshing air until it can’t expand anymore,

And then release your breath through your nose, as you lower your shoulders just a little bit more.

Bring your breathing to its normal rhythm,

Consciously slowing down,

Slowing down your body,

Slowing down your mind,

Slowing down the moment,

And let yourself relax.

PAUSE…

Let yourself be here right now.

Aware of the miracle of your body.

Aware of the miracle of your soul.

Aware of the miracle of you.

PAUSE…

This…is…you.

Shining.

Radiant.

Extraordinary.

You are brilliant.

Your laugher,

Your loving heart,

Your sense of humor,

Your beautiful body,

There is no one else like you.

And you glow…

Just the way you are.

Right now, in this moment.

Not when you’ve arrived at a place you want in the future.

But NOW.

Just as you are.

Radiant.

Extraordinary.

Every time you breathe in, your light gets just a little brighter.

More powerful.

More solid.

Because you know.

You know the strength of your light.

You know the power of your mind.

You know the beauty of your heart.

You know the depths of your soul.

You know…

You are extraordinary.

And this light reminds you of your greatness.

You are extraordinary.

Namaste, Beautiful.
Python代码阅读（第94篇）：加权均值
Tags: Python, Coding, Beginner, Software Development, Programming

本篇阅读的代码实现了计算加权均值的功能。

本篇阅读的代码片段来自于30-seconds-of-python。

weighted_average

def weighted_average(nums, weights):

return sum(x * y for x, y in zip(nums, weights)) / sum(weights)



# EXAMPLES

weighted_average([1, 2, 3], [0.6, 0.2, 0.3]) # 1.72727

weighted_average 函数接收一个待求均值的数字列表 nums 和一个对应的权重列表 weights ，返回加权均值。

函数使用 zip() 将两个列表组合提取，同时获得 nums 的当前值和对应的权重。再使用列表推导式迭代所有值和权重对，并将其两两相乘生成一个新的列表。最后使用 sum() 函数计算新列表元素的和，除以权重的和，计算出加权均值。

zip(*iterables) 创建一个聚合了来自每个可迭代对象中的元素的迭代器。返回一个元组的迭代器，其中的第 i 个元组包含来自每个参数序列或可迭代对象的第 i 个元素。 当所输入可迭代对象中最短的一个被耗尽时，迭代器将停止迭代。 当只有一个可迭代对象参数时，它将返回一个单元组的迭代器。 不带参数时，它将返回一个空迭代器。 相当于:
破解Inbody天書｜增肌或減脂，讓數字告訴你
By: Fitness Factory_Taiwan
Tags: Bmi Inbady, 飲食控制, 運動, 健身, Beginner

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
Python basics: operators. In this series, we cover some basic…
By: Denz Ljy
Tags: Python Num Operators, Beginner, Python

In this series, we cover some basic Python numerical operators with precise numbers (int and float). This is a small part of a numpy series and by the end of this tutorial, you’ll be able to solve some basic sums from your console or IDE(highly recommend).

Operators for arithmetic sums: addition, subtraction, division and floor division

a = 3

b = 2

Addition:

a+b

Subtraction:

a-b

Multiplication:

a*b

Division:

>>>a/b

1.5

The division quotient above returns a value of .1f (one decimal point) which is represented as type() = float .

Floor division: makes the division and rounds off the quotient value

>>> a//b

1

The operation of the two int values returns 1 as a rounded value of 1.5.

Rounding off and absolute values

round() makes the value the nearest whole number and abs() returns the absolute value.

n = (-2)

var = abs(n)

The negative value negates to return the magnitude version var .

Increment operators are assignment operators that return changing values. For example, the += and *= operators adds to and increases the fold each time the variable gets returned.

x += 1

x *= 1

Comparison operators are used to compare the likeliness of two or more conditions.

table of comparison operators

For example, comparing conditions that return TRUE and FALSE which are Boolean objects that represent either (1) or (0).

To combine two conditions with: AND

x = 4

y = 7

z = 9

y <= 10 and y > 2

This returns TRUE since the variable falls within a range of values.

To compare possibility in a set of two or more conditions with: OR

x > 2 or y > 5 or z > 10

As at least one condition is correct, this returns TRUE.

To conclude this quick tutorial, the arithmetic operators above are also useful in python fundamental operations such as indexing spreadsheets when combined with enumerate function and for loops.

Thanks for reading!
Useful technologies to use when writing software
By: Vincent Soweto
Tags: Softawaredevelopment, Beginner, Website Development, Technology

As a Computer Science student I have encountered many tough problems to solve such as learning paths, important industrial skills and useful tool for software development.

Currently I have delved into Web Development and find there are great editors such as Dreamweaver, Atom, Visual Studio Code etc. As a new or solo or group Web Developer it is difficult for people to decide what technology to use that make the tasks easier to solve.

I suggest people use Visual Studio Code. What is Visual Studio Code? It is a light weight programming environment that has multiple extension that make debugging and writing software easier. It also possesses many extensions for example live server, git lens etc.

Live server is a extension that assists programmers render static and dynamic pages at the click of a button instead of having to configure and install Apache server and save the software in a particular folder. Live server run your code from the open folder(current working directory).

Git Lens is a extension that assists user determining who edited an lines of code for particular projects. This make it easier for debugging and determining who is responsible for any changes in the group project. A panel on the left gives you repository history.

Thank You for reading till the end and I hope this article would help you with your Preparations. All the Best !!!
“ INSEPARABLE TEA”
By: Prateeti Hazarika
Tags: Beginner, Life, Poetry

“ INSEPARABLE TEA”

The phone beeps “ It’s time to wake up”,

Me “ Oh No !”,

After a moment,

I see the first glance of it for the day,

It smiles at me,

I begin my day by holding it in my favorite mug,

It rejuvenates and cheers me,

Ah! Yawn disturbs me,

It comes as a savior,

When loneliness disrupt me,

It becomes my companion,

When negativity encircles me,

It refreshes me with positivity,

It is my “TEA”,

My caretaker,

Cups fall short,

Boost me throughout the day,

As I wish it Good Night,

One last time for the day.
What is EXPLORE? (SPSS). So you want to explore your data in…
By: Graham Waters
Tags: Explore, Tutorial, Data, Spss, Beginner

So you want to explore your data in SPSS? Here are some easy steps to get started.

Step 1 — Open your data file.

If you want to read another tutorial on opening files check out my other article here.

Step 2 — Click on the Analyze tab.

Step 3 — Navigate to the explore… option as shown below.

Step 4 — Explore in Descriptive Statistics pulls up the window below. You want to move any nominal data such as color, or shape.

Step 5 — Once data is moved into the correct fields it should look like this.

Step 6 — Include outliers by clicking on options and selecting the option for outliers.

Step 7 — Select the Plots option. Include Histogram and Normality plots with tests.

Once you have done this your main window will look like the window shown below.

Select ok to continue.

Output

The table below as well as graphs and other outputs will display in the output file. These can be used to interrogate your data.

Each section above should show the segments of your data.

Happy Analyzing.
Beginning
Tags: Beginner

Hello there, who read this story, or just scrolling through the medium.

This was my first story. I just want to introduce myself here so hopefully, you’ll know me better soon.

You can call me mldy. I was born in Malang, a little city in Indonesia that very beautiful and lovely. Right now, I already graduated from college and now I was a fresh graduate person. When I was a child, I like to write a story that comes to my mind. Then, I dreaming about being a novelist. But now, I just forget about everything that I dreamed of and starting a new dream. I love studying nature because in college I study biology, especially about our environment. lately, I was thinking about seeking a job because I already graduated and I am an adult now. So, I need a job. But, something comes to my mind. I remember that when I was a child, I’d love to write stories like fanfiction (because I like K-Pop), poems (I posted on Tumblr), and journaling about my life. So, I go back here and I want to start writing again. About everything that I know, about everything that I had just passed, and about everything that I love.

I hope later, my writing and my English will be improved so my stories will be more interesting for everyone who reads it. I hope everyone will enjoy and feel my stories. I will be back soon when I already learn how to write good stories or articles. I hope you all waiting for me.

Sincerely,

mldy
Creating illustration using CSS
By: Aneeqa Khan
Tags: Beginner, CSS, React

Hi all, I was working on this illustration for a few days and now it’s completed and I am very excited to show you all.

How it started

I am an artist besides a software engineer. I am always illustrating and painting in my after office hours. So it gave me thought why not try to make it in CSS.

I already saw many amazing illustrations by talented people on Twitter and it made me more motivated.

Illustration choosing

A few months ago, I was trying to learn Adobe Illustrator and for the first practice project, I created a radio or boombox. So this time I also thought why not Boombox. But I somehow lost my illustration so I couldn’t able to use it as a reference. 😔

I searched on Pinterest and found some really cool illustrations and took my basic reference from it. Here is the reference pic I choose.

Real work started

I used codesandbox react editor to create boombox. Actually, I wouldn't say to use react specifically, you can create it in simple HTML and CSS. It's all about your personal preference and mine was react . 😊

I wouldn't share the step by step coding procedure, as I don't think of myself as a pro CSS illustration creator. 😀

But I'll share my codesandbox link below for you all to check and give me suggestions. I know I need a lot of improvements and with your all help I can learn more. 😇

Final Reveal

After a few days, I able to finish it. But I only worked on it for a couple of hours in a day. I think it would take a maximum of 4 to 5 hours if I would try to complete it in a day.

I also skipped some things from the illustration, I didn’t want to make it complex for the first time. I am planning to add these for the second part. 😊

Stay tuned and do share your thoughts about it.

Thanks!👋
Conquer The Command Line: The mv Command
By: Jim Homme
Tags: Tutorial, Command Line, Beginner, Linux, Programming

In this installment of “Conquer The Command Line” we talk about how to use the Linux mv command.

When ever you want to move or rename files or directories, use the mv command.

Here is how the mv command works. You type mv <item1> <item2> ... , where the items are either files or directories.

Let’s say the command contains the mv keyword followed by two items. This is how to rename a file or directory.

If the first item is the name of a file that exists and the second item is a new name of a file that doesn’t exist, mv renames the file, giving the first name the second name. Let’s say you have a document named daily and you want to rename it to journal. To do that, type mv daily journal .

The same thing happens if the first item is a directory and the second item is a name that doesn’t exist. If you have a directory named data and you don’t have one named docs, you can rename the data directory like this. mv data docs .

Again let’s take an example where the command line contains the mv keyword and two items, but this time the first item is a file name and the second item is a directory name. If that happens, you would move the file into the directory. For instance, let's say you have a file named water.log and you want to move it into the docs directory. Type mv water.log docs .

You can do the same thing if you want to move a directory into another one. For instance, if you have a journals directory that you want to move inside your docs directory, you could type mv journals docs .

Using Paths With mv

I intentionally made the above examples simple. You can also include paths on the command line and rename and move files and directories. The idea is to grasp how this works before you get fancy.

Essential Options

-i makes mv prompt you to confirm that you want to overwrite files and directories regardless of file permission. You might want to consider using it to keep yourself from accidentally destroying something important.

-n : Don't overwrite files. This is another way to keep yourself from deleting something you want to keep. The difference between this option and -i is that Linux doesn't prompt you. It skips replacing files automatically.

You can make directories with the mkdir command. You can remove directories with the rmdir. You can use cd to change to, or move into directories. You can use the pwd to display or print the name of the current directory. You can use the ls command to list the contents of a directory.

Remember to use the man command to find all the options for any command on your system. And remember that for a less technical explanation of commands to check out tldr pages.

Hopefully this post has helped you take one more step in conquering the command line. I welcome any feedback.

This post was originally written at https://www.jimhomme.com
[ Day 20 in the life of Naz at Hospital in England ]
Tags: Hospital, Beginner, Ng Tube, Mental Health

Published 15/12/2020

Go checkout my other blogs if you haven’t read them:

Hi guys… it’s me.. Naz!!

So today wasn’t as good as the other days, I woke up in a bad mood and I felt really tired, even though I had like 8 hours of sleep. I think the medicine is starting to kick in now, they’ve also doubled the doses, so that’s probably why.

Today I had nurse ‘C’ and didn’t do much. I was still having all my feeds via the NG tube and only had ‘Starbucks Caffe-Latte’, 5 Pringles, Kinder Bueno and some olives. Probably about 400 kcal in total. I forgot to mention that I went downstairs to get it. It was like my third time using contactless on my phone — as a fourteen year old.. it was a big achievement. :)

So now, I switched to another nurse, don’t know the name.. but it’s probably going to be boring, as I don’t feel like doing anything, and my parents are probably going to get divorced, but there’s so little I can do.

I think today is the crappiest of the days I’ve been in hospital. I just feel kind of lost because my mom isn’t telling me anything because they think I’m not stable enough to hear it. It’s just making me more anxious not knowing.

I’m really furious, no ones telling me what’s going to happen next in hospital. I don’t even know when I’ll be discharged. It’s like I’ve lost control of my own life.

Anyways guys, I think I’m going to end it there, I’ll let you guys know what happens tomorrow.

All the best.

Naz
One day at a time
By: Sherin Philip
Tags: Random Thoughts, Beginner, Everyday Life, Boredom

A subtle-recurring-emotion.

As cliché as it may sound, we all must have come across the term, “comfort zone”.

A feeling wherein one embraces the idea of familiarity out of some instinctive urges and we believe it is supposed to remain therapeutic always.

Places, people, playlists to name a few.

But strangely enough,

these days, one of the above holds a great potential in acting as a collateral damage to ones anxiety.

The mere sight of familiar things drains out all the energy in you.

Everyday actions like scrounging the depths of the internet for an escapist environment has taken the form, where these screens of entertainment is sucking you dry lately.

The same room, in the past, you used to wind down makes you even more tired.

Or remember how we come across confessions that relationships are not “exciting” anymore but a series of some mundane questions and answers.

YES!! I guess that’s when you know, the magical wand of monotony has been waved!!

Also, in this era, it is rather not uncommon to witness radical changes, like gone are the golden days of ONE SIZE FITS ALL kind of an approach, carving a way for a new and pragmatic one, but having said that, I feel that the latter outlook was not only adopted for better results but also out of boredom.

A classic example is how we religiously and mindlessly follow every single advice from self help sources only to realize that “this might not be my thing”.

And when nothing works, you gather all your things, your place, people and playlist, disparate enough, hoping to make peace with each other.

No guarantee of them surviving for another day.

Yet, somehow it overcomes the boredom!

One day at a time.
Python basics required for solving Monthly Leetcoding challenges
Tags: Python, Skills, Beginner, Leetcode, Programming

Background:

Having gone through Elements of Programming Interviews during my preparation for on-campus interviews, I have fair understanding of DSA. This was more than a year back and I used C++.

I have beginner level Python skills as I used it in my Research Practice courses while exploring ML/DL stuff. As my daily job requires using python 90% of time; apart from reading Fluent Python, I decided to solve daily challenges on Leetcode (amazing book by the way).

I have a habit of not closing the tabs that I open while solving problems/working. In this post, I want to document and share what stuff I looked for the most while solving around 60 problems in the past 1.5 months. It might help someone beginning with python. I would neither follow any order nor try to build any comprehensive or exhaustive cheat-sheet.
eBay Product Research Using Terapeak For Domain Flipping — Find WINNING Sellers For Domaining
By: Amir Rimer
Tags: Research, Entrepreneurship, Business, Insights, Ecommerce

eBay Product Research Using Terapeak For Domain Flipping — Find WINNING Sellers For Domaining Amir Rimer ·Dec 26, 2020

Hi There!

Welcome to my new and 100% FREE Domain Flipping course!

In this course you will learn how to make and honest income online by selling domain names on eBay.

In this lesson I will teach you about an amazing eBay insights tool which is called: Terapeak

Here is the lesson

Feel free to comment with any question or comment that you may have, and I will do my very best to answer.

Curriculum:

Lesson 1: eBay Product Research & Seller Research Tool

Amir

p.s: you can watch more free lessons here

p.p.s: the full course is available on my site here