Skip to content

Instantly share code, notes, and snippets.

View tckb's full-sized avatar
:octocat:

Chandra (tckb) tckb

:octocat:
View GitHub Profile
@tckb
tckb / ffmpeg-cheatsheet.md
Created March 13, 2025 20:57 — forked from nickkraakman/ffmpeg-cheatsheet.md
FFmpeg cheat sheet for 360 video

FFmpeg Cheat Sheet for 360º video

Brought to you by Headjack

 
FFmpeg is one of the most powerful tools for video transcoding and manipulation, but it's fairly complex and confusing to use. That's why I decided to create this cheat sheet which shows some of the most often used commands.

 
Let's start with some basics:

  • ffmpeg calls the FFmpeg application in the command line window, could also be the full path to the FFmpeg binary or .exe file
@tckb
tckb / ISRO.md
Last active February 3, 2025 15:12

Understood. I will conduct a comprehensive analysis of the historical and recent demands for grants by the Department of Space (DoS) in India, covering ISRO and other affiliated programs since its establishment. The report will include:

  1. Historical trends in budget demands and allocations (both initial and revised) for DoS.
  2. Reasons for downward revisions in budget allocations.
  3. Historical and recent budget deficits in percentage terms.
  4. Reports by the Parliamentary Standing Committee and their findings.
  5. Any significant discrepancies between the Demands for Grants and Standing Committee reports, along with reasons.
  6. Percentage of budget deficits concerning both requested and recommended values.
  7. Analysis of whether DoS is underfunded and by how much, along with ISRO chairmen's opinions and their alignment with actual data.
@tckb
tckb / fish.md
Created February 3, 2025 13:18

Great. I will conduct an in-depth study on Operation Fish, the World War II operation involving the transfer of British wealth to Canada, and analyze its direct and indirect effects on India.

The report will include:

  1. The origins of the gold reserves—where the British acquired them.
  2. The exact amount of wealth transferred.
  3. The route taken and the final destination of the assets.
  4. How these assets were later utilized and by whom.
  5. The geopolitical and economic impact of this transfer, particularly its effects on India.
  6. Supporting documents, historical accounts, and anecdotes to strengthen the analysis.
workspace "pathfinder"{
model {
shopCustomer = person "Shop Customer" "An authenticated shop user who has accessn to storefront" "Customer"
ctp = softwareSystem "Commercetools" "Software System" {
ctpBackend = container "Backend"
ctpPersistance = container "Persistance" "Some kind of internal persistance, exact details aren't really relevant" "Persistance layer" "Database"
}
erp = softwareSystem "Dolibarr ERP system" "Software System"
crm = softwareSystem "Customer Relation Management System" "Software System"
@tckb
tckb / main.cpp
Created June 13, 2021 10:11
lorawan_node
#include "LoRaWan_APP.h"
#include "Arduino.h"
#include <CayenneLPP.h>
#include <Display.h>
/*LoRaWan related params */
// Helium OTAA params
// uint8_t devEui[] = {_SECRET_STUFF_};
// uint8_t appEui[] = {_SECRET_STUFF_};
Description: Tooling Cluster Worker Scaling Group Template
Parameters:
ClusterName:
Type: String
ClusterRegion:
Type: String
ClusterApiEndPoint:
Type: String
ClusterCAAuth:
Type: String
##### With input ELXIR - 5000 #####
Name ips average deviation median 99th %
downcase_ascii_patternMatch 6.82 K 146.64 μs ±88.38% 133 μs 390 μs
downcase_ascii_iodata 6.14 K 162.75 μs ±161.78% 133 μs 564 μs
Comparison:
downcase_ascii_patternMatch 6.82 K
downcase_ascii_iodata 6.14 K - 1.11x slower
Memory usage statistics:
##### With input ELXIR - 5000 #####
Name ips average deviation median 99th %
downcase_ascii_patternMatch 7.50 K 133.42 μs ±22.23% 133 μs 269 μs
downcase_ascii_iodata 7.28 K 137.39 μs ±19.84% 133 μs 258 μs
Comparison:
downcase_ascii_patternMatch 7.50 K
downcase_ascii_iodata 7.28 K - 1.03x slower
Memory usage statistics:
##### With input ELXIR - 500 #####
Name ips average deviation median 99th %
downcase - pattern_match 61.44 K 16.28 μs ±342.71% 12 μs 63 μs
downcase - stdlib 17.55 K 56.98 μs ±215.80% 39 μs 266 μs
Comparison:
downcase - pattern_match 61.44 K
downcase - stdlib 17.55 K - 3.50x slower
Memory usage statistics:
tckb@tckb-jvx [~/Documents/Work/wdt_build] ○ [10:28:58]
> cmake ../wdt -DBUILD_TESTING=1
-- The C compiler identification is AppleClang 8.0.0.8000042
-- The CXX compiler identification is AppleClang 8.0.0.8000042
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done