Skip to content

Instantly share code, notes, and snippets.

View Oakie3CR's full-sized avatar

Christian Rigdon Oakie3CR

  • Salt Lake City, Utah
View GitHub Profile
@Oakie3CR
Oakie3CR / # neovim - 2023-09-25_07-31-07.txt
Created September 25, 2023 13:33
neovim on macOS 13.5 - Homebrew build logs
Homebrew build logs for neovim on macOS 13.5
Build date: 2023-09-25 07:31:07
dCkpjnXMz#1WplT@pr8igDTRt1v^4Psb
@Oakie3CR
Oakie3CR / RegexTest.java
Created August 1, 2019 18:21
Testing lookahead matchers in java
class RegexTest {
public static void main(String[] args) {
String pass1 = "password";
String pass2 = "Pa$$word";
String pass3 = "PassworD1";
String pass4 = "PAssword";
String pass5 = "password1";
String pass6 = "PASSWORD1";
String regex = "^(?=.*[A-Z]){2}(?=.*[a-z]).{8,}$";

Keybase proof

I hereby claim:

  • I am oakie3cr on github.
  • I am oakie3cr (https://keybase.io/oakie3cr) on keybase.
  • I have a public key ASBfCzPBvPjQUFG9I7MNOMJrvcEFEpBpGwGtSgOiPH5Lwwo

To claim this, I am signing this object:

@Oakie3CR
Oakie3CR / builder-style-construction.java
Last active August 29, 2015 14:17
Jackson Examples
@JsonDeserialize(builder=ValueBuilder.class) // important!
public class Value {
private final int x, y;
protected Value(int x, int y) {
this.x = x;
this.y = y;
}
}
public class ValueBuilder {
private int x, y;
@Oakie3CR
Oakie3CR / .zshrc
Created April 5, 2011 19:45
Simple zshrc
autoload -Uz vcs_info
precmd() {
vcs_info
}
unsetopt auto_name_dirs
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"