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
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |
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
[ | |
{ "keys": ["super+p"], "command": "show_overlay", "args": {"overlay": "command_palette"} }, | |
{ "keys": ["super+shift+p"], "command": "show_overlay", "args": {"overlay": "command_palette"} }, | |
{ "keys": ["ctrl+enter"], "command": "goto_definition" }, | |
{ "keys": ["super+b"], "command": "goto_definition" }, | |
{ "keys": ["super+shift+x"], "command": "clipboard_manager_cut" }, | |
{ "keys": ["super+shift+c"], "command": "clipboard_manager_copy" }, | |
{ "keys": ["super+shift+v"], "command": "clipboard_manager_paste", "args": { "indent": true } }, | |
{ "keys": ["super+alt+v"], "command": "clipboard_manager_choose_and_paste" }, | |
{ "keys": ["fn+ctrl+p"], "command": "prompt_select_workspace" }, |
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
def download_course(url) | |
puts "Downloading: #{url}" | |
start_time = Time.now | |
download_data = "youtube-dl --username USER_NAME --limit-rate 500 --password PASSWORD --sleep-interval 100 #{url} -o '/___DOWNLOADS_FOLDER___/%(playlist)s/%(chapter_number)s. %(chapter)s/%(playlist_index)s. %(title)s.%(ext)s'" | |
puts download_data | |
`#{download_data}` | |
time = (Time.now - start_time ).to_i / 10 | |
puts "sleeping for #{time}" | |
sleep | |
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
def download_course(url) | |
puts "Downloading: #{url}" | |
`youtube-dl --username YOUR_USER_NAME --password YOUR_PASSWORD --sleep-interval 10 #{url} -o '/...PATH_TO_DIRECTORY.../%(playlist)s/%(chapter_number)s. %(chapter)s/%(playlist_index)s. %(title)s.%(ext)s'` | |
end | |
urls = %w{ | |
http://www.pluralsight.com/courses/react-js-getting-started | |
http://www.pluralsight.com/courses/react-fundamentals | |
http://www.pluralsight.com/courses/react-flux-building-applications | |
http://www.pluralsight.com/courses/react-redux-react-router-es6 |
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
[ | |
{ "keys": ["ctrl+p"], "command": "show_overlay", "args": {"overlay": "command_palette"} }, | |
{ "keys": ["ctrl+t"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, | |
{ "keys": ["f12"], "command": "reindent" , "args": { "single_line": false } }, | |
{ "keys": ["ctrl+shift+."], "command": "erb" } | |
] |
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
{ | |
// Colors | |
"color_scheme": "Packages/RailsCasts Colour Scheme/RailsCastsColorScheme.tmTheme", | |
"theme": "Soda Light 3.sublime-theme", | |
// Font | |
"font_size": 11, | |
"font_options": ["no_round"], |
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
* Downloaded or downloading | |
============================= | |
**http://kickass.to/infiniteskills-learning-jquery-mobile-working-files-t7967156.html | |
**http://kickass.to/lynda-bootstrap-3-advanced-web-development-2013-eng-t8167587.html | |
**http://kickass.to/lynda-css-advanced-typographic-techniques-t7928210.html | |
**http://kickass.to/lynda-html5-projects-interactive-charts-2013-eng-t8167670.html | |
**http://kickass.to/vtc-html5-css3-responsive-web-design-course-t7922533.html | |
*http://kickass.to/10gen-m101js-mongodb-for-node-js-developers-2013-eng-t8165205.html | |
*http://kickass.to/cbt-nuggets-amazon-web-services-aws-foundations-t7839734.html |
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
Titanium.UI.setBackgroundColor('#000'); | |
var win = Titanium.UI.createWindow({ | |
title : 'Test', | |
backgroundColor : '#000', | |
fullscreen : false, | |
exitOnClose : true | |
}); | |
var cb = function(data) { | |
var blob = data.media; | |
Ti.API.info(blob); |