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
{ | |
"version": 1, | |
"notes": "", | |
"documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n", | |
"keyboard": "dz60", | |
"keymap": "shanecelis3", | |
"layout": "LAYOUT_directional", | |
"layers": [ | |
[ | |
"KC_ESC", |
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
/* Original code Copyright (c) 2018 Shane Celis[1] | |
Licensed under the MIT License[2] | |
Original code posted here[3]. | |
This comment generated by code-cite[4]. | |
[1]: https://twitter.com/shanecelis | |
[2]: https://opensource.org/licenses/MIT | |
[3]: https://gist.github.com/shanecelis/b88808f5198832dd5f3dd2015017f0ec |
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
/* Original code[1] Copyright (c) 2009 Antti Huima[2] | |
Modified code[3] Copyright (c) 2020 Shane Celis[4] | |
Licensed under the MIT License[5] | |
Original code posted to this question[6] and answer[7] on stackoverflow.com. | |
This comment generated by code-cite[8]. | |
[1]: https://stackoverflow.com/a/668327 | |
[2]: https://stackoverflow.com/users/64376/antti-huima |
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
#!/bin/bash | |
# boxplot-lines-of-code | |
# | |
# Written by Shane Celis | |
function usage() { | |
echo "usage: boxplot-lines-of-code [-h] [-e extension] [-p file.png] [-n name] <directory>" >&2; | |
echo " -e choose extension of files (\"cs\" by default)" >&2; | |
echo " -p output to png file instead of terminal" >&2; | |
echo " -n set plot label (present working directory by default)" >&2; |
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
using UnityEngine; | |
/** This class communicates directly with the shader to draw grids. The shader's | |
properties look like this: | |
Shader "SDF/Grid"{ | |
Properties{ | |
[KeywordEnum(Grid, Cross, Ticks)] | |
_GridKind ("Kind", Int) = 0 | |
_InsideColor("Inside Color", Color) = (.5, 0, 0, 1) |
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
// Java Genetic Algorithm Library. | |
// Copyright (c) 2017 Franz Wilhelmstötter | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// | |
// Unless required by applicable law or agreed to in writing, software |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
/* Original code[1] Copyright (c) 2019 Shane Celis[2] | |
Licensed under the MIT License[3] | |
[1]: https://gist.github.com/shanecelis/5c38ce90cca057e857f415108f5ac75a | |
[2]: https://github.com/shanecelis | |
[3]: https://opensource.org/licenses/MIT | |
*/ | |
using UnityEngine; | |
using UnityEditor.Experimental.AssetImporters; |
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
(defun magit-status-parent () | |
"Open the magit status of a parent git repository. Useful for | |
dealing with submodules. Suggest binding to SPC g p for Spacemacs. | |
(spacemacs/set-leader-keys \"gp\" 'magit-status-parent) | |
" | |
(interactive) | |
(let* ((child-directory (magit-toplevel default-directory)) | |
(parent-directory (and child-directory | |
(magit-toplevel (file-name-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
/* Original code[1] Copyright (c) 2019 Shane Celis[2] | |
Licensed under the MIT License[3] | |
This comment generated by code-cite[4]. | |
[1]: https://gist.github.com/shanecelis/5379ed7c634222dc979e09e728ef0a6c | |
[2]: https://github.com/shanecelis | |
[3]: https://opensource.org/licenses/MIT | |
[4]: https://github.com/shanecelis/code-cite | |
*/ |