What do you want to save?
Add Code snippet
New code examples
-
VBA 2021-09-02 22:52:01
excel vba exit for next loop
'In VBA how to exit a For Next loop when a condition 'is met: use Exit For. For i = 1 To 1000 c = c + 1 If c = 750 Then Exit For Next 'Exit For can also be used inside a For Each loop: For Each r In [A1:A10] c = c + c If r.Value = "Hi&qu... Add solution -
Shell/Bash 2021-09-01 02:36:02
bash compare two lists of checksums
# Example usage: cat checksum_list_1 checksum_list_2 | sort | uniq -c | sort | less # This command concatenates the lists, sorts them so that repeated # checksums are adjactent, adds the count of each, and then sorts them # again so that highers counts ar... Add solution -
Shell/Bash 2021-08-31 20:40:02
fsl atlas
#!/bin/sh # List co-ordinates of each labeled region in an atlas with fslstats. # Use preoption -K < indexMask > will generate seperate n submasks from # indexMask, for indexvalues 1..n where n is the maximum index value # in indexMask, and gene... Add solution -
Shell/Bash 2021-08-30 19:24:01
fsl label
#!/bin/sh # List co-ordinates of each labeled region in an atlas with fslstats. # Use preoption -K < indexMask > will generate seperate n submasks from # indexMask, for indexvalues 1..n where n is the maximum index value # in indexMask, and gene... Add solution -
SQL 2021-08-30 05:03:01
mysql bidirectional composite primary key
CREATE TRIGGER uinsert BEFORE INSERT ON tbl_challenger FOR EACH ROW SET NEW.u0 = LEAST(NEW.host,NEW.challenger), NEW.u1 = GREATEST(NEW.host,NEW.challenger); #same for update CREATE UNIQUE INDEX uniqueness ON tbl_challenger(u0,u1); Add solution -
Python 2021-08-29 23:55:01
django how to set a navbar active
# navbar_demo/pages/views.py... '''We will pass a unique variable for each page whose value will be 'active' to make a page active in navbar when it call.''' def index(request): context = {"home_page": "active"} # new info he... Add solution
Best helpers
Blank
+5
Grin
+5
Hwsolutions
+5
Charlemagne
+5
SYJ
+5
A. Pelicker
+5
KMC
+5
Jonjie
+5
37Bons
+5
Highlightman
+5
ElDynamite
+5
Paul Knight
+5
Karl
+5
WYSIWYG
+5
Required
+5
Saylestyler
+5
Deverejones
+5
Zkanoca
+5
Frank Jaeger
+5