version: '3'
services:
blob-consumer:
container_name: article-blob-consumer-container-compose
image: blob-consumer-image:1.0
build:
context: .

#include <arpa/inet.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <sys/socket.h> | |
#include <unistd.h> | |
int main() { | |
const char* server_name = "localhost"; | |
const int server_port = 8877; |
# As per this guide -- http://raspberrypi.stackexchange.com/questions/3617/how-to-install-unrar-nonfree#3618 | |
# Uninstall unrar-free. | |
sudo apt-get remove unrar-free | |
# Make sure you have a source repository by editing /etc/apt/sources.list. | |
cat /etc/apt/sources.list | |
# Sync the apt database. | |
sudo apt-get update |
Suppose that you are a programmer primarily working with compiled languages. Somehow you’ve got tired of those languages, there may be multiple valid reasons, and heard of a trendy new programming language called Rust. Looking at some webpages and the official forum, it looks great and you decides to try it out. It seems that Rust was a bit cumbersome to install in the past, but thanks to rustup the problem seems gone by now. Cargo seems to be great, so you follow the first sections of the Book and put a small greeting to the new language:
fn main() {
println!("Hello, world!");
}
Amazingly cargo run
runs without a hassle. It is kind of a miracle as you used to configure the build script, Makefile, projects or whatever before building things. Impressed, you realize that the executable is available in target/debug/hello
. You instinctively type ls -al
out (or is it dir
?) and
/* Code: */ | |
#include <libxml/parser.h> | |
#include <libxml/xpath.h> | |
#include <stdio.h> | |
xmlDocPtr | |
getdoc (char *docname) | |
{ | |
xmlDocPtr doc; | |
doc = xmlParseFile(docname); |
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ | |
/* ========================================================================== | |
HTML5 display definitions | |
========================================================================== */ | |
/** | |
* Correct `block` display not defined in IE 8/9. | |
*/ |