This make file finds the most recently changed tex file and compile it.
I hereby claim:
- I am gongzhitaao on github.
- I am gongzhitaao (https://keybase.io/gongzhitaao) on keybase.
- I have a public key whose fingerprint is 493D 59EA F22A 2603 1C3C FD5C 8984 BD68 547A 8270
To claim this, I am signing this object:
# -*- mode: shell-script; coding: utf-8; -*- | |
pathadd() { | |
# key | |
local key=${2:-PATH} | |
# value of key | |
local ret=${!key} | |
# remove trailing slash |
This Makefile sync current local working folder with the remote folder.
When working on a server, I always want to edit files locally and then
push them to servers to run. However I do not want to track what
files I just changed and push them one by one using SFTP. rsync
solves this issue elegantly.
Concretely, when I'm finishing editing files locally, I just type
The script shows a wierd bug using keras with tensorflow.
When you use the tf.while_loop
function
- if you include the
Dropout
layer or set the total number of epochs to greater than 10, then the program hangs and never returns. - Otherwise, it works fine.
I've updated to the latest version of keras and tensorflow. This bug persists. It seems to be a bug with keras. Since I could not reproduce this with pure tensorflow code.
This gist contains my homework grading scripts for Auburn COMP2017 in Spring semseter. grade1.py
for homework 1, grade2.py
for homework 2 and so on. Shoot me an email if you have questions.
This repo collects convenient scripts.
- graypdf. Convert PDF to grayscale.
- mergepdf. Merge a sequence of PDF files.
Simple decorator timer in Python3.
@tick
def foo():
for i in range(100):
pass