Skip to content

Instantly share code, notes, and snippets.

View tdgs's full-sized avatar

Giorgos Avramidis tdgs

  • Freelance
  • Athens, Greece
  • 17:50 (UTC +03:00)
  • X @tdgs4
View GitHub Profile
@tdgs
tdgs / ledger.md
Last active May 15, 2026 09:44
ledger notes

https://www.figma.com/design/7sqU0iDro6tvldNaAgfMzZ/2026-Q1---SellerOS?node-id=27886-44&p=f&m=dev

  1. Which fields are sortable in the order list? JUST ORDER
  2. Vaulted shipment status -> Just for instant rips
  3. Pay method -> If it's onlu stripe -> stripe, otherwise Payout
  4. Check filter options for order list --> not updating dynamically
  5. search -> order code, username, listing, stream name
  6. What's the listing column?s --> break title
  7. what's the icon infront of the stream name --> just the stream name
  8. About the assigned under the gross value, what if we have multiple spots? and what exactly does it mean? --> Will never happen.
import Glibc
import Foundation
public struct StderrOutputStream: TextOutputStream {
public mutating func write(_ string: String) { fputs(string, stderr) }
}
public var errStream = StderrOutputStream()
/**
* Auto-generated code below aims at helping you parse
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
/*Decalration of prototypes*/
long distance(long **A, int i, int j);
int read_line_of_integers(char *line, long *array, size_t size);
int read_matrix(FILE *stream, long **A, size_t n);
void print_array(long *array, size_t size);
a.out
-- top 5 parent industries per page:
SELECT
page_id,
parent_industry_id,
n_subscribers,
k
FROM
(SELECT
f.page_id,
floor(u.industry_id / 10000) * 10000 AS parent_industry_id,
@tdgs
tdgs / message_spec.rb
Created June 25, 2013 13:39
Rspec message expectation
class A
def print(args)
puts args
end
end
describe A do
let(:a) {A.new}
it "receives print" do