425 Topics
![]() | |
I have 2 functions, one of which works and one of which doesn't. I do not understand this, because the only difference is that the second function puts in just the name of the variable, where the 1st function puts in the value. There is only one line to build … | |
I have a csv that needs to be put into a database format so I can sort and count the data. My approach has been to use python csv and sqlite modules. I am communicating with the database and creating one of the 2 tables. Second table has many more … | |
Hi, I work in PHP language for the past 2.5 yrs. I'm interested in making a career shift from PHP to Java/EE. So, I would like to start contributing to some open source software developed using Java EE, Spring, Hibernate. By that way I would like to develop my skills … | |
I am seeing some solutions using re, out there on the Interwebs, but not what I want. I want to match several strings with partial content of a list item. # as an example of one of the rows in a csv file hostlist=[192.168.10.17, postgres12, "Red Hat 4.3", "broken"] #pseudocode … | |
Hi All, I am very new to image processing and my requirement is to detect whehter the given large image consist the given subimage (small image) using Java and FAST algorithm. I have found the java lib (jfeaturelib) which support APIs for FAST algorithms and other descriptors etc. Follwing link … | |
Hi, I'm creating a mentionInput, a textarea where i can identify people writing "@NAME" (like facebook) I have a this js file where i tell the info of the names i can identify: $(function () { $('textarea.mention').mentionsInput({ onDataRequest:function (mode, query, callback) { var data = [ { id:1, name:'Kenneth Auchenberg', … ![]() | |
Hi: i search as to why my database wont send out emails and find this forum. i find the exact code im using in this forum.. it originally is for xaamp. i need to have it work from my server: http://www.daniweb.com/web-development/php/threads/412468/how-to-send-mail-to-email-address-on-mysql-database. i posted on https://gist.github.com/amkaos/5608094 but i can post code … | |
Hi guys i have created a python 2.7 application using PyQt4 and Pyttsx. PyQt4 is a crossplatform GUI library and pyttsx is a text to speach library the code can be found [here](https://github.com/Oteng/timeTracker) Pleace if you have a comment of imporovement let me know thanks | |
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 … | |
Hi, I have been trying to use AJAX with JQuery in a feedback page I am trying to build. I can get the feedback submitted without going to a new page, but currently I can only see the feedback updated when I refresh the page. I called the feedbackdisplay.php file … | |
I was bored today so I started this little experiment... So basically it's a Git repository on GitHub and I want to see what all can happen to it when starting from scratch. All you need to do to contribute is fork the project, do what you need to do … | |
I am working on an application that will keep an eye on specific folders on a computer and monitor whether a modification will occur, I am wanting the capability to monitor Windows OS, OS X, Linux. I am planning on developing this in python, from what I have been able … | |
Hi just start learning rails i found some difficulties to start the server under linux mint please find the errors i get /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/script_rails_loader.rb:11: warning: Insecure world writable dir /sbin in PATH, mode 040777 /var/lib/gems/1.8/gems/bundler-1.3.5/lib/bundler/runtime.rb:216: warning: Insecure world writable dir /sbin in PATH, mode 040777 /var/lib/gems/1.8/gems/execjs-1.4.0/lib/execjs/runtimes.rb:51:in `autodetect': Could not find a … | |
Hi, i'm trying to make a textarea (WYSIWYG Text Editor) where i write a text and i can mention people from the Database. so i found this website and it is excellent for what i want to do but how do i add a link to the person i mention? … ![]() | |
quora.com and github.com, i am unable to open only these 2 sites from 10 days. can you please tell what is this and how can i rectify it ? please tell... thanks. :-) | |
Hey guys. I would like to know, which js library do you prefer when designing websites that implement the parallax effect and why. Which one suits you better and why? I'm new to this effect (it took me quite i while, I know), and I'd like to know your oppinions … | |
Hi, I am using phonegap framework for ios development using Jquery+html+css. I need to save my username and password in iphone default setting, for one time login. I have implemented (window.plugins.applicationPreferences.set) and (window.plugins.applicationPreferences.get) in my js file, but phonegap plugins not supporting (windows,plugins). window.plugins.applicationPreferences.get('name_identifier', function(result) { alert("We got a setting: … | |
I am using this [application example][1] and try to model it to fit my needs. I am modelling your index.html.erb to fit my needs. I want to get rid of "start" button in order to prevent single-file upload (I dont want it), but it seems that "start upload"(multiple upload)-button is … ![]() | |
I have been developing a rails app for a week now. I use jquery-rails gem to use jQuery and everything was working fine. But today, when I started the development server, jQuery just wasn't loading. The console gave the error `jQuery not defined` and `$ not defined` and so forth. … ![]() | |
Hi, I'm have experience in Javascript but not in the UI design/CSS, so maybe what I need to do is very simple, but because of my knowledge is complicated for me. I need to create a 'component', that has 2 or 3 buttons together and they behave like radio buttons, … ![]() | |
I have idea about StateManager in Backbone.js and read its [Documentation](https://github.com/crashlytics/backbone.statemanager) and I also realized how to switch beteen different states. But i still don't know how can I store my application level data or models using statemanager and secondly are my states object which I addd into statemanager, they … ![]() | |
Hi all I have a large folder containing multiple xlsx (only one sheet) files which I need to convert to a csv format. I can convert them individually using the [xlsx2csv](https://github.com/dilshod/xlsx2csv) but I cannot make a working function that loops over all the files in the folder and saves them … | |
Gravatar is getting really popular, may sites like stackoverflow or github have incorporated the avatars. It would be nice to have a consistent avatar throughout all forums and sites. | |
Hello, I have downloaded the plugin maskedinput from: [Click Here](https://github.com/digitalBush/jquery.maskedinput) Trying to use it on a site I am developing with codeigniter and foundation framework, the index.html file that comes with it works well on my site, I get this error: TypeError: $(...).mask is not a function The jquery files … | |
Hi, I am unable to run the code given in the following link https://github.com/hamilton/LocalitySensitiveHashing properly. Can anyone help me on the instructions, as in where and how to provide the data. I am facing problem in the following step : this_lsh.bin_data(data) as given in the README. I am unable to … | |
Hi, I'm having some problem about the qr code generator for file upload. This is the file that I'm using : https://github.com/aau-ell/qr-php-uploader When I upload a file, it's give me a string input rather than a QR image. Please help! Thanks. ![]() | |
Hi I am facing a problem lately regarding merging our code from staging to production so I thought to seek some help from the experts :) We are using GITHUB for our projects. We have two different environment i.e. "staging" where we do our development and perform test etc, and … | |
<!DOCTYPE HTML> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script> <!---<script src="sisyphus.min.js"></script>---> <script type="text/javascript" src="https://raw.github.com/simsalabim/sisyphus/master/sisyphus.min.js"></script> <script> $(document).ready(function(){ $('#formElem').sisyphus(); }); </script> <script> $('#formElem').submit(function() { localStorage.clear(); }); </script> <script> function my() { var x= document.getElementById("q1").value; if( x!='NULL') { document.getElementById('d1').style.background='green'; } } function my2() { var y= document.getElementById("q2").value; if( y!='NULL') { document.getElementById('d2').style.background='green'; } } </script> … | |
![]() | I saw that github commands in linux terminal always uses word "git" before all it's commands. How to use my own word for my shell script? for example, $ git commit or $ git status |
I'm using [ScrollTo](https://github.com/balupton/jquery-scrollto). It is not scrolling to div having margin, **margin-left: -1160px;** or **margin-top: -600px;** I have following div <div id="home" class="content"> <h1>I'ts home</h1> </div> <div id="about" class="content" style="margin-left:-1160px;"> <h1>I'ts about</h1> </div> <div id="contact" class="content" style="margin-left:600px;"> <h1>I'ts Contact</h1> </div> <div id="services" class="content" style="margin-top:-600px;"> <h1>I'ts Contact</h1> </div> I want to … ![]() | |
i want to create repository on github so that more than one people can work on same project. i already create a organiztion, team and repository. https://github.com/Socialwebsite/socal_website.git there is one dir on my computer, one on other peoson computer. and we are uploading on github. so "xammpp>htdocs>socal_website" but its remove … | |
me and my friends 5 of us are going to build a web for fun. and we are going to use a website github.com to do this task. righ now i have 1 directory folder where i put all my php files. my friend have 1 directory folder where i … | |
Hey guys! Remember jackbauer24? I'm the same guy, but for some reason can't log into my account. So this is my new account. Anyways, here is my code:- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <!-- Bootstrap and jQuery UI CSS Libraries are included here --> <link … | |
I was following RailsCasts tutorial JQuery Uploading and I ran into difficulties. I would like to be able to select several files, preview only the name of the files on the website, remove those, which where selected by mistake and only then upload the neccessary ones in Ruby on Rails. … | |
Just read that Slashdot and Sourceforget have been sold for $20M. It's actually quite a shame, because they were definitely sold at a loss in my opinion. Those properties were so killer back in the day ... you know, back when a site would go down because it was "slashdotted" … | |
Hi All! This article is mainly focused at someone who is completely new to Software versioning. In this article, we see how Git can be used as a tool for versioning software. Please note that this is very brief. There are many videos/articles that deal in detail. 1) **What is … | |
# NOTE # This was a PHP sticky, and I am working to turn it into a development sticky. If you have any comments, additions or other observations, please reply to [this thread](https://www.daniweb.com/community-center/daniweb-community-feedback/threads/505442/read-this-before-posting-sticky). # Before you ask # - Read our [Forum Rules](https://www.daniweb.com/welcome/rules). - Engage your brain! We understand that … | |
Even though it's incredibly bad practice, most advertising servers still use document.write. It's terrible because placing `<script type="text/javascript" src="http://www.ad-server.com/foo.js" />` where you want the ads to appear is page blocking. I'm trying to move the script tag to the very bottom of the page (so at least everything above it … ![]() | |
I am new to flask and new to git so hopefully someone can help me. This is my git repo: https://github.com/ccandillo/ma-inventory.git I am trying to create a web based spreadsheet. I am storing my data in a sqlite3 database. On my edit page, I would like to be able to … | |
I want to convert my MVC framework to conform to the PSR-0 standards, but I am having a devil of a time trying to wrap my head around namespaces and how it works. I am using the suggested [SplClassLoader](https://gist.github.com/221634) class. Below is my file structure, and what I am trying … | |
Hi guys. I made a pong game with Python, and I was looking for some possible improvements. The code can be found [here](https://github.com/astronautlevel/Python-Repo/blob/master/Python/Pong%20game/Pong.py). Please look at it and reccomend some improvements. Thanks! | |
Hi, I'm looking for a colour picker for my website but not **input** element based because when I click on **input** element, cursor focuses on it which is not good for me. I need something like img, div etc based approach. Thanks These two are input based: [http://jscolor.com/try.php](http://jscolor.com/try.php) [http://laktek.github.com/really-simple-color-picker/demo.html](http://laktek.github.com/really-simple-color-picker/demo.html) | |
Hello, I'm looking for some advice (NOT CODING) on a project I'm hoping to start.. Basically, I'm hoping to develop some shell commands that work a tiny bit like Github (if you are familular with it).. The language that I want to use is C++.. Could anyone offer any advice … | |
Hello Everyone, I need help with the CSS of a theme I have for Wordpress. All I want to do is move the nav bar over to the left to line up with my logo on my site, bu I dont want to ruin the mobile version of the layout. … | |
How to replace local file path to insert url link [download.php](https://github.com/apps-vn/download.php/blob/9ffc7c80efe57ad8d29f10897f04155c463778e3/.gitignore) // Free Downloads if (isset($_GET['free'])) { $row = $android->getFreeDownload($_GET['free']); if ($row) { $fname = basename($row['filename']); $file_path = ''; $android->fetchFile(BASE_DIR, $fname, $file_path); $fsize = filesize($file_path); $fext = strtolower(substr(strrchr($fname, "."), 1)); if (!file_exists($file_path) || !is_file($file_path)) { redirect_to(($core->seo == 1) ? $core->site_url … | |
# Introduction to the Issue # I'm currently working on a piece of code that was put together by someone else on my team. All of his logic was in the `index.html` file, so I'm trying to factor it out into a modular library. Part of the reason is that … | |
Platforms: Windows 7/Mac OS X ActiveState Python 2.7.2 Installed docx on Windows 7 at D:\Program Files (x86)\Python27\Lib\site-packages. Installed docx on OS X at /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages Following is the sample script (named as docx_example.py), which runs absolutely fine on the python interpreter: #!/usr/bin/env python ''' This file makes an docx (Office 2007) … | |
This is the project I am reading from . [url]https://github.com/sasatomislav/PHP5-OOP-Cart[/url] [CODE] class Cart { <snip> private function __construct() {} /** * Fetch Cart instance * * @return Cart */ public function getInstance() { if (NULL === self::$_instance) { self::$_instance = new self; } return self::$_instance; } } <snip> // initialize … | |
im trying to make my own kernel.... my kernel is loaded through grub... i tried creating the gdt and idt for myself... i dont know how to test the gdt and as far as the idt is concerned it failed to capture the division by zero error ... source code … | |
I have been working with this code for quite a long time now, and I continually refactor and refactor and just keep running into different forms of the same problem. In the last couple of weeks I've tried to take a step back and really think about the design, motivated … |
The End.