~/files/c-bf $ cat c-bf.c && gcc c-bf.c -o 1 && ./1 && gcc -v
#include <stdio.h>
int main(int argc, char const *argv[])
{
int a = 5, а = 1;
printf("a = %u\n", a);
printf("a = %u\n", а);
printf("a = %u\n", a);
This file contains 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> | |
union Reg1or2 { | |
u_int8_t r1; | |
u_int8_t r2; | |
} r_1_2; | |
union Reg3or4or5 { | |
u_int8_t r3; | |
u_int8_t r4; |
This file contains 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
docker build -t x . | |
docker tag x y | |
docker tag x z | |
docker push y | |
docker push z | |
docker rmi z | |
docker rmi y | |
docker rmi x | |
# this finishes with no errors but the image "z" magically survives. | |
# how is this possible? |
~/files/java-bf $ cat Duh.java && javac Duh.java && java Duh && java -version
public class Duh {
public static void main(String[] args) {
int a = 5, а = 1;
System.out.println("a = " + a);
System.out.println("a = " + а);
System.out.println("a = " + a);
System.out.println("a = " + а);
This file contains 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
#ifndef _PID_SOURCE_ | |
#define _PID_SOURCE_ | |
#include "pid.h" | |
class PIDImpl | |
{ | |
public: | |
PIDImpl( double dt, double max, double min, double Kp, double Kd, double Ki ); | |
~PIDImpl(); |