Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <fcntl.h> | |
| #include <sys/stat.h> | |
| #include <sys/mman.h> | |
| #include <unistd.h> | |
| int main(int argc, const char *argv[]) | |
| { |
| # SET Operations (by ssgun) | |
| ## extract file | |
| extract () { | |
| if [ -f $1 ] ; then | |
| case $1 in | |
| *.tar.bz2) tar xvjf $1 && cd $(basename "$1" .tar.bz2) ;; | |
| *.tar.gz) tar xvzf $1 && cd $(basename "$1" .tar.gz) ;; | |
| *.tar.xz) tar Jxvf $1 && cd $(basename "$1" .tar.xz) ;; | |
| *.bz2) bunzip2 $1 && cd $(basename "$1" /bz2) ;; | |
| *.rar) unrar x $1 && cd $(basename "$1" .rar) ;; |
| package main | |
| import ( | |
| "fmt" | |
| "reflect" | |
| "github.com/Comcast/gaad/bitreader" | |
| ) | |
| func TestReadBit1() { |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| #include <pthread.h> | |
| #include <unistd.h> | |
| #include <sys/syscall.h> | |
| #include <errno.h> | |
| #include <sys/time.h> | |
| #include <sys/types.h> | |
| #include <sys/stat.h> |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| #include <pthread.h> | |
| #include <unistd.h> | |
| #include <sys/syscall.h> | |
| #include <errno.h> | |
| #include <sys/time.h> | |
| #include <sys/types.h> | |
| #include <sys/stat.h> |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <pthread.h> | |
| #include <unistd.h> | |
| #include <sys/syscall.h> | |
| #include <errno.h> | |
| #include <sys/time.h> | |
| #include <sys/types.h> | |
| #include <sys/stat.h> |
| #ifdef __cplusplus | |
| extern "C" { | |
| #endif | |
| struct simplefu_semaphore { | |
| int avail; | |
| int waiters; | |
| }; | |
| typedef struct simplefu_semaphore *simplefu; |