Gareth's user avatar
Gareth's user avatar
Gareth's user avatar
Gareth
Senior Software Engineer at BridgeU
  • Member for 15 years, 1 month
  • Last seen this week
3055 votes
Accepted

Can I delete a git commit but keep the changes?

1625 votes
Accepted

How can you check for a #hash in a URL using JavaScript?

763 votes
Accepted

Get The Current Domain Name With Javascript (Not the path, etc.)

629 votes

How can I guarantee that my enums definition doesn't change in JavaScript?

440 votes
Accepted

How to get href value using jQuery?

426 votes
Accepted

How to sort an array of hashes in ruby

301 votes
Accepted

How do I get ruby to print a full backtrace instead of a truncated one?

280 votes
Accepted

How can I find out what version of git I'm running?

223 votes

How to stop event propagation with inline onclick attribute?

219 votes
Accepted

Is it sometimes bad to use <BR />?

187 votes
Accepted

Space in the ruby array by %w

185 votes
Accepted

Can I insert elements to the beginning of an element using .appendChild()?

184 votes
Accepted

How Do I 'git fetch' and 'git merge' from a Remote Tracking Branch (like 'git pull')

182 votes
Accepted

What is _lpchecked="1" for in a form?

144 votes
Accepted

How do I set a blank value for an f.select form field

137 votes
Accepted

Is it possible to use JS to open an HTML select to show its option list?

135 votes

Password encryption at client side

125 votes

Are double and single quotes interchangeable in JavaScript?

122 votes
Accepted

what is the functionality of "&: " operator in ruby?

118 votes

HTTP response code for POST when resource already exists

115 votes

ActiveRecord find starts with

103 votes
Accepted

class << self vs self.method with Ruby: what's better?

88 votes
Accepted

Attaching an event to multiple elements at one go

84 votes
Accepted

How to control number of items per row using media queries in Flexbox?

74 votes

Updating a local repository with changes from a GitHub repository

71 votes

Modified files in a git branch are spilling over into another branch

68 votes
Accepted

CSS: unexpected vertical position of "inline-block" elements

65 votes
Accepted

Reverse Apply a commit to working copy

65 votes

Rails: I can't call a function in a module in /lib - what am I doing wrong?

59 votes
Accepted

git remove file from repository but leave it on file system

1
2 3 4 5
18