Skip to content

Instantly share code, notes, and snippets.

View ShijianXu's full-sized avatar

XU Shijian ShijianXu

  • Basel-Stadt
  • 23:56 (UTC +02:00)
View GitHub Profile
@ShijianXu
ShijianXu / gist:289e908126bd2fc9a1503acbc23a6680
Created April 9, 2024 08:01 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@ShijianXu
ShijianXu / ffmpeg.md
Created November 10, 2023 05:41 — forked from protrolium/ffmpeg.md
ffmpeg guide

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

You can get the list of installed codecs with:

@ShijianXu
ShijianXu / remote_tensorboard.md
Created November 10, 2023 05:40 — forked from mrnabati/remote_tensorboard.md
Tensorboard on remote server

Running Tensorboard remotely on a server

Follow these steps to run tensorflow on remote server but see the results on local browser using port forwarding.

  • On the remote machine, run:
    tensorboard --logdir <path> --port 6006
  • On the local machine, run
@ShijianXu
ShijianXu / GenBuildMaps.py
Created November 4, 2023 13:27
Generate Customed City Maps with OSMnx
import osmnx as ox
center_point = (46.521863, 6.633105)
tags = {"building": True}
gdf = ox.features_from_point(center_point, tags, dist=5000)
fig, ax = ox.plot_footprints(gdf, figsize=(27, 40),
color="#72b1b1",
bgcolor="#061529",
dpi=600)