Top "Lines" questions

The shortest distance between two points.

Deleting the first two lines of a file using BASH or awk or sed or whatever

I'm trying to delete the first two lines of a file by just not printing it to another file. I'm …

bash awk sed lines
Efficient maths algorithm to calculate intersections

For a game I am developing I need an algorithm that can calculate intersections. I have solved the problem, but …

algorithm math performance intersection lines
How do I draw lines using XNA?

I've read a bunch of tutorials involving XNA (and it's various versions) and I still am a little confused on …

drawing xna lines primitive shapes
How to use Regex to move everything onto one line in notepad++

I'm trying to figure out how to use Regex to merge the contents of my text file (25 lines of data) …

regex merge notepad++ lines
Limit numbers of lines in TextView

I have a scrollable textView, and I want to limit the number of lines displayed, however xml properties are not …

android scroll textview lines
Word wrap in Eclipse Java?

I already have word wrap for Eclipse PHP (How can I get word wrap to work in Eclipse PDT for …

java eclipse eclipse-plugin word-wrap lines
Drawing lines in code using C# and WPF

I'm trying to create a digital clock display using 7 segment displays. I can draw lines in XAML by using code …

c# wpf user-interface lines
Splitting large text file into smaller text files by line numbers using Python

I have a text file say really_big_file.txt that contains: line 1 line 2 line 3 line 4 ... line 99999 line 100000 I would …

python file split lines
Lost code lines when Notepad++ crashed

I was working on a .js file this morning on Notepad++, as usual, when the program just crashed. So I …

file notepad++ lines loss
Python how to read N number of lines at a time

I am writing a code to take an enormous textfile (several GB) N lines at a time, process that batch, …

python lines itertools