Skip to content

Instantly share code, notes, and snippets.

View gundamew's full-sized avatar
🐢
Stepping forward

Steven Chen gundamew

🐢
Stepping forward
  • Taipei City, Taiwan
View GitHub Profile
@gundamew
gundamew / star-rating-v1.php
Last active November 1, 2021 08:17
Simple PHP helper functions to generate five-star rating stars.
<?php
/**
* Example: five_star_rating_stars(4.8);
* five_star_rating_stars(
* 4.8,
* '<i class="fas fa-star"></i>',
* '<i class="fas fa-star-half-alt"></i>',
* '<i class="far fa-star"></i>'
* );
@gundamew
gundamew / example.md
Created January 20, 2022 10:43
Installing Obsidian (AppImage) on Ubuntu 20.04

1. Move the AppImage to /opt

$ sudo mkdir -p /opt/Obsidian
$ mv ~/Downloads/Obsidian-0.13.19.AppImage /opt/Obsidian

2. Create the desktop entry