I hereby claim:
- I am lewiswalsh on github.
- I am lewiswalsh (https://keybase.io/lewiswalsh) on keybase.
- I have a public key ASCsSgDIC4Lp66CimJ8WmCzX70CIzBFMrsRhCx_Np_L4LAo
To claim this, I am signing this object:
$(document).on('mouseup', function(e){ | |
var my_element = $('<my_element_selector>'); | |
if( | |
!my_element.is(e.target) // if the target of the click isn't the live_search_results... | |
&& my_element.has(e.target).length === 0 // ...nor a descendant of the live_search_results | |
&& my_element.is(":visible") // Is it even showing on screen? | |
){ my_element.slideUp(); } | |
}); |
sed -i -e 's/\r$//' <file or files> |
ffmpeg -i input.mp4 -filter:v scale=480:-1 -c:a copy output.mp4 |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
ffmpeg -i "concat:VTS_01_1.VOB|VTS_01_2.VOB|VTS_01_3.VOB|VTS_01_4.VOB|VTS_01_5.VOB" -strict -2 outfile.mp4 |
arp -a | findstr b8-27-eb |
/usr/bin/time -v <your command or program with arguments> |
INSERT INTO ab_product_categories (category_id, product_id) | |
SELECT c.id AS category_id, p.id as product_id | |
FROM ab_products AS p, ab_categories AS c | |
WHERE c.old_id = p.old_cat_id; |
cat -n <filename> |
knex(TABLE_NAME) | |
.insert({ data : data }) | |
.onConflict(PRIMARY_KEY) | |
.merge() | |
.then((res) => { | |
... | |
}) | |
.catch((err) => { | |
... | |
}); |