Skip to content

Instantly share code, notes, and snippets.

Avatar

Boby Microby bobymicroby

View GitHub Profile
@bobymicroby
bobymicroby / ramdisk_idea.sh
Created Feb 25, 2021
Move Idea Caches to Ram
View ramdisk_idea.sh
#!/usr/bin/env bash
set -x
# The RAM amount you want to allocate for RAM disk. One of
# 1024 2048 3072 4096 5120 6144 7168 8192
# By default will use 1/4 of your RAM
ramfs_size_mb=2048
View keybase.md

Keybase proof

I hereby claim:

  • I am bobymicroby on github.
  • I am bobymicroby (https://keybase.io/bobymicroby) on keybase.
  • I have a public key ASC1gX04PI72E0QOcQKBISyI0Vr8rX0_8cdIO4T-ctaqWgo

To claim this, I am signing this object:

@bobymicroby
bobymicroby / xmonad.hs
Last active Mar 6, 2019
My xmonad config
View xmonad.hs
import XMonad
import XMonad.Hooks.SetWMName
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
import XMonad.Hooks.UrgencyHook
import XMonad.Hooks.ManageHelpers
import XMonad.Layout.NoBorders (smartBorders)
import XMonad.Hooks.EwmhDesktops
import XMonad.Hooks.FadeInactive
import XMonad.Actions.Volume
View OnSubscribeTTLCache.java
import rx.Observable;
import rx.Subscriber;
import rx.functions.Func0;
public class OnSubscribeTTLCache<T> implements Observable.OnSubscribe<T>
{
private final Observable<T> source;
private final long ttl;
private final Func0<Long> clock;