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 <stdlib.h> | |
#include <stdio.h> | |
#include <math.h> | |
typedef struct { | |
int x, y; | |
} P; | |
typedef struct { | |
int w, h; |
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
/** | |
* @author fansekey | |
*/ | |
#ifndef __GL_SHADER_H__ | |
#define __GL_SHADER_H__ | |
#include <iostream> | |
#include <fstream> | |
#include <sstream> | |
#include <cstring> |
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
// Add custom color schemes to this array | |
// http://ciembor.github.io/4bit/# | |
{ | |
"schemes": [ | |
{ | |
"name": "Dracula", | |
"background": "#282A36", | |
"black": "#21222C", | |
"blue": "#BD93F9", |
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
make -C /lib/modules/5.0.0-13-generic/build M=/home/<name>/dev/github/bcwc_pcie modules_install | |
make[1]: 进入目录“/usr/src/linux-headers-5.0.0-13-generic” | |
INSTALL /home/<name>/dev/github/bcwc_pcie/facetimehd.ko | |
At main.c:160: | |
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72 | |
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79 | |
sign-file: certs/signing_key.pem: No such file or directory | |
DEPMOD 5.0.0-13-generic | |
Warning: modules_install: missing 'System.map' file. Skipping depmod. | |
make[1]: 离开目录“/usr/src/linux-headers-5.0.0-13-generic” |
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
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
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
\documentclass[a4paper]{article} | |
% force auto wrap | |
\XeTeXlinebreaklocale "zh" | |
\XeTeXlinebreakskip = 0pt plus 1pt | |
\usepackage{fontspec} | |
\setmainfont{STKaiti} | |
\title{宋词序录} |
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
if exists('veonim') | |
" built-in plugin manager | |
Plug 'sheerun/vim-polyglot' | |
Plug 'tpope/vim-surround' | |
" extensions for web dev | |
let g:vscode_extensions = [ | |
\'vscode.typescript-language-features', | |
\'vscode.css-language-features', |
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 _UNISTD_H | |
#define _UNISTD_H 1 | |
/* This is intended as a drop-in replacement for unistd.h on Windows. | |
* Please add functionality as neeeded. | |
* https://stackoverflow.com/a/826027/1202830 | |
*/ | |
#include <stdlib.h> | |
#include <io.h> |
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
{ | |
/* Keybindings for emacs emulation. Compiled by Jacob Rus. | |
* | |
* This is a pretty good set, especially considering that many emacs bindings | |
* such as C-o, C-a, C-e, C-k, C-y, C-v, C-f, C-b, C-p, C-n, C-t, and | |
* perhaps a few more, are already built into the system. | |
* | |
* BEWARE: | |
* This file uses the Option key as a meta key. This has the side-effect | |
* of overriding Mac OS keybindings for the option key, which generally |
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
/** | |
* @author xiangshouding | |
*/ | |
class Box { | |
constructor(x, y, icon) { | |
this.x = x; | |
this.y = y; | |
this.icon = icon; | |
} |
NewerOlder