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
| Verifying that "rockhymas.id" is my Blockstack ID. https://onename.com/rockhymas |
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
| Over the last year or so, I've been using MineAtlas to compile a nice long list of seeds that have all biomes within 5000 blocks. | |
| Specifically, I looked to make sure each seed has ice spikes, jungle, mega taiga, mushroom island, and mesa biomes within 5000 | |
| blocks of 0, 0. I do this so that when I want to start a new world, I can pick one of these, trusting that it | |
| will be a good world to explore, but without having just seen a map. That way I don't know where everything is, just that it's all | |
| close enough to make it worth it. | |
| 243091048059118 | |
| -828131664763204 | |
| -761676406782751 | |
| -376708943228782 |
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 WeightColumns(List<int> weights, List<int> fixedWidths) | |
| { | |
| if (TableStyles.Count <= 0) return; | |
| var tableStyle = TableStyles[0]; | |
| if (tableStyle.GridColumnStyles.Count < 1) return; | |
| if (fixedWidths == null) | |
| fixedWidths = Enumerable.Repeat(0, tableStyle.GridColumnStyles.Count).ToList(); | |
| if (weights == null) | |
| weights = Enumerable.Repeat(1, tableStyle.GridColumnStyles.Count).ToList(); |
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
| var usableWidth = dataGrid.ClientSize.Width - verticalScrollBarWidth - LAST_COL_MARGIN; | |
| var columnWidth = usableWidth / tableStyle.GridColumnStyles.Count; | |
| for (var index = 0; index < tableStyle.GridColumnStyles.Count; index++) | |
| tableStyle.GridColumnStyles[index].Width = columnWidth; |
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
| tableStyle.GridColumnStyles[0].Width = dataGrid.ClientSize.Width / 2; | |
| tableStyle.GridColumnStyles[1].Width = dataGrid.ClientSize.Width - tableStyle.GridColumnStyles[0].Width - verticalScrollBarWidth - 6; |
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
| private const int LAST_COL_MARGIN = 12; | |
| private void ResizeGridColumns() | |
| { | |
| var verticalScrollBar = dataGrid.GetDataGridVerticalScrollBar(); | |
| var verticalScrollBarWidth = verticalScrollBar != null ? verticalScrollBar.Width : 0; | |
| var horizontalScrollbar = dataGrid.GetDataGridHorizontalScrollBar(); | |
| if (horizontalScrollbar != null) | |
| horizontalScrollbar.Visible = 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
| pulling from git://github.com/rails/rails.git | |
| importing Hg objects into Git | |
| Counting objects: 120804, done. | |
| Compressing objects: 100% (26226/26226), done. | |
| Total 120804 (delta 93276), reused 120579 (delta 93128) | |
| importing Git objects into Hg | |
| at: 0/12760 | |
| at: 100/12760 | |
| at: 200/12760 | |
| at: 300/12760 |