Skip to content

Instantly share code, notes, and snippets.

Ben Smurph82

  • North Carolina
Block or report user

Report or block Smurph82

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Smurph82
Smurph82 / yubitouch.sh
Created Nov 26, 2017 — forked from a-dma/yubitouch.sh
Bash script for setting or clearing touch requirements for cryptographic operations in the OpenPGP application on a YubiKey 4.
View yubitouch.sh
#!/bin/bash
# Bash script for setting or clearing touch requirements for
# cryptographic operations the OpenPGP application on a YubiKey 4.
#
# Author: Alessio Di Mauro <alessio@yubico.com>
GCA=$(which gpg-connect-agent)
DO=0
UIF=0
@Smurph82
Smurph82 / code.kt
Created Nov 24, 2017 — forked from chrisbanes/code.kt
Night Mode inflater
View code.kt
/*
* Copyright 2017 Google, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@Smurph82
Smurph82 / Java8DateTimeExamples.java
Created Nov 22, 2017 — forked from mscharhag/Java8DateTimeExamples.java
Examples for using the Java 8 Date and Time API (JSR 310)
View Java8DateTimeExamples.java
import java.time.*;
import java.time.format.DateTimeFormatter;
import java.time.format.FormatStyle;
import java.time.temporal.ChronoUnit;
import java.time.temporal.TemporalAdjusters;
import java.util.*;
import static java.time.temporal.TemporalAdjusters.*;
public class Java8DateTimeExamples {
View keybase.md

Keybase proof

I hereby claim:

  • I am smurph82 on github.
  • I am smurph82 (https://keybase.io/smurph82) on keybase.
  • I have a public key ASDFy_TSn3xg-f3vNoS6WTIkR7UwhuBGPRky8KriZfrKqwo

To claim this, I am signing this object:

@Smurph82
Smurph82 / FloatingBtnAnimaControl.java
Last active May 15, 2016
Animate Floating Action Button Android L. This will give your floating action button an animation similar to the Android Google+ app when scrolling on a RecyclerView.
View FloatingBtnAnimaControl.java
/**
* Copyright (c) 2014 Ben Murphy (Smurph82)
* Created - Aug 19, 2014
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
You can’t perform that action at this time.