Skip to content

Instantly share code, notes, and snippets.

View sweetpotatoman's full-sized avatar
🌈
gogogo

potato sweetpotatoman

🌈
gogogo
View GitHub Profile
@sweetpotatoman
sweetpotatoman / aws-data-transfer-costs.md
Last active February 27, 2025 11:59
AWS 数据流量计费

AWS 的数据传输类型大致有如下三类:

  • 与 Internet 之间的数据传输
  • AWS 内部跨区域的数据传输
  • AWS 内部同一区域的数据传输

每个区域从 AWS 到 Internet 的数据传输费率都不一样,基本是 下行免费,上行收费,费率算总量

https://aws.amazon.com/cn/ec2/pricing/on-demand/ ---> 数据传输部分


@sweetpotatoman
sweetpotatoman / tmux-cheatsheet.markdown
Created June 10, 2020 03:10 — forked from ryerh/tmux-cheatsheet.markdown
Tmux 快捷键 & 速查表 & 简明教程

注意:本文内容适用于 Tmux 2.3 及以上的版本,但是绝大部分的特性低版本也都适用,鼠标支持、VI 模式、插件管理在低版本可能会与本文不兼容。

Tmux 快捷键 & 速查表 & 简明教程

启动新会话:

tmux [new -s 会话名 -n 窗口名]

恢复会话:

@sweetpotatoman
sweetpotatoman / suggest.md
Last active May 20, 2020 04:26
学习计划建议

技术

对于一个技术公司,我认为如果公司的技术没有进步,或者不去尝新,是留不住对技术有热情的人的~
此篇只是建议技术学习分享的建议,我认为公司仍存在很多问题需要解决,当然这些问题需要大家一起配合才能解决。不说远,以下是对技术学习的建议:

技术分享会

定期或者不定期组织部门技术分享,可以讲解自己内部的服务架构和技术要点分析 (当然这不一定要公司内部的项目,可以是外部的,毕竟是技术分享)。在最后尽可能说出对公司项目的架构和技术展望,说出自己的想法

  • 例如标题: Prometheus + Grafana 监控 SpringBoot
@sweetpotatoman
sweetpotatoman / Jenkinsfile
Created May 20, 2019 15:52 — forked from tonespy/Jenkinsfile
Jenkins Pipeline Jenkinsfile
// Every jenkins file should start with either a Declarative or Scripted Pipeline entry point.
node {
//Utilizing a try block so as to make the code cleaner and send slack notification in case of any error
try {
//Call function to send a message to Slack
notifyBuild('STARTED')
// Global variable declaration
def project = 'sa-android'
def appName = 'Sample App'