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
//! Cleaned-up cross-platform path handling | |
//! | |
//! Most operating systems accept a complex syntax for specifying filesystem | |
//! paths, including special notation for things like "the current directory" | |
//! and "the parent directory" that make path-handling code intricate. If | |
//! filesystem paths always described a straight-line path from the root to | |
//! the file or directory in question, path-handling code could be much simpler. | |
//! | |
//! This module contains types representing exactly those kinds of paths. | |
//! |
Loading
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
aaabaaabaaa |
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
! /* <-- A hack to stop xrdb from reading this file | |
# Behaviour changes | |
XTerm*saveLines: 10000 | |
XTerm*scrollTtyOutput: false | |
XTerm*scrollKey: true | |
XTerm*scrollBar: false | |
XTerm*metaSendsEscape: true | |
XTerm*VT100.Translations: #override \ |
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
GIMP Palette | |
Name: FirebrandX NES Saturated | |
Columns: 4 | |
# | |
255 255 255 White 1 | |
255 255 255 White 2 | |
178 178 178 White 3 | |
107 107 107 White 4 | |
187 227 254 Blue 1 | |
83 172 253 Blue 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
#!/usr/bin/python | |
import sys | |
import os | |
import re | |
from xml.etree import ElementTree as ET | |
SAVE_TYPE_RE = re.compile(r""" | |
EEPROM_V\d{3} | | |
SRAM_V\d{3} | | |
SRAM_F_V\d{3} | |
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 | |
get_color_from_palette() { | |
# Query the terminal for the current value of a palette entry. | |
# Prints three decimal numbers from 0-65535 representing the red, green and | |
# blue components of the given palette entry. | |
local paletteNum="$1" | |
# This function only works in xterm and (some) derivatives | |
if [ "${TERM:0:5}" != "xterm" ]; then |
NewerOlder