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
from __future__ import print_function | |
import numpy as np | |
import tensorflow as tf | |
import time | |
# Import MNIST data | |
from tensorflow.examples.tutorials.mnist import input_data | |
mnist = input_data.read_data_sets("/tmp/data/", one_hot=True) |
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
#!/usr/bin/env python | |
# Sat 21 Nov 2020 10:12:23 PM PST | |
def permutation(lst): | |
assert len(lst) > 0 | |
result = [] | |
def helper(): | |
if len(lst) == 0: | |
yield result[:] |
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
%# -*- coding:utf-8 -*- | |
\documentclass[11pt,a4paper]{moderncv} | |
\usepackage{fontspec,xunicode} | |
%\usepackage[slantfont,boldfont]{xeCJK} | |
\usepackage{xcolor} % replace by the encoding you are using | |
%\defaultfontfeatures{Mapping=tex-text} | |
%\XeTeXlinebreaklocale "zh" | |
%\XeTeXlinebreakskip = 0pt plus 1pt minus 0.1pt |
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
//------------------------------------------------------------------------------ | |
// pdbdump.c - dump symbols from .pdb and executable files (public domain). | |
// - to compile; cl.exe /Ox /Zi pdbdump.c | |
// - | |
// - Martin Ridgers, pdbdump 'at' fireproofgravy.co.uk | |
//------------------------------------------------------------------------------ | |
#include <stdio.h> | |
#include <Windows.h> | |
#include <DbgHelp.h> |
OlderNewer