18 Topics

Member Avatar for chriswelborn
Member Avatar for chriswelborn

I think Snippets and Tutorials should be excluded from 'Unanswered', or a new section should be created called 'Open Questions' that doesn't include snippets and tutorials. Most of the snippets/tutorials don't receive an answer for a long time and they cloud the view when looking for a quick question to …

Member Avatar for Dani
2
331
Member Avatar for chriswelborn

Is this correct? ![b2b188d015f982534475f938e7bb255c](/attachments/large/2/b2b188d015f982534475f938e7bb255c.png "b2b188d015f982534475f938e7bb255c") That seems like a lot of points for someone that has never contributed. Bug, or exploit?

Member Avatar for chriswelborn
0
321
Member Avatar for chriswelborn

I was just looking at my profile and noticed the member badge section was pointing to 127.0.0.1. I followed the "member badge" link (the page that shows you all the options for member badges), and I found the 127.0.0.1 link there too. Here's some screenshots: ![874331d884a98ce9826488332f6e5dc4](/attachments/small/2/874331d884a98ce9826488332f6e5dc4.png) ![8fa61b7b947ac9b5033017367a405a72](/attachments/small/2/8fa61b7b947ac9b5033017367a405a72.png) ..i clicked my …

Member Avatar for chriswelborn
0
593
Member Avatar for chriswelborn

I'm not much of a javascript developer right now, as I just recently found the need to learn it. I'm using jQuery, and Javascript (sometimes stupidly, like when I find out jQuery already "abstracted out" something I wrote a 20 line function for). My question is about style though, with …

Member Avatar for Troy III
0
240
Member Avatar for chriswelborn

I'm no pro when it comes to BASH, but I have been known to shell-script my way out of a problem here and there. One of the useful things you can do is a for-loop, whether it be used on file names, script arguments, or just a string of words. …

Member Avatar for chriswelborn
0
302
Member Avatar for chriswelborn

I'm no pro when it comes to BASH, but I have been known to shell-script my way out of a problem here and there. One of the useful things you can do is a for-loop, whether it be used on file names, script arguments, or just a string of words. …

Member Avatar for chriswelborn
0
394
Member Avatar for chriswelborn

This is another useful script I came across. It prints a color-code chart in your terminal. It can help you find the color-code you are looking for, or view the current color-scheme you are using (people use it on reddit/r/unixporn to show off their system's theme, I use it to …

0
385
Member Avatar for chriswelborn

I didn't write this, the credits are in the code. It's a code-golf version, and I'm sorry about that. I am trying to 'decode' it but I don't have the skills, so the 'decoded' version doesn't have the right colors. This is an example of what you can do with …

0
1K
Member Avatar for chriswelborn

I just wanted to show the basic usage of docopt, a module that makes parsing command-line arguments so much easier. I'm not affiliated with the creators of docopt, but I'm certainly thankful for their work and happy to post this little snippet. I will point you to [docopt.org](http://docopt.org) for more …

1
3K
Member Avatar for chriswelborn

I would like to create my title image out of pure CSS3, but there is one feature that I'm not quite sure I can even do. Plus, the features that I know are possible don't seem to mix well. I don't know CSS very well, at least anything past the …

Member Avatar for <M/>
0
272
Member Avatar for chriswelborn

I was trying to edit a post that I made earlier, and the "Edit Post" link brought up the text edit mode, but did not have any "Save" or "Submit". Only "Cancel". Also, the "Edit Post" button was still active. When I clicked it the second time it just "refreshed" …

Member Avatar for Dani
0
843
Member Avatar for chriswelborn

I know there are plenty of other places to get info or code snippets for **microcontroller programming** (especially **arduino**). Out of all the boards/sites I visit, I like the **DaniWeb** format the most. I was wondering if a **microcontroller** or **arduino** section could have a home here. Or would that …

Member Avatar for chriswelborn
0
318
Member Avatar for chriswelborn

I've added the necessary registry key to have my app run when windows loads: [B]Hkey_Local_Machine\Software\Microsoft\Windows\CurrentVersion\Run[/B] [B]MyProgram[/B] = [B]c:\MyDir\MyProgram.exe[/B] [I]..I've also tryed adding it to the Programs\StartUp folder.[/I] My app still won't load when windows does. Other apps do, and I was wondering what might be preventing my app, and [U]only …

Member Avatar for chriswelborn
0
528
Member Avatar for chriswelborn

This is a piece of code I wrote a long time ago when I saw someone make a "guess this scrambled word" game. The program didn't have to unscramble the word to know what the answer was, but I wanted to do it anyways. I wanted an algorithm that could …

Member Avatar for Reverend Jim
0
1K
Member Avatar for chriswelborn

I started using Python a few weeks ago, something finally clicked and I started writing tools for my personal use. I started writing something with a GUI using GTK and the code lines started multiplying rapidly, so I thought to myself "Am I commenting my source to death? How many …

Member Avatar for chriswelborn
2
368
Member Avatar for chriswelborn

This is a script that was supposed to be very basic, just running a command with my scripts arguments attached. I didn't realize that if user 'cj' opens firefox, when user 'root' does '**firefox -new-tab**' it doesn't work. Firefox will just open a new window, and thats exactly what I …

Member Avatar for chriswelborn
0
314
Member Avatar for chriswelborn

I was looking for a piece of code to show all users logged on to my system. What I mean by that is: only 1 person is ever truly logged in at my house, but there are sometimes other users "logged in" with programs running under their account. This is …

0
218

The End.