Skip to content

Instantly share code, notes, and snippets.

View king6cong's full-sized avatar

wangcong king6cong

View GitHub Profile
@yunyuyuan
yunyuyuan / init.md
Last active January 10, 2024 08:01
stardust ipv6初始化

命令行脚本

scw instance server create type=STARDUST1-S zone=fr-par-1 image=arch_linux root-volume=l:10G name=v6instance ip=none ipv6=true project-id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx

基本初始化

  • 安装keyring:pacman -S archlinux-keyring
  • 全面更新系统:pacman -Syu
  • 安装vi并编辑DNS64:
pacman -S vi
@huytd
huytd / customize.material-dark-theme.md
Last active September 2, 2023 13:03
My minimal Emacs config

;; Automatically generated
(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(anzu-cons-mode-line-p nil)
anonymous
anonymous / gb-mbe-bug-TAKE2.md
Created March 22, 2016 16:25
Gigabyte Z170X-* (skylake) Motherboards - duplicate boot entries UEFI BIOS bug, TAKE 2

Gigabyte Z170X-* (skylake) Motherboards - duplicate boot entries UEFI BIOS bug, TAKE 2

Hello. This is a bug report for certain Gigabyte Skylake motherboard customer(s). It tries to explain simply about this duplicate boot entries problem.

Symptom
  • Every time a new boot (or reboot), the boot menu list changes, and extra 'UEFI: ' boot entry is added
  • The new entrie(s) are duplicated of other entries. And more than the 'normal'. Eg. 3x same entry (or higher).
@eyecatchup
eyecatchup / git-commit-log-stats.md
Last active November 13, 2024 05:31
Some commands to get git commit log statistics for a repository on the command line.

git commit stats

Commands to get commit statistics for a Git repository from the command line -
using git log, git shortlog and friends.




@staltz
staltz / introrx.md
Last active November 14, 2024 11:27
The introduction to Reactive Programming you've been missing
@rxaviers
rxaviers / gist:7360908
Last active November 15, 2024 16:55
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:
@brandonb927
brandonb927 / osx-for-hackers.sh
Last active November 14, 2024 17:18
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned.
#!/bin/sh
###
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer)
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos
###
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active November 15, 2024 09:51
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname