This file contains 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
// change all html code tags to "ltr" | |
let codes = document.querySelectorAll("code"); | |
codes.forEach(code => { | |
code.setAttribute("dir", "ltr"); | |
}); | |
// change color of all "free" bubbles! | |
var bubbles = document.querySelectorAll(".badge-inner.new-bubble"); | |
bubbles.forEach(bubble => { | |
if (bubble.innerText == "חינם!") { |
This file contains 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
Sub replaceHighlights() | |
'Always start at the top of the document | |
Selection.HomeKey Unit:=wdStory | |
' wdPink - @@ | |
' wdBrightGreen - @@@ | |
With Selection.Find | |
.Text = "@" |
This file contains 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
# Expires map | |
map $sent_http_content_type $expires { | |
default off; | |
text/html epoch; | |
text/css max; | |
application/javascript max; | |
~image/ max; | |
~font/ max; | |
application/octet-stream max; | |
} |
This file contains 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 | |
TARGET="/var/www/pninim" | |
GIT_DIR="/home/<username>/repo/pninim.git" | |
BRANCH="master" | |
SLACK_POST_URL="https://hooks.slack.com/services/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" | |
while read oldrev newrev ref | |
do |