Skip to content

Instantly share code, notes, and snippets.

Avatar
💭

Christian Wilkie ChristianWilkie

💭
View GitHub Profile
@ChristianWilkie
ChristianWilkie / speed.sh
Last active Jan 23, 2021
raspberry pi disk speed script
View speed.sh
#!/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
@ChristianWilkie
ChristianWilkie / .conkyrc
Last active Mar 4, 2021
~/.conkyrc file
View .conkyrc
-- 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
View keybase.md

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 / messages.proto
Last active Aug 29, 2015
SuperMonsterGame Messages Protocol Buffer - Updated 6/14/15
View messages.proto
enum EMiniGameType
{
k_EMiniGameType_Invalid = 0;
k_EMiniGameType_TowerAttack = 1;
}
enum EMiniGameStatus
{
k_EMiniGameStatus_Invalid = 0;
k_EMiniGameStatus_WaitingForPlayers = 1;
k_EMiniGameStatus_Running = 2;
@ChristianWilkie
ChristianWilkie / Gemfile
Created Dec 21, 2014
Gemfile for GitHub pages with Jekyll, save this in the root directory of your site
View Gemfile
source 'https://rubygems.org'
gem 'github-pages'
@ChristianWilkie
ChristianWilkie / PostItNote.java
Created Nov 10, 2014
[11/05/2014] Challenge #187 [Intermediate] Finding Time to Reddit
View PostItNote.java
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 / ChallengeRunner.java
Created Nov 9, 2014
Challenge #187 [Easy] A Flagon of Flags
View ChallengeRunner.java
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 {