Skip to content

Instantly share code, notes, and snippets.

@h2m730131
h2m730131 / .vsvimrc
Last active March 3, 2025 16:02
Visual Studio 2022 + VsVim + ReSharper + PeasyMotion + im-select
" [ReSharper Documentation](https://www.jetbrains.com/help/resharper/)
" 避免 key mapping 覆蓋 `"` 與 `/` 暫存器, 分別採用 `z` 與 `s` 暫存器替代
" Not support InsertLeave autocmd 自動切換回英文輸入法
"autocmd InsertLeave * !%USERPROFILE%\\.vscode\\extensions\\im-select.exe 1033
inoremap <Esc> <Esc>:!%USERPROFILE%\\.vscode\\extensions\\im-select.exe 1033<CR>
@CMCDragonkai
CMCDragonkai / clone_to_mem.py
Last active April 8, 2024 12:30
Clone GDAL/OGR DataSource/DataSet to in-memory instance #gdal #ogr #python
from osgeo import gdal, ogr
def clone_data_to_mem(ds, name=''):
if (isinstance(ds, gdal.Dataset)):
return clone_raster_to_mem(ds, name)
elif (isinstance(ds, ogr.DataSource)):
return clone_vector_to_mem(ds, name)
else:
raise TypeError('Data source must be of GDAL dataset or OGR datasource')
@gorlak
gorlak / tools-engineer-checklist.md
Last active February 12, 2025 09:59
Tools Engineer Checklist

This list is provided as a guide for tools engineers of all skill levels looking for jobs in the game industry. It's meant as a guide to topics that should be pursued broadly in order to be well spoken in an interview. I doubt any hiring manager requires deep knowedge across every topic, but an ideal candidate would be somewhat knowledgable (aware of its existence if asked directly) with all topics here.

Each list of bullets increases in difficulty, so later bullets are more applicable to senior (or even director) level candidates.

Good luck.

@gorlak

Math

^
| 7
| /
|/
+----------->
or
7 Z-axis
@enyancc
enyancc / Symlinks on Linux VM under Windows host.md
Last active February 2, 2023 20:50
VirtualBox Linux GUEST symlinks under Windows 7 HOST