Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View abhikpal's full-sized avatar

Abhik Pal abhikpal

View GitHub Profile
import csv
import os
import sys
import subprocess
def filter_keeds(zfile, klist='kids.csv', exdir='tmp'):
"""Filter the students.
:param zfile: The (zip) file with all homework submissions.
import vispy
vispy.use('glfw')
required_extensions = [
'GL_ARB_framebuffer_object',
'GL_EXT_framebuffer_object',
'GL_EXT_framebuffer_blit',
'GL_EXT_framebuffer_multisample',
'GL_EXT_packed_depth_stencil',
]
[Desktop Entry]
Name=Visual Studio Code
Exec=/home/abhikpal/.bin/vscode
Icon=/home/abhikpal/.bin/code-stable-code_1.17.2-1508162334_amd64/VSCode-linux-x64/resources/app/resources/linux/code.png
Type=Application
Categories=Utility;
(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)
export ALTERNATE_EDITOR=""
export EDITOR="emacs24 -nw"
export VISUAL="emacs24"
alias em="$EDITOR"
alias emacs="$EDITOR"
alias emx="$VISUAL"
alias emacsx="#VISUAL"
<?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">
\documentclass{standalone}
\usepackage{amsmath, amssymb, amsthm}
\begin{document}
$\prec \subseteq \Sigma^{\ast} \times \Sigma^{\ast}$
\end{document}
\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\\
\documentclass{standalone}
\usepackage{mathpazo}
\usepackage[usenames, dvipsnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{calc,patterns,decorations.pathmorphing, decorations.markings}
\begin{document}
\begin{tikzpicture}
@abhikpal
abhikpal / additive_wave.py
Last active August 12, 2017 07:35
Profiling code for p5.
#
# Additive Wave
# by Daniel Shiffman
#
# Python port: Abhik Pal
#
# Create a more complex wave by adding two waves together.
#
import cProfile
from p5 import *