teleren/devto huggingface dataset:
Emulate Print Layout with Chrome DevTools
Tags: googlechrome, devtools, developertools, css
Published: 2017-04-17 00:06:57

---
title: Emulate Print Layout with Chrome DevTools
published: true
description: How to use Google Chrome Developer Tools to emulate CSS Print media to simulate printing.
tags: google chrome, devtools, developer tools, css
cover_image: https://thepracticaldev.s3.amazonaws.com/i/mt29v98hxs7gqvcrps1h.png
---

Ever want to make your website look good in print layout? A lot of sites do it well, but others fall flat and you're stuck with tons of nasty headers when you go to print. 

I know, I know, you're probably laughing at the thought of printing something, but I actually "print" stuff all the time when I want to save an article to PDF.

[dev.to](/) does a pretty good job of removing headers and footers in print mode, so you can try this directly on this article.

Press `ctrl + shift + i` (or `cmd + shift + i` on Mac) to open up Chrome Developer Tools. Then select the shish kabob in the top right corner of the devtools window and select More Tools -> Rendering  

![alt text](https://thepracticaldev.s3.amazonaws.com/i/3w9y5193b6po9r81iqd5.png "More Tools -> Rendering")

Then scroll to the bottom and select "Emulate CSS Media" with "Print" in the pulldown.

![alt text](https://thepracticaldev.s3.amazonaws.com/i/gsj8ef6itdcfk3h9iko2.png "Emulate CSS Media")

That changes the view of the page from this:
![alt text](https://thepracticaldev.s3.amazonaws.com/i/97n2tbmm7jlw4ap5ml2r.png "Without CSS Media Emulation")

To this:
![alt text](https://thepracticaldev.s3.amazonaws.com/i/056iltqvat1r79kiy5hc.png "With CSS Media Emulation")

Medium also does a good job at this. Check out this article: https://medium.com/@theroccob/devtools-2017-a-free-course-on-google-chrome-developer-tools-43af9c4f8d5d

Here it is without print emulation:
![alt text](https://thepracticaldev.s3.amazonaws.com/i/2i82q2lmyo8prx6pmlu0.png "Without CSS Media Emulation")

With print emulation:
![alt text](https://thepracticaldev.s3.amazonaws.com/i/7jws4x4k1zzjc4p9p83w.png "With CSS Media Emulation")

Thanks for reading! 

If you're interested in some free DevTools video tutorials, check out my free video course at [fogcitylearning.com](https://fogcitylearning.com)
Hi, I'm Nate Gibbons
Tags: introductions
Published: 2017-04-17 15:01:22

---
title: Hi, I'm Nate Gibbons
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 10 years.

You can find me on GitHub as [marshallformula](https://github.com/marshallformula)
You can find me on Twitter as [marshallformula](https://twitter.com/marshallformula)
You can find me on Mastodon as [marshallformula@toot.cafe](https://toot.cafe/@marshallformula)

I live in SLC.

I work for Volume Integration

I mostly program in these languages: Elm, Java, JavaScript.

I am currently learning more about Functional Programming.

Nice to meet you.
Hi, I'm Carla
Tags: introductions
Published: 2017-04-17 10:35:09

---
title: Hi, I'm Carla
published: true
description: hi :)
cover_image: https://thepracticaldev.s3.amazonaws.com/i/j0lx0srny83eg79svde5.png
tags: introductions
---

I have been coding for 2 years.

You can find me on Twitter as [@csrb34](https://twitter.com/csrb34)

I live in Colindres.

I work for SofcloudIT

I mostly program in these languages: php, javascript.

I am currently learning more about security, domains and payment gateways.

Nice to meet you.
Hi, I'm Robert Johnson
Tags: introductions
Published: 2017-04-17 09:16:06

---
title: Hi, I'm Robert Johnson
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 6 years.

You can find me on GitHub as [robert-m-johnson](https://github.com/robert-m-johnson)

I live in Poole, Dorset, UK working for Siemens.

In my day job I use Java but in my spare time I like playing with Clojure.

Nice to meet you.
Hi, I'm SaiKiriti
Tags: introductions
Published: 2017-04-17 08:39:54

---
title: Hi, I'm SaiKiriti
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 2 years and working as Junior Software Engineer.

You can find me on GitHub as [saikiriti](https://github.com/saikiriti)

I live in Hyderabad.

I mostly program in these languages: JavaScript,Knockout, C#.

I am currently learning more about Angular 2, Typescript.
Hi, I'm Diego Saint Esteben
Tags: introductions
Published: 2017-04-17 01:21:16

---
title: Hi, I'm Diego Saint Esteben
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for [number] years.

You can find me on GitHub as [dosten](https://github.com/dosten)

I live in [city].

I work for [company]

I mostly program in these languages: [languages].

I am currently learning more about [topic].

Nice to meet you.
Hi, I'm Jakob Christensen
Tags: introductions
Published: 2017-04-17 07:31:23

---
title: Hi, I'm Jakob Christensen
published: true
description: My introduction post
cover_image: 
tags: introductions
---


I work as an actuary in Copenhagen, Denmark.  I have been coding for work and for fun for 20 years.

I mostly program in these languages: C#, T-SQL, Swift, and F#.

I am currently learning more about Node.js and related stuff such as webpack.

You can find me on GitHub as [t4rzsan](https://github.com/t4rzsan).

Nice to meet you.
Hi, I'm John Eric T. Orolfo
Tags: introductions
Published: 2017-04-16 23:24:19

---
title: Hi, I'm John Eric T. Orolfo
published: true
description: Programmer, Geek and a Gamer
cover_image: 
tags: introductions
---

I have been coding for 6 years.

You can find me on GitHub as [stnight](https://github.com/stnight)

I live in Mandaluyong, Philippines.

I mostly program in these languages: javascript, php and golang.

I am currently learning more about golang, kotlin and rust.

Nice to meet you.
Hi, I'm Omar
Tags: introductions
Published: 2017-04-16 21:20:09

---
title: Hi, I'm Omar
published: true
description: My introduction post
cover_image: 
tags: introductions
---

<img src="https://thepracticaldev.s3.amazonaws.com/i/o308f6durmhmqqmbhltf.jpg" alt="IU logo" height=200px width=200px/>

Hi, my name is Omar and I'm a little bit of a nerd. I got started messing with technology in middle school when I first learned what linux was and installed it on an old computer. 

From there I somehow ended up at Indiana University interested in studying technology but to scared to try Computer Science. So instead I picked [Informatics](http://www.informatics.indiana.edu/undergraduate/index.html) never heard of that, I hadn't either but it sounded good to me. 

When I first got to IU I was afraid of coding and didn't think I was quite smart enough to take up Computer Science and now I'm about to graduate with a degree from Indiana University in Informatics with a minor in Computer Science. I've reached a point where I actually enjoy coding and though I still have a lot to learn I dare to say I've gotten pretty good at it in the past few years. 

After I finish up school I'll be headed to Minneapolis to be a part of Target's Technology Leadership Program. Life is good!

You can find me on GitHub as [omawhite](https://github.com/omawhite), theres not much up there yet, but I'm still working on that. I mostly program in python, I've been learning a bit more php lately, I also want to pick up more javascript. Eventually I want to learn more of Java, C#, or C++ not sure which yet. I did a project in C once that I'm pretty proud of, its on github.


So that's me in a nutshell. I'm a nerd who used to be afraid to code who now likes to spend his time messing around with python. I'm excited to be graduating at the end of the month and I'm even more excited to be moving to Minneapolis soon afterwards.
Hi, I'm Darío Peña Londoño.
Tags: introductions
Published: 2017-04-16 18:51:30

---
title: Hi, I'm Darío Peña Londoño.
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 2 years.

You can find me on GitHub as [ldpenal](https://github.com/ldpenal)

I live in MedellÃ­n, Antioquia, Colombia.

I work for GeekDevelopers S.A.S.

I mostly program in these languages: Java, JavaScript, C++, Python.

I am currently learning more about Databases.

Nice to meet you.
Hi, I'm Chris Woodruff but call me Woody
Tags: introductions
Published: 2017-04-16 14:53:49

---
title: Hi, I'm Chris Woodruff but call me Woody
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 21 years.

You can find me on Twitter as [@cwoodruff](https://twitter.com/cwoodruff)

You can find me on GitHub as [cwoodruff](https://github.com/cwoodruff)

I live in Grand Rapids, MI USA.

I work for myself as an Independent Consultant.

I mostly program in these languages: C# and JS.

I am currently learning more about AI and Machine Learning.

Nice to meet you and ping me on Skype at cwoodruff if you want to connect.
TAILS Linux
Tags: tails, linux, operatingsystem, japanase
Published: 2017-04-16 14:10:42

---
title: TAILS Linux
published: true
cover_image: https://thepracticaldev.s3.amazonaws.com/i/d03c63gv4e3ldphwlz28.png
description: A Tails Linux (amnesic incognito live system) review
tags: Tails, Linux, OperatingSystem, Japanase
---

## General Description

[Tails](https://tails.boum.org/) is a **live operating system** based in Debian Linux and TOR. It became "_famous_" mostly because **Edward Snowden** declared it was the OS he was using. The System itself is pretty easy to install and use. Every step is perfectly described in the official webpage, and the manual is friendly een for those who are not used to linux. 

The whole system needs 4GB, if your pen has more than that, the rest can be used to extra memory, if configured that way. The OS comes with a whole pack of security and privacy tools, apart from TOR navigator, programming tools and a basic office pack.

## ADVANTAGES

It's open source, private, amnesic and light. It's perfect for having a linux always with you, and can be used to check sensitive data (such as personal bank account and mail) in non personal computers.

## DISADVANTAGES

It spends a lot of time starting the session, and it's not useful for fast surfing (as TOR sometimes is slower than regular connections). 

**To sum up**, TAILS is a nice OS to have in handy for certain situations, but I would not recommend it to be your main OS.  


> [æ—¥æœ¬èªžTAILS LINUX ãƒ¬ãƒ“ãƒ¥ãƒ¼](http://hamletagain.hatenablog.com/entry/2017/01/30/031622)
Hi, I'm Sebastian Vinci
Tags: introductions
Published: 2017-04-16 06:57:24

---
title: Hi, I'm Sebastian Vinci
published: true
description: 
tags: introductions
---

I have been coding for 8 years.

You can find me on GitHub as [svinci](https://github.com/svinci).

I live in Buenos Aires, Argentina.

I mostly program in these languages: Java, Scala, Python and JavaScript.

I am currently learning more about infrastructure as a code.

Nice to meet you.
Hi, I'm Praveen
Tags: introductions
Published: 2017-04-16 06:32:08

---
title: Hi, I'm Praveen
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for more than 8 years now but I still feel like a beginner.

You can find me on Twitter as [@apnerve](https://twitter.com/apnerve)

I live in Bangalore.

I work for [ZopNow](https://www.zopnow.com)

I mostly program in these languages: JavaScript.

I am currently learning more about Containers, GoLang and P2P technologies.

Nice to meet you.
Hi, I'm edA-qa mort-ora-y
Tags: introductions
Published: 2017-04-16 04:34:35

---
title: Hi, I'm edA-qa mort-ora-y
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for many many years.

I [write articles](https://mortoray.com/) about programming, from the technical to the exotic.

The [Leaf programming language](http://leaflang.org/) is my creation.
Hi, I'm Jason Featheringham
Tags: introductions
Published: 2017-04-16 03:10:57

---
title: Hi, I'm Jason Featheringham
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for [number] years.

You can find me on GitHub as [thejase](https://github.com/thejase)

I live in [city].

I work for [company]

I mostly program in these languages: [languages].

I am currently learning more about [topic].

Nice to meet you.
Hi, I'm mazennahle
Tags: introductions
Published: 2017-04-16 00:11:09

---
title: Hi, I'm mazennahle
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 2 years.

You can find me on GitHub as [mazennahle](https://github.com/mazennahle)

I live in Montreal.

I mostly program in these languages: Java, JavaScript, PHP.

I am currently learning more about Swift.

Nice to meet you.
Hi, I'm Annie Chatsatrian
Tags: introductions
Published: 2017-04-15 23:09:30

---
title: Hi, I'm Annie Chatsatrian
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 6 years.

You can find me on GitHub as [sortingbubbles](https://github.com/sortingbubbles)

I live in Thessaloniki, Greece.

I work for Draxis Environmental S.A.

I mostly program in these languages: JavaScript.

I am currently learning more about AngularJS, ionic and CSS.

Nice to meet you.
DataDigger 23 available
Tags: openedge, datadigger
Published: 2018-01-22 20:06:33

---
title: "DataDigger 23 available"
published: true
tags: OpenEdge, DataDigger
canonical_url: https://datadigger.wordpress.com/2017/04/15/20170415/
---

There it is, a new version. Right on time as an early Easter present. A version with some nice new features and a LOT of bugfixes, thanks to the DataDigger Testing Team (Thanks guys!)

## Multiple sorting

You can now sort on more than one level in the DataDigger.&nbsp;Take a look at the following screen. I have sorted the customers on their country:

![nurc24p](https://datadigger.files.wordpress.com/2017/03/nurc24p.png?w=840)

When I press CTRL and click on the ‘State’ column, the sort is expanded:

![n765zey](https://datadigger.files.wordpress.com/2017/03/n765zey.png?w=840)

As you can see, the records are now sorted by Country, then by State. You can add up to 9 levels of sorting this way.

As an alternative, you can press the small button to the left of the filter fields. The one with the two arrows pointing up and down. It will open a dialog where you can specify or change the sort as well:

![6fz35ns](https://datadigger.files.wordpress.com/2017/03/6fz35ns.png?w=840)

## Show Value

When you right-click on a value in the data browse, you can choose to let DataDigger show the value. Nothing new, you say.

![dlfeaoi](https://datadigger.files.wordpress.com/2017/03/dlfeaoi.png?w=840)

But now there is ![🙂](https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f642.png) If you do this while having selected more than one row, you will now see the nr of selected rows, the min, max and avg value of the selected rows:

![8uwsvlh](https://datadigger.files.wordpress.com/2017/03/8uwsvlh.png?w=840)

## **Physical name in title&nbsp;**

The datadigger already showed database and table name in the title of the window. In the settings screen, you can now choose whether you want to see the logical database name, the physical or none. By default, this will be the logical name, just like it always has been.

 ![ok8vuwv](https://datadigger.files.wordpress.com/2017/04/ok8vuwv.png?w=840)

## Pingback

Remember E.T.? Well: starting with this version, DD will phone home too. Unless you cut the line, that is. I wrote a full blogpost on the pingback feature, so read about it [here](https://dev.to/patricktingen/pingback-4lf7-temp-slug-9094709)&nbsp;if you are interested or if you want to turn it off.

## Easter Egg

Because this is the easter egg edition, there is also a …. Ah well, find it yourself ![🙂](https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f642.png)

&nbsp;

You can find the new version on [GitHub](https://github.com/patrickTingen/DataDigger/releases/tag/20170415), and as always, my advice is: have fun!
my intro
Tags: intro, firstpost
Published: 2017-04-15 17:27:17

---
title: my intro
published: true
description: i got an email asking me to write an intro, so here it is. 
tags: intro, firstpost,
---

Hello DEV.TO! My name is Henri and I'm a software engineer from Chicago. I work for HERE Maps(http://360.here.com) and work a lot with java, hadoop, and aws. Catch you all on the wire.

Henri
Hi, I'm jelly
Tags: introductions
Published: 2017-04-15 14:55:36

---
title: Hi, I'm jelly
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 2 years.

You can find me on GitHub as [LittleJellycat](https://github.com/LittleJellycat)

I live in St.Petersburg.

I mostly program in these languages: Kotlin, Java.

I am currently learning more about functional programming.

Nice to meet you.
Hi, I'm Christoph Lederer
Tags: introductions
Published: 2017-04-15 14:28:19

---
title: Hi, I'm Christoph Lederer
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 33 years, started with 7 years in 1984.

You can find me on Twitter as [@cldrr](https://twitter.com/cldrr)

I live in Austria ðŸ‡¦ðŸ‡¹.

I mostly program in these languages: Swift â¤ï¸.

I am currently learning more about everything. Everyday. 

Nice to meet you.
Hi, I'm Mads
Tags: introductions
Published: 2017-04-15 14:09:12

---
title: Hi, I'm Mads
published: true
description: My introduction post
cover_image: 
tags: introductions
---

You can find me on GitHub as [madskonradsen](https://github.com/madskonradsen)

I mostly program in these languages: Java, C#, JavaScript.

Nice to meet you.
Hi, I'm Farzad Soltani
Tags: introductions
Published: 2017-04-15 12:58:38

---
title: Hi, I'm Farzad Soltani
published: true
description: My introduction post
cover_image: 
tags: introductions
---

I have been coding for 12 years.

You can find me on GitHub as [farzadso](https://github.com/farzadso)

I live in Tehran, Iran.

I work for JAFR.

I mostly program in these languages: SQL - PL/SQL - HTML - CSS - JavaScript - jQuery - AngularJS - ReactJS.

I am currently learning more about Node.js.

Nice to meet you.
Best IDE or text editor for hackers
Tags: discuss
Published: 2017-04-14 23:27:54

---
title: Best IDE or text editor for hackers
published: true
tags: discuss
---

I'm a little bit tired of VS Code. I want to decrease the presence of Microsoft in my system, so I'm turning back to GitHub's Atom. Also I miss some cool packages from this editor.

But, Atom has a problem with perfomance and RAM. I hope Electron is better since my last time with Atom (about one year ago), but if I need to select another IDE or editor, I want to know what are the best for you. Preferably oriented to web development, and if possible, free software.
Knight's tour solved with Python 🐍
Tags: knightstour, python, pygame, heuristic
Published: 2017-04-15 11:58:17

---
title: Knight's tour solved with Python ðŸ
published: true
description: Knights Tour solved with Python (and graphically with PyGame).
cover_image: https://upload.wikimedia.org/wikipedia/commons/thumb/6/64/Knight%27s_graph_showing_number_of_possible_moves.svg/1024px-Knight%27s_graph_showing_number_of_possible_moves.svg.png
tags: Knight's tour, Python, PyGame, Heuristic
---

*This was originally posted on my [blog](https://rodolfoferro.wordpress.com/2016/09/27/knights-tour-problem/).*

Knights Tour solved with Python (and graphically with PyGame.) Check the repo [here](https://github.com/RodolfoFerro/KnightsTour).

### Requirements: ðŸ’»
* [Python 2.7 or greater](http://python.org/)
* [PyGame 1.9.2](http://pygame.org)
* [Numpy](http://numpy.org)

## About ðŸ‘¾

<blockquote class="embedly-card"><h4><a href="https://en.wikipedia.org/wiki/Knight%27s_tour">Knight's tour - Wikipedia</a></h4><p>The knight's tour problem is the mathematical problem of finding a knight's tour. Creating a program to find a knight's tour is a common problem given to computer science students. Variations of the knight's tour problem involve chessboards of different sizes than the usual 8 Ã— 8, as well as irregular (non-rectangular) boards.</p></blockquote>
<script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script>

This program was made as part of the very first homework of my optimization course taken back in 2015.

The way the problem was solved is using backtracking and recursion, applying the Wansdorff's rule.

### Input
The program won't need any arg variables, but it'll ask you for the dimensions of the board and the initial positions in <code>x</code> and <code>y</code>, in order to begin to compute a solution. The positions are integer values in <code>[0,N-1]x[0,N-1]</code>.

### Constraints:
Of course, some constraints apply to have a solution. If you want a solution, the <code>N</code> from the input must be greater than 5. Also, for a graphical tour, <code>N</code> must be less than 32.

## Running the script
To run the script, just open a terminal in the directory where the script and run it by doing:

<code>$ python Knights.py</code>

(You just have to be sure to have the `knight.png` and `chess.png` files.)

## Output
The program will return a <code>numpy</code> matrix with the tour, and a list with the positions of the knight, which is used to create the graphical tour. An example of this can be seen here:

<img src="https://rodolfoferro.files.wordpress.com/2016/09/knights1.gif" />

## Future work:
If you find anything to be improved, let me know. Details and corrections will be added. (At some moment... ðŸ™ŒðŸ¼)
Hi, I'm Sammy Kumara
Tags: hadoop, bigdata, scala, spark
Published: 2017-04-15 09:26:32

---
title: Hi, I'm Sammy Kumara
published: true
description: Working as a Hadoop Online trainer at RCP Tec
cover_image: 
tags: Hadoop, Bigdata, Scala, Spark
---

I have been coding for [number] years.

You can find me at Hyderabad for Hadoop trainer as [Hadoop Online Hyderabad](https://hadooptraininginhyderabad.co.in)

I live in [Hyderabad].

I work for [RCPTec]

I mostly program in these languages: [English].

I am currently learning more about [Hadoop, Bigdata].

Nice to meet you.