Generate color config by Terminal.sexy
Color scheme is Dracula Theme
[options]
allow_bold = true
browser = firefox
clickable_url = true
font = D2Coding 10
--[[ | |
Inspired by | |
Lain (https://github.com/copycat-killer/lain), | |
APW (https://github.com/mokasin/apw) | |
--]] | |
local newtimer = require("lain.helpers").newtimer | |
local read_pipe = require("lain.helpers").read_pipe | |
local awful = require("awful") |
--[[ Before | |
mpdh = "telnet://" .. host .. ":" .. port | |
async.request(echo .. " | curl --connect-timeout 1 -fsm 3 " .. mpdh, function (f) | |
--]] | |
--[[ After | |
mpdh = "~/.config/mpd/socket" | |
async.request(echo .. " | ncat -U " .. mpdh, function (f) |
Generate color config by Terminal.sexy
Color scheme is Dracula Theme
[options]
allow_bold = true
browser = firefox
clickable_url = true
font = D2Coding 10
module.exports = { | |
// 이러면 build == generate 가 됨. | |
mode: 'spa', | |
build: { | |
// cordova에서 _ (underscore) 붙은 디렉토리는 앱 빌드에서 제외함. | |
publicPath: '/nuxt/', | |
// image asset을 제대로 불러오기 위해 필요. | |
extractCSS: false, | |
splitChunks: { | |
pages: false, |
#!/bin/bash | |
# Original Gist: https://gist.github.com/baumandm/1dba6a055356d183bbf7 | |
# Requirements: | |
# ffmpeg ( install via `brew install ffmpeg` ) | |
SOURCE=$1 | |
DEST=${SOURCE%%.*} | |
PALETTE="$(python -c "import uuid; print(uuid.uuid4().hex, end='')").png" |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<!-- Bootstrap CSS --> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> |
import { | |
useRef, | |
useEffect, | |
useState, | |
Dispatch, | |
SetStateAction, | |
} from 'react'; | |
const noop = () => { | |
return undefined; |
.root { | |
background-color: yellow; | |
} |