ayushsrivastava
Thu Jan 05 2023
Styled components
: const Content = styled.div margin: 30px 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); grid-gap: 2rem;
;
<Content> lorem ipsum </Content>
lorem ipsum
will inherit all the styles passed in Content component
cc: @iffyuva
iffyuva
Mon Jan 02 2023
is this getting recorded now. Take 5
revath
Fri Jun 18 2021
found in very hardway that typeorm has timestamp
& timestamptz
as types. and this works differently.
ananth
Mon Mar 22 2021
even if you have configured a gitlab-runner
for gitlab-ci
and the runner’s ssh keys or api keys are used to clone the repo into the runners environment, if the build is triggered by a person who is not the member of the project you will get below error.
fatal: remote origin already exists.
Clean repository
remote: You are not allowed to download code from this project.
fatal: unable to access 'https://gitlab-ci-token:[MASKED]@example.gitlab.com/project.git/': The requested URL returned error: 403
ERROR: Job failed: exit code 1
The error is slightly miss leading as it says gitlab-ci-token
in it, but it is occurred due to the triggering entity not being member of the project. Even if the person who triggered the project has owner access in Gitlab and is not a member of the project, you will still see this error.
akshay
Thu Oct 29 2020
We can access iex console on compiled elixir app using remote_console
utility command. https://alchemist.camp/episodes/remote-console-iex
goromlagche
Wed Aug 19 2020
git log has grep.
git log --grep=“something something”
also can do some cut head etc to read the whole commit(which generally is the goal) at once $git log --grep=“something something” | head -1 | cut -d” ” -f2 | xargs -I{} git show {}
george
Thu Jul 02 2020
Postgres will look up an index only if it is worthwhile to look up an index. It will simply use regular row fetching otherwise. https://thoughtbot.com/blog/why-postgres-wont-always-use-an-index
george
Thu Jul 02 2020
Postgres will look up an index only if it is worthwhile to look up an index. It will simply use regular row fetching otherwise. https://thoughtbot.com/blog/why-postgres-wont-always-use-an-index
goromlagche
Wed Jun 03 2020
to debug statsd servers, this is a helpful command, echo "your.statsd.counter:1|c" | nc -u -w 1 your.statsd.host.com 8125
Showing 34 to 36 of 66 results