[BASH][1] script to build a [texture atlas][2] for small/medium web sites/games. Requires [ImageMagick][3].
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
| // | |
| // Bjorklund.cpp | |
| // EuclideanRhythm | |
| // | |
| // Created in 12/18/15. | |
| // | |
| // | |
| #include "Bjorklund.h" |
It's a common confusion about terminal colours... Actually we have this:
- plain ascii
- ansi escape codes (16 colour codes with bold/italic and background)
- 256 colour palette (216 colours + 16 ansi + 24 gray) (colors are 24bit)
- 24bit true colour ("888" colours (aka 16 milion))
printf "\x1b[${bg};2;${red};${green};${blue}m\n"
Since modern.ie released vagrant boxes, it' no longer necessary to manually import the ova file to virtualbox, as mentioned here.
However, the guys at modern.ie didn't configured the box to work with WinRM. This how-to addresses that, presenting steps to proper repackage these boxes, adding WinRM support. Additionally configures chocolatey package manager and puppet provisioner.
==================
- Obtain a windows vm from Modern IE.
- Win 8 OSX
curl -O -L "https://www.modern.ie/vmdownload?platform=mac&virtPlatform=virtualbox&browserOS=IE10-Win8.1&parts=5&filename=VMBuild_20131127/VirtualBox/IE10_Win8/Mac/IE10.Win8.For.MacVirtualBox.part{1.sfx,2.rar,3.rar,4.rar,5.rar}"
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 <gb/gb.h> | |
| #include "fade.h" | |
| UWORD FadePalette[32] = { | |
| RGB(30,0,0), RGB(0,30,0), RGB(0,0,30), RGB(0,0,0) | |
| }; | |
| void Fade(UWORD *org_p, FadeDirection direction, FadeColor color, UWORD speed) | |
| { | |
| UBYTE i,x; |
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
| require 'midi-winmm' | |
| class Numeric | |
| def to_hex | |
| "%02x" % self | |
| end | |
| end | |
| class String | |
| def to_hex |
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
| # | |
| # SIXEL color graphics DEMO | |
| # | |
| # xterm pl#301 with --enable-sixel-graphics option | |
| # gnuplot with --with-bitmap-terminals option | |
| # | |
| # Now the color palette of xterm VT-340 mode is limited to 16. | |
| # If you want to change it to 256, apply the following patch. | |
| # https://gist.github.com/saitoha/7822989/raw/20727b88f0f826bfcb9d644907944b29a456b67f/graphics.c.diff | |
| # |
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
| lines with $ are commands | |
| ### install mkvtoolnix: | |
| $ brew install mkvtoolnix | |
| ### list content of the mkv-file: | |
| $ mkvmerge -i mymoviefile.mkv | |
| ### what will give you: |