This is pretty out of date now... you may want to look elsewhere
Newer guides than mine (mine is a bit dated and has a lot of rough edges):
Have you looked at these?
| ּ_בּ | |
| בּ_בּ | |
| טּ_טּ | |
| כּ‗כּ | |
| לּ_לּ | |
| מּ_מּ | |
| סּ_סּ | |
| תּ_תּ | |
| ٩(×̯×)۶ | |
| ٩(̾●̮̮̃̾•̃̾)۶ |
| // Sample custom iterator. | |
| // By perfectly.insane (http://www.dreamincode.net/forums/index.php?showuser=76558) | |
| // From: http://www.dreamincode.net/forums/index.php?showtopic=58468 | |
| #include <iostream> | |
| #include <vector> | |
| #include <algorithm> | |
| #include <iterator> | |
| #include <cassert> |
| application: you-app-name-here | |
| version: 1 | |
| runtime: python | |
| api_version: 1 | |
| default_expiration: "30d" | |
| handlers: | |
| - url: /(.*\.(appcache|manifest)) | |
| mime_type: text/cache-manifest |
| /* | |
| * V4L2 video capture example | |
| * | |
| * This program can be used and distributed without restrictions. | |
| * | |
| * This program is provided with the V4L2 API | |
| * see http://linuxtv.org/docs.php for more information | |
| */ | |
| #include <stdio.h> |
| /* patchbin.c, Patch a binary file, by Lionello Lunesu, placed in the public domain */ | |
| struct FILE; | |
| extern struct FILE* fopen(char*, char*); | |
| extern int fwrite(void*, int, int, struct FILE*); | |
| extern int fread(void*, int, int, struct FILE*); | |
| extern int fseek(struct FILE*, long int, int); | |
| #define SEEK_SET 0 | |
| extern int memcmp(void*, void*, int); | |
| int main(int argc, char** argv) |
This is pretty out of date now... you may want to look elsewhere
Newer guides than mine (mine is a bit dated and has a lot of rough edges):
Have you looked at these?
| Suppose I want to use an argument twice, as for example in the expression: | |
| (\x -> (pred1 x) and (pred2 x)) | |
| Is there a shorter way of doing this? | |
| liftA2 (&&) pred1 pred2 | |
| You can be cute and use the applicative instance on functions: | |
| (&&) <$> pred1 <*> pred2 |
| CFLAGS=-fPIC | |
| CC=cc | |
| all: libmyprint.so | |
| clean: | |
| rm -f *.o *.so | |
| libmyprint.so: myprint.o | |
| ${CC} ${CFLAGS} -shared -o libmyprint.so myprint.o |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ; install vcredist | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| SetOutPath "$varTempFolder\${PRODUCT_NAME_EN}Setup\3rdparty" | |
| SetOverWrite on | |
| StrCpy $varVCRedistKey "c1c4f01781cc94c4c8fb1542c0981a2a" | |
| Call CheckVCRedist | |
| Pop $R0 | |
| ${If} $R0 == "-1" |
This gist will show how to setup Raspbian Stretch as a headless Bluetooth A2DP audio sink. This will allow your phone, laptop or other Bluetooth device to play audio wirelessly through a Rasperry Pi.
A quick search will turn up a plethora of tutorials on setting up A2DP on the Raspberry Pi. However, I felt this gist was necessary because this solution is: