| ⌘T | go to file |
| ⌘⌃P | go to project |
| ⌘R | go to methods |
| ⌃G | go to line |
| ⌘KB | toggle side bar |
| ⌘⇧P | command prompt |
This file contains hidden or 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
| ifneq ($(KERNELRELEASE),) | |
| obj-m := my_vfs.o | |
| my_vfs-objs := my_vfs_module.o | |
| else | |
| KVER = $(shell uname -r) | |
| KDIR = /lib/modules/$(KVER)/build | |
| modules:: | |
| $(MAKE) -C $(KDIR) M=$(shell pwd) modules |
This file contains hidden or 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
| KERNEL_DIR = /root/linux | |
| VERBOSE = 0 | |
| ARCH = x86 | |
| EXTRA_CFLAGS := -isystem $(KERNEL_DIR)/include -isystem $(KERNEL_DIR)/arch/$(ARCH)/include | |
| obj-m := hellocxx.o | |
| CFLAGS_hellocxx.o := -x c++ -std=gnu++0x -fno-operator-names -fno-rtti -fpermissive -fno-exceptions | |
| all: |
This file contains hidden or 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
| import re | |
| from hashlib import md5 | |
| def gfm(text): | |
| # Extract pre blocks. | |
| extractions = {} | |
| def pre_extraction_callback(matchobj): | |
| digest = md5(matchobj.group(0).encode('utf-8')).hexdigest() | |
| extractions[digest] = matchobj.group(0) | |
| return "{gfm-extraction-%s}" % digest |
This file contains hidden or 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
| declare module glmatrix { | |
| interface Vec2Array extends Float32Array { | |
| } | |
| interface Vec3Array extends Float32Array { | |
| } | |
| interface Vec4Array extends Float32Array { | |
| } |
This file contains hidden or 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
| vim | |
| >= 95 button-event mouse | |
| >= 141 request termcap/terminfo string | |
| >= 277 sgr-mouse | |
| Emacs (xterm.el) | |
| >= 216 modifyOtherKeys | |
| >= 242 query background color | |
| MinEd | |
| >= 251 title stack | |
| >= 210 UTF-8 title |
This file contains hidden or 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 <Siv3D.hpp> | |
| # include <HamFramework.hpp> | |
| class Ball | |
| { | |
| public: | |
| static const double SIZE; | |
| static const Polygon POLYGONS[]; | |
| static const Color COLORS[]; | |
| static Font FONT; |