This file contains hidden or 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
# | |
# This file "wraps" the https://github.com/ostat/gridfinity_extended_openscad/ library so that one could call it programmatically | |
# Please see https://github.com/ostat/gridfinity_extended_openscad/issues/119 | |
# | |
# (this file assumes the gridfinity_extended_openscad is in your OpenScad library dir. It could be placed at the root of your lib if desired. | |
// include instead of use, so we get the pitch | |
include <gridfinity_extended_openscad/modules/gridfinity_constants.scad> | |
use <gridfinity_extended_openscad/modules/module_gridfinity.scad> | |
use <gridfinity_extended_openscad/modules/module_gridfinity_baseplate.scad> |
This file contains hidden or 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 tool for facilitating retros (esp. ones with remote attendees) | |
# Usage: | |
# 1. new up a rando object in an irb session | |
# 2. Add everyone who arrives at the retro by passing strings to the .add method (can take one or many names) | |
# 3. Ask everyone to write topics on notecards (one topic per card). This can be themed ('one thing to change & why'), or not ('happy', 'meh', 'sad') | |
# 4. call .next, ask that person to read their card aloud. Use a timer + do a Roman vote to continue on the topic every 5 min. | |
###################### | |
class Rando |
This file contains hidden or 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
session = ActionDispatch::Integration::Session.new(Rails.application) | |
session.get('/some/url/your/app/has') | |
body = session.response.body |
This file contains hidden or 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
module Aggregate | |
class CurrentOrganization | |
attr_reader :organization, :spaces, :account | |
def initialize(attrs) | |
@organization = attrs.fetch(:organization) | |
@spaces = attrs.fetch(:spaces) | |
@account = attrs.fetch(:account) | |
end |
This file contains hidden or 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
/** | |
Starting with version 2.0, this file "boots" Jasmine, performing all of the necessary initialization before executing the loaded environment and all of a project's specs. This file should be loaded after `jasmine.js`, but before any project source files or spec files are loaded. Thus this file can also be used to customize Jasmine for a project. | |
If a project is using Jasmine via the standalone distribution, this file can be customized directly. If a project is using Jasmine via the [Ruby gem][jasmine-gem], this file can be copied into the support directory via `jasmine copy_boot_js`. Other environments (e.g., Python) will have different mechanisms. | |
The location of `boot.js` can be specified and/or overridden in `jasmine.yml`. | |
[jasmine-gem]: http://github.com/pivotal/jasmine-gem | |
*/ |
This file contains hidden or 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
require 'nokogiri' | |
string = <<-STRING | |
<rss version="2.0"> | |
<channel> | |
<title>thing</title> | |
<link>http://thing</link> | |
<description>blah</description> <language>en-us</language> | |
<ttl>120</ttl> | |
<item><title>0</title></item> | |
<item><title>1</title></item> |
This file contains hidden or 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
require 'nokogiri' | |
string = <<-STRING | |
<rss version="2.0"> | |
<channel> | |
<title>thing</title> | |
<link>http://thing</link> | |
<description>blah</description> <language>en-us</language> | |
<ttl>120</ttl> | |
<item> <title>Here's some title 0!!!</title> <link>http://some-crazy-link<link> <guid isPermaLink="true">some-other-crazy-link<guid> <comments>still more links</comments> <pubDate>Wed, 24 Jul 2013 12:08:37 +0000</pubDate> <description>What a cool description</description> <enclosure url="oh-my-god-so-many-links"/> </item> | |
<item> <title>Here's some title 1!!!</title> <link>http://some-crazy-link<link> <guid isPermaLink="true">some-other-crazy-link<guid> <comments>still more links</comments> <pubDate>Wed, 24 Jul 2013 12:08:37 +0000</pubDate> <description>What a cool description</description> <enclosure url="oh-my-god-so-many-links"/> </item> |
This file contains hidden or 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
name: "Default Touch Params" | |
longTapDelay: 750 | |
distanceToScrollPriority: 50 | |
distanceTriggeringHorizontalSwipe: 15 | |
distanceTriggeringVerticalSwipe: 14 |
This file contains hidden or 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
for k in `git branch -r|perl -pe s/^..//`;do echo -e `git show --pretty=format:"%Cgreen%ci %Cblue%cr %Cred%cn %Creset" $k|head -n 1`\\t$k;done|sort -r |
This file contains hidden or 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
--type-set | |
haml=.haml |
NewerOlder