
Registered since September 28th, 2017
Has a total of 4246 bookmarks.
Showing top Tags within 19 bookmarks
howto information development guide reference administration design website software solution service product online business uk tool company linux code server system application web list video marine create data experience description tutorial explanation technology build blog article learn world project boat download windows security lookup free performance javascript technical network control beautiful support london tools course file research purchase library programming image youtube example php construction html opensource quality install community computer profile feature power browser music platform mobile work user process database share manage hardware professional buy industry internet dance advice installation developer 3d search access customer travel camera material test standard review documentation css money engineering develop webdesign engine device photography digital api speed source management program phone discussion question event client story simple water marketing app yacht content setup package fast idea interface account communication cheap compare script study market live easy google resource operation startup monitor training
Tag selected: stackoverflow.
Looking up stackoverflow tag. Showing 19 results. Clear
Saved by uncleflo on June 22nd, 2018.
How do I resolve a git merge conflict in favor of pulled changes? Basically I need to remove all conflicting changes from a working tree without having to go through all of the conflicts with a git mergetool while keeping all conflict-free changes. Preferably doing this while pulling, not afterwards. You can use the recursive "theirs" strategy option.
conflict favor change tree merge tool keep strategy git server synchronize pull push checkout checking branch resolve howto stackoverflow question solution answer development administration
Saved by uncleflo on May 9th, 2018.
I have read that offsetLeft and offsetTop do not work properly in all browsers. jQuery.offset() is supposed to provide an abstraction for this to provide the correct value xbrowser. What I am trying to do is get the coordinates of where an element was clicked relative to the top-left of the element. Problem is that jQuery.offset().top is actually giving me a decimal value in FFX 3.6 (in IE and Chrome, the two values match). http://jsfiddle.net/htCPp/ exhibits the issue. If you click the bottom image, jQuery.offset().top returns 327.5, but offsetTop returns 328. I would like to think that offset() is returning the correct value and I should use it because it will work across browsers. However, people obviously cannot click decimals of pixels. Is the proper way to determine the true offset to Math.Round() the offset that jQuery is returning? Should I use offsetTop instead, or some other method entirely?
offset top left position development code abstract browser coordinate element jquery js javascript pixel chrome ie firefox crossbrowser stackoverflow problem solution
Saved by uncleflo on May 5th, 2018.
Stackoverflow Question: I have a case where I must write inline CSS code, and I want to apply a hover style on an anchor. How can I use a:hover in inline CSS inside the HTML style attribute? E.g. you can't reliably use CSS classes in HTML emails. The answer has lots and lots of varying solutions.
stackoverflow question css class html solution code development hover inline answer community tip howto technical reference list
Saved by uncleflo on April 6th, 2018.
I want to make a little painting app using canvas. So I need to find the mouse's position on the canvas. The solution is For people using JQuery.
jquery mouse event position canvas paint stackoverflow question answer element public
Saved by uncleflo on February 15th, 2018.
I have two *.sql files that I use when creating a new web site database. The first file creates all the tables. The second file populates some default records. I would like to execute these files from PHP. I also use the Zend_Framework, if that will help accomplish this? Answer: This question comes up from time to time. There's no good solution for running a .sql script directly from PHP. There are edge cases where statements common in a .sql script can't be executed as SQL statements. For example, the mysql tool has builtin commands that are not recognized by the MySQL Server, e.g. CONNECT, USE, and DELIMITER.
question stackoverflow mysql php execute solution answer tool command statement config script shell linux howto good technical development administration security website webdev
Saved by uncleflo on February 7th, 2018.
Is there any comprehensive list of characters that need to be escaped in Bash? Can it be checked just with sed? In particular, I was checking whether % needs to be escaped or not. I tried this and worked fine, without escaping %. Does it mean % does not need to be escaped? Was this a good way to check the necessity? And more general: are they the same characters to escape in shell and bash?
question stackoverflow howto technical development list character escape escaping security bash shell script command commandline administration code maintenance hacking
Saved by uncleflo on December 27th, 2017.
Quote from Percent-encoding. When a character from the reserved set (a "reserved character") has special meaning (a "reserved purpose") in a certain context, and a URI scheme says that it is necessary to use that character for some other purpose, then the character must be percent-encoded. Percent-encoding a reserved character involves converting the character to its corresponding byte value in ASCII and then representing that value as a pair of hexadecimal digits: What does each of this characters mean in context of an URI? with a search engine I didn't find a list and their meanings/use case.
url http url parameters parameters url-encoding digit value context reserved purpose scheme character ascii convert identifier development web uri standard lookup reference syntax question answer stackoverflow
Saved by uncleflo on April 12th, 2017.
I'm not sure if bitmask is the correct term. In php, the error_reporting function can be called multiple ways.It's quite simple actually. First a bit of code to demonstrate how it can be implemented. If you don't understand anything about what this code is doing or how it works, feel free to ask additional questions in the comments.
mask php development implement howto lookup solution question technical code flag stackoverflow
Saved by uncleflo on February 14th, 2017.
I asked a similar question before, but it was answered inadequately so I thought I would ask again here but providing more information. I need to get different and older versions of a git repository and I'm having trouble with that.
stackoverflow git archive howto development backup administration solution question commit reference branch zip
Saved by uncleflo on December 2nd, 2016.
I have Server A and Server B which exchanges some data. Server A on user request pull data from Server B using simple file_get_content with some params, so server B can do all task(database etc) and return results to A which formats and show to user. Everything is in PHP. Now I am interested what is fastest way to to this? I made some test and average transfer time for average response from server B at (~0.2 sec). In that 0.2 sec, 0.1 sec. aprox. is Server B operational time (pulling data calling few databases etc) what mean that average transfer time for 50kb with is 0.1 sec. (servers are NOT in same network) Should I try with: 1.cURL insted of file_get_content ? 2.Or to try to make whole thing with sockets( I never work work with sockets in PHP but I supose that easily can be done, on that way to skip web server )? 3.or something third?
transfer data remote server way question stackoverflow comparison reference speed connection stream path transaction
Saved by uncleflo on October 18th, 2016.
OK, I am looking for a way to use GIT to keep a web site up to date between my local machine (git repository) and my web site (git clone of repository). I have initialized the repository (on windows 7 machine) and added all the files to the repo on my local machine. I now need to get the repo to the webswerver (a linux-based machine). I can access the webserver via putty and ssh. How do I go about cloning the repo into the appropriate directory to serve the web site?
development git administration repository server desktop webserver access windows versioncontrol website clone ssh question stackoverflow
Saved by uncleflo on October 17th, 2016.
It is currently said that MD5 is partially unsafe. Taking this into consideration, I'd like to know which mechanism to use for password protection. This question, Is “double hashing” a password less secure than just hashing it once? suggests that hashing multiple times may be a good idea, whereas How to implement password protection for individual files? suggests using salt.I'm using PHP. I want a safe and fast password encryption system. Hashing a password a million times may be safer, but also slower. How to achieve a good balance between speed and safety? Also, I'd prefer the result to have a constant number of characters.
security password hash salt stackoverflow information developer development howto advice guide implementation mechanism idea protection website consider hashing entropy strength alternative snippet
Saved by uncleflo on March 11th, 2016.
I'm finding myself coding a big project in Javascript. I remember the last one was quite an adventure because hacky JS can quickly becomes unreadable and I want this code to be clean. Well, I'm using objects to construct a lib, but there are several ways to define things in JS, implying important consequences in the scope, the memory management, the name space, etc.
oop object oriented javascript practice best practice howto stackoverflow community question solution comments namespace variables scope memory code structure development
Saved by uncleflo on February 22nd, 2015.
I've been investigating a few of the JavaScript frameworks such as Backbone.js and Batman.js for a while and whilst I really like them, I have one niggling thing that I keep coming back to. That issue is accessibility. As a web developer I've always tried to make my websites and applications with accessibility in mind, especially using the idea of progressive enhancement. Clearly out of the box these new JS frameworks don't gracefully degrade, so I was wondering what are other developers thoughts on this issue and what are you doing about it. After all the accessibility of a website / app isn't really an optional thing as it's part of the law in many countries.
accessibility website javascript framework stackoverflow access clean design structure progressive enhance graceful degrade investigate wonder development tip reference howto proper useful good
Saved by uncleflo on September 16th, 2014.
I have a working copy of the project, without any source control meta data. Now, I'd like to do the equivalent of git-clone into this folder, and keep my local changes. git-clone doesn't allow me to clone into an existing folder. What is the best practice here? This can be done by cloning to a new directory, then moving the .git directory into your existing directory.
git clone existing folder stackoverflow control meta practice best directory change administer solution development live update
Saved by uncleflo on September 16th, 2014.
How can I pin eclipse indigo 3.7 I have 'installed' at /opt/ to the taskbar? I have tried launching eclipse and right-clicking to choose the 'keep in launcher' option. But when I click that icon, after closing eclipse, it doesn't start eclipse. First, create a .desktop file to eclipse. Then, paste this inside.
ubuntu eclipse launcher application taskbar howto linux unity shortcut solution ask stackoverflow launch desktop
Saved by uncleflo on September 2nd, 2014.
PageDown is the version of Attacklab's Showdown and WMD as used on Stack Overflow and the other Stack Exchange sites. It includes a converter that turns Markdown into HTML, a Markdown editor with realtime preview of the generated HTML, and a few useful plugins, e.g. for sanitizing the generated HTML according to a whitelist of allowed tags. The Markdown converter can be used both in the browser (usually in conjunction with the editor, to display a real time preview), and on the server using Node.JS.
editor markdown javascript converter html knowledge generator pagedown project js preview plugin sanitize tag browser live integrate development opensource stackoverflow stack overflow exchange generate site
Saved by uncleflo on June 3rd, 2014.
I tried using the comp command like it mentioned, but if I have two files, one with data like "abcd" and the other with data "abcde", it just says the files are of different sizes. I wanted to know where exactly they differ. In Unix, the simple diff tells me which row and column, the comp command in windows works if I have something like "abd" and "abc". Not otherwise. Any ideas what I can use for this?
difference file management understand solution command cmd dos word text diff stackoverflow
Saved by uncleflo on January 24th, 2014.
How can I redirect the user from one page to another using jQuery? jQuery is not necessary, and window.location.replace(...) will best simulate an HTTP redirect. It is better than using window.location.href =, because replace() does not put the originating page in the session history, meaning the user won't get stuck in a never-ending back-button fiasco. If you want to simulate someone clicking on a link, use location.href. If you want to simulate an HTTP redirect, use location.replace.
jquery question solution redirect browser javascript http stackoverflow replace location page forward
No further bookmarks found.