This file contains 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
syn region lispAtomList contained matchgroup=Special start="(" skip="|.\{-}|" matchgroup=Special end=")" contains=TOP,@lispAtomCluster,lispString,lispEscapeSpecial |
This file contains 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
function! s:process_tag_pre_pygments(line, pre) "{{{ | |
if !executable('pygmentize') | |
return s:process_tag_pre(a:line, a:pre) | |
endif | |
let lines = [] | |
let pre = a:pre | |
let processed = 0 | |
if !pre[0] && a:line =~ '^\s*{{{' | |
let s:syntax = matchstr(a:line, 'class=.\zs\w\+') | |
let s:syntax = s:syntax == "" ? "text" : s:syntax |
This file contains 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
nnoremap <silent><space> @=((foldclosed(line('.')) < 0) ? 'zc' : 'zo')<CR> |
This file contains 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
_________________________ | |
/ ░█░█░▀█▀░█▄█░▀▀█░░░░█░█ \ | |
| ░▀▄▀░░█░░█░█░▄▀░░░░░░▀█ | | |
\ ░░▀░░▀▀▀░▀░▀░▀░░░▀░░░░▀ / | |
------------------------- | |
\ { | |
\ } } { | |
{ { } } | |
} }{ { |
This file contains 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
GoAgentGTK(window, terminal).window.hide_all() |
This file contains 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
#!/bin/bash | |
bumble_status=$(optirun --status|awk -F " " '{print $NF}') | |
if [ "$bumble_status" = "off." ]; then | |
echo "Gpu : off" | |
exit 0 | |
fi | |
bumble_temp=$( optirun --no-xorg nvidia-smi -q -d TEMPERATURE | grep Gpu) | |
echo "$(echo $bumble_temp | sed 's/\(\S\+\) C/ +\1.0°C/g')" |
This file contains 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 Jekyll | |
class ColoredTag< Liquid::Tag | |
Syntax = /^\s*(#[0-9a-fA-F]{6}|#[0-9a-fA-F]{3}|rgb[a]{0,1}\([ .0-9,]{5,}\))\s*(#[0-9a-fA-F]{6}|#[0-9a-fA-F]{3}|rgb[a]{0,1}\([ .0-9,]{5,}\))?\s*"([^"]*)"\s*$/ | |
def initialize(tagName, markup, tokens) | |
if markup =~ Syntax then | |
@bg = $1 | |
if $3.nil? then | |
@fg = "#ffffff" | |
@text = $2 | |
else |
This file contains 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
#!/bin/bash | |
echo "LAN: $(ifconfig | grep 'inet ' | grep -v '127.0.0.1' | head -n 1 | cut -d: -f2 | awk '{print $2}')" | |
echo "EXTERNAL: $(lynx --dump http://ipecho.net/plain)" |
This file contains 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
-- { requirement | |
--local beautiful = require("beautiful") | |
local naughty = require("naughty") | |
local os = require("os") | |
local awful = require("awful") | |
local helpers =require("blingbling.helpers") | |
local string = require("string") | |
local superproperties = require('blingbling.superproperties') | |
---Differents popups for Awesome widgets | |
--@module blingbling.popups |
OlderNewer