This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
TYPE=PAPER | |
TAG1=PAPER | |
TAG2=NLP | |
TAG3=LANGUAGE_MODELING | |
trap 'rm -f foo.html' EXIT | |
while read -r url | |
do | |
echo "$url" >> log | |
curl -sL "$url" > foo.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"installDate": 1530679972915, | |
"name": "SE Top Bar uniformity", | |
"enabled": true, | |
"sections": [ | |
{ | |
"code": "#custom-header, .-container .-main .-logo, .-ctas {\n /* Nuke the Ubuntu custom top bar, the SE logo and the \"join\" button */\n \n display: none;\n}\n\n#search {\n padding-left: 0;\n}\n\n.js-top-bar {\n /* Keep the top bar on top */\n \n width: 100%;\n position: sticky;\n background-color: #3f3f3f !important;\n}\n\n.top-bar~.container {\n /* Remove the extra padding for the site header */\n \n margin-top: 0;\n}\n\n.top-bar .my-profile .-rep {\n font-weight: normal;\n}", | |
"urls": [], | |
"urlPrefixes": [], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while true | |
do | |
clear | |
size=$(ls -l /var/spool | wc -c) | |
sleep 30 | |
newsize=$(ls -l /var/spool | wc -c) | |
if (( $size < $newsize )) | |
then | |
echo "You've got mail!" | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ (strace yes | read -n1) |& tail | |
close(3) = 0 | |
fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 | |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe68a772000 | |
write(1, "y\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\n"..., 4096) = 4096 | |
write(1, "y\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\n"..., 4096) = 4096 | |
write(1, "y\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\n"..., 4096) = 4096 | |
write(1, "y\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\n"..., 4096) = 4096 | |
write(1, "y\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\ny\n"..., 4096) = -1 EPIPE (Broken pipe) | |
--- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=24310, si_uid=1000} --- |