Skip to content

Instantly share code, notes, and snippets.

View ChristianWilkie's full-sized avatar
💭

Christian Wilkie ChristianWilkie

💭
View GitHub Profile
@ChristianWilkie
ChristianWilkie / ChallengeRunner.java
Created November 9, 2014 04:42
Challenge #187 [Easy] A Flagon of Flags
package com.christianwilkie.rdailyprogrammer.c187p1.easy;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
/**
* Created by chris on 11/8/2014.
*/
public class ChallengeRunner {
@ChristianWilkie
ChristianWilkie / PostItNote.java
Created November 10, 2014 20:49
[11/05/2014] Challenge #187 [Intermediate] Finding Time to Reddit
package com.christianwilkie;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
/**
* Created by chris on 11/9/2014.
*/
public class PostItNote implements Comparable<PostItNote>{
private static final DateTimeFormatter printedDateFormatter = DateTimeFormatter.ofPattern("MM-dd-yyyy");
@ChristianWilkie
ChristianWilkie / Gemfile
Created December 21, 2014 03:47
Gemfile for GitHub pages with Jekyll, save this in the root directory of your site
source 'https://rubygems.org'
gem 'github-pages'
@ChristianWilkie
ChristianWilkie / messages.proto
Last active August 29, 2015 14:23
SuperMonsterGame Messages Protocol Buffer - Updated 6/14/15
enum EMiniGameType
{
k_EMiniGameType_Invalid = 0;
k_EMiniGameType_TowerAttack = 1;
}
enum EMiniGameStatus
{
k_EMiniGameStatus_Invalid = 0;
k_EMiniGameStatus_WaitingForPlayers = 1;
k_EMiniGameStatus_Running = 2;

Keybase proof

I hereby claim:

  • I am christianwilkie on github.
  • I am cwilkie (https://keybase.io/cwilkie) on keybase.
  • I have a public key ASAP7GsF0K3UNtpr632OZnZkgDDkxvGHbTIJwX9XOgfYnwo

To claim this, I am signing this object:

@ChristianWilkie
ChristianWilkie / .conkyrc
Last active March 4, 2021 16:12
~/.conkyrc file
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
Conky, a system monitor, based on torsmo
Any original torsmo code is licensed under the BSD license
All code written since the fork of torsmo is licensed under the GPL
Please see COPYING for details
@ChristianWilkie
ChristianWilkie / speed.sh
Last active December 4, 2022 00:17
raspberry pi disk speed script
#!/bin/bash
# Tests Raspberry Pi disk read/write speed
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
echo "=== Performing Write Speed Test ==="
dd if=/dev/zero of=/tmp/test.tmp bs=500K count=1024 oflag=dsync
sync; echo 3 | tee /proc/sys/vm/drop_caches