Skip to content

Instantly share code, notes, and snippets.

View CurtisNewbie's full-sized avatar
🐽
Working hard!

Yongjie Zhuang CurtisNewbie

🐽
Working hard!
View GitHub Profile
@CurtisNewbie
CurtisNewbie / springbootInit.sh
Created May 28, 2020 03:36
Simple script to create spring boot project that doesn't have extensions
echo -e '\n'Initiating Spring Boot Starter
echo -e '\n'Enter Artifact Name:
read artName
echo -e '\n'Enter Group Name:
read groupName
mkdir $artName && cd $artName
curl https://start.spring.io/starter.zip -d language=java -d packageName=$groupName -d name=$artName -o $artName.zip
@CurtisNewbie
CurtisNewbie / quarkusInit.sh
Last active May 19, 2020 09:38
Bash script that makes creating Quarkus quick start project a bit easier
VERSION=1.4.2.Final
echo -e '\n'Initiating Quarkus $VERSION Quick-Start Project
echo -e '\n'Enter Group Id:
read groupId
echo -e '\n'Enter artifact Id:
read artifactName
echo -e '\n'Creating Project...
# msi-perkeyrgb --model GS65 -c ./msi-perkeyrpg-config
# a-f
38-41 steady f54242
# j-;
44-47 steady f54242
# \ / # $ % & *
94,61,51,13,14,16,17 steady 00ff4c
# arrow keys
111,113,114,116 steady f54242
# home, page up, page down, end

微信中文解决办法

在微信无法显示中文的情况,可以通过增加字体和设 Lang variable 的方式来解决。

具体看:https://askubuntu.com/questions/1019530/chinese-fonts-are-not-visible-in-programs-installed-in-wine

如果可以显示中文,但是输入框无法显示正在输入的文字或内容,则需要添加 dll 文件来解决。

具体看:https://zhuanlan.zhihu.com/p/76331687
@CurtisNewbie
CurtisNewbie / .inputrc
Last active April 9, 2020 06:10
~/.inputrc
set completion-ignore-case on
# mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
"\e[1;5C": forward-word
"\e[1;5D": backward-word
@CurtisNewbie
CurtisNewbie / pom.xml
Created February 6, 2020 20:28
Example of pom.xml for Thorntail
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.curtisnewbie</groupId>
<artifactId>backend</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>war</packaging>
@CurtisNewbie
CurtisNewbie / .bashrc
Last active June 25, 2020 15:30
Bash Conf
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac