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
public void setSelectedId(int id) { | |
if (id >= MIN_AVATAR_ID && id <= MAX_AVATAR_ID) { | |
for (JPanel panel : PANELS.values()) { | |
panel.setBorder(BLACK_BORDER); | |
} | |
PreferencesDialog.selectedAvatarId = id; | |
PANELS.get(PreferencesDialog.selectedAvatarId).setBorder(GREEN_BORDER); | |
// Rectangle avatarSize = new Rectangle(currentAvatarPanel.getWidth() - 5, currentAvatarPanel.getHeight() - 5); | |
// BufferedImage avatarImage = loadAvatarImage(id, avatarSize, false); |
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
;;; Kyle's Amazing 6502 Fizzbuzz Program | |
LDA #0 | |
STA $0000 ; the current iteration | |
STA $0001 ; always zero for comparisons | |
LDA #100 | |
STA $0002 ; the end of the series | |
LDA #0 | |
main_loop: | |
INC $0000 |
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
Kyles-MacBook-Pro-2:angular-seed kyle$ npm run build.prod | |
> [email protected] build.prod /Users/kyle/projects/sandbox/angular-seed | |
> gulp build.prod --color --env-config prod --build-type prod | |
[21:53:15] Requiring external module ts-node/register | |
[21:53:15] Loading tasks folder /Users/kyle/projects/sandbox/angular-seed/tools/tasks/seed | |
[21:53:15] Registering task ~/projects/sandbox/angular-seed/tools/tasks/seed/build.assets.dev | |
[21:53:15] Registering task ~/projects/sandbox/angular-seed/tools/tasks/seed/build.assets.prod | |
[21:53:15] Registering task ~/projects/sandbox/angular-seed/tools/tasks/seed/build.bundle.rxjs |
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
{ defaultJSExtensions: true, | |
base: '/Users/kyle/projects/sandbox/angular-seed', | |
packageConfigPaths: | |
[ 'node_modules/*/package.json', | |
'node_modules/@angular/*/package.json' ], | |
paths: | |
{ 'dist/tmp/app/*': 'dist/tmp/app/*', | |
'@angular/platform-browser/animations': 'node_modules/@angular/platform-browser/bundles/platform-browser-animations.umd.js', | |
'@angular/animations/browser': 'node_modules/@angular/animations/bundles/animations-browser.umd.js', | |
'dist/tmp/node_modules/*': 'dist/tmp/node_modules/*', |
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
========================================== ========================================== | |
TMUX COMMAND WINDOW (TAB) | |
========================================== ========================================== | |
List tmux ls List ^b w | |
New -s <session> Create ^b c | |
Attach att -t <session> Rename ^b , <name> | |
Rename rename-session -t <old> <new> Last ^b l (lower-L) | |
Kill kill-session -t <session> Close ^b & |