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
| # maybe we bit off more than we could chew | |
| store GRIDSIZE << 12 | |
| << GRIDSIZE | |
| @start | |
| minus << 1 | |
| dup | |
| equal << 0 | |
| iftgoto << @up | |
| @search |
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
| # maybe we bit off more than we could chew | |
| @STEPSIZE 12 | |
| @start | |
| # [] | |
| push @fullsweep | |
| # [@fullsweep] | |
| call | |
| # [] |
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
| # maybe we bit off more than we could chew | |
| @start | |
| push 0 | |
| push @stackguard | |
| call | |
| push @fullsweep | |
| call | |
| push 1 |
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
| import requests | |
| import time | |
| def getReddit(subreddit): | |
| request = requests.get("http://reddit.com/r/%s/.json" % subreddit) | |
| return request.json()['data']['children'] | |
| seen_ids = set() | |
| while True: |
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 | |
| func modify (myarr *[]int) ([]int) { | |
| return append(*myarr, 4) | |
| } | |
| func main() { | |
| arr := []int{} | |
| arr = append(arr, 1) | |
| arr = append(arr, 2) |
OlderNewer