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
;; Cyberpunk Colour Theme | |
;; | |
;; "and he'd still see the matrix in his sleep, bright lattices of logic | |
;; unfolding across that colorless void..." | |
;; William Gibson, Neuromancer. | |
(deftheme cyberpunk | |
"") | |
(custom-theme-set-faces |
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
<html> | |
<head><title>Overflow Hidden is the Thing</title> | |
<style> | |
#doc-content { overflow:auto; display: block; height: 300px } | |
</style> | |
</head> | |
<body> | |
<div id="top"> | |
I have a NavBar here | |
</div> |
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
(require 'url) | |
(defun get-and-parse-json (url) | |
(interactive) | |
(with-current-buffer (url-retrieve-synchronously url) | |
(goto-char (point-min)) | |
(re-search-forward "^$") | |
(json-read))) | |
(defun get-movie-json (title &optional year) |
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 <CGAL/Simple_cartesian.h> | |
#include <CGAL/Polyhedron_3.h> | |
#include <boost/interprocess/managed_shared_memory.hpp> | |
#include <boost/interprocess/allocators/allocator.hpp> | |
#include <iostream> | |
using namespace boost::interprocess; | |
struct shm_remove { |
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 <boost/mpl/vector/vector10.hpp> | |
#include <boost/mpl/if.hpp> | |
#include <boost/mpl/at.hpp> | |
#include <boost/type_traits/is_integral.hpp> | |
#include <boost/type_traits/is_reference.hpp> | |
#include <boost/type_traits/is_same.hpp> | |
#include <boost/static_assert.hpp> | |
#include <iostream> |
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 <boost/thread/thread.hpp> | |
#include <boost/asio/placeholders.hpp> | |
#include <boost/asio/deadline_timer.hpp> | |
class TimerThing | |
{ | |
protected: | |
boost::asio::deadline_timer* statusTimer_; | |
boost::thread_group worker_threads_; |
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
# Set default behaviour, in case users don't have core.autocrlf set. | |
* text=auto | |
# Explicitly declare text files we want to always be normalized and converted | |
# to native line endings on checkout. | |
*.cpp text | |
*.c text | |
*.h text | |
*.tex text |
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 Construction, typename Dummy = boost::none_t> | |
struct Lazy_wrapper_traits : | |
boost::mpl::eval_if< internal::Has_result_type<Construction>, | |
boost::mpl::eval_if< boost::is_same< typename boost::remove_cv< | |
typename boost::remove_reference< | |
typename internal::Lazy_result_type<Construction>::type | |
>::type >::type, | |
typename Approximate_kernel::FT>, | |
boost::mpl::int_<NT>, | |
boost::mpl::eval_if< boost::is_same< typename internal::Lazy_result_type<Construction>::type, |
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
integration: | |
Triangulation construction : | |
#pts Time | |
100 0.000443 | |
1000 0.00538 | |
10000 0.0602 | |
100000 0.61 | |
master: | |
Triangulation construction : |
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
(require 'url) | |
(defun get-and-parse-json (url) | |
(interactive) | |
(with-current-buffer (url-retrieve-synchronously url) | |
(goto-char (point-min)) | |
(re-search-forward "^$") | |
(json-read))) | |
(defun get-movie-json (title &optional year) |
OlderNewer