move
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
+++
|
||||
title = "bruteforce algo"
|
||||
+++
|
||||
|
||||
make a bruteforce algo and see how it works. Simple one.
|
||||
@@ -0,0 +1,6 @@
|
||||
+++
|
||||
title = "cinema tbd name"
|
||||
+++
|
||||
|
||||
# todo
|
||||
either cli or website that shows cinema situation for the day by movies with links to book
|
||||
@@ -0,0 +1,6 @@
|
||||
+++
|
||||
title = "discord bot"
|
||||
+++
|
||||
|
||||
# todo
|
||||
everything
|
||||
@@ -0,0 +1,9 @@
|
||||
+++
|
||||
title = "todo"
|
||||
+++
|
||||
|
||||
Compare k8s go performance on a 1 cpu when specifying the
|
||||
env variable GOMAXPROCS and GOMAXMEMORY (or something like that)
|
||||
using limits.cpu and limits.memory.
|
||||
|
||||
Should be night and day.
|
||||
@@ -0,0 +1,7 @@
|
||||
+++
|
||||
title = "configure endeavouros"
|
||||
+++
|
||||
|
||||
All configs, files to edit for commong things like
|
||||
configure volume change, keyboard, luminosity change, mouse / trackpad behaviour, etc.
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
+++
|
||||
title = "sql over partition"
|
||||
+++
|
||||
|
||||
write and learn how over partition works
|
||||
|
||||
we had duplicates in our databases, needed to delete all of them except one
|
||||
so had to query them, groupped together and know which one was a duplicate
|
||||
so it can be removed safely and keep one occurence of each
|
||||
|
||||
```
|
||||
select * from (
|
||||
select
|
||||
row_number() over (partition by column_name order by column_name2 desc) as row_num,
|
||||
* from table_name
|
||||
where
|
||||
type = 'xxx'
|
||||
and content->'prop_name'->>'prop_name2' = 'xxx'
|
||||
and column_name3 > now() - interval '12 hours'
|
||||
) as rn
|
||||
where row_num > '1'
|
||||
;
|
||||
```
|
||||
Reference in New Issue
Block a user