As answers to this Stack Overflow question
reveal, using <!---
and --->
or <!--
and -->
works (view source by clicking "Raw"):
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
for jpeg in `find . -name "*.JPG"` | |
do | |
convert -geometry 28.4090909% $jpeg ${jpeg%.*}.jpg | |
done |
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
class Node: | |
def __init__(self,val,nxt): | |
self.val = val | |
self.nxt = nxt | |
def prnt(n): | |
nxt = n.nxt | |
print n.val | |
if(nxt is not None): | |
prnt(nxt) |
Task | Time required | Assigned to | Current Status | Finished |
---|---|---|---|---|
Calendar Cache | > 5 hours | - | in progress | - [x] ok? |
Object Cache | > 5 hours | - | in progress | [x] item1 [ ] item2 |
Object Cache | > 5 hours | - | in progress |
|
Object Cache | > 5 hours | - | in progress |
|
- works
- works too
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
import requests | |
import ujson | |
from pprint import pprint | |
from random import SystemRandom | |
from string import digits, ascii_uppercase | |
from time import sleep | |
possible_characters = ascii_uppercase + digits | |
def gp(length=32): |
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 | |
#-- Script to automatically convert all git remotes to HTTPS from SSH | |
# Script will change all the git remotes. | |
# If you didn't intend to do that, run the other script in this repo. | |
# Original 1: https://gist.github.com/m14t/3056747 | |
# Original 2: https://gist.github.com/chuckbjones/9dc6634fe52e56ba45ac | |
# Thanks to @m14t, @michaelsilver and @chuckbjones. | |
ssh_to_https(){ | |
REPO_URL=`git remote -v | grep -m1 "^$1" | sed -Ene's#.*([email protected]:[^[:space:]]*).*#\1#p'` |
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
# http://www.imagemagick.org/script/command-line-processing.php#geometry | |
# http://stackoverflow.com/questions/7261855/recommendation-for-compressing-jpg-files-with-imagemagick | |
# run from raw/ | |
cd raw/ | |
for pic in img/covers/*.jpg; | |
do convert -strip -quality 80% -interlace Plane -gaussian-blur 0.05 -resize "1920>" "$pic" "../$pic"; | |
done |