-
Notifications
You must be signed in to change notification settings - Fork 0
/
questions.txt
2500 lines (2500 loc) · 125 KB
/
questions.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
How to append something to an array?
How do I update a GitHub forked repository?
Iterate through a HashMap [duplicate]
How do I list all files of a directory?
Change the URI (URL) for a remote Git repository
How can I determine the URL that a local Git repository was originally cloned from?
How can I prevent SQL injection in PHP?
grep a file, but show several surrounding lines?
What is the difference between call and apply?
How do I check if a list is empty?
How to exit the Vim editor?
How do you create a remote Git branch?
How can I get query string values in JavaScript?
Difference between append vs. extend list methods in Python
Flash CS4 refuses to let go
What is the difference between @staticmethod and @classmethod in Python?
How do I copy to the clipboard in JavaScript?
How do I check if a string contains a specific word?
event.preventDefault() vs. return false
Creating a memory leak with Java
What is dependency injection?
The most elegant way to iterate the words of a string [closed]
What are the differences between a pointer variable and a reference variable in C++?
How can I upload files asynchronously?
Delete commits from a branch in Git
Cast int to enum in C#
Improve INSERT-per-second performance of SQLite?
When to use LinkedList over ArrayList?
Accessing the index in 'for' loops?
How to efficiently iterate over each entry in a 'Map'?
Reset local repository branch to be just like remote repository HEAD
Get the current URL with JavaScript?
How do I convert a String to an int in Java?
Is there a CSS parent selector?
How do I tell if a regular file does not exist in Bash?
Move existing, uncommitted work to a new branch in Git
View the change history of a file using Git versioning
In Java, difference between package private, public, protected, and private
How can I pretty-print JSON in a (Unix) shell script?
What is a serialVersionUID and why should I use it?
Using global variables in a function
Stash only one file out of multiple files that have changed with Git?
Remove a file from a Git repository without deleting it from the local filesystem
Undoing a git rebase
Is it possible to apply CSS to half of a character?
Detecting an undefined object property
Loop through an array in JavaScript
Case insensitive 'Contains(string)'
Why is printing “B” dramatically slower than printing “#”?
How do I correctly clone a JavaScript object?
How can I undo git reset --hard HEAD~1?
How to exclude a directory in find . command
How do I properly force a Git push?
Reference - What does this error mean in PHP?
Pure JavaScript equivalent of jQuery's $.ready() - how to call a function when the page/DOM is ready for it [duplicate]
What are the differences between NP, NP-Complete and NP-Hard?
How to remove a directory from git repository?
What is stdClass in PHP?
Why does the C preprocessor interpret the word “linux” as the constant “1”?
Does Django scale? [closed]
Check existence of input argument in a Bash shell script
Remove element by id
How do I pass command line parameters to a batch file?
Remove a symlink to a directory
Why would a JavaScript variable start with a dollar sign?
Ignore the .gitignore file itself
Convert ArrayList<String> to String[] array [duplicate]
How to Sort a List<T> by a property in the object
Can you force Visual Studio to always run as an Administrator in Windows 8?
Difference between sh and bash
Hibernate hbm2ddl.auto possible values and what they do?
Where and why do I have to put the “template” and “typename” keywords?
What is the difference between the remap, noremap, nnoremap and vnoremap mapping commands in vim?
Get size of all tables in database
Difference between Build Solution, Rebuild Solution, and Clean Solution in Visual Studio?
Returning IEnumerable<T> vs. IQueryable<T>
Undoing git reset?
Select first row in each GROUP BY group?
Undefined behavior and sequence points
Proper way to declare custom exceptions in modern Python?
How to change the name of an iOS app?
How can I get a list of git branches, ordered by most recent commit?
How does Trello access the user's clipboard?
Git workflow and rebase vs merge questions
How do I trim whitespace?
Do the parentheses after the type name make a difference with new?
Get current time and date on Android
Generate random integers between 0 and 9
Why does comparing strings in Python using either '==' or 'is' sometimes produce a different result?
Best way to get identity of inserted row?
What's the canonical way to check for type in Python?
How can I generate an MD5 hash?
Sort Multi-dimensional Array by Value
Extracting extension from filename in Python
Calling shell commands from Ruby
How to flush output of print function?
How to Delete using INNER JOIN with SQL Server?
What is the purpose of self?
LINQ query on a DataTable
How to create a generic array in Java?
Why is it faster to process a sorted array than an unsorted array?
How to undo the most recent commits in Git?
How do I delete a Git branch both locally and remotely?
What is the difference between 'git pull' and 'git fetch'?
What is the correct JSON content type?
What does the “yield” keyword do?
What is the “-->” operator in C++?
How do I redirect to another webpage?
How to modify existing, unpushed commits?
How do JavaScript closures work?
How to undo 'git add' before commit?
How to check whether a string contains a substring in JavaScript?
What and where are the stack and heap?
How do I rename a local Git branch?
What does “use strict” do in JavaScript, and what is the reasoning behind it?
How do I check if an element is hidden in jQuery?
Why does HTML think “chucknorris” is a color?
How do I remove a particular element from an array in JavaScript?
var functionName = function() {} vs function functionName() {}
Why is subtracting these two times (in 1927) giving a strange result?
How to revert a Git repository to a previous commit
Can comments be used in JSON?
How to remove local (untracked) files from the current Git working tree?
Which equals operator (== vs ===) should be used in JavaScript comparisons?
Is Java “pass-by-reference” or “pass-by-value”?
What is the difference between String and string in C#?
How do I check out a remote Git branch?
How do I force “git pull” to overwrite local files?
What is the difference between “px”, “dip”, “dp” and “sp”?
The definitive guide to form-based website authentication [closed]
How do I remove a property from a JavaScript object?
What are metaclasses in Python?
What is the most efficient way to deep clone an object in JavaScript?
What is a plain English explanation of “Big O” notation?
“Thinking in AngularJS” if I have a jQuery background? [closed]
How to pass “Null” (a real surname!) to a SOAP web service in ActionScript 3?
PUT vs. POST in REST
Does Python have a ternary conditional operator?
How do I check whether a file exists?
How to disable text selection highlighting?
How do I return the response from an asynchronous call?
The Definitive C++ Book Guide and List
How do I include a JavaScript file in another JavaScript file?
What does if __name__ == “__main__”: do?
How to resolve merge conflicts in Git
What is the maximum length of a URL in different browsers?
What is the difference between “INNER JOIN” and “OUTER JOIN”?
Getting the source directory of a Bash script from within
How to check whether a checkbox is checked in jQuery?
How do I discard unstaged changes in Git?
How to format XML in Notepad++?
How to `git clone` including submodules?
Why is reading lines from stdin much slower in C++ than Python?
Delete a file or folder
How to generate a random alpha-numeric string?
Replacements for switch statement in Python?
Config Error: This configuration section cannot be used at this path
What's the difference between a method and a function?
Difference between proxy server and reverse proxy server
Why does ++[[]][+[]]+[+[]] return the string “10”?
Convert form data to JavaScript object with jQuery
What is the single most influential book every programmer should read? [closed]
How do I update each dependency in package.json to the latest version?
What are the differences between .gitignore and .gitkeep?
Disabling Chrome cache for website development
<button> vs. <input type=“button” />. Which to use?
How to stop tracking and ignore changes to a file in Git?
How do I generate a random int number in C#?
How to move an element into another element?
What is Inversion of Control?
What is a smart pointer and when should I use one?
Upgrading all packages with pip
With arrays, why is it the case that a[5] == 5[a]?
How do you give a C# Auto-Property a default value?
How to retrieve the hash for the current commit in Git?
What is __init__.py for?
Comparing Java enum members: == or equals()?
Hidden features of Python [closed]
Command to collapse all sections of code?
HTTP GET with request body
Difference between == and === in JavaScript [duplicate]
How to return only the Date from a SQL Server DateTime datatype
How can I remove a commit on GitHub?
Differences between lodash and underscore
Using Git with Visual Studio [closed]
How do I debug Node.js applications?
Getting the last element of a list in Python
Static methods in Python?
Convert HTML + CSS to PDF with PHP? [closed]
Image Processing: Algorithm Improvement for 'Coca-Cola Can' Recognition
How do I migrate an SVN repository with history to a new Git repository?
How can I format numbers as dollars currency string in JavaScript?
How to change the commit author for one specific commit?
What is the purpose of the var keyword and when should I use it (or omit it)?
Why can templates only be implemented in the header file?
How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor version
Determine the type of an object?
<meta charset=“utf-8”> vs <meta http-equiv=“Content-Type”>
Python join: why is it string.join(list) instead of list.join(string)?
Multiple “order by” in LINQ
How do you use a variable in a regular expression?
How to merge two arrays in JavaScript and de-duplicate items
How do I rotate the Android emulator display? [duplicate]
Recommended way to embed PDF in HTML?
How to get the client IP address in PHP?
Best way to use Google's hosted jQuery, but fall back to my hosted library on Google fail
How to download Xcode DMG or XIP file?
PHP and Enumerations
How can you profile a script?
How can I add a key/value pair to a JavaScript object?
How do I move to end of line in Vim?
ignoring any 'bin' directory on a git project
Why not inherit from List<T>?
Get the full URL in PHP
Check if element is visible after scrolling
Strangest language feature
What's the best method for sanitizing user input with PHP?
Center a column using Twitter Bootstrap 3
How to remove border (outline) around text/input boxes? (Chrome) [duplicate]
How to convert a string to lower or upper case in Ruby
Why do people use Heroku when AWS is present? What distinguishes Heroku from AWS?
How do I remove a single file from the staging area of Git but not remove it from the index or undo the changes to the file itself?
Loop through an array of strings in Bash?
How to effectively work with multiple files in Vim?
How do I connect to a MySQL Database in Python?
Best way to remove an event handler in jQuery?
Is there a “null coalescing” operator in JavaScript?
How do I commit all deleted files in Git? [duplicate]
How do you rename a Git tag?
Constants in Objective-C
How do emulators work and how are they written? [closed]
Why do we need virtual functions in C++?
How can I select an element by name with jQuery?
Difference between require, include, require_once and include_once?
What are the nuances of scope prototypal / prototypical inheritance in AngularJS?
'this' vs $scope in AngularJS controllers
How can I view a git log of just one user's commits?
How to make --no-ri --no-rdoc the default for gem install?
How do you do block comment in yaml?
Turning off auto indent when pasting text into vim
How do I configure git to ignore some files locally?
How to get the build/version number of your Android application?
Comments in Markdown
Sort ArrayList of custom Objects by property
How to align content of a div to the bottom?
A concise explanation of nil v. empty v. blank in Ruby on Rails
How to undo “git commit --amend” done instead of “git commit”
PHP: “Notice: Undefined variable”, “Notice: Undefined index”, and “Notice: Undefined offset”
Ukkonen's suffix tree algorithm in plain English
Node.js/Windows error: ENOENT, stat 'C:\Users\RT\AppData\Roaming\npm'
Storing Objects in HTML5 localStorage
How do I pass a variable by reference?
Add table row in jQuery
“Least Astonishment” and the Mutable Default Argument
How do you set, clear, and toggle a single bit?
How to POST JSON data with Curl from Terminal/Commandline to Test Spring REST?
.prop() vs .attr()
How can I refresh a page with jQuery?
When should static_cast, dynamic_cast, const_cast and reinterpret_cast be used?
Need an unordered list without any bullets
How to get the children of the $(this) selector?
Do I cast the result of malloc?
How can I make a time delay in Python?
How do I detect a click outside an element?
How do I get a YouTube video thumbnail from the YouTube API?
Set a default parameter value for a JavaScript function
How to change the author and committer name and e-mail of multiple commits in Git?
How do I give text or an image a transparent background using CSS?
Why are elementwise additions much faster in separate loops than in a combined loop?
Get selected text from a drop-down list (select box) using jQuery
Understanding Python super() with __init__() methods [duplicate]
How do I fix android.os.NetworkOnMainThreadException?
Vertically align text to top within a UILabel
When to use margin vs padding in CSS
PHP: Delete an element from an array
Indent multiple lines quickly in vi
Catch multiple exceptions in one line (except block)
Why doesn't GCC optimize a*a*a*a*a*a to (a*a*a)*(a*a*a)?
How to get the current time in Python
What is the best way to iterate over a dictionary?
How can I create an executable JAR with dependencies using Maven?
How to scp a folder from remote to local? [closed]
Creating multiline strings in JavaScript
Add new keys to a dictionary?
I ran into a merge conflict. How can I abort the merge?
How do I get a consistent byte representation of strings in C# without manually specifying an encoding?
Disable/enable an input with jQuery?
403 Forbidden vs 401 Unauthorized HTTP responses
Does finally always execute in Java?
How do I make Git use the editor of my choice for commits?
Is there an equivalent of 'which' on the Windows command line?
src refspec master does not match any when pushing commits in git
How do you parse and process HTML/XML in PHP?
Is there a way to run Python on Android? [closed]
How do I make Git ignore file mode (chmod) changes?
Should I use Vagrant or Docker for creating an isolated environment? [closed]
Daylight saving time and time zone best practices [closed]
How do I test for an empty JavaScript object?
How does database indexing work?
How to check for “undefined” in JavaScript? [duplicate]
How do I show the changes which have been staged?
How to make div not larger than its contents?
HTML 5: Is it <br>, <br/>, or <br />?
How to make a div 100% height of the browser window?
When to use double or single quotes in JavaScript?
How do I center text horizontally and vertically in a TextView?
How do I get the current date in JavaScript?
Vertically align text next to an image?
What is the preferred syntax for defining enums in JavaScript?
Event binding on dynamically created elements?
What is the copy-and-swap idiom?
How do I install pip on macOS or OS X?
Get screen dimensions in pixels
How can I pretty-print JSON using JavaScript?
Download a specific tag with Git
How to concatenate two lists in Python?
How does PHP 'foreach' actually work?
How do CSS triangles work?
Abort Ajax requests using jQuery
$(document).ready equivalent without jQuery
How do you assert that a certain exception is thrown in JUnit 4 tests?
Is there a way to skip password typing when using https:// on GitHub?
Extract filename and extension in Bash
How do I declare and initialize an array in Java?
Is there a standard function to check for null, undefined, or blank variables in JavaScript?
Get the size of the screen, current web page and browser window
What is the difference between Bower and npm?
How to determine if variable is 'undefined' or 'null'?
JavaScript equivalent to printf/String.Format
What does the C ??!??! operator do?
Git fetch remote branch
How can I transition height: 0; to height: auto; using CSS?
How do you display code snippets in MS Word preserving format and syntax highlighting?
Vim clear last search highlighting
Is there a way to substring a string in Python?
Open a URL in a new tab (and not a new window) using JavaScript
Lookup Java enum by string value
Detach (move) subdirectory into separate Git repository
Cycles in family tree software
Why does this code using random strings print “hello world”?
How to replace a character by a newline in Vim?
Echo newline in Bash prints literal \n
Get current URL in JavaScript?
What is 'Context' on Android?
How do you split a list into evenly sized chunks?
How to check if a program exists from a Bash script?
What does ** (double star/asterisk) and * (star/asterisk) do for parameters?
Find the version of an installed npm package
How to check if a column exists in a SQL Server table?
Warning: push.default is unset; its implicit value is changing in Git 2.0
How do I set/unset a cookie with jQuery?
Git push requires username and password
How to leave/exit/deactivate a python virtualenv?
Reverse a string in Python
How to send a header using a HTTP request through a curl call?
Find (and kill) process locking port 3000 on Mac
How to query MongoDB with “like”?
application/x-www-form-urlencoded or multipart/form-data?
How do I combine a background-image and CSS3 gradient on the same element?
What are the options for storing hierarchical data in a relational database?
Are there constants in JavaScript?
Using Git and Dropbox together effectively?
Why do I need to do `--set-upstream` all the time?
Tab key == 4 spaces and auto-indent after curly braces in Vim
How do I iterate over a range of numbers defined by variables in Bash?
What should be in my .gitignore for an Android Studio project?
Which characters are valid in CSS class names/selectors?
How do I pass data between Activities in Android application?
How can I get jQuery to perform a synchronous, rather than asynchronous, Ajax request?
How to remove a key from a Python dictionary?
How do I remove an element from a list by index in Python?
How can I set the default value for an HTML <select> element?
How do I get the name of an object's type in JavaScript?
Is there a way to get the source code from an APK file?
Shortcuts in Objective-C to concatenate NSStrings
Secure hash and salt for PHP passwords
Find all files in a directory with extension .txt in Python
What is a typedef enum in Objective-C?
Read environment variables in Node.js
How to determine a Python variable's type?
How do I find out which DOM element has the focus?
How to make Twitter Bootstrap menu dropdown on hover rather than click
Sorting an array of JavaScript objects
How to style a <select> dropdown with CSS only without JavaScript?
Is quitting an application frowned upon?
What is the difference between CMD and ENTRYPOINT in a Dockerfile?
angular.service vs angular.factory
Is there a “previous sibling” CSS selector?
What is Gradle in Android Studio?
How can I git stash a specific file? [duplicate]
What does “javascript:void(0)” mean?
.gitignore for Visual Studio Projects and Solutions
Is Safari on iOS 6 caching $.ajax results?
Iterating through a Collection, avoiding ConcurrentModificationException when removing in loop
Create a dictionary with list comprehension in Python
Difference between wait() and sleep()
Altering a column: null to not null
How can I do an UPDATE statement with JOIN in SQL?
How do you access the matched groups in a JavaScript regular expression?
What IDE to use for Python? [closed]
How to import an SQL file using the command line in MySQL?
Make the current Git branch a master branch
Does Java support default parameter values?
Finding duplicate values in a SQL table
Duplicate a whole line in Vim
How do I get PHP errors to display?
What is the difference between an abstract function and a virtual function?
Why use getters and setters/accessors? [closed]
How to randomly select an item from a list?
How do I set chmod for a folder and all of its subfolders and files? [closed]
What is the N+1 SELECT query issue?
Undo working copy modifications of one file in Git?
What is tail recursion?
Where can I find documentation on formatting a date in JavaScript? [closed]
How can I disable ARC for a single file in a project?
How to replace master branch in git, entirely, from another branch? [duplicate]
JavaScript check if variable exists (is defined/initialized)
When are you supposed to use escape instead of encodeURI / encodeURIComponent?
Transport security has blocked a cleartext HTTP
PowerShell says “execution of scripts is disabled on this system.”
How do I access environment variables from Python?
How can I rename a database column in a Ruby on Rails migration?
JavaScript post request like a form submit
How to split a string in Java
What is TypeScript and why would I use it in place of JavaScript? [closed]
Compiling an application for use in highly radioactive environments
How can I permanently enable line numbers in IntelliJ?
How can I reconcile detached HEAD with master/origin?
Branch from a previous commit using Git
ssh “permissions are too open” error
Scroll to the top of the page using JavaScript/jQuery?
How to format a JavaScript date
What is the maximum value for an int32?
What is the difference between match_parent and fill_parent?
How do I get started with Node.js [closed]
How to count all the lines of code in a directory recursively?
Meaning of @classmethod and @staticmethod for beginner?
How can I display a JavaScript object?
How do I check if a string is a number (float)?
Convert bytes to a string?
Generate random number between two numbers in JavaScript
When do you use git rebase instead of git merge?
How to loop through a plain JavaScript object with the objects as members?
Why is executing Java code in comments with certain Unicode characters allowed?
What is the purpose of Node.js module.exports and how do you use it?
Click through a DIV to underlying elements
Trim string in JavaScript?
LEFT JOIN vs. LEFT OUTER JOIN in SQL Server
What is the difference between a process and a thread?
Removing multiple files from a Git repo that have already been deleted from disk
Preview an image before it is uploaded
Where do I place the 'assets' folder in Android Studio?
Dealing with “java.lang.OutOfMemoryError: PermGen space” error
Check if a variable is a string in JavaScript
Deleting array elements in JavaScript - delete vs splice
How to print a number with commas as thousands separators in JavaScript
Python string formatting: % vs. .format
Table Naming Dilemma: Singular vs. Plural Names [closed]
How do I sort an NSMutableArray with custom objects in it?
Make .gitignore ignore everything except a few files
How do you read from stdin in Python?
What is the difference between varchar and nvarchar?
How can you speed up Eclipse?
How are parameters sent in an HTTP POST request?
Why is it important to override GetHashCode when Equals method is overridden?
How do I delete an exported environment variable?
Where should I put <script> tags in HTML markup?
Generate random string/characters in JavaScript
How can I remove duplicate rows?
Calling the base constructor in C#
How to selectively merge or pick changes from another branch in Git?
Why don't self-closing script tags work?
How to change the output color of echo in Linux
Replacing a 32-bit loop counter with 64-bit introduces crazy performance deviations
Determine whether an array contains a value [duplicate]
Virtual member call in a constructor
How does the vim “write with sudo” trick work?
How do I remedy the “The breakpoint will not currently be hit. No symbols have been loaded for this document.” warning?
Writing files in Node.js
Difference between gravity and layout_gravity on Android
What is (functional) reactive programming?
How do you use bcrypt for hashing passwords in PHP?
How can I represent an 'Enum' in Python?
How do I update the GUI from another thread?
How to know if an object has an attribute in Python
How can I add new array elements at the beginning of an array in JavaScript?
How do I check if a string contains another string in Objective-C?
Serializing to JSON in jQuery [duplicate]
Memcached vs. Redis?
jQuery get specific option tag text
What exactly is Apache Camel?
Convert JavaScript String to be all lower case?
How do I create a file and write to it in Java?
Is JavaScript a pass-by-reference or pass-by-value language?
How can I concatenate two arrays in Java?
jQuery document.createElement equivalent?
How to vertically align an image inside a div?
What do “branch”, “tag” and “trunk” mean in Subversion repositories?
How do I make a placeholder for a 'select' box?
How to sort a dataframe by multiple column(s)?
Difference between “git add -A” and “git add .”
Stop EditText from gaining focus at Activity startup
Find and restore a deleted file in a Git repository
How to make a great R reproducible example?
How to make a chain of function decorators?
What does the explicit keyword mean?
What is the !! (not not) operator in JavaScript?
Is there an “exists” function for jQuery?
Squash my last X commits together using Git
JavaScript closure inside loops – simple practical example
Is there a unique Android device ID?
Should I use the datetime or timestamp data type in MySQL?
Understanding Python's slice notation
Add a column with a default value to an existing table in SQL Server
How can I know which radio button is selected via jQuery?
Change an element's class with JavaScript
Is floating point math broken?
How do I test a private function or a class that has private methods, fields or inner classes?
How do you disable browser Autocomplete on web form field / input tag?
What's the difference between tilde(~) and caret(^) in package.json?
Can (a== 1 && a ==2 && a==3) ever evaluate to true?
Finding the index of an item given a list containing it in Python
Commit only part of a file in Git
Saving Android Activity state using Save Instance State
Checking if a key exists in a JavaScript object?
How do I install pip on Windows?
How to decide when to use Node.js?
How do I empty an array in JavaScript?
Ignore files that have already been committed to a Git repository [duplicate]
Why shouldn't I use mysql_* functions in PHP?
Check if a given key already exists in a dictionary
How to list all the files in a commit?
Initialization of an ArrayList in one line
How to disable resizable property of textarea?
Do a “git export” (like “svn export”)?
Validate decimal numbers in JavaScript - IsNumeric()
How do you check for an empty string in JavaScript?
Check if object is array?
How to delete a git remote tag?
How do I loop through or enumerate a JavaScript object?
Encode URL in JavaScript?
Iterating over dictionaries using 'for' loops
Difference between __str__ and __repr__?
How to clone a specific Git branch? [duplicate]
How to concatenate string variables in Bash
Making a flat list out of list of lists in Python
How to insert an item into an array at a specific index?
Determine installed PowerShell version
What are the correct version numbers for C#?
Why is “using namespace std” considered bad practice?
Generate a git patch for a specific commit
How can I delete all of my Git stashes at once?
Hex transparency in colors [duplicate]
How to pass command line arguments to a rake task
Parameterize an SQL IN clause
Create Generic method constraining T to an Enum
How can I Remove .DS_Store files from a Git repository?
How to fetch all git branches?
Can I concatenate multiple MySQL rows into one field?
Check if checkbox is checked with jQuery
Looping through the content of a file in Bash
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 20: ordinal not in range(128)
Does functional programming replace GoF design patterns?
Naming Classes - How to avoid calling everything a “<WhatEver>Manager”? [closed]
In YAML, how do I break a string over multiple lines?
Get list of all tables in Oracle?
How do I get the current absolute URL in Ruby on Rails?
git: undo all working dir changes including new files
How to output MySQL query results in CSV format?
Using node.js as a simple web server
Activity has leaked window that was originally added
How to get the value from the GET parameters?
Who is listening on a given TCP port on Mac OS X?
Throw away local commits in git
How to name and retrieve a stash by name in git?
How do I expire a PHP session after 30 minutes?
How do you stash an untracked file?
What are the differences between type() and isinstance()?
How to use threading in Python?
Most elegant way to check if the string is empty in Python?
How to join (merge) data frames (inner, outer, left, right)?
How can I initialise a static Map?
How can I print literal curly-brace characters in python string and also use .format on it?
What is the difference between visibility:hidden and display:none?
Why can't I use switch statement on a String?
How to change Status Bar text color in iOS
How to access the correct `this` inside a callback?
How do I trim whitespace from a Python string?
Html.Partial vs Html.RenderPartial & Html.Action vs Html.RenderAction
How do I add a class to a given element?
How to convert a string to lower case in Bash?
How can I create a two dimensional array in JavaScript?
Android Studio Rename Package
How do I declare a namespace in JavaScript?
What is the purpose of the “role” attribute in HTML?
Download a file with Android, and showing the progress in a ProgressDialog
Obfuscated C Code Contest 2006. Please explain sykes2.c
Grouping functions (tapply, by, aggregate) and the *apply family
Android Studio: Add jar as library?
What does “Could not find or load main class” mean?
What is a monad?
How to control web page caching, across all browsers?
How to check for an active Internet connection on iOS or macOS?
Activity restart on rotation Android
How do you merge two Git repositories?
How do I perform an IF…THEN in an SQL SELECT?
What is the best algorithm for an overridden System.Object.GetHashCode?
What is the effect of extern “C” in C++?
How do I get ASP.NET Web API to return JSON instead of XML using Chrome?
startsWith() and endsWith() functions in PHP
How can I convert a stack trace to a string?
How do I create a Java string from the contents of a file?
How to get a list of MySQL user accounts
Default behavior of “git push” without a branch specified
What's the difference between INNER JOIN, LEFT JOIN, RIGHT JOIN and FULL JOIN? [duplicate]
How do I reload .bashrc without logging out and back in?
What is the purpose of .PHONY in a makefile?
How can I recursively find all files in current and subfolders based on wildcard matching?
Fastest way to determine if an integer's square root is an integer
Easiest way to convert int to string in C++
When to use virtual destructors?
How to fully delete a git repository created with init?
How does the Java 'for each' loop work?
Passing Data between View Controllers
Why is Dictionary preferred over Hashtable?
What is the best way to add options to a select from as a JS object with jQuery?
Why does Java have transient fields?
Static readonly vs const
How can I update Node.js and npm to the next versions?
When to use struct?
Interface vs Abstract Class (general OO)
What does <meta http-equiv=“X-UA-Compatible” content=“IE=edge”> do?
What is a lambda expression in C++11?
What is an undefined reference/unresolved external symbol error and how do I fix it?
How to efficiently count the number of keys/properties of an object in JavaScript?
Is there a quick git command to see an old version of a file?
*args and **kwargs? [duplicate]
Show tables in PostgreSQL
See what's in a stash without applying it [duplicate]
How do you append to a file?
Type Checking: typeof, GetType, or is?
Calling a function of a module by using its name (a string)
Could not open a connection to your authentication agent
performSelector may cause a leak because its selector is unknown
What are bitwise shift (bit-shift) operators and how do they work?
How to convert decimal to hex in JavaScript?
How can I redirect and append both stdout and stderr to a file with Bash?
How do I check if an object has a property in JavaScript?
How to manage a redirect request after a jQuery Ajax call
How do I reformat HTML code using Sublime Text 2?
Why use pip over easy_install? [closed]
Ship an application with a database
Copying files from host to Docker container
How do I diff the same file between two different commits on the same branch?
jQuery Get Selected Option From Dropdown
How do I convert an NSString value to NSData?
Check if table exists in SQL Server
Download old version of package with nuget
How do you remove all the options of a select box and then add one option and select it with jQuery?
Git push error '[remote rejected] master -> master (branch is currently checked out)'
How to revert uncommitted changes including files and folders?
How to list branches that contain a given commit?
How do you keep parents of floated elements from collapsing? [duplicate]
Convert tabs to spaces in Notepad++
“Conversion to Dalvik format failed with error 1” on external JAR
Adding HTML entities using CSS content
How to randomize (shuffle) a JavaScript array?
Understanding the Rails Authenticity Token
What are Long-Polling, Websockets, Server-Sent Events (SSE) and Comet?
Best practices for API versioning? [closed]
SQL select only rows with max value on a column
Asynchronous vs synchronous execution, what does it really mean?
Can a local variable's memory be accessed outside its scope?
How do I remove a key from a JavaScript object? [duplicate]
How to center absolutely positioned element in div?
Custom HTTP headers : naming conventions
Make a Bash alias that takes a parameter?
How do I remove the space between inline-block elements?
How do I completely uninstall Node.js, and reinstall from beginning (Mac OS X)
How to force browser to reload cached CSS/JS files?
Remove duplicate values from JS array [duplicate]
How to escape braces (curly brackets) in a format string in .NET
mysql_fetch_array()/mysql_fetch_assoc()/mysql_fetch_row()/mysql_num_rows etc… expects parameter 1 to be resource
What is a clearfix?
What is attr_accessor in Ruby?
How do I copy folder with files to another folder in Unix/Linux? [closed]
What is the <leader> in a .vimrc file?
Maximum request length exceeded.
Failed to load the JNI shared Library (JDK)
Redefine tab as 4 spaces
How do I convert a float number to a whole number in JavaScript?
How to apply CSS to iframe?
How to replace innerHTML of a div using jQuery?
Git: How to find a deleted file in the project commit history?
How do I vertically align text in a div?
offsetting an html anchor to adjust for fixed header [duplicate]
Find all tables containing column with specified name - MS SQL Server
Node.js + Nginx - What now?
Use jQuery to hide a DIV when the user clicks outside of it
How to create a self-signed certificate with openssl?
Reference — What does this symbol mean in PHP?
For-each over an array in JavaScript?
Move the most recent commit(s) to a new branch with Git
What is the difference between a URI, a URL and a URN?
How do I find all files containing specific text on Linux?
Which “href” value should I use for JavaScript links, “#” or “javascript:void(0)”?
How to make Git “forget” about a file that was tracked but is now in .gitignore?
How do I push a new local branch to a remote Git repository and track it too?
Calling an external command in Python
How to horizontally center a <div> in another <div>?
What exactly is RESTful programming?
Setting “checked” for a checkbox with jQuery?
Change an HTML5 input's placeholder color with CSS
Regular expression to match a line that doesn't contain a word?
How to clone all remote branches in Git?
Avoiding != null statements
How to pair socks from a pile efficiently?
Why does Google prepend while(1); to their JSON responses?
How can I add an empty directory to a Git repository?
Reset or revert a specific file to a specific revision using Git?
How do you get a timestamp in JavaScript?
Why don't Java's +=, -=, *=, /= compound assignment operators require casting?
Read/convert an InputStream to a String
How to validate an email address in JavaScript?
What's the difference between using “let” and “var” to declare a variable in JavaScript?
How to merge two dictionaries in a single expression?
Create GUID / UUID in JavaScript?
How do I check if an array includes an object in JavaScript?
How to replace all occurrences of a string in JavaScript?
AngularJS: Service vs provider vs factory
Proper use cases for Android UserManager.isUserAGoat()?
Differences between HashMap and Hashtable?
How do I enumerate an enum?
Close/hide the Android Soft Keyboard
Why is the Android emulator so slow? How can we speed up the Android emulator? [closed]
Undo a Git merge that hasn't been pushed yet
Make an existing Git branch track a remote branch?
How do I UPDATE from a SELECT in SQL Server?
How do I remove a submodule?
Check if a directory exists in a shell script
How can I safely create a nested directory in Python?
How do I make the first letter of a string uppercase in JavaScript?
Create ArrayList from array
How do I sort a dictionary by value?
How to validate an email address using a regular expression?
Set cellpadding and cellspacing in CSS?
How is Docker different from a virtual machine?
Why is char[] preferred over String for passwords?
How do I generate random integers within a specific range in Java?
Does Python have a string 'contains' substring method?
Create Excel (.XLS and .XLSX) file from C#
How does Facebook disable the browser's integrated Developer Tools?
What is the 'new' keyword in JavaScript?
Comparing two branches in Git? [duplicate]
How can I make a UITextField move up when the keyboard is present?
How to exit from PostgreSQL command line utility: psql
C++11 introduced a standardized memory model. What does it mean? And how is it going to affect C++ programming?
How to push a tag to a remote repository using Git?
How do I revert all local changes in Git managed project to previous state?
How to check if a string “StartsWith” another string?
How can I make the cursor a hand when a user hovers over a list item?
Breaking out of nested loops in Java
How to get the number of elements in a list in Python?
Why is using “for…in” with array iteration a bad idea?
What is the JavaScript version of sleep()?
What's the simplest way to print a Java array?
Manually raising (throwing) an exception in Python
What's the difference between @Component, @Repository & @Service annotations in Spring?
How to avoid Java code in JSP files?
Print in terminal with colors?
Iterate through object properties
Parse JSON in JavaScript? [duplicate]
How do I split a string on a delimiter in Bash?
How to align checkboxes and their labels consistently cross-browsers
NPM vs. Bower vs. Browserify vs. Gulp vs. Grunt vs. Webpack
How do I find Waldo with Mathematica?
Are static class variables possible?
Find current directory and file's directory [duplicate]
How can I profile C++ code running on Linux?
What is the difference between the `COPY` and `ADD` commands in a Dockerfile?
How can you find out which process is listening on a port on Windows?
Difference between static class and singleton pattern?
How to concatenate text from multiple rows into a single text string in SQL server?
JavaScript chop/slice/trim off last character in string
How to convert string to lowercase in Python
Generating random whole numbers in JavaScript in a specific range?
How do you check if a variable is an array in JavaScript? [duplicate]
Is there a reason for C#'s reuse of the variable in a foreach?
PostgreSQL “DESCRIBE TABLE”
How to list only the file names that changed between two commits?
What is “:-!!” in C code?
How to symlink a file in Linux?
Hidden Features of C#? [closed]
What is the difference between an interface and abstract class?
What's the difference between dependencies, devDependencies and peerDependencies in npm package.json file?
How do I copy a file in python?
Regular cast vs. static_cast vs. dynamic_cast [duplicate]
Converting string into datetime
Best (and safest) way to merge a git branch into master
Java inner class and static nested class
What is a NullReferenceException, and how do I fix it?
Why does my JavaScript get a “No 'Access-Control-Allow-Origin' header is present on the requested resource” error when Postman does not?
jQuery scroll to element
How can I test if an array contains a certain value?
How does JavaScript .prototype work?
Round to at most 2 decimal places (only if necessary)
What are the basic rules and idioms for operator overloading?
What is The Rule of Three?
How can I convert a string to boolean in JavaScript?
What are MVP and MVC and what is the difference?
Sort array of objects by string property value in JavaScript
What is JSONP all about?
How to write a switch statement in Ruby?
How can I merge properties of two JavaScript objects dynamically?
Deep cloning objects
Length of a JavaScript object
How do I call one constructor from another in Java?
How do I vertically center text with CSS?
What is the difference between #include <filename> and #include “filename”?
Modify the URL without reloading the page
How does data binding work in AngularJS?
“implements Runnable” vs. “extends Thread”
How do I format a Microsoft JSON date?
Showing which files have changed between two revisions
How do I pass command line arguments to a Node.js program?
When to use self over $this?
Difference between decimal, float and double in .NET?
How can I select an element with multiple classes in jQuery?
How to use java.net.URLConnection to fire and handle HTTP requests
How do I parse a string to a float or int in Python?
“Debug certificate expired” error in Eclipse Android plugins
How to check if a string contains a substring in Bash
What is the optimal algorithm for the game 2048?
How do I calculate someone's age in C#?
Should 'using' directives be inside or outside the namespace?
In the shell, what does “ 2>&1 ” mean?
What is so bad about singletons? [closed]
What does O(log n) mean exactly?
Lazy load of images in ListView
What's the difference between the atomic and nonatomic attributes?
How to get the current branch name in Git?
How do you clone a Git repository into a specific folder?
What is the scope of variables in JavaScript?
Catch multiple exceptions at once?
Homebrew install specific version of formula?
What are valid values for the id attribute in HTML?
In Python, how do I read a file line-by-line into a list?
How to modify a specified commit in git?
How to clone or copy a list?
What is reflection and why is it useful?
Proper use of the IDisposable interface
How to “add existing frameworks” in Xcode 4?
Easy way to pull latest of all git submodules
Compare two dates with JavaScript
How to print without newline or space?
What are move semantics?
How do I convert a string into an integer in JavaScript?
Sort a Map<Key, Value> by values
How to create an HTML button that acts like a link?
Get selected value in dropdown list using JavaScript?
Get int value from enum in C#
What does cherry-picking a commit with git mean?
Is < faster than <=?
How to exit in Node.js
Why is “1000000000000000 in range(1000000000000001)” so fast in Python 3?
How do I force a favicon refresh
What is the best way to detect a mobile device in jQuery?
What is a JavaBean exactly?
Creating a div element in jQuery [duplicate]
Redirect from a HTML page
Why does changing 0.1f to 0 slow down performance by 10x?
Using Auto Layout in UITableView for dynamic cell layouts & variable row heights
Viewing Unpushed Git Commits
How do I parse command line arguments in Bash?
How do I grep recursively?
Prefer composition over inheritance?
How do I sort a list of dictionaries by a value of the dictionary in Python?
Copying array by value in JavaScript
How should I ethically approach user password storage for later plaintext retrieval?
What do 'real', 'user' and 'sys' mean in the output of time(1)?
Calculate relative time in C#
How to do case insensitive search in Vim
Try-catch speeding up my code?
Inserting multiple rows in a single SQL query? [duplicate]
Insert results of a stored procedure into a temporary table
Make a div fill the height of the remaining screen space
What's the difference between SCSS and Sass?
Why should I use a pointer rather than the object itself?
How to mkdir only if a dir does not already exist?
How to recover a dropped stash in Git?
How can I remove (chomp) a trailing newline in Python?
What is a non-capturing group? What does (?:) do?
How can I delete a file from git repo?
A potentially dangerous Request.Form value was detected from the client
Delete lines in a text file that contain a specific string
RegEx match open tags except XHTML self-contained tags
How can I delete all Git branches which have been merged?
Difference between StringBuilder and StringBuffer
What do two question marks together mean in C#?
How does git handle symbolic links?
Path.Combine for URLs?
What does enctype='multipart/form-data' mean?
How to round a number to n decimal places in Java
Text editor to open big (giant, huge, large) text files [closed]
How to list the tables in a SQLite database file that was opened with ATTACH?
What does the exclamation mark do before the function?
Check if element exists in jQuery [duplicate]
npm throws error without sudo
endsWith in JavaScript
How to use SSH to run a shell script on a remote machine?
Retrieve the position (X,Y) of an HTML element
How to short circuit Array.forEach like calling break?
jQuery's jquery-1.10.2.min.map is triggering a 404 (Not Found)
Error message “No exports were found that match the constraint contract name”
How do function pointers in C work?
Getting the class name of an instance in Python
Why use Redux over Facebook Flux?
Git refusing to merge unrelated histories on rebase
How do I clone a subdirectory only of a Git repository?
Nicest way to pad zeroes to a string
How do I use $scope.$watch and $scope.$apply in AngularJS?
What is the difference between angular-route and angular-ui-router?
Convert JS object to JSON string
Random string generation with upper case letters and digits in Python
How to see the changes in a Git commit?
Fling gesture detection on grid layout
HTTP status code for update and delete?
Converting integer to string in Python?
What is the difference between const and readonly?
What is the difference between const int*, const int * const, and int const *?
What is the difference between '@' and '=' in directive scope in AngularJS?
How can I merge two commits into one if I already started rebase?
Which MySQL data type to use for storing boolean values
SOAP vs REST (differences)
How do servlets work? Instantiation, sessions, shared variables and multithreading
UTF-8 all the way through
How do you format code in Visual Studio Code (VSCode)
How to print to stderr in Python 2?
How to remove old Docker containers
Pretty git branch graphs
R cannot be resolved - Android error
Fix a Git detached head?
Determine Whether Two Date Ranges Overlap
How does the SQL injection from the “Bobby Tables” XKCD comic work?
Easy interview question got harder: given numbers 1..100, find the missing number(s)
What does this mean? “'NSUnknownKeyException', reason: … this class is not key value coding-compliant for the key X”
How to reset AUTO_INCREMENT in MySQL?
How to make a redirect in PHP?
What is the meaning of a single- and a double-underscore before an object name?
Git diff against a stash
What is the best way to conditionally apply a class?
Safely turning a JSON string into an object
How can I replace a newline (\n) using sed?
Limiting floats to two decimal points
What does the [Flags] Enum Attribute mean in C#?
How do I access the $scope variable in browser's console using AngularJS?
'Must Override a Superclass Method' Errors after importing a project into Eclipse
What is your most productive shortcut with Vim?
Can you loop through all enum values? [duplicate]
\d is less efficient than [0-9]
Stop setInterval call in JavaScript
Android SDK installation doesn't find JDK
How to grep (search) committed code in the git history?
How do you convert a byte array to a hexadecimal string, and vice versa?
What is the --save option for npm install?
What is the difference between UNION and UNION ALL?
How can I get the ID of an element using jQuery?
What characters can be used for up/down triangle (arrow without stem) for display in HTML?
Parsing values from a JSON file?
Proper MIME media type for PDF files
Find object by id in an array of JavaScript objects
Strange out of memory issue while loading an image to a Bitmap object
Check if a value exists in an array in Ruby
What are rvalues, lvalues, xvalues, glvalues, and prvalues?
How do you change the size of figures drawn with matplotlib?
How do I prompt for Yes/No/Cancel input in a Linux shell script?
What is the difference between MVC and MVVM?
Insert into … values ( SELECT … FROM … )
How to vertically center a div for all browsers?
Trigger a button click with JavaScript on the Enter key in a text box
Remove files from Git commit
Why should text files end with a newline?
Renaming columns in pandas
How to compare files from two different branches?
Disable same origin policy in Chrome
How to set a variable to the output of a command in Bash?
How to count the occurrences of a list item?
How to change the href for a hyperlink using jQuery
Is null check needed before calling instanceof?
Detecting an “invalid date” Date instance in JavaScript
window.onload vs $(document).ready()
Add images to README.md on GitHub
How do I auto-resize an image to fit a div container
.gitignore is not working
How can I develop for iPhone using a Windows development machine?
How to check if a variable is set in Bash?
How can I disable the UITableView selection highlighting?
Transitions on the display: property
How does the “this” keyword work?
How can I open a URL in Android's web browser from my application?