Home | Zones | Log in | Register

i still want to still want to be a copy of a better programming topic

programming

Nobody
Page 1 of /1  π€   ⬇︎ 

From: Tiko at 2017-09-23 05:49:18
i need to add syntax highlighting now that this came out https://github.com/alecthomas/chroma

code test

func (t *Thread) Bump(ctx context.Context, userID string) error {
  table := dynamoTable(ctx, "Threads")
  return table.Update("Zone", t.Zone).Range("ID", t.ID).
      Set("LastPost", time.Now().UTC()).
      Add("Posts", 1).
      AddStringsToSet("Posters", userID).
      AddStringsToSet("Subscribers", userID).
      Value(t)
}

this is beautiful and better than ETI

From: phaedrus at 2019-05-13 13:07:42

func amIGay() bool { return true }

From: mg++ at 2020-01-22 12:38:55

From: Tiko at 2017-09-23 05:49:18
i need to add syntax highlighting now that this came out https://github.com/alecthomas/chroma

code test

func (t *Thread) Bump(ctx context.Context, userID string) error {
    table := dynamoTable(ctx, "Threads")
    return table.Update("Zone", t.Zone).Range("ID", t.ID).
        Set("LastPost", time.Now().UTC()).
        Add("Posts", 1).
        AddStringsToSet("Posters", userID).
        AddStringsToSet("Subscribers", userID).
        Value(t)
}

this is beautiful and better than ETI

yeah it’d be nice of ETI had it o well

code looks surprisingly ok even with dark mode theme
kewl

Screen Shot 2020-01-22 at 23.58.54.png

how do you get cool colors

do you have to use that magic language

Shark Cat
bool checkGay() {
  return true;
}
Shark Cat

u gotta specify the programming language after the ticks
like
```go

❧ Edited by Tiko at 2020-01-22 19:27:432020-01-22 19:27
bool checkGay() {
  return true;
}
int getNiceNum() {
  return 69;
}
Shark Cat

From: Pook Cat at 2020-01-23 07:42:47

int getNiceNum() {
  return 69;
}

nice


SELECT

    count(1)

FROM

    [programming].[thread].[zone]

WHERE

    user = 'mrtrip'


LIMIT 69

.

Sexy dragon nerd boy

i switched the custom styles page to use <input type=color> and got rid of the one external JS dependency the β€˜zone had
yay

From: Tiko at 2020-04-10 23:13:41
i switched the custom styles page to use <input type=color> and got rid of the one external JS dependency the β€˜zone had
yay

independence at last

Reply:
To reply to this thread, please join this community.
Pages: 1
1 person is reading this thread now.