brew install Caskroom/cask/wineskin-winery
- Open app "Wineskin Winery"
- Click "Create New Blank Wrapper" and name it "WindowsSteam"
- Right click on app "WindowsSteam" and click "show package contents"
- Open "Wineskin" app that lives inside the "WindowsSteam" app
- "Advanced"
- "middle tab"
- "winetricks"
- "update winetricks"
- Install
dotnet45
This bookmarklet takes you from a youtube video page to the listenonrepeat page for that video
- Save this bookmarklet. Right-click on boomarks toolbar
Add Page...
- Name:
yt∞
or whatever you'd like (maybe short so it stays on your bookmarks toolbar) - URL:
javascript:(document.location.href = document.location.href.replace('youtube.com', 'listenonrepeat.com'))();
- When on a youtube video page, click this bookmarklet to be taken to the listenonrepeat page 🎉
Short link to this page: caseywatts.com/quicktime
Other gists & tricks: http://caseywatts.com/gists-and-tricks
Unrelated update: my book is out! Debugging Your Brain is an applied psychology / self-help book
Scenario: You want to talk with someone over google hangouts (like for a user study), and you want to record BOTH:
UPDATE: Actually, doing this with `reopen` is apparently deprecated. Back to creating actual objects for relationships -_-
don't do this below stuff
Stubbing relationships in model unit tests
// model
export default DS.Model.extend({
Short link to this gist: http://tinyurl.com/browsersync-via-foreman
(or http://caseywatts.com/browsersync)
The "Browser Sync Simple" section is probably what you want.
If you need something more advanced than that, then the "Browser Sync with Foreman" would help.
Link to this page: http://caseywatts.com/flipit
Other gists & tricks: http://caseywatts.com/gists-and-tricks
This helps flip between a page the development server and the same page on the production server. Useful for comparing css or functionality changes quickly.
- create a new bookmark in your browser
UPDATE: just use this plugin lol
To run a single test or category of tests in ember-mocha, you sometimes put .only()
after your it
or describe
or context
. But if this gets accidentally checked into the repository, the testing suite will erroneously pass for failures in any other test O_O.
This would be better as a jscs
or eslint
plugin - probably in ember-suave
(which is migrating jscs
to eslint
right now). But short-term, this helps :)
Short link to this page: http://caseywatts.com/pixlr
Other gists & tricks: http://caseywatts.com/gists-and-tricks
This bookmarklet is good for quickly modifying an image, such as overlaying some text.
- Save this bookmarklet. Right-click on boomarks toolbar
Add Page...
- Name:
pixlr
or whatever you'd like (maybe short so it stays on your bookmarks toolbar)
Short url: caseywatts.com/mediawikionheroku
Unrelated update: my book is out! Debugging Your Brain is an applied psychology / self-help book
How to get set up with Mediawiki running on Heroku.
Fork https://github.com/mediawiki/mediawiki (from the web interface)
(master
worked fine for me, but you might want the last stable tag?)
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |