Skip to content

Instantly share code, notes, and snippets.

View tashimatoru's full-sized avatar

たしまとおる tashimatoru

View GitHub Profile
@nullpo-head
nullpo-head / ps.sh
Last active June 19, 2018 08:38
OS icon PS script
# Set a simple prompt with an OS icon!
if [ `uname` = Darwin ]; then
SYSTEM_ICON=""
PS_COL=${PS_COL:="38;5;6"}
elif [ -n "`cat /proc/version | grep Microsoft`" ]; then
SYSTEM_ICON=""
PS_COL=${PS_COL:="38;5;70"}
elif [ `uname` = Linux ]; then
SYSTEM_ICON=""
@eral
eral / EnumMaskPropertyDrawer.cs
Last active January 30, 2022 23:32
Enum Mask Property Drawer
// (C) 2014 ERAL
// Distributed under the Boost Software License, Version 1.0.
// (See copy at http://www.boost.org/LICENSE_1_0.txt)
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
[CustomPropertyDrawer(typeof(EnumMaskAttribute))]
@listochkin
listochkin / node-command-line-options.txt
Created April 17, 2014 11:00
Node V8 GC-related options
--log_gc (Log heap samples on garbage collection for the hp2ps tool.)
type: bool default: false
--expose_gc (expose gc extension)
type: bool default: false
--max_new_space_size (max size of the new generation (in kBytes))
type: int default: 0
--max_old_space_size (max size of the old generation (in Mbytes))
type: int default: 0
--max_executable_size (max size of executable memory (in Mbytes))
type: int default: 0
<div class="threesixty" data-path="assets/img/src/gem{index}.JPG" data-count="61"></div>
@jasonm23
jasonm23 / xterm-256color.svg
Last active February 11, 2024 12:33
Xterm 256color mode color chart, organised into sections. (used on Wikipedia/xterm)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.