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
package main | |
import ( | |
"bytes" | |
"fmt" | |
"sync" | |
"time" | |
"github.com/daviddengcn/go-colortext" | |
) |
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
- // read from teensy | |
- return | |
- (PINF&(1<<0) ? 0 : (1<<0)) | | |
- (PINF&(1<<1) ? 0 : (1<<1)) | | |
- (PINF&(1<<4) ? 0 : (1<<2)) | | |
- (PINF&(1<<5) ? 0 : (1<<3)) | | |
- (PINF&(1<<6) ? 0 : (1<<4)) | | |
- (PINF&(1<<7) ? 0 : (1<<5)) ; | |
+ /* read from teensy | |
+ * bitmask is 0b11110011, but we want those all |
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
package main | |
import ( | |
"flag" | |
"fmt" | |
"math/big" | |
"time" | |
) | |
/* there are four interesting values: |
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
/* someone posted to comp.lang.c asking for homework help. i felt the need to contribute. | |
* -seebs | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <time.h> | |
#include <limits.h> | |
#include <stddef.h> | |
#include <math.h> |
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
0227_UATraps.pdf | |
02_UA_Underdark_Characters.pdf | |
04_UA_Classics_Revisited.pdf | |
1_UA_Artificer_20170109.pdf | |
2016_Fighter_UA_1205_1.pdf | |
2017_01_UA_RangerRogue_0117JCMM.pdf | |
20170213_Wizrd_Wrlck_UAv2_i48nf.pdf | |
2017_UAMassCombat_MCUA_v1.pdf | |
26_UASorcererUA020617s.pdf | |
M_2016_UAMonk1_12_12WKWT.pdf |
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
/* | |
* SK's Minecraft Launcher | |
* Copyright (C) 2010-2014 Albert Pham <http://www.sk89q.com> and contributors | |
* Please see LICENSE.txt for license information. | |
*/ | |
package com.skcraft.launcher.util; | |
import javax.swing.*; | |
import javax.swing.event.DocumentEvent; |
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
Inserting 99 bytes of text at offset 2322. | |
>removeLines | |
>removeFromStart(1 excess) | |
rFS: excess 1, element is 0-119, new count 27/25 | |
<removeFromStart(1 excess) | |
After removing lines (26), still have 27/25 lines. | |
<removeLines | |
[19:03:06] [Client thread/INFO] [WAILA Plugins]: Attempting to load plugin for harvestcraft. | |
Inserting 94 bytes of text at offset 2302. | |
[19:03:06] [Client thread/INFO] [WAILA Plugins]: Successfully loaded plugin for harvestcraft. |
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
int elements = root.getElementCount(); | |
int excess = elements - maximumLines; | |
if (excess > 0) { | |
if (isRemoveFromStart) { | |
root.replace(0, excess, new Element[0]); | |
} else { | |
root.replace(elements - excess, excess, new Element[0]); | |
} | |
} | |
} |
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
/* | |
* SK's Minecraft Launcher | |
* Copyright (C) 2010-2014 Albert Pham <http://www.sk89q.com> and contributors | |
* Please see LICENSE.txt for license information. | |
*/ | |
package com.skcraft.launcher.util; | |
import javax.swing.*; | |
import javax.swing.event.DocumentEvent; |
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
#!/usr/bin/python2 | |
import pymclevel | |
import sys | |
print "Loading world..." | |
level = pymclevel.loadWorld('/home/seebs/src/mcaedit/world') | |
print "Loaded." | |
def has_object(chunk, id): |