Skip to content

Instantly share code, notes, and snippets.

@ChrisLundquist
ChrisLundquist / SlightlyImprovedExperienceBar.lua
Last active Aug 29, 2015
Slightly Improved Experience Bar Fix
View SlightlyImprovedExperienceBar.lua
-- Must be the first line
SIEB = {}
SIEB.name = "SlightlyImprovedExperienceBar"
SIEB.version = "1.3"
SIEB.throttle = {}
SIEB.defaults = {
minimumAlpha = 0.6,
showPercentageText = true,
View larb.lua
-- Must be the first line
LARB = {}
-- Transparency value limit for the fading out of the experience bar. Value is the
-- minimum allowed, and should be a float number between 0 and 1. A value
-- of 0 would mimic the default behavior to hide the frame entirely.
LARB.minimumAlpha = 0.6
-- Boolean values to control the display of the text string that goes over the experience
-- bar. Values must be either 'true' or 'false'. If both are configured, the current/max
View MTR.txt
Packets Pings
Host Loss% Snt Last Avg Best Wrst StDev
1. 192.168.1.1 0.0% 396 1.7 1.0 0.6 34.0 2.2
2. br1-hsteps-v101.mbb.spectrumnet.us 0.0% 396 3.5 3.7 3.1 75.0 4.2
3. agg2-sea-a-t6-1-4000.bb.spectrumnet.us 0.0% 396 3.8 8.9 3.4 206.7 26.2
4. gi1-17.mag01.sea02.atla
View Build
$ gcc -Wall -Wextra -pedantic -std=c11 -O3 -S -march=corei7 main.c
# Gives you the popcnt assembly, GCC knows we have the instruction
$ gcc -Wall -Wextra -pedantic -std=c11 -O3 -S main.c
# Gives you the mask assembly
@ChrisLundquist
ChrisLundquist / English.md
Created Aug 17, 2014
Do you speak English?
View English.md

Do you speak English?

There I was in Seattle, just walking out from one of my favorite coffee shops. As soon as I walk out, a stranger makes eye contact and asks a very simple question. Do you speak English?

I was a little confused by the question. People were speaking English all around him. Why did he ask me? I answered, "Yes".

He then proceeded to tell me a story about how he needs bus fare to get to Portland.

View gist:752273
#include <iostream>
class Physics
{
public:
void Update() { std::cout << "Physics!"; }
};
class Graphics
{
View gist:1268993
// Lab 2
// Jeff Heesch
// 10/5/11
// Purpose: To perform mathematical operations on two numbers
#include <iostream>
#include <cmath>
using namespace std;
int main()
View gist:1299663
#include <stdio>
int main()
{
for(int y = 1; y <= 50; y++){
for(int x = 1; x <= 3; x++){
std::cout << y*x << ","
}
std::cout << std::endl;
}
return 0;
@ChrisLundquist
ChrisLundquist / Week05Assig
Created Feb 5, 2012
Hadossa Oudean's Week05 Assignment
View Week05Assig
/*This program was created by Hadossa Oudean.*/
import java.io.*;
import javax.swing.*;
public class Week05 {
static File select;
static String path;
static boolean okay;
static boolean foundIt;