tech.xster.net
JavaScript - xster.net - Never relearn twice
http://tech.xster.net/tag/javascript
Call jQuery Functions from Dart. The standard documentation for Dart and JavaScript interoperability. Isn’t great. It refers to the ‘dart:js’ library which although works is a bit verbose to get things done. For instance, to call a jQuery function, you would need. Import 'dart:js'; . context.callMethod(r'$', ['.some.class.selector']).callMethod('someFunction'); . The dart team has since then released the js package. With which you can simply call. Validate and Format Addresses using Google API. Here̵...
tech.xster.net
zsh - xster.net - Never relearn twice
http://tech.xster.net/tag/zsh
Moving Between Directory History in Fish Shell. Finally a shell whose config doesn’t look like a Perl hack. Too bad it doesn’t get much publicity. Here’s an awesome feature. In zsh. I’d be used to doing stuff like. Dirs -v cd -2. To move between previous directories. In fish, there’s a cd – to move to the previous history but much more powerfully, you can just do alt-left/right arrow. To move through your entire directory history without typing anything. How to Unpause Applications in Mac OS X.
tech.xster.net
reduce - xster.net - Never relearn twice
http://tech.xster.net/tag/reduce
Functional Programming Example in Dart. For a quick reference. At the time of writing (Feb 2014), the top results from a Google search on ‘Dart functional programming’ or ‘Dart list comprehension’ don’t immediately yield clear examples. That’s crazy given that Dart is such a boss language. So here’s an example:. Double all values List myList = [1, 2, 3, 4]; List doubledList = myList.map( x) = x * 2);. You can do the standard map, reduce, filter on Iterables. In Python would look like:. 1313 views per day.
tech.xster.net
shell - xster.net - Never relearn twice
http://tech.xster.net/tag/shell
Moving Between Directory History in Fish Shell. Finally a shell whose config doesn’t look like a Perl hack. Too bad it doesn’t get much publicity. Here’s an awesome feature. In zsh. I’d be used to doing stuff like. Dirs -v cd -2. To move between previous directories. In fish, there’s a cd – to move to the previous history but much more powerfully, you can just do alt-left/right arrow. To move through your entire directory history without typing anything. Remove Title Bar on Android Application.
tech.xster.net
Iterating Python Lists 2 by 2 - xster.net - Never relearn twice
http://tech.xster.net/thoughts/iterating-python-lists-2-by-2
Iterating Python Lists 2 by 2. Not necessarily the most superior way performance/Pythonicity wise but it’s simple to remember and short:. Pairs: # do stuff. Pair will be (1, 2), (3, 4) etc. The 2 list slices turn the original into odd/even sets and zip merges them. Logitech Performance MX Review. Qt with C or Python Tutorial. Posted by Xiao Yu. Creating PySide QPixMap from PIL Image. Functional Programming Example in Dart. Logitech Performance MX Review. Qt with C or Python Tutorial. 1313 views per day.
tech.xster.net
Call jQuery Functions from Dart - xster.net - Never relearn twice
http://tech.xster.net/tips/call-jquery-functions-from-dart
Call jQuery Functions from Dart. The standard documentation for Dart and JavaScript interoperability. Isn’t great. It refers to the ‘dart:js’ library which although works is a bit verbose to get things done. For instance, to call a jQuery function, you would need. Import 'dart:js'; . context.callMethod(r'$', ['.some.class.selector']).callMethod('someFunction'); . The dart team has since then released the js package. With which you can simply call. Functional Programming Example in Dart. Posted by Xiao Yu.
tech.xster.net
Dart - xster.net - Never relearn twice
http://tech.xster.net/tag/dart
Call jQuery Functions from Dart. The standard documentation for Dart and JavaScript interoperability. Isn’t great. It refers to the ‘dart:js’ library which although works is a bit verbose to get things done. For instance, to call a jQuery function, you would need. Import 'dart:js'; . context.callMethod(r'$', ['.some.class.selector']).callMethod('someFunction'); . The dart team has since then released the js package. With which you can simply call. Functional Programming Example in Dart. 1313 views per day.
tech.xster.net
jQuery - xster.net - Never relearn twice
http://tech.xster.net/tag/jquery
Call jQuery Functions from Dart. The standard documentation for Dart and JavaScript interoperability. Isn’t great. It refers to the ‘dart:js’ library which although works is a bit verbose to get things done. For instance, to call a jQuery function, you would need. Import 'dart:js'; . context.callMethod(r'$', ['.some.class.selector']).callMethod('someFunction'); . The dart team has since then released the js package. With which you can simply call. Validate and Format Addresses using Google API.
tech.xster.net
filter - xster.net - Never relearn twice
http://tech.xster.net/tag/filter
Functional Programming Example in Dart. For a quick reference. At the time of writing (Feb 2014), the top results from a Google search on ‘Dart functional programming’ or ‘Dart list comprehension’ don’t immediately yield clear examples. That’s crazy given that Dart is such a boss language. So here’s an example:. Double all values List myList = [1, 2, 3, 4]; List doubledList = myList.map( x) = x * 2);. You can do the standard map, reduce, filter on Iterables. In Python would look like:. 1313 views per day.
tech.xster.net
Moving Between Directory History in Fish Shell - xster.net - Never relearn twice
http://tech.xster.net/tips/moving-between-directory-history-in-fish-shell
Moving Between Directory History in Fish Shell. Finally a shell whose config doesn’t look like a Perl hack. Too bad it doesn’t get much publicity. Here’s an awesome feature. In zsh. I’d be used to doing stuff like. Dirs -v cd -2. To move between previous directories. In fish, there’s a cd – to move to the previous history but much more powerfully, you can just do alt-left/right arrow. To move through your entire directory history without typing anything. Open Current Terminal Directory in Finder.