teleren/devto huggingface dataset:
My CSS Wishlist
Tags: css, rwd, design
Published: 2017-09-12 01:56:43

---
title: My CSS Wishlist
published: true
description: A list of ideas for new selectors, at-rules, units, values, properties and functions for CSS
tags: css, rwd, design
---

## Selectors

- `:previous` to select the previous element sibling
- `:parent` to select the parent element
- `:closest(selector)` to select the closest ancestor matching a selector
- `:ancestor(selector)` to select all ancestors matching a selector
- `[attribute < number]` select if attribute is less than a number
- `[attribute > number]` select if attribute is greater than a number
- `[attribute <= number]` select if attribute is less or equal to a number
- `[attribute >= number]` select is attribute is greater or equal to a number
- `:attribute(partial-name-*)` select by partial attribute match
- `:tag(partial-name-*)` select by partial tag name match

## At-Rules

- `@element selector (condition) { stylesheet }`

## Units

- `ew` 1% of element's width
- `eh` 1% of element's height
- `emin` equal to `min(1ew, 1eh)`
- `emax` equal to `max(1ew, 1eh)`

## Values

- `auto-expand` as a value for `width` and `height` properties
- `offsetWidth`, `offsetHeight`, `offsetLeft`, `offsetTop`
- `scrollWidth`, `scrollHeight`, `scrollTop`, `scrollLeft`
- `innerHTML.length`, `value.length`
- cursor `X` position, cursor `Y` position

## Properties

- `aspect-ratio` to set height based on the element's width and a ratio

## Functions

- `clamp(min, mid, max)` to limit scalable values with a minimum and maximum
- `round(number)` gives the nearest integer to a given number
- `floor(number)` gives the largest integer equal or less than a given number
11 great quotes from The Tao of Programming
Tags: devtips, life, book, zen
Published: 2017-09-11 22:55:06

---
title: 11 great quotes from The Tao of Programming
published: true
description: Without the wind, the grass does not move. Without software hardware is useless.
tags: devtips, life, book, zen
cover_image: https://thepracticaldev.s3.amazonaws.com/i/mbwvl8xky5k6al4nk8q9.jpg
canonical_url: https://learnetto.com/blog/11-great-quotes-from-the-tao-of-programming
---

_Originally published at [Learnetto.com](https://learnetto.com/blog/11-great-quotes-from-the-tao-of-programming)_.


The Tao of Programming by Geoffrey James is a strange and funny book. It’s one of my all-time favourites.


These are some of my favourite quotes from the book:


“*After three days without programming, life becomes meaningless.*”

“*I don’t know whether I am Turing dreaming that I am a machine, or a machine dreaming that I am Turing!*”

“*When a program is being tested, it is too late to make design changes.*”

“*A well-written program is its own Heaven; a poorly-written program is its own Hell.*”

“*But how will I know when I have received Enlightenment?” asked the novice. “Your program will run correctly,” replied the Master.*

“*Though a program be but three lines long, someday it will have to be maintained.*”

“*Let the programmers be many and the managers fewâ€Š–â€Šthen all will be productive.*”

“*You can demonstrate a program for a corporate executive, but you can’t make him computer literate.*”

*The Master Programmer moves from program to program without fear. No change in management can harm him. He will not be fired, even if the project is cancelled. Why is this? He is filled with Tao.*

“*Without the wind, the grass does not move. Without software hardware is useless.*”


You can [get a copy on Amazon](https://www.amazon.com/Tao-Programming-Geoffrey-James/dp/0931137071/) or [read it online here](https://paranormal.se/article/tao-of-programming.pdf).
How I Changed My Django App Admin Password
Published: 2017-09-11 21:09:02

---
title: How I Changed My Django App Admin Password
published: true
description: 
tags: 
---

I know most of all have fallen prey to setting a ridiculously hard password to our admin panels, saving them somewhere and loosing the password due to forgetfulness, or one of the other many reasons we lose our passwords.

This happened to me while working through a Django tutorial and I just want to document how I was able to solve it.

1) Access your python shell using:
```
python manage.py shell
```
This little code snippet will bring up your python shell development.

2) Next thing we will do is to get the lists of users and this can by done by:

a: Import Users from Django auth:
```
from django.contrib.auth.models import User
```
b: Assign Users objects to a variable and print it:
```
users = User.objects.all()
print users
```
This prints out the total users in your application, and you can select which is your admin. Generally though, the admin user is often always the first user created.

3) Select the ‘id’ of the admin user:
```
user = users[0]
```
4) Set a new password for the user:
```
user.set_password('the password')
```
5) Save the new password:
```
user.save()
```
The Ultimate Beginner's Guide For Beta Testing Mobile Apps
Tags: ios, android, beginners, testing
Published: 2017-09-11 19:42:41

---
title: The Ultimate Beginner's Guide For Beta Testing Mobile Apps
published: true
description: From where to find beta testers to how to motivate them and more, learn how to make the most out of this crucial stage in your app's journey.
tags: ios, android, beginners, testing
cover_image: https://thepracticaldev.s3.amazonaws.com/i/6r78mc5fl0ujw2mqkzm8.jpg
---

The majority of our 15,000 [customers] (https://instabug.com/customers?utm_source=devto&utm_medium=&utm_campaign=post&utm_content=betatestingslides) use us in the beta builds of their apps and we constantly get questions about beta testing. 

So we decided to put together a beginner's guide with tips, resources, and answers to the most common questions about beta testing mobile apps.

<a href="https://www.slideshare.net/Instabug/the-ultimate-beginners-guide-for-beta-testing-mobile-apps-79634773?utm_source=devto&utm_medium=&utm_campaign=post&utm_content=betatestingslides"><img src="https://thepracticaldev.s3.amazonaws.com/i/me64ghdbc3fdc0qneofe.png"></a>

Here's what you'll learn in these 50+ slides:
- What is beta testing?
- Why is it important?
- What types of beta tests are there?
- How long should a beta test take?
- What are the best places to distribute your app?
- What are the responsibilities of beta testers?
- What types of beta testers are there?
- How many beta testers do you need?
- Where can you find beta testers?
- How should you manage beta testers?
- How can you motivate your beta testers?
- Where can you learn more about beta testing?

See the full presentation here: [The Ultimate Guide For Beta Testing Mobile Apps] (https://www.slideshare.net/Instabug/the-ultimate-beginners-guide-for-beta-testing-mobile-apps-79634773?utm_source=devto&utm_medium=&utm_campaign=post&utm_content=betatestingslides)

We're all about feedback (user feedback lies at the heart of our company!), and we'd love to hear yours. Share your comments and beta testing questions with us at content@instabug.com or ask us anything at contactus@instabug.com.
The 7 Most Popular DEV Posts from the Past Week
Tags: top7
Published: 2017-09-11 17:02:15

---
title: The 7 Most Popular DEV Posts from the Past Week
published: true
description: A round up of the most-read and most-loved contributions from the community this past week.
tags: icymi
cover_image: https://thepracticaldev.s3.amazonaws.com/i/xsr1z6iqv0pd7p3s6ns3.png
---

Every new week we round up some of the last week's top posts, comments, and tweets. If you have any feedback, please leave a comment. â¤ï¸

#1. Programmer -> Lead -> Exec 
[Lorenzo](https://dev.to/lpasqualis) has been coding since 1984 and is focused on the human dimension of software engineering. In this AMA, he shares his advice with the dev.to community. 

{% link https://dev.to/lpasqualis/i-spent-30-years-coding-full-time-them-i-switched-to-full-time-management-and-leadership-ask-me-anything %}


#2. Are you ready to go?

![Gopher](https://thepracticaldev.s3.amazonaws.com/i/bkv3xbjb74epempcjone.gif "Gopher")

New job, new language. This post is about [Francis's](https://dev.to/codehakase) experience learning go. He gives us an intro to the language, and reasons why we should give go a try. 

{% link https://dev.to/codehakase/how-i-learned-go-programming %}

#3. From carpal tunnel to ramen
One of our engineers, [Andy](https://dev.to/andy), was on a search to give up his mouse bc carpal tunnel blows. From there, he somehow ends up discovering a package that blesses code with ramen. 

{% link https://dev.to/andy/whats-your-favorite-useless-repopackagewebsiteetc %}

#4. How to Function...al Programming with Javascript

In [Tiffany's](https://dev.to/twhite) new series, she researches and dives into the hot topic of functional programming in javascript by writing a few functions. This post is all about `.filter()`

{% link https://dev.to/twhite/functional-programming-in-javascript-yes-please %}

#5. AMA with the Crystal creators
Crystal is an open source programming language aimed to be friendly for both humans and computers. It's a statically typed, compiled language with a really heavy type inference. The Crystal team were kind enough to let our community _ask them anything._

{% link https://dev.to/crystal-lang/we-created-the-crystal-language-ask-us-anything %}

#6. Chop wood, carry water
[Kevin](https://dev.to/kev_mcg) connects mindful exercises to daily activities related to programming. Here are the exercises he came up with. 

{% link https://dev.to/kev_mcg/mindful-code-exercises %}

#7. When choosing a framework...
[Sylvain](https://dev.to/martyonthefly) wants to know why he _shouldn't_ choose RoR. In his post, he lists his requirements and questions. 
  
{% link https://dev.to/martyonthefly/why-should-i-not-choose-ruby-on-rails- %}



_That's it for our weekly wrap up! Keep an eye on dev.to this week for daily content and discussions...and if you miss anything, we'll be sure to recap it next Monday!_
Disable notifications
Tags: devtips, productivity
Published: 2017-09-11 16:46:20

---
title: Disable notifications
tags: devtips,productivity
description: How to become X times more efficient in one simple step.
feature-image: 
canonical_url: http://danlebrero.com/2017/08/01/efficient-developer-disable-notifications/
cover_image: http://danlebrero.com/images/blog/efficient-disable-notification.jpg
published: true
series: Efficient Development
---

As part of my job as a reluctant architect, I have the privilege of teaching a “developer productivity” course, where I outline basic points that have helped me become a more [efficient](http://codingwithempathy.com/2017/01/24/efficiency-effectiveness-teams/) developer during my career.

I want to share one of those points today, one that will have a huge productivity impact with minimal effort:

### Disable the email pop up notifications. 

You don't even want to see the number of unread emails in your taskbar. 

In fact, you don’t need to see any notifications. **Disable them all**.

Don’t let them break your concentration.
Be Tron: Fight for the User aka Be a User Advocate
Tags: userexperience, ux, design
Published: 2018-01-25 03:58:42

---
title: "Be Tron: Fight for the User aka Be a User Advocate"
published: true
tags: user-experience,ux,design
canonical_url: 
---

#### Someone needs to think with the user first and foremost in mind, make that person&nbsp;you.

![](https://cdn-images-1.medium.com/max/696/1*6CyTuYz0D92cl4ynXjW45A.jpeg)<figcaption>All Rights to the image belong to Disney and it’s subsidiaries. Don’t want to be sued just love Tron.</figcaption>

> I know making a product comes down to a question of fiscal feasibility. It’s about generating enough money from revenue, advertising and customers, to keep the lights&nbsp;on.

It makes complete sense — I understand. Even open source and free projects have a cost. The user, the person(s) for whom you built this service/product is and should be the highest priority. Sometimes when people concentrate too much on squeezing everything for revenue they then start to overlook growing pains or inherent product issues. In these moments a product manager, designer, developer product designer or someone, needs to raise their voice and fight for the&nbsp;users.

_I know saying this is easy._ It costs nothing to write these words down and not follow through. It is not as simple as telling your boss(es) or coworkers there needs to be change. Some things you can do are pointing out little things at a stand up, mentioning a feature that can be slowly implemented, or making small changes that benefit users and add accessibility, but make no difference to the code or to the company. These series of small changes seem less daunting and may be seen as easier to implement. Baby steps are success as&nbsp;well.

Greed is creating a system of reliance on digital products and software that is poorly thought-out and can directly affect the user or indirectly affect others. I don’t want to sound alarmist but systems that don’t function but are required to be used by people at large are slowly becoming an epidemic. Even popular sites and services are sacrificing user satisfaction, and usability in exchange for pocketing as much money as possible.

There is no easy&nbsp;answer.

There is no surefire ultimate list or stepped process to make your voice heard and push through the bureaucracy and bullshit and get people to pay attention to you. In some circumstances, people know that you are right and will resent you trying to make things better. These things take hard work and some want the easy road. In other instances people will want to do things their way to the exclusion of all else. Disregarding reason, research and data in favor of their gut feelings.

All you can do is fight. **I will continue to fight as hard as I can for the users. I hope you do the&nbsp;same.**

This is still new for me and I’m trying to get in a habit of writing more. Share any thoughts in the comments below or on my twitter [@teekatwo](https://twitter.com/teekatwo).
I Found My People at a Programming Meetup
Tags: elm, webdev, career, discuss
Published: 2017-09-11 14:03:58

---
title:  I Found My People at a Programming Meetup
published: true
description: "My recent experience at an Elm DC meetup that unexpectedly resulted in a few feels." 
tags: elm, webdev, career, discuss
canonical_url: http://www.vincecampanale.com/blog/2017/09/09/elm-meetup-feels/
---
![Image found at: http://allfaithcenter.org/wp-content/uploads/2013/07/Birds-of-a-feather-flock-together-a5098s.jpg.](http://allfaithcenter.org/wp-content/uploads/2013/07/Birds-of-a-feather-flock-together-a5098s.jpg)

I recently took over Elm DC, a meetup in the D.C. Metro area centered on an interesting new functional language for the web called Elm.

At the most recent meetup, I had the idea to wire up my Macbook to the big TV and work through a coding challenge in Elm on the premise that anyone interested could join in.

The first few minutes were a bit awkward, as a room full of programmers may be, but not much time passed before people started looking up from their screens and chipping in an idea here, a comment there. Before I knew it, every single person in that room (there were about 7 of us) had rallied around the TV and was completely immersed in the challenge, some even standing up from their seats and moving closer to the screen.

In that moment, I knew I had found my people. I picked the right profession after all. 

Being new to this industry, the feeling of being a "noob" is one I'm quite familiar with. But in that room, experience and knowledge didn't matter. Despite our many different backgrounds, personalities, and levels of experience, we were all on the same page -- we were programmers, problem solvers. Put a problem in front of us and we wouldn't have been able to stop our minds from going to work on that problem. 

As programmers, we gravitate towards unsolved problems and stare them in the face until they become solutions, then we go look for new problems to grapple with.

As individuals, our effectiveness is determined by our unique blend of personality characteristics, mental strengths, and domain specific knowledge, but the spine of every programmer's mentality is the urge to solve problems. It doesn't matter how early or late we are in our career, what technologies and tools we happen to use in the moment, what we studied in college, whether we are trying to get a system to mimic the human brain or tracking down a TypeError -- the ability to identify problems and the drive to solve them powers everything we do and is the only reason we can do what we do (and do it well). It's a beautiful thing and I'm proud to be in the club.

In the spirit of dev.to's culture of debate and discussion, I'm curious about your take on this. Do you see this quality within yourself? Did I miss the mark, hit the nail on the head, or somewhere in between? What other defining traits make you a programmer?




Also if you like Elm, follow me on twitter at [@_vincecampanale](https://twitter.com/_vincecampanale). I post about Elm and Javascript and other programming-related things there.
[HakaseLabs] React30 Article Streak - Day 1
Tags: javascript, webdev, frontend, react
Published: 2017-09-11 12:16:03

---
title: "[HakaseLabs] React30 Article Streak - Day 1"
published: true
description: A 30 day React Article covering various concepts of the React JavaScript framework.
tags: javascript,webdev,frontend,react
---

React is a UI library developed at Facebook to facilitate the creation of interactive, stateful & reusable UI components. It is used at Facebook in production, and Instagram.com is written entirely in React.

One of it's unique selling points is that not only does it perform on the client side, but it can also be rendered server side, and they can work together inter-operably.

It also uses a concept called the Virtual DOM that selectively renders subtrees of nodes based upon state changes. It does the least amount of DOM manipulation possible in order to keep your components up to date.


In this article on [My Blog](https://hakaselabs.github.io/2017-09-11/learning-react-day-1), we’ll look at how to set up a basic application with React and also explore what makes React thick.
What do you send in your personal newsletter?
Tags: discuss, personalbrand, newsletter, email
Published: 2017-09-11 02:52:05

---
title: What do you send in your personal newsletter?
published: true
tags: discuss, personal brand, newsletter, email
---

I've had a [personal email newsletter](http://eepurl.com/bGXerj) for a while but I've always failed to consistently send out stuff to it. I'm curious what folks send out to their own personal newsletter and how they engage with their audience?

If you don't have a personal email newsletter, are there any personal email newsletters you've signed up for and what keeps you signed on?
Quick reference for ruby array methods: push/pop vs. shift/unshift
Tags: ruby, codenewbie
Published: 2018-10-03 23:17:27

---
title: Quick reference for ruby array methods: push/pop vs. shift/unshift
published: true
tags: ruby,code-newbie
canonical_url: 
---

I love to make tables to help me integrate ideas or objects and how they relate to each other.

When I was learning how to work with arrays in Ruby, the words for functions .push, .pop, .shift, and .unshift, didn’t carry any intrinsic meaning or distinction to me in terms of working with an array (unlike .collect, and .size, which do). I kept getting confused about which thing returns an element, and which one returns the rest of the array, and whether it acts on the beginning or the end. So, here’s my table!

|   	  |beginning|end|
|-------|:--------:|:----:|
|adding, returns array| .unshift|.push|
|returns removed element| .shift| .pop|

- and of course, << (shovel) is syntactic sugar for .push

_Originally published at_ [_donnacodes.com_](http://donnacodes.com/2017/09/11/push_pop_vs_shift_unshift/) _on September 11, 2017._
The 11-minute guide to building and launching an online store with Rails, Stripe Checkout and Heroku
Tags: rails, stripe, heroku, ruby
Published: 2017-09-10 17:06:53

---
title: The 11-minute guide to building and launching an online store with Rails, Stripe Checkout and Heroku
published: true
description: Learn to build and launch a real online store in this 11-minute video tutorial with Rails, Stripe checkout.js and Heroku
tags: rails, stripe, heroku, ruby
cover_image: https://thepracticaldev.s3.amazonaws.com/i/63fmg52amhpuphv1vb54.jpg
canonical_url: https://learnetto.com/tutorials/the-11-minute-guide-to-building-and-launching-an-online-store-with-rails-stripe-checkout-and-heroku
---

_Originally published at [Learnetto.com](https://learnetto.com/tutorials/the-11-minute-guide-to-building-and-launching-an-online-store-with-rails-stripe-checkout-and-heroku)_.

Learn to build and launch [a real online store](http://stickers.win) in this 11-minute video tutorial. We will build a simple store which accepts payments through Stripe checkout.js and deploy it to Heroku.

{% youtube BjXsB88fTtQ %}
Free SEO Tools
Tags: seo, optimization, tools
Published: 2017-09-10 14:17:53

---
title: Free SEO Tools
published: true
description: Free SEO Tools for Website Optimization
tags: SEO, Optimization, Tools,
---

**1 WEBSEITEN TOOLS**


**1.1 GOOGLE**

Test My Site https://testmysite.withgoogle.com/intl/en-gb
Search Console	https://www.google.com/webmasters/tools
Structured Data https://search.google.com/structured-data/testing-tool
Mobile Friendly https://www.google.de/webmasters/tools/mobile-friendly
Page Speed https://developers.google.com/speed/pagespeed/insights

**1.2 TESTEN**

Seitwert https://www.seitwert.de
Webpage Test http://www.webpagetest.org
Woorank	| https://www.woorank.com
Website Grader	 https://website.grader.com
Siteliner http://siteliner.com
Seiten Report http://www.seitenreport.de
Domain Value http://www.domainvalue.de
Ahrefs	https://ahrefs.com/de
Optimization https://optimization.tips

**1.3 TECHNOLOGY**

Buildwith https://builtwith.com
Wappalyzer https://wappalyzer.com
Sitestack https://sitestacks.com

**1.4 COPYRIGHT**

Plagiarism Checker http://smallseotools.com/plagiarism-checker
Copyright Protection	http://www.copyscape.com/online-copyright-protection

**1.5 SERVER**

Iplookup https://iplookup.flagfox.net

**1.6 BACKUP**

Httrack	 https://www.httrack.com
Github Repos
Tags: git, github, emacs, orgmode
Published: 2017-09-10 12:55:14

---
title: Github Repos
published: true
description: Github Repos
tags: Git, Github, Emacs, OrgMode
---

- **Index** https://psnc.github.io/index
- **Drupal** https://psnc.github.io/drupal
- **Blogs** https://psnc.github.io/blogs
- **Emacs** https://psnc.github.io/emacs
- **Dolibarr** https://psnc.github.io/dolibarr
- **Solutions** https://psnc.github.io/solutions
- **Linux** https://psnc.github.io/linux
- **Linuxme** https://psnc.github.io/linuxme
- **Me** https://psnc.github.io/me
- **Press** https://psnc.github.io/presse
- **Luxembourg** https://psnc.github.io/luxemburg
- **Pocket** https://github.com/psnc/pocket/wiki
- **Jetbrains** https://github.com/psnc/solutions/blob/master/jetbrains.org
- **Hugo** https://github.com/psnc/hugo/blob/master/hugo-links.org