Edit /etc/pacman.conf
:
Under the # Misc options
section, remove the #
in front of Color
and add the line ILoveCandy
. Because Pac-Man loves candy.
docker logs nginx 2>&1 | grep "127." | |
# ref: http://stackoverflow.com/questions/34724980/finding-a-string-in-docker-logs-of-container |
/* warp speed ahead */ | |
.animClass { | |
-webkit-transform: translate3d(0, 0, 0); | |
/* more specific animation properties here */ | |
} | |
/* | |
The use of translate3d pushes CSS animations into hardware acceleration. | |
Even if you're looking to do a basic 2d translation, use translate3d for more power! | |
If your animation is still flickering after switching to the transform above, |
function string.fromhex(str) | |
return (str:gsub('..', function (cc) | |
return string.char(tonumber(cc, 16)) | |
end)) | |
end | |
function string.tohex(str) | |
return (str:gsub('.', function (c) | |
return string.format('%02X', string.byte(c)) | |
end)) |
#!/bin/sh | |
# @author: ttyS3 | |
# transparent proxy for clash | |
#ref to https://en.wikipedia.org/wiki/Reserved_IP_addresses | |
func_get_reserved_ip_addr() { | |
cat <<-EOF | |
0.0.0.0/8 | |
10.0.0.0/8 | |
100.64.0.0/10 |
-- This file creates a colorscheme from aleady available colorscheme | |
-- Author : Shadman Saleh | |
-- Licence : You can do whatever you want with it but do provide proper cradit | |
-- Uses : | |
-- 1. Copy this script to any &rtp/lua folder mostlikely ~/.config/nvim/lua | |
-- so the script can be required | |
-- 2. Eun :lua require('colorscheme_genarator').create('colorscheme_name', load_colorscheme) | |
-- colorscheme_name is the name of colorzcheme load_colorscheme is a boolean |
SPC | |
SPC: find file | |
, switch buffer | |
. browse files | |
: MX | |
; EX | |
< switch buffer | |
` eval | |
u universal arg | |
x pop up scratch |
# sourcing this file will define a bash functions that | |
# tries to run subsequent calls to emacs with 24 bit color. | |
# | |
# It sets TERM to xterm-24bit if we're running in iTerm2 | |
# and we've created a user-local terminfo record for xterm-24bit | |
# | |
# This will cause emacs to use 24 bit color only when it will work, | |
# inside or outside of tmux | |
# | |
# details: https://gist.github.com/XVilka/8346728 |
Don't do the crime, if you can't do the time.
-- Anthony Vincenzo "Tony" Baretta
Vim is an amazing text editor. I love it. Really, I wouldn't [organize][organize] a Vim advent calendar if I didn't. But, as amazing as it is, Vim is not for everyone. It can't solve all your problems, or be a TUI version of your favorite IDE, or make you a better programmer, or land you that dream job in the Bay Area. But Vim can help you be more mindful, focused, and efficient, as long as you approach it with the right mindset.
Don't get me wrong, I certainly welcome you to try Vim, but I'm not a proselyte. I don't thrive on newbies. I just want you to use the right tool for the job and not waste your—and anyone's—time on a fruitless quest.
# The definition of color schemes. | |
schemes: | |
gruvbox_material_hard_dark: &gruvbox_material_hard_dark | |
primary: | |
background: '0x1d2021' | |
foreground: '0xd4be98' | |
normal: | |
black: '0x32302f' | |
red: '0xea6962' | |
green: '0xa9b665' |