- Clear Channel Naming Conventions:
- Project Channels: Use a consistent format like
project-<name>
for channels related to specific projects. For example,project-acme-website
. - Functional Channels: Prefix functional channels with their purpose, such as
design-
,devops-
, ormarketing-
. - General Channels: Create general channels like
general
,announcements
, andrandom
for broader discussions. - Location-Specific Channels: If your team is distributed, consider channels like
london-team
,nyc-team
, etc. - Avoid Abbreviations: Use clear and descriptive names to avoid confusion.
- Project Channels: Use a consistent format like
- Review Channels Regularly: Periodically review your channels to ensure they remain relevant and organised. Consider archiving channels that are no longer active or necessary.
- Use Notion for Permanent Information: While Slack is great for real-time communication, consider Notion as the primary repository for permanent information. Use Notion for documen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim:fileencoding=utf-8:foldmethod=marker | |
#: Fonts {{{ | |
#: kitty has very powerful font management. You can configure | |
#: individual font faces and even specify special fonts for particular | |
#: characters. | |
# font_family monospace | |
# bold_font auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install kitty nvim git lazygit ripgrep fd | |
# required | |
mv ~/.config/nvim{,.bak} | |
# optional but recommended | |
mv ~/.local/share/nvim{,.bak} | |
mv ~/.local/state/nvim{,.bak} | |
mv ~/.cache/nvim{,.bak} |
When offboarding an employee, prioritize the revocation of access to ensure data security. Follow these steps in order of severity:
- Remove Google Workspace access by suspending the user. https://admin.google.com/ac/users
- Revoke AWS access. https://us-east-1.console.aws.amazon.com/iam/home?region=us-east-1#/users
- Revoke GCP access. Since GCP is using Google Workspace for authentication, access will be disabled from step 1.
- Disable Github access by removing the user. https://github.com/orgs/{{ORG_NAME}}/people
If someone asked me the question "what layout should I use for my Go code repository?", I'd start by asking back "what are you building: an executable, or a library?"
Create a directory named however you want your final executable to be called (e.g. "mycommand"), change into that directory, and create the following files:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mapToObj = (m) => | |
Array.from(m).reduce( | |
(obj, [key, value]) => ({ | |
...obj, | |
[key]: value instanceof Map ? mapToObj(value) : value, | |
}), | |
{}, | |
); | |
export default { mapToObj }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.13; | |
contract Wallet { | |
address[] public owners; | |
uint limit; | |
uint balance; | |
uint public totTransfers; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm i -D serverless-bundle | |
npm r eslint webpack ts-loader typescript css-loader graphql-tag @babel/core babel-eslint babel-loader eslint-loader @babel/runtime @babel/preset-env serverless-webpack source-map-support webpack-node-externals eslint-config-strongloop tsconfig-paths-webpack-plugin fork-ts-checker-webpack-plugin @babel/plugin-transform-runtime babel-plugin-source-map-support |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "VisualEditor0", | |
"Effect": "Allow", | |
"Action": [ | |
"elasticloadbalancing:RegisterTargets", | |
"elasticloadbalancing:DescribeTargetGroups", | |
"logs:CreateLogGroup", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dd if=/dev/urandom | gzip -9 >> /dev/null & |
NewerOlder