Skip to content

Instantly share code, notes, and snippets.

David Chapman dchapman1988

Block or report user

Report or block dchapman1988

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
View gist:2c57da8ba85c35437a8dab840e69f07a
FW Macro, ekkehard's is behind it to use as nonphys for ranged rotation, glacial and icy behind FW in case you enter melee as you're attempting to use ekkehards.
#show Frozen Wrath
suppressmacrofailures
cast Frozen Wrath
cast Glacial strike
cast Icy blow
cast Ekkehard's grasp
Phys macro for pvp (swap in glacial shield instead of shield of oak for pve).
View catapp.html
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
h2 {
font-family: Lobster, Monospace;
}
.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;
View gist:a2d0255919b81dae1779741f5d7a2c16
<header class="nav-bar">
<img class="logo" src="C:\Users\Guest\Desktop\agee\logo.png">
<div class="row">
<nav class="col-sm-3">
<a href="#">FEATURES</a>
<a href="#">ABOUT</a>
<a href="#">STORE</a>
<a href="#">BLOG</a>
</nav>
</div>
View Gemfile.lock
remote: http://rubygems.org/ |
specs:
View gist:0494a5604b9dd9907f0d
Check for coverage amounts
dp1,wind only other structers = rcv
FLood - always no
Wind and Hail - always yes
earthquake - no
collapse - no
water damage - dp1 = no, dp2 = yes, wind only = no
theft - other coverage means contents = yes
@dchapman1988
dchapman1988 / time_sync.sh
Created Nov 25, 2014
Just a shell script to force a time sync.
View time_sync.sh
( /etc/init.d/ntp stop
until ping -nq -c3 8.8.8.8; do
echo "Waiting for network..."
done
ntpdate -s time.nist.gov
/etc/init.d/ntp start )&
View lab02.asm
; Name: David Chapman
; Program: Lab 02
; Version: 1.0
; Date Started: 10/15/2014
; Last Update: NA
; Copyright © 2014
;
; Description: Implement a counter that increments the count when SWX is
; pressed and clears the count when SWY is pressed. The count
; is to be displayed via the four LEDs that were used in the
View delay.asm
delay100ms
pshx
ldx #60000 ; 2 E cycles
iloop psha ; 2 E cycles
pula ; 3 E cycles
psha ; 2 E cycles
pula ; 3 E cycles
psha ; 2 E cycles
pula ; 3 E cycles
psha ; 2 E cycles
View dac1988_p1.java
/*
* File: DownloadTimeApp.java
* Author: David Chapman, dac1988@uab.edu
* Assignment: Project 1 EE333 Fall 2013
* Vers: 1.0.1 01/12/2014 dac - initial coding
*
* Credits: (if any for sections of code)
*/
import java.util.Scanner;
View projectile_trajectory.rb
require 'mathn'
# Just a class with methods for calculating trajectories of a projectile
# Read more: http://en.wikipedia.org/wiki/Trajectory_of_a_projectile
class ProjectileTrajectory
attr_accessor :grav_acceleration, :launch_angle, :launch_velocity,
:initial_height, :distance_traveled
def initialize(g=9.81, theta, v, y_not)
self.grav_acceleration = g # the gravitational acceleration (usually taken to be 9.81 m/s^2 near the Earth's surface)
You can’t perform that action at this time.