- So when we change the
subtitles
object on this controller: https://github.com/pculture/unisubs/blob/dev/media/src/js/subtitle-editor/controllers/subtitle-list.js#L200 , our new list renders a new set of li's: https://github.com/pculture/unisubs/blob/dev/templates/subtitles/subtitle-editor.html#L79-L90 - In some cases, when this list renders, we want to pre-select one of the li's, using this method: https://github.com/pculture/unisubs/blob/dev/media/src/js/subtitle-editor/directives/subtitles.js#L36-L69
- What I'm confused about is: what is the proper "Angular"-way to call a private method on a custom directive from within a controller? Or should that private method (onSubtitleItemSelected) be
- Get a PNG of some sort.
- Open the PNG in Preview.app.
- Cmd+A, then Cmd+C
- Right click on desired item -> Get Info
- Click on the icon in the upper left.
- Cmd+V
- Profit.
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
function git_prompt | |
set -l CUR (git currentbranch ^/dev/null) | |
if test $CUR | |
printf ' \033[0;37mon ' | |
printf '\033[0;35m%s' $CUR | |
printf ' \033[0;32m' | |
git_prompt_status | |
end | |
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
### Me, via support ticket: | |
I am a paying user, and I pay for Packrat. | |
I have a folder that was previously deleted and I would like to restore. | |
Here's what I do: | |
1. Go to Dropbox.com | |
2. Browse to the folder that contains the folder that is deleted. |
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
/* | |
* TODO: | |
* - Event triggering | |
*/ | |
/* | |
* Somewhere in the widgets / dialog: | |
*/ | |
var x = new window['AmaraDFXPParser'](); |
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
// I frequently need to give an element two box-shadows: one that is inset, | |
// and one outset (default). This is a mixin for it. | |
@mixin multi-box-shadow( | |
$horizontal: 0px, | |
$vertical: 1px, | |
$blur: 2px, | |
$color: #CCC, | |
$horizontalInset: 0px, | |
$verticalInset: 1px, |
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
air ~/Code/finisht | |
○ heroku db:pull | |
! Taps Load Error: cannot load such file -- taps/operation | |
! You may need to install or update the taps gem to use db commands. | |
! On most systems this will be: | |
! | |
! sudo gem install taps |
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
air ~ | |
○ time open /Applications/FoldingText.app/ Desktop/To\ Do.txt | |
0.91 real 0.04 user 0.01 sys | |
air ~ | |
○ time open /Applications/TextEdit.app/ Desktop/To\ Do.txt | |
0.17 real 0.05 user 0.01 sys |
Current Two Lake Roastery offerings:
Rwanda Jomba Vunga
- Country: Rwanda
- Grade: A1
- Region: Jomba, Nyabihu
- Processing: Wet Process (Washed)
- Arrival Date: January 2012 Arrival, Grainpro Bags
- Appearance: .4 d/300gr, 15 + Screen
I'm starting a new web-based project, called Craft of Man.
-
Inspire.
Videos. Stories. When people see other people who are totally invested in something, it inspires us to do the same.
-
Inform.