Skip to content

Instantly share code, notes, and snippets.

View xmfcx's full-sized avatar

Mete Fatih Cırıt xmfcx

  • Autoware Foundation
  • Turkey
  • 23:05 (UTC +03:00)
View GitHub Profile

Autoware Coverage Pipeline: lcov 2.x Fix & Codecov Upload Optimization

Background: What gcov, lcov, and Codecov Do

gcov

GCC's built-in coverage tool. When you compile with --coverage, GCC instruments the binary and produces:

  • .gcno files ("notes") at compile time — which lines/branches exist
  • .gcda files ("data") at runtime — which lines actually executed

gcov reads both and outputs per-file .gcov text files showing hit counts per line.

@xmfcx
xmfcx / DefaultEngine.ini
Last active April 15, 2025 13:47
Running Carla Sim 0.10.0 with low VRAM on docker
[/Script/Engine.Engine]
bSmoothFrameRate=false
SmoothedFrameRateRange=(LowerBound=(Type="ERangeBoundTypes::Inclusive",Value=22),UpperBound=(Type="ERangeBoundTypes::Exclusive",Value=120))
[/Script/HardwareTargeting.HardwareTargetingSettings]
TargetedHardwareClass=Desktop
AppliedTargetedHardwareClass=Desktop
DefaultGraphicsPerformance=Maximum
AppliedDefaultGraphicsPerformance=Maximum
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE boost_serialization>
<boost_serialization signature="serialization::archive" version="9">
<tracklets class_id="0" tracking_level="0" version="0">
<count>1</count>
<item_version>1</item_version>
<item class_id="1" tracking_level="0" version="1">
<objectType>Car</objectType>
<h>1.651000</h>
<w>1.778000</w>
@xmfcx
xmfcx / Voice-Controlled-IoT.md
Last active February 13, 2025 09:18
OK Google, Arduino Uno, ESP8266, Blynk, IFTTT, Google Assistant Integration Tutorial

OK Google, Arduino Uno, ESP8266, Blynk, IFTTT, Google Assistant Integration Tutorial

This is a tutorial to realize following video: https://www.youtube.com/watch?v=PBiOGvJRPqg

Requirements:

  • Android phone Marsmallow or higher or Apple phone (for google assistant)
  • IFTTT app
  • Blynk app
  • Arduino UNO
  • ESP8266 Wifi module
@xmfcx
xmfcx / hello-world.cpp
Created April 10, 2017 13:11
Gist created by fiddle.jyt.io
// Jyt is a REPL for C++
// You can write code interactively
// Highlight some code and press alt-enter to execute it
// For example:
auto x = "hello world";
// Now you can query the value in the terminal on the right
// e.g. "x"
@xmfcx
xmfcx / Civs-for-Techs.py
Last active May 7, 2016 15:34
Civs for Techs
civsBombardTower = ["Byzantines",
"Chinese",
"Italians",
"Koreans",
"Spanish",
"Teutons",
"Turks"]
civs = ["Aztecs",
DataTable dt = new DataTable();
myDataGridView.DataSource = dt;
dt.Columns.Add("Time Column", typeof (DateTime));
dt.Rows.Add(DateTime.Now);
/*
I need to show it on dataGridView through
DateTime.ToString("dd/MMM/yyyy") format
but how?
class TheClass
{
public int Val1;
public int Val2;
public int Val3;
public TheClass Old;
public void Remember()
{
Old = new TheClass();
class TheClass
{
public int Val1;
public TheClass Old;
public void Remember()
{
Old = (TheClass)MemberwiseClone();
}
}