9
How to start a replacement to agetty on boot?view story

https://bbs.archlinux.org – I'm writing this as a new post because it covers a very different topic.I was looking at the source of mingetty, and I think that if I call the function open_tty() (line 134, mingetty.c), then execute another program that it will work.  am I correct?  I am not very good at C, but I think that that's what it should do. wesleyac https://bbs.archlinux.org/profile.php?id=7 (HowTos)

9
Vimscript: Error while checking for substringview story

http://superuser.com – I am currently trying to tie together a function to do something depending on current file path, triggered whenever I change the current buffer with autocmd BufEnter In my .vimrc autocmd BufEnter * call SayLocation() Further down in my .vimrc fun SayLocation() let str = expand("%p:~") if str =~ "~/dir1" echo "I am in dir 1!" elseif str =~ "~/dir2" echo "I am in dir 2!" els (HowTos)

9
[SOLVED] Need to insert a newline after 3rd line of grep pattern searchview story

http://www.linuxquestions.org – I have a file e.g Fedora Linux MAC Windows it should grep 3 lines e.g grep -A2 Fedora file The o/p is Fedora Linux MAC And I want to insert a new line after 3rd line of last grep so o/p should be: Fedora Linux MAC NEWLINE Windows How to do it with[sed,awk,grep]?? (HowTos)

9
AES Decryption ERROR: android pad block corruptedview story

http://stackoverflow.com – I've looked around stack to find an answer to my problem and yet nothing did work. What im trying to achive is to encrypte XML file that is downloaded in ASYNCtask and later on decrypt it. What I've already checked: -Generated key is the same when encrypring and decrypting and saved in sharedpreferenced with Base64. -IV is the same since at the moment its in static variable for testing purposes (HowTos)

9
How to add a line break hint in an Android app nameview story

http://stackoverflow.com – I have an app name that consists of a single word, but it happens to be a slightly long word (14 characters). In the Launcher on my phone, this name is longer then the allocated space so Android breaks the word after the last character that still fits on the first line, which is the wrong place. (HowTos)

9
file upload code via FTP not working for androidview story

http://stackoverflow.com – Here is my code for FTP file upload. (HowTos)

9
Arctic MX-4 vs Antec Formula 7 Thermal Compoundview story

http://forums.anandtech.com – I need to buy some thermal paste regarding which I have a few questions. I can't decide between Arctic MX-4 and Antec Formula 7 :confused: I will be applying it as shown here http://archive.benchmarkreviews.com/...8&limitstart=5 using the 2 line method on my CM Hyper TX-3 EVO 1. Which of the two performs better? 2. (Hardware)

9
EOFException getResponseCode()view story

http://stackoverflow.com – I have this piece of code: public static boolean checkIfURLExists(String targetUrl) { HttpURLConnection httpUrlConn; System.setProperty("http.keepAlive", "false"); try { httpUrlConn = (HttpURLConnection) new URL(targetUrl) .openConnection(); httpUrlConn.setRequestMethod("HEAD"); // Set timeouts in milliseconds (HowTos)

9
Span two columns of gridview over threeview story

http://stackoverflow.com – I hope someone can help me, I have a grid layout populated by an adapter with 8 items. There are three columns in the grid, this leaves me with two rows with three full columns and on with two and an empty gap at the end. I have attached images to detail what I'm trying to achieve. I want to be able to stretch the last row rows columns to fill the width of the gridview. (HowTos)

9
What would I get when sudo a kernel-destructive program?view story

http://unix.stackexchange.com – It suddenly comes to me how easy it will be for a sudoer to crash the kernel, so I tried something like this: 1 #include<stdio.h> 2 3 int main(){ 4 printf("hello world"); 5 int a; 6 printf("%p", &a); 7 int *p = (int*)0xffff000000000000; //x86_64, somewhere in the kernel space 8 printf("%p:%d", p,*p); 9 *p = 1; 10 (HowTos)