View init.el
(require 'package)
(setq package-enable-at-startup nil)
(add-to-list 'package-archives
'("org" . "http://orgmode.org/elpa/")
'("melpa" . "https://melpa.org/packages/"))
(package-initialize)
View .shell_aliases
export ALTERNATE_EDITOR=""
export EDITOR="emacs24 -nw"
export VISUAL="emacs24"
alias em="$EDITOR"
alias emacs="$EDITOR"
alias emx="$VISUAL"
alias emacsx="#VISUAL"
View .fonts.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font">
<edit mode="assign" name="rgba">
<const>rgb</const>
</edit>
</match>
<match target="font">
View ast.tex
\documentclass{standalone}
\usepackage{amsmath, amssymb, amsthm}
\begin{document}
$\prec \subseteq \Sigma^{\ast} \times \Sigma^{\ast}$
\end{document}
View booktab_table.tex
\begin{table}[ht]
\footnotesize
\centering
\begin{tabular}{llllll}
& \multicolumn{5}{c}{$\phi_{\Delta t} \pm 0.01 s$}\\
\cmidrule(lr){2-6}
& $T_1$ & $T_2$ & $T_3$ & $T_4$ & $T_5$\\ \toprule
$m_2$ & 0.52 & 0.80 & 0.08 & 0.84 & 0.80\\
$m_3$ & 0.96 & 1.20 & 1.32 & 0.40 & 0.72\\
$m_4$ & 0.64 & 0.68 & 0.84 & 0.84 & 0.68\\
View experiment_setup.tex
\documentclass{standalone}
\usepackage{mathpazo}
\usepackage[usenames, dvipsnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{calc,patterns,decorations.pathmorphing, decorations.markings}
\begin{document}
\begin{tikzpicture}
View additive_wave.py
#
# Additive Wave
# by Daniel Shiffman
#
# Python port: Abhik Pal
#
# Create a more complex wave by adding two waves together.
#
import cProfile
from p5 import *
View convert_to_png.py
import os
import sys
image_folder = sys.argv[1] if len(sys.argv) == 2 else '.'
folder_path = os.path.abspath(image_folder)
svg_images = [os.path.abspath(f) for f in os.listdir(folder_path) if f.endswith('.svg')]
for image_file in svg_images:
filename, ext = os.path.splitext(image_file)
os.system("inkscape -z -e {}.png {}".format(filename, image_file))
View pyglet_ogl.py
import pyglet
pyglet.options['shadow_window'] = False
window = pyglet.window.Window()
print("OpenGL info:")
print(window.context.get_info().get_version())
print(window.context.get_info().get_renderer())
print(window.context.get_info().get_vendor())
View frame_buffer_test.py
import pyglet
required_extensions = [
'GL_ARB_framebuffer_object',
'GL_EXT_framebuffer_object',
'GL_EXT_framebuffer_blit',
'GL_EXT_framebuffer_multisample',
'GL_EXT_packed_depth_stencil',
]