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
| #include <stdio.h> // standard in-out | |
| #include <errno.h> // error message | |
| #include <unistd.h> // close function | |
| #include <string.h> | |
| #include <sys/socket.h> // socket | |
| #include <netinet/in.h> // network address | |
| #include <arpa/inet.h> // convert port number | |
| int main(int argc, char **argv){ |
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
| void exit(int code); | |
| int write(int fd, const void * buff, int count); | |
| int strlen(char * str){ | |
| char * end = str; | |
| while(*(end++)); | |
| return end - str; | |
| } | |
| int main(int argc, char ** argv, char ** envp){ |
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 ( | |
| "fmt" | |
| "os" | |
| "flag" | |
| "path" | |
| "strings" | |
| ) |
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/bash | |
| qemu-system-i386 \ | |
| -L pc-bios -nodefaults \ | |
| -M pc,accel=tcg,hpet=no -cpu qemu32 \ | |
| -m 1024 \ | |
| -drive file=./winxp.qcow2,index=0,media=disk,format=qcow2 \ | |
| -device VGA \ | |
| -cdrom iso/windows-xp.iso \ | |
| -boot menu=on |
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
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>go-librespot controller</title> | |
| <style> | |
| html { | |
| width: 40em; | |
| margin:auto; | |
| } | |
| section { |
OlderNewer