Skip to content

Instantly share code, notes, and snippets.

Volker Schneider vobject

  • Germany
Block or report user

Report or block vobject

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View waymo_open_parse.py
#!/usr/bin/env python3
import argparse
import datetime
import imp
import os
import time
import numpy as np
import tensorflow as tf
View tkinter_template.py
#!/usr/bin/env python3
import tkinter as tk
import time
import datetime
import threading
import random
import queue
import enum
View uint64_t casting
#include <iostream>
using namespace std;
struct C {};
C* f() { return (C*)0x80000000; }
C* b() { return (C*)0x70000000; }
int main()
{
View printCurrentMethod
static void printCurrentMethod()
{
StackTraceElement[] ste = Thread.currentThread().getStackTrace();
System.out.println("DEBUG: " + ste[2].getMethodName());
}
@vobject
vobject / typedef_struct.cpp
Created Dec 15, 2012
Some simple typdef/struct compilation tests in C/C++.
View typedef_struct.cpp
/*
* Some simple typdef/struct compilation tests.
* Tested with gcc4.7 and clang3.1
*/
struct AAA {
int a, b, c, d;
};
typedef struct _BBB { // Windows header style.
@vobject
vobject / sizeof.c
Created Oct 3, 2012
Sizes of C data types
View sizeof.c
/*
* gcc -std=c99 -pedantic -Wall sizeof.c && ./a.out
* clang -std=c99 -pedantic -Wall sizeof.c && ./a.out
*/
#include <stdio.h>
#include <stdbool.h>
#include <time.h>
#include <sys/time.h>
@vobject
vobject / win2utc.reg
Created Jun 29, 2012
Make Windows 7 clock use UTC instead of localtime
View win2utc.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"RealTimeIsUniversal"=dword:00000001
You can’t perform that action at this time.