261 I made it by the skin of my teeth.
262 He tackled this job with a devil-may-care attitude and succeeded.
263 I started doodling to amuse myself (or to kill time).
264 That store was broken into and the thief took everything - lock, stock and barrel.
265 It's a case of tit for tat, isn't it? Touche!
266 It was a tit for tat situation in this case.
267 It's a pain in the ass to have so many wrong numbers - they may be casing the joint. / It's a pain in the neck to have so many wrong numbers - they may be casing the joint.
268 I sense that there is some hanky-panky going on here.
270 If you try such a thing there is no hope of succeeding - it's just like looking for a needle in a haystack.