Skip to content

Instantly share code, notes, and snippets.

View eboyer's full-sized avatar
🦊

Eric Boyer eboyer

🦊
View GitHub Profile
@eboyer
eboyer / New Computer Setup MAC-WIN
Last active February 6, 2022 19:49
A list of software tools to install when setting up a new machine for Design, Development, and Production work.
# Mac Base
- Latest Mac OS
- Go through all System Preferences screens and dial in. Dark mode, dock settings, computer name in Sharing, etc
## Productivity
- Keynote (App Store)
- Pages (App Store)
- Numbers (App Store)
- [Slack](https://slack.com/downloads/)
- [Discord](https://discord.com/)
@eboyer
eboyer / keybase.md
Created February 4, 2022 08:57
keybase.md

Keybase proof

I hereby claim:

  • I am eboyer on github.
  • I am eboyer (https://keybase.io/eboyer) on keybase.
  • I have a public key ASBnKETIbboBNng0ok49oBwE3FhPi8WAncQGLOsCNyVWbQo

To claim this, I am signing this object:

@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
f
f
`Preferences -> Keyboard Shortcuts -> Click keybindings.json`
{ "key": "cmd+1","command": "workbench.action.openEditorAtIndex1" },
{ "key": "cmd+2","command": "workbench.action.openEditorAtIndex2" },
{ "key": "cmd+3","command": "workbench.action.openEditorAtIndex3" },
{ "key": "cmd+4","command": "workbench.action.openEditorAtIndex4" },
{ "key": "cmd+5","command": "workbench.action.openEditorAtIndex5" },
{ "key": "cmd+6","command": "workbench.action.openEditorAtIndex6" },
{ "key": "cmd+7","command": "workbench.action.openEditorAtIndex7" },
<section class="fd-section">
<div class="fd-panel">
<div class="fd-panel__header">
<div class="fd-panel__head">
<h1 class="fd-panel__title">Details</h1>
</div>
<div class="fd-panel__actions">
<span class="fd-status-label fd-status-label--away">Not Deployed</span>
</div>
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
@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%',