Skip to content

Instantly share code, notes, and snippets.

View eboyer's full-sized avatar
🦊

Eric Boyer eboyer

🦊
View GitHub Profile
@eboyer
eboyer / gist:7328252
Created November 5, 2013 23:30
Responsive Video
responsiveVideosSetup: function(){
var that = this;
var iframeElement = that.ui.heroWrapper.find('iframe');
var videoRatio = (iframeElement.height() / iframeElement.width()) * 100;
iframeElement.css({
'position':'absolute',
'top':0,
'left':0,
'width':'100%',
benmills [[email protected]] entered the room. (12:37:40 PM)
12:37:45 PM benmills: Yall on yo yet?
benmills left the room (quit: Quit: leaving). (12:51:08 PM)
benmills [~circuser-@2601:d:6800:4a:5522:8df3:28c6:2f8c] entered the room. (12:55:24 PM)
12:58:19 PM thanexor: way
12:58:21 PM thanexor: wat*/**
12:58:34 PM benmills: way
12:58:52 PM thanexor: ben you kept your promise
12:59:03 PM thanexor: i am thoroughly surprised
1:01:38 PM benmills: me too
&._big {
max-height: 39px;
overflow: hidden;
border-top: 1px solid #fff;
border-bottom: 1px solid #fff;
transition: all 150ms cubic-bezier(.2,1,.2,1);
transform: translatez(0);
.filter-name {
font-size: 17px;
font-weight: 400;
@eboyer
eboyer / gist:a50e6b10f36d68469000
Created April 24, 2015 06:31
CS:GO Dedicated
./srcds_run -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_active +map de_dust2 -port 27015 -tickrate 128 +exec server1.cfg -ip 10.0.1.150
./srcds_run -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_active +map de_dust2 -port 27016 -tickrate 128 +exec server2.cfg -ip 10.0.1.150
./srcds_run -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_active +map de_dust2 -port 27017 -tickrate 128 +exec server3.cfg -ip 10.0.1.150
./srcds_run -game csgo -console -usercon +game_type 1 +game_mode 2 +mapgroup mg_active +map de_dust2 -port 27018 -tickrate 128 +exec server4.cfg
./srcds_run -game csgo -console -usercon +game_type 1 +game_mode 2 +mapgroup mg_active +map de_dust2 -port 27019 -tickrate 128 +exec server5.cfg
this._$drawerContent.on(transitionEvent, function() {
if (self.props.selected) {
self.isOpening = false;
self._drawerStyles = {
maxHeight: 'none',
WebkitTransition: 'none',
transition: 'none'
};
self.forceUpdate(); // skips shouldComponentUpdate
}
.sprout-account-picker {
position: relative;
z-index: 5;
display: block;
width: 100%;
min-height: 40px;
color: $gray40;
background-color: $gray90;
border: 0;
border-bottom: 1px solid $gray70;
@eboyer
eboyer / gist:f1dc143e1bafd04aaa71
Last active August 29, 2015 14:27
Gaming History
0:1:2179
http://www.legit-proof.com/search/?method=guid&query=0%3A1%3A2179
CEVO - http://cevo.com/member/31969/
ESEA - https://play.esea.net/users/223354
--
Online History (113-76 Overall CS:GO League Record)
-
AK,Alaska
AZ,Arizona
AR,Arkansas
CA,California
CO,Colorado
CT,Connecticut
DE,Delaware
DC,District Of Columbia
FL,Florida
GA,Georgia
Setup token for public servers (not LAN)
--
http://steamcommunity.com/dev/managegameservers
sv_setsteamaccount "XXX"
Server Plugins
--
CSGO-Pug-Setup https://github.com/splewis/csgo-pug-setup
Warmod https://forums.alliedmods.net/showthread.php?t=225474
// Click event for '#fahrenheit_to_celsius' button
$('#fahrenheit_to_celsius').on('click', function () {
// Grab the value of what the user puts into the input and store it into a 'userValue' variable
var userValue = $('#temperature').val();
// Call the 'getCelcius' function, passing it the 'userValue' and store the result returned into a 'convertedValue' variable
var convertedValue = getCelcius(userValue);
// Output the result in the '#result' element on the page