-
for testing look at gocheck (http://labix.org/gocheck)
-
possible other venues for the meetup?
-
@aussiegeek spoke on why choosing go
-
file limit for go on osx is 256?
-
google doesn't use "go get"
-
ec2 (goamz) + openstack (goose) packages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ssh git@github.com -o StrictHostKeyChecking=no -o'HostKeyAlgorithms=ssh-rsa' 2&1> /dev/null | |
ssh git@github.com -o StrictHostKeyChecking=no -o'HostKeyAlgorithms=ssh-dss' 2&1> /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A simple Makefile alternative to using Grunt for your static asset compilation | |
# | |
## Usage | |
# | |
# $ npm install | |
# | |
# And then you can run various commands: | |
# | |
# $ make # compile files that need compiling | |
# $ make clean all # remove target files and recompile from scratch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.vm.provision :shell, :inline => "mkdir -p ~/.ssh && echo \"#{`cat ~/.ssh/known_hosts | grep \^github.com`}\" > ~/.ssh/known_hosts" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row"> | |
<h2>Both Images Loaded Immediately</h2> | |
<div class="col"> | |
<a href="#"> | |
<img src="http://lorempixel.com/500/500/" /> | |
</a> | |
</div> | |
<div class="col"> | |
<a href="#"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// LAZY IMAGE LOADING FOR RESPONSIVE | |
var lazyImageLoad = function () { | |
$('.lazy-image-container').each(function (index) { | |
var thisElement, | |
noScriptElement, | |
imgElement; | |
thisElement = $(this); | |
if (!thisElement.parent().is(':hidden')) { | |
noScriptElement = thisElement.find("noscript"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.trending | |
.breakpoint-eight & | |
.product:nth-child(n+9) | |
display: none | |
.breakpoint-six & | |
.product:nth-child(n+7) | |
display: none | |
.breakpoint-four &, .breakpoint-two & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Borrowing the idea for this from http://pivotallabs.com/users/jdean/blog/articles/1706-form-backing-objects-for-fun-and-profit | |
class Forms::Base | |
# ActiveModel plumbing to make `form_for` work | |
extend ActiveModel::Naming | |
include ActiveModel::Conversion | |
include ActiveModel::Validations | |
def persisted? | |
false | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class FakeModel < ActiveRecord::Base | |
def save_and_do_those_other_things | |
save && | |
that_other_model_class.create(:some_attr => self.my_attr_todo_with_something) && | |
some_api_class.new.do_that_thing | |
end | |
def that_other_model_class | |
ThatOtherModel |
This is based off some comments in http://portingteam.com/files/file/7570-system-shock-2/
- go buy http://www.gog.com/gamecard/system_shock_2
- Get wineskin
- install engine 1.5.23, wrapper 2.5.8 by clicking on the things in wineskin
- create empty wrapper
- open wrapper, click "install yada yada" button, point at setup_system_shock2_2.0.0.9.exe
- that will run the installer, change the install dir to c:\SShock2