Skip to content

Instantly share code, notes, and snippets.

View wubin28's full-sized avatar

Bin Wu (Wuzhenben) wubin28

  • Beijing Ren Zhi Hui Co.
  • Beijing, China
View GitHub Profile
@wubin28
wubin28 / setup_cursor_ubuntu.md
Created May 4, 2025 11:38 — forked from evgenyneu/setup_cursor_ubuntu.md
Install Cursor AI code editor on Ubuntu 24.04 LTS

Install Cursor AI editor on Ubuntu 24.04

  1. Use the Download button on www.cursor.com web site. It will download the NAME.AppImage file.

  2. Copy the .AppImage file to your Applications directory

cd ~/Downloads
mkdir -p ~/Applications
mv NAME.AppImage ~/Applications/cursor.AppImage
@wubin28
wubin28 / semantic-commit-messages.md
Created September 18, 2023 00:43 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@wubin28
wubin28 / postmortem.md
Created May 11, 2018 00:52 — forked from mlafeldt/postmortem.md
Example Postmortem from SRE book, pp. 487-491

Shakespeare Sonnet++ Postmortem (incident #465)

Date

2015-10-21

Authors

  • jennifer
  • martym
@wubin28
wubin28 / gist:7dcf6f1048234e87976c
Created October 29, 2015 07:12 — forked from xpmatteo/gist:5243745
This is IMHO an improvement over Bobby Johnson test cases for the Gilded Rose Kata (https://github.com/NotMyself/GildedRose/blob/first_refactor/src/GildedRose.Tests/UpdateItemsTests.cs) Chief improvements: a) the duplication is factored in small nice methods. If the GildedRose API changes, we will have to change the test in one place, not hundre…
import static org.junit.Assert.*;
import org.junit.Test;
public class GildedRoseTest {
private GildedRose app;
@Test
public void at_the_end_of_each_day_our_system_lowers_both_values_for_every_item() {
This is my first gist.
jkajf;a