- [C Preprocessor tricks, tips, and idioms][1]
- [Standard alternative to GCC's ##VA_ARGS trick?][2]
- [Variadic Macros][3], gcc manual
- [Appending to VA_ARGS][4]
- [Comma omission and comma deletion][5]
- IEEE-754 Floating Point Converter
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
- a blog article: "Understanding LSTM Networks", http://colah.github.io/posts/2015-08-Understanding-LSTMs/ | |
- a paper (LSTM): long short-term memory: http://www.bioinf.jku.at/publications/older/2604.pdf | |
- a paper (GRU) Gated Recurrent Unit: "Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine | |
Translation", 2014, https://arxiv.org/pdf/1406.1078v3.pdf | |
- phd thesis: "Long Short-Term Memory in Recurrent Neural Networks", 2001, http://www.felixgers.de/papers/phd.pdf |
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
bind -T root F12 \ | |
set prefix None \;\ | |
set key-table off \;\ | |
set status-style "fg=$color_status_text,bg=$color_window_off_status_bg" \;\ | |
set window-status-current-format "#[fg=$color_window_off_status_bg,bg=$color_window_off_status_current_bg]$separator_powerline_right#[default] #I:#W# #[fg=$color_window_off_status_current_bg,bg=$color_window_off_status_bg]$separator_powerline_right#[default]" \;\ | |
set window-status-current-style "fg=$color_dark,bold,bg=$color_window_off_status_current_bg" \;\ | |
if -F '#{pane_in_mode}' 'send-keys -X cancel' \;\ | |
refresh-client -S \;\ | |
bind -T off F12 \ |
- ASCAL Visual Object Classes Challenge 2007 (VOC2007) Annotation Guidelines http://host.robots.ox.ac.uk/pascal/VOC/voc2007/guidelines.html
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
using System; | |
public class BingConvert | |
{ | |
public static double[] WGS84toGoogleBing(double lon, double lat) | |
{ | |
double x = lon * 20037508.34 / 180; | |
double y = Math.Log(Math.Tan((90 + lat) * Math.PI / 360)) / (Math.PI / 180); | |
y = y * 20037508.34 / 180; | |
return new double[] { x, y }; |
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
################################################################################ | |
# | |
# \file cmake/FindMKL.cmake | |
# \author J. Bakosi | |
# \copyright 2012-2015, Jozsef Bakosi, 2016, Los Alamos National Security, LLC. | |
# \brief Find the Math Kernel Library from Intel | |
# \date Thu 26 Jan 2017 02:05:50 PM MST | |
# | |
################################################################################ |
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
# Option 1: Use apt-get | |
# keys taken from https://software.intel.com/en-us/articles/installing-intel-free-libs-and-python-apt-repo | |
cd ~/GitHub/r-with-intel-mkl/ | |
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB | |
apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB | |
sudo sh -c 'echo deb https://apt.repos.intel.com/mkl all main > /etc/apt/sources.list.d/intel-mkl.list' | |
sudo apt-get update && sudo apt-get install intel-mkl-64bit |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm