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 | |
#SBATCH --nodes=1 | |
#SBATCH --cpus-per-task=8 | |
#SBATCH --time=5:00:00 | |
#SBATCH --mem=16gb | |
#SBATCH --partition=visu | |
cd $(ws_find arnaud) | |
cd code/flow_pred/ |
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
template <typename... Ts> | |
struct all_pod; | |
template <typename Head, typename... Tail> | |
struct all_pod<Head, Tail...> | |
{ | |
static const bool value = std::is_pod<Head>::value && all_pod<Tail...>::value; | |
}; | |
template <typename T> |
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
(setq scroll-margin 15 | |
scroll-conservatively 0 | |
scroll-up-aggressively 0.01 | |
scroll-down-aggressively 0.01) | |
(setq-default scroll-up-aggressively 0.01 | |
scroll-down-aggressively 0.01) |
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
#ifndef UTIL_LANG_RANGE_HPP | |
#define UTIL_LANG_RANGE_HPP | |
#include <iterator> | |
#include <type_traits> | |
namespace util { namespace lang { | |
namespace detail { |
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
#include <cstdint> | |
#include <vector> | |
#include <initializer_list> | |
#include <algorithm> | |
#include <iostream> | |
#include <iomanip> | |
#include <iterator> | |
#include <stdexcept> | |
#include <utility> | |
#include "range.hpp" |
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
(defun kill-whole-word () | |
(interactive) | |
(backward-word) | |
(kill-word 1) | |
) | |
(global-set-key (kbd "C-c w") 'kill-whole-word) |
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
(customset-faces | |
;; custom-set-faces was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. | |
'(company-preview ((t (:background "#444444" :foreground "light sky blue")))) | |
'(company-tooltip ((t (:background "#444444" :foreground "light sky blue")))) | |
'(company-tooltip-annotation ((t (:foreground "deep sky blue")))) | |
'(iedit-occurrence ((t (:background "pale green" :foreground "black"))))) |
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
#include <iostream> | |
#include <string> | |
#include <fstream> | |
#include <vector> | |
#include <unordered_map> | |
#include <regex> | |
#include <algorithm> | |
#include <boost/filesystem.hpp> | |
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/sh | |
# This script will setup Evm (Emacs Version Manager) and Cask on | |
# Travis to use for Emacs Lisp testing. | |
# | |
# In .travis.yml, add this: | |
# | |
# - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh | |
# | |
# Emacs 24.3 is installed in the above script because Cask requires |
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
#include <opencv2\opencv.hpp> | |
using namespace cv; | |
using std::cout; | |
/*--------------- SKIN SEGMENTATION ---------------*/ | |
int main () { | |
VideoCapture cap(0); | |
if(!cap.isOpened()) |
NewerOlder