Skip to content

Instantly share code, notes, and snippets.

View vscode-settings.json
{
// vscode general settings
"editor.detectIndentation": true,
"editor.insertSpaces": true,
// "editor.fontFamily": "Hack",
"editor.fontLigatures": true,
"editor.fontSize": 14,
"editor.minimap.enabled": false,
"editor.rulers": [72, 80],
"editor.tabSize": 4,
@freelsn
freelsn / konsole-colorscheme.md
Last active Apr 23, 2021
konsole dracula color theme
View konsole-colorscheme.md
cp xx.colorscheme ~/.kde/share/apps/konsole
@freelsn
freelsn / Makefile
Last active Apr 23, 2021
Universal Makefile for C/C++
View Makefile
# - inc/
# - *.h
# - src/
# - *.c
# - *.cpp
# - obj/
# - *.o
# - main
TARGET := main
@freelsn
freelsn / color.putty
Last active Jul 28, 2019
Putty color scheme
View color.putty
Black=77,77,77
BoldBlack=85,85,85
Red=187,0,0
BoldRed=255,85,85
Green=152,251,152
BoldGreen=85,255,85
Yellow=240,230,140
BoldYellow=255,255,85
Blue=205,133,63
BoldBlue=135,206,235
View pandoc.css
body {
margin: auto;
padding-right: 1em;
padding-left: 1em;
max-width: 44em;
border-left: 1px solid black;
border-right: 1px solid black;
/* font-family: Arial, Verdana, "Microsoft YaHei", "微软雅黑", sans-serif; */
font-family: "Lato", Helvetica, Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
font-size: 18px;
@freelsn
freelsn / my-cv.cls
Last active Feb 16, 2017
Class file of academic CV
View my-cv.cls
% Telling the compiler which version of LaTeX the package is for
\NeedsTeXFormat{LaTeX2e}
% Giving the compiler some information about your package
% The first argument should match the filename of you class file
% The second argument is optional and provides a description of your class which will appear in the log and other places.
% The description must begin with a date in exactly the format and it should be the date the package was last modified.
% E.g. \documentclass{myCV}[2016/07/12] with a date which is newer than the date of last modification, a waring will be shown saying that the class is outdated.
\ProvidesClass{myCV}[2016/06/28 My custom CV class]
@freelsn
freelsn / latexmkrc.pl
Created Feb 15, 2017
A configuration and initialization file for LatexMk
View latexmkrc.pl
$clean_ext = "sta";
$clean_full_ext = "sta";
# $aux_dir = "output.output";
# $out_dir = "output.output";
$pdf_mode = 1; # tex -> pdf
# If no files are specified, latexmk will, by default, run on all files in the current working directory with a ".tex" extension.
# If you have your work split up into several parts, you have to specify the main file like this