Lots of commands available for keybindings in Sublime Merge. Not a comprehensive list, but a decent start.
- exit_blame
- exit_tree_mode
- toggle_search
- hide_command_status
- hide_overlay
| rem to disable private dns | |
| adb shell settings put global private_dns_mode off | |
| rem to enable private dns with hostname (example with dns.adguard.com) | |
| adb shell settings put global private_dns_mode hostname | |
| adb shell settings put global private_dns_specifier dns.adguard.com |
This is a proposal for a ⚡lightning talk at the Reactive 2017 conference.
🌟 Please star it so we can make it to the top 10 and be choosen to make it.
1 year ago our design team came with the idea of redesigning our frontend... We decided to do it with React. One year later and some millions of satisfied users it's time to share the amazing and hard lessons we have learned. Some of those lessons are about:
| #!/bin/bash | |
| for f in *.mp4; do | |
| duration=$(ffmpeg -i "$f" 2>&1 | grep "Duration"| cut -d ' ' -f 4 | sed s/,//) | |
| length=$(echo "$duration" | awk '{ split($1, A, ":"); print 3600*A[1] + 60*A[2] + A[3] }' ) | |
| trim_start=0 | |
| trim_end=$(echo "$length" - 18 - "$trim_start" | bc) | |
| ffmpeg -ss "$trim_start" -i "$f" -c copy -map 0 -t "$trim_end" "${f%.mp4}-trimmed.mp4" | |
| done |
This is how I configured the deploy of my rails apps to AWS Elastic Beanstalk through CircleCI 1.0.
If you are using the Circle CI 2.0, take a look at this article from ryansimms
On Project Settings > Environment Variables add this keys:
| # General ENV stuff used for all environments (brands) | |
| WORKSPACE=YouApp.xcworkspace |
| *.strings utf16 diff=localizablestrings |
| it('create with 2 items', function () { | |
| item.set({ | |
| title: "The cloud atlas", | |
| author: "David Mitchell" | |
| }); | |
| item.save(); | |
| item.set({ | |
| title: "Design of design", | |
| author: "Brooks" |
UPDATE: With the assets command of the TiCons CLI / Module this can be done even simpeler by calling $ ticons assets or an alloy.ymk using:
task("pre:load", function(event, logger) {
require('ticons').assets();
});
If you have a CommonJS module that exposes properties that are expensive to create (e.g. other CommonJS modules or some external resource), you can load them lazy using Object.defineProperty().