split 984
Merge multiple lines in Vim - Stack Overflow
18 hours ago by michaelfox
:5,8del | let l=split(@") | 1,4s/$/=remove(l,0)/
vim
clever
daftpunk
split
18 hours ago by michaelfox
python - Regex to split on successions of newline characters - Stack Overflow
20 days ago by dza
If there are no spaces at the starts or ends of the lines, you can use line.split()
the str type also has a method called "splitlines".
"FoornrnDouble WindowsrrDouble OS XnnDouble UnixrnWindowsrOS XnUnix".splitlines()
OR
re.split(r'[nr]+', line)
regex
split
newline
\n
\r
carriage
return
python
howto
tutorial
guide
the str type also has a method called "splitlines".
"FoornrnDouble WindowsrrDouble OS XnnDouble UnixrnWindowsrOS XnUnix".splitlines()
OR
re.split(r'[nr]+', line)
20 days ago by dza
High-stakes one-shot Prisoner's Dilemma on a British game show with an astounding strategy - Boing Boing
27 days ago by kybernetikos
A British game-show called "Golden Balls" concludes each installment with a single-shot version of the Prisoner's Dilemma in which the two players' choices can result in a large cash prize being awarded to both of them, neither of them, or just one of them. The players are allowed to tell each other what they plan on doing, but they are also allowed to lie and try to trick the other player into making a choice that would leave the whole pot in the trickster's hands.
In this remarkable clip, a player named Nick runs an extraordinary end-game that has to be seen to be believed
economics
gametheory
prisoner
dilemma
split
steal
In this remarkable clip, a player named Nick runs an extraordinary end-game that has to be seen to be believed
27 days ago by kybernetikos
Copy this bookmark: