RSS

Posts in 2021

  • Most votes on google-chrome questions 2

    May 01, 2021 in FAQ

    Most votes on google-chrome questions 2. #11 Removing input background colour for Chrome autocomplete? #12 How to set a JavaScript breakpoint from code in Chrome? #13 Using Chrome's Element Inspector in Print Preview Mode? #14 Updating address bar with new URL without hash or reloading the page #15 Disabling Chrome Autofill #16 How to change the color of header bar and address bar in newest Chrome version on Lollipop? #17 Javascript / Chrome - How to copy an object from the webkit inspector as code #18 Chrome ignores autocomplete="off" #19 What is a user agent stylesheet? #20 Differences between socket.io and websockets

    Read all the top votes questions and answers in a single page. #11: Removing input background colour for Chrome autocomplete? (Score: 739) Created: 2010-05-06 Tags: autocomplete, input, google-chrome On a form I’m working on, Chrome is …

    Read more

  • Most votes on google-chrome questions 10

    May 01, 2021 in FAQ

    Most votes on google-chrome questions 10. #91 How can I debug a HTTP POST in Chrome? #92 How to remove all breakpoints in one step in Google Chrome? #93 How does Chrome decide what to highlight when you double-click Japanese text? #94 Request Monitoring in Chrome #95 Chrome debugging - break on next click event #96 Resource interpreted as Document but transferred with MIME type application/zip #97 jQuery .is(":visible") not working in Chrome #98 Resource interpreted as stylesheet but transferred with MIME type text/html (seems not related with web server) #99 Simulate limited bandwidth from within Chrome? #100 Failed to load resource under Chrome

    Read all the top votes questions and answers in a single page. #91: How can I debug a HTTP POST in Chrome? (Score: 219) Created: 2013-03-24 Last updated: 2020-07-23 Tags: google-chrome, debugging, post I would like to view HTTP POST data that was …

    Read more

  • Most votes on google-chrome questions 1

    May 01, 2021 in FAQ

    Most votes on google-chrome questions 1. #1 Disable same origin policy in Chrome #2 Disabling Chrome cache for website development #3 How to remove focus border (outline) around text/input boxes? (Chrome) #4 Getting Chrome to accept self-signed localhost certificate #5 Hide scroll bar, but while still being able to scroll #6 How to manually send HTTP POST requests from Firefox or Chrome browser? #7 How do I get ASP.NET Web API to return JSON instead of XML using Chrome? #8 Colors in JavaScript console #9 Remove blue border from css custom-styled button in Chrome #10 See :hover state in Chrome Developer Tools

    Read all the top votes questions and answers in a single page. #1: Disable same origin policy in Chrome (Score: 1775) Created: 2010-06-23 Last updated: 2019-05-15 Tags: javascript, ajax, google-chrome Is there any way to disable the Same-origin …

    Read more

  • Most votes on go questions 9

    May 01, 2021 in FAQ

    Most votes on go questions 9. #81 How to properly seed random number generator #82 How to go test all tests in my project? #83 nil detection in Go #84 How to set default values in Go structs #85 What's the proper way to "go get" a private repository? #86 How can I "go run" a project with multiple files in the main package? #87 golang why don't we have a set datastructure #88 Setting HTTP headers #89 Is there a way to do repetitive tasks at intervals? #90 "undefined" function declared in another file?

    Read all the top votes questions and answers in a single page. #81: How to properly seed random number generator (Score: 183) Created: 2012-09-07 Last updated: 2019-11-21 Tags: random, go I am trying to generate a random string in Go and here is the …

    Read more

  • Most votes on go questions 8

    May 01, 2021 in FAQ

    Most votes on go questions 8. #71 Can functions be passed as parameters? #72 How to import local packages without gopath #73 How to use C++ in Go #74 What is the zero value for time.Time in Go? #75 Is it OK to leave a channel open? #76 How to trim leading and trailing white spaces of a string? #77 Stack vs heap allocation of structs in Go, and how they relate to garbage collection #78 How to get the last element of a slice? #79 How to set headers in http get request? #80 How to use custom packages

    Read all the top votes questions and answers in a single page. #71: Can functions be passed as parameters? (Score: 191) Created: 2012-09-29 Last updated: 2019-09-29 Tags: function, go In Java I can do something like derp(new Runnable { public void …

    Read more

  • Most votes on go questions 7

    May 01, 2021 in FAQ

    Most votes on go questions 7. #61 Application auto build versioning #62 Removing fields from struct or hiding them in JSON Response #63 Is there a way to iterate over a range of integers? #64 Is assert evil? #65 Declare a constant array #66 Lowercase JSON key names with JSON Marshal in Go #67 How are people managing authentication in Go? #68 How can I read a whole file into a string variable #69 Can I list all standard Go packages? #70 cannot convert data (type interface {}) to type string: need type assertion

    Read all the top votes questions and answers in a single page. #61: Application auto build versioning (Score: 210) Created: 2012-07-06 Last updated: 2019-06-18 Tags: go Is it possible to increment a minor version number automatically each time a Go …

    Read more

  • Most votes on go questions 6

    May 01, 2021 in FAQ

    Most votes on go questions 6. #51 Is it possible to capture a Ctrl+C signal and run a cleanup function, in a "defer" fashion? #52 How does Go compile so quickly? #53 Why would I make() or new()? #54 delete map[key] in go? #55 Converting Go struct to JSON #56 How can I pretty-print JSON using Go? #57 Convert byte slice to io.Reader #58 Does Go provide REPL? #59 How does Go update third-party packages? #60 Constructors in Go

    Read all the top votes questions and answers in a single page. #51: Is it possible to capture a Ctrl+C signal and run a cleanup function, in a "defer" fashion? (Score: 227) Created: 2012-06-29 Last updated: 2017-07-19 Tags: signals, go, …

    Read more

  • Most votes on go questions 5

    May 01, 2021 in FAQ

    Most votes on go questions 5. #41 How to get the directory of the currently running file? #42 Organizing a multiple-file Go project #43 X does not implement Y (… method has a pointer receiver) #44 How to run test cases in a specified file? #45 go get results in 'terminal prompts disabled' error for github private repo #46 What is a rune? #47 Type converting slices of interfaces #48 Decoding JSON using json.Unmarshal vs json.NewDecoder.Decode #49 What does an underscore in front of an import statement mean? #50 List directory in Go

    Read all the top votes questions and answers in a single page. #41: How to get the directory of the currently running file? (Score: 265) Created: 2013-08-30 Last updated: 2017-07-19 Tags: go In nodejs I use __dirname . What is the equivalent of this …

    Read more

  • Most votes on go questions 4

    May 01, 2021 in FAQ

    Most votes on go questions 4. #31 How to handle configuration in Go #32 How do I send a JSON string in a POST request in Go #33 Getting a slice of keys from a map #34 How to avoid annoying error "declared and not used" #35 Convert string to integer type in Go? #36 How do I SET the GOPATH environment variable on Ubuntu? What file must I edit? #37 Handling JSON Post Request in Go #38 Removing packages installed with go get #39 Contains method for a slice #40 Correct way to initialize empty slice

    Read all the top votes questions and answers in a single page. #31: How to handle configuration in Go (Score: 301) Created: 2013-05-09 Last updated: 2018-10-27 Tags: go, configuration-files I’m new at Go programming, and I’m wondering: …

    Read more

  • Most votes on go questions 3

    May 01, 2021 in FAQ

    Most votes on go questions 3. #21 Does Go have "if x in" construct similar to Python? #22 How to multiply duration by integer? #23 Iterating over all the keys of a map #24 How to generate a random string of a fixed length in Go? #25 Function declaration syntax: things in parenthesis before function name #26 What is the best way to test for an empty string in Go? #27 Checking the equality of two slices #28 Difference between := and = operators in Go #29 How to read from standard input in the console? #30 How to read/write from/to file using Go?

    Read all the top votes questions and answers in a single page. #21: Does Go have "if x in" construct similar to Python? (Score: 352) Created: 2013-03-10 Last updated: 2019-05-19 Tags: if-statement, go Without iterating over the entire …

    Read more