» Home » damn » Page 1
How to Install Damn Small Linux on a USB Card
by LinnheCreative in Computers
For computer users that prefer to run in a Linux operating system to do their computing it is possible to carry your own bootable Linux operating system on your USB Card or drive that will start on any computer that can boot from a USB device. Users that have the experience to work in Linux find that it is more versatile and controllable than Microsoft Windows platforms.Difficulty:Moderately EasyI

Ruby rails - damn frustrated - my first Ajax
by Raghu in Programming Languages

Here is my simple ajax code, I am new so its driving me insane.
The request is made properly, I get the response but my view does not get rendered with new data. I get a new page with new html that I asked to render instead being rendered inside current page. What am I missing????

controller -

def list
@users = User.find(:all)

Is it possible to do SQL injection (HIGH Level) on Damn Vulnerable Web App?
by rascator in Programming Languages

I searched all over google to see how it would be possible to bypass the following (it's from the high level of security from DVWA):

$id = $_GET['id'];
$id = stripslashes($id);
$id = mysql_real_escape_string($id);
if (is_numeric($id)){
$getid = "SELECT first_name, last_name FROM users WHERE user_id = '$id'";
$result = mysql_query(

How to Find the MAC Address in Damn Small Linux
by elmagistral in Computers
Damn Small Linux, also called DSL, is a lightweight Linux operating system. With a full size of 50 MB, DSL fits on USB flash drives, CDs and DVDs. It also runs well on older hardware. DSL is commonly used as a diagnostic tool run from a flash drive or CD. Graphical system utilities included in other distributions are generally not found in Damn Small Linux because of its size. This means that to f

It is damn too slow to get current style on Chrome using javascript
by mckasty in Javascript

I am stuck with a stupid problem. Below is my code to get computed style of a dom. It run well on FireFox and even IE (surprised)! but damn too slow on chrome v17 (20x time slower). How to avoid the problem?

getCurrentStyle = function(el)
if (el.currentStyle)
return el.currentStyle;
else if (window.getComputedStyle)
return docume

Missing something with Reader monad - passing the damn thing around everywhere
by whatintheworldisthat in Programming Languages

Learning Haskell, managing syntax, have a rough grasp of what monads etc are about but I'm clearly missing something.

In main I can read my config file, and supply it as runReader (somefunc) myEnv just fine. But somefunc doesn't need access to the myEnv the reader supplies, nor do the next couple in the chain. The function that nee

Redirection from QProcess ouput into a QTextEdit is damn slow
by Andrew in Network & Servers

I have sample TCL script which print 10000000 lines in a loop without any delay. I calling this tcl script from QProcess. I am using the signal readyReadStandardOutput and calling a slot updateoutput which prints the output into the Textedit.

void MainWindow::updateOutput()
QByteArray bytes = m_process->readAllStandardOutput();

Damn how it will work…facebook inline video sharing
by Rida Al Barazi in Development Tools & Services

i have video site with re written url's. it's youtube embedding videos. i want to share Playable video in jwplayer on facebook.i found jwplayer help,it seems like this


<meta property="og:description" content="Big Buck Bunny is a short animated film by the Blender Institute. It is made using free

CGI Perl script and Monkey web server on Damn Small Linux
by negonicrac in Operating Systems

I need small virtual machine with a Web server, so I decided to install Damn Small Linux. I need to run a Web server that is hosting a site with a script that checks for a server's IP address and returns it in a HTML page. So far I have something like this working:

Script file:

print "Content-type: text/html
" ;
print <<EOF ;

Java reflect API wrapper (damn checked exceptions cluttering)
by amiT jaiN in Programming Languages

I have methods that look like this:

public static <U extends Entity<?, ?>> Http<List<U>> getAllFromServerThreadRun(Integer maxResults, Class<U> clazz) {
JsonObject o2 = new JsonObject(); // TODO exception chaos im projekt
// überarbeiten
o2.addProperty("maxResults", maxResult

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .