Skip to content

Instantly share code, notes, and snippets.

View yanyingwang's full-sized avatar
🈲
恶灵静退散 水逆变火箭 🚀 --->

Yanying Wang yanyingwang

🈲
恶灵静退散 水逆变火箭 🚀 --->
View GitHub Profile
@metaskills
metaskills / command.sh
Last active November 4, 2022 09:44
Ubuntu 16.04 Install Latest FreeTDS
$ sudo apt-get install wget
$ sudo apt-get install build-essential
$ sudo apt-get install libc6-dev
$ wget ftp://ftp.freetds.org/pub/freetds/stable/freetds-1.00.27.tar.gz
$ tar -xzf freetds-1.00.27.tar.gz
$ cd freetds-1.00.27
$ ./configure --prefix=/usr/local --with-tdsver=7.3
$ make
$ make install
@CodyReichert
CodyReichert / react-es6-flow-emacs-configuration.md
Last active February 22, 2025 10:42
Configuring Emacs for react, es6, and flow

Configuring Emacs for react, es6, and flow

For a while, JSX and new es6 syntax had flaky support in emacs, but there's been huge work on a lot of packages. Using emacs for JavaScript with React, ES6, and Flow (or Typescript, etc) is really easy and powerful in Emacs these days.

This is how you can work on modern web development projects with full support for tooling like JSX, Flow types, live eslint errors, automatic prettier.js formatting, and more.

Set up web-mode

web-mode provides most of the underlying functionality, so a huge shout-out to the maintainer(s) there.

@yf-hk
yf-hk / 超大字符集字体.md
Last active May 31, 2024 08:09
常用超大字符集字体

unicodecjkfonts

所谓“超大字符集字体”是指至少支持CJK-B的字体(约7万+字),常用的有如下几种:

中国大陆字形

  • 中易宋体(Windows 10 version 1809):部分支持CJK-E
13a81e63aae736ca2254492dd111d3ace4e9dbe9 *simsun.ttc
91a6e66e7c1139a27b6caa313dc451af36e4e5ed *simsunb.ttf
@Ocawesome101
Ocawesome101 / baytrail-audio.sh
Last active November 18, 2023 10:06
A script to enable audio for Baytrail Chromebooks. Made and tested on Manjaro Linux but has some level of package manager detection.
#!/bin/bash
# A script to make Baytrail Chromebooks' audio work (mostly) on most Linux
# distros. Tested on Manjaro and Ubuntu.
set -e
if ! [ -e "/usr/bin/git" ]; then
echo "-> This script requires Git. Attempting to install."
if [ -e "/usr/bin/pacman" ]; then
sudo pacman -S git