This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "recommendations": [ | |
| "aeschli.vscode-css-formatter", | |
| "ahmadalli.vscode-nginx-conf", | |
| "aliariff.vscode-erb-beautify", | |
| "be5invis.toml", | |
| "bierner.markdown-preview-github-styles", | |
| "bradlc.vscode-tailwindcss", | |
| "bradymholt.pgformatter", | |
| "crystal-lang-tools.crystal-lang", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = { | |
| minify: false, | |
| outputPath: "frontend/styles/funky-utilities.css", | |
| breakpoints: { | |
| xs: { max: "575px" }, | |
| sm: { min: "576px", max: "767px" }, | |
| md: { min: "768px", max: "991px" }, | |
| lg: { min: "992px", max: "1199px" }, | |
| xl: { min: "1200px", max: "1399px" }, | |
| xxl: "1400px" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # .github/workflows/test.yaml | |
| name: test | |
| on: push | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| # Service containers to run with `container-job` | |
| services: | |
| # Label used to access the service container | |
| postgres: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| release: yarn rw prisma migrate deploy | |
| web: bin/start-nginx node index.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| spacing: { | |
| "13": '3.25rem', | |
| "15": '3.75rem', | |
| "17": '4.25rem', | |
| "18": '4.5rem', | |
| "19": '4.75rem', | |
| "76": "19rem", | |
| "84": "21rem", | |
| "88": "22rem", | |
| "92": "23rem", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| DragonRuby C Extension Pixel Array | |
| Written by @Akzidenz-Grotesk (with help from @AlexDenisov & @Kenneth | CANICVS) | |
| Demonstrates some quick and pretty dirty image filters | |
| Loads image files into Pixel Array | |
| Performs image manipulation every tick | |
| Returns a modified 100x100 pixel image to DragonRuby | |
| */ | |
| #ifndef NULL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [V=browser-hello.mp4] Hi, I'm Matthew from OpenResty Inc. In this video, I'll demonstrate how to implement a "hello world" HTTP interface using OpenResty. | |
| First of all, we make sure we are using OpenResty's nginx. | |
| [delay=0] $ export PATH=/usr/local/openresty/nginx/sbin:$PATH | |
| $ which nginx | |
| [S] It's usually in this path. | |
| And then we go to the home directory. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ############ If you are using DOCKER all-in-one image, create Dockerfile like: ################ | |
| ############ FROM openproject/openproject:16 ################ | |
| ############ COPY ./enterprise_token.rb app/models/enterprise_token.rb ################ | |
| ############ If you are runing a manual installation: ################ | |
| ############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################ | |
| ############ also be sure to RESTART OpenProject after replacing the file. ################ | |
| ############ If using some other set up (eg docker-compose), read the comments on ################ | |
| ############ https://gist.github.com/markasoftware/f5b2e55a2c2e3abb1f9eefcdf0bfff45 ################ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| input[type="search"]::-webkit-search-cancel-button { | |
| --size: 11px; | |
| --background: #7F7F7F; | |
| --icon: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3IiBoZWlnaHQ9IjciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjMiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgY2xhc3M9ImZlYXRoZXIgZmVhdGhlci14Ij48cGF0aCBkPSJNMTggNkw2IDE4TTYgNmwxMiAxMiIvPjwvc3ZnPgo="); | |
| -webkit-appearance: none; | |
| height: var(--size); | |
| width: var(--size); | |
| border-radius: 50%; | |
| background: var(--background) var(--icon) 50% 50% no-repeat; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'active_support/all' | |
| require 'chinese_pinyin' | |
| require 'csv' | |
| CSV.open('name_t.csv', 'w') do |csv| | |
| csv << %w[chinese_name last_name first_name] | |
| file = File.new('/Users/guochunzhong/Downloads/name_list.txt') | |
| file.each do |line| | |
| values = [] | |
| name = line.strip |