Skip to content

Instantly share code, notes, and snippets.

View meskarune's full-sized avatar
Halfway back to productivity

Dolores Portalatin meskarune

Halfway back to productivity
View GitHub Profile
@meskarune
meskarune / Jellybeans.colorscheme
Created August 6, 2018 02:04
color scheme for qterminal, you can save it in /usr/share/qtermwidget5/ccolor-schemes
[Background]
Bold=false
Color=18,18,18
[BackgroundIntense]
Bold=false
Color=34,34,34
[Color0]
Bold=false
@meskarune
meskarune / .zshrc
Created August 5, 2018 04:19
my zsh prompt
#Prompt
setopt prompt_subst
autoload -Uz colors && colors
fg_alert=%{$'\e[38;5;161m'%}
at_normal=%{$'\e[0m'%}
export VIRTUAL_ENV_DISABLE_PROMPT=1
function virtualenv_info {
@meskarune
meskarune / cal.lua
Last active November 29, 2024 15:11
conky calendar and weather
#!/usr/bin/env lua
conky_color = "${color1}%2d${color}"
t = os.date('*t', os.time())
year, month, currentday = t.year, t.month, t.day
daystart = os.date("*t",os.time{year=year,month=month,day=01}).wday
month_name = os.date("%B")
@meskarune
meskarune / notabug.md
Last active July 30, 2018 23:10
annoying

Not a Bug

not a bug

Not a Hair

not a hair

Not a Cursor

@meskarune
meskarune / kingston-nyc.md
Last active July 10, 2018 04:23
kingston - NYC trip, time vs cost

Car

Costs

  • gas:
  • tolls:
    • Parkway:
    • Bridge toll:
  • Parking in NYC if no free parking: $25

Time

@meskarune
meskarune / konmari.md
Last active June 27, 2018 00:14
KonMari method of cleaning

Steps

Motivation and Sustainability

  1. Tidy all at once. Don't do a little at a time as you can't stay on top of the mess.
  2. Visualize how you want your space to be and how you want to feel being in it.
  3. Ask yourself why you want your space to be that way and why you want to feel that way. If you want to feel energized to work by not having a mess, why do you want to feel that way? If you want to feel more relaxed to sleep better, why do you want this?

Planning

  1. Categorize objects and organize in this order: Clothes, Books, Papers, and then miscellaneous.
  2. Tidy by category, not location. If you are going to organize papers, pull out all the papers from all rooms, desks, etc all together. Same for clothes, take out all the clothes in the closets and drawers.
@meskarune
meskarune / uber.rst
Last active April 13, 2018 19:21
uber pricing list

Average Uber pricing by service.

Service Initial Fee Price Per Mile Price Per Minute Service Cost
uberX $0.40 $0.97 $0.14 $1.58
uberXL $2.15 $1.68 $0.26 $1.70
uberXL | $2.15 | $1.68 | $0.26 | $1.70 |
@meskarune
meskarune / functioncalendar.lua
Created March 16, 2018 04:44
a function to print calendars
local function cal(starts_on, days_in_month)
local n = starts_on - 1 -- column number
local s = { string.rep(" ",n) }
for day = 1,days_in_month do
s[#s+1] = string.format(" %2d", day)
n = n + 1
if n >= 7 then
s[#s+1] = "\n"
n = 0
end
@meskarune
meskarune / ansiseq.txt
Created March 13, 2018 03:22
list of ansi escape sequences
╔══════════╦════════════════════════════════╦═════════════════════════════════════════════════════════════════════════╗
║ Code ║ Effect ║ Note ║
╠══════════╬════════════════════════════════╬═════════════════════════════════════════════════════════════════════════╣
║ 0 ║ Reset / Normal ║ all attributes off ║
║ 1 ║ Bold or increased intensity ║ ║
║ 2 ║ Faint (decreased intensity) ║ Not widely supported. ║
║ 3 ║ Italic ║ Not widely supported. Sometimes treated as inverse. ║
║ 4 ║ Underline ║ ║
║ 5 ║ Slow Blink ║ less than 150 per