Skip to content

Instantly share code, notes, and snippets.

View Aoi-hosizora's full-sized avatar
💭
learning...

青いほしぞら Aoi-hosizora

💭
learning...
View GitHub Profile
<?xml version="1.0" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0"
targetNamespace="http://schemas.microsoft.com/office/2006/01/customui"
xmlns="http://schemas.microsoft.com/office/2006/01/customui" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xsd:annotation>
<xsd:documentation>
----------------------------------------------------------------------
Schema definition for Ribbon Extensibility
----------------------------------------------------------------------
</xsd:documentation>
@Aoi-hosizora
Aoi-hosizora / .travis.yml
Created February 7, 2021 19:12
golang travis & codecov
language: go
go:
- 1.13
- 1.14
- 1.15
services:
- mysql
- redis
🌞 Morning 241 commits ██▌░░░░░░░░░░░░░░░░░░ 12.3%
🌆 Daytime 677 commits ███████▏░░░░░░░░░░░░░ 34.5%
🌃 Evening 745 commits ███████▉░░░░░░░░░░░░░ 38.0%
🌙 Night 299 commits ███▏░░░░░░░░░░░░░░░░░ 15.2%
@Aoi-hosizora
Aoi-hosizora / pubspec.lock
Created July 7, 2020 06:05
success version for json_serializable
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
_fe_analyzer_shared:
dependency: transitive
description:
name: _fe_analyzer_shared
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.0.0"
@Aoi-hosizora
Aoi-hosizora / GinLogger.go
Created April 17, 2020 14:40
gin logrus logger
package middleware
import (
"fmt"
"github.com/Aoi-hosizora/ahlib/xnumber"
"github.com/gin-gonic/gin"
"github.com/sirupsen/logrus"
"math"
"time"
)
@Aoi-hosizora
Aoi-hosizora / Recovery.go
Created April 17, 2020 14:40
gin recovery
package middleware
import (
"fmt"
"github.com/Aoi-hosizora/RBAC-learn/src/common/exception"
"github.com/Aoi-hosizora/RBAC-learn/src/common/result"
"github.com/Aoi-hosizora/ahlib/xcolor"
"github.com/gin-gonic/gin"
"github.com/sirupsen/logrus"
"net/http/httputil"
@Aoi-hosizora
Aoi-hosizora / RedisLogger.go
Created April 17, 2020 14:38
redigo redis logger
package database
import (
"fmt"
"github.com/gomodule/redigo/redis"
"github.com/sirupsen/logrus"
)
type RedisLogger struct {
conn redis.Conn
@Aoi-hosizora
Aoi-hosizora / GormLogger.go
Last active April 19, 2020 09:14
gorm logger
package database
import (
"database/sql/driver"
"fmt"
"github.com/sirupsen/logrus"
"reflect"
"regexp"
"time"
)