@http.post('/api', params)
.then (result) =>
@doSomething()
.catch ( err ) =>
@reportError(err)
this.http.post('/api/', params).then((function(_this) {
return function(result) {
@http.post('/api', params)
.then (result) =>
@doSomething()
.catch ( err ) =>
@reportError(err)
this.http.post('/api/', params).then((function(_this) {
return function(result) {
Burnett: So what I'm asking is that we compensate you for a few hours of your time that will help change people's lives. | |
John J. Rambo: Are you bringing any weapons? | |
Burnett: Of course not. | |
John J. Rambo: You're not changing anything. | |
Burnett: Well, it's thinking like that that keeps the world the way it is. | |
John J. Rambo: [walking away] Fuck the world. | |
http://www.imdb.com/title/tt0462499/quotes |
- http://www.cheatography.com/proloser/cheat-sheets/angularjs/#! | |
- https://github.com/angular/angular.js/wiki/JsFiddle-Examples | |
- http://nathanleclaire.com/blog/2013/12/13/how-to-unit-test-controllers-in-angularjs-without-setting-your-hair-on-fire/ | |
- https://docs.google.com/presentation/d/1IRHyU7_crIiCjl0Gvue0WY3eY_eYvFQvSfwQouW9368/edit | |
- https://coderwall.com/p/1u9khw | |
- https://coderwall.com/p/y0zkiw | |
- https://gist.github.com/fnakstad/6033015/ | |
- http://stackoverflow.com/questions/11972026/delaying-angularjs-route-change-until-model-loaded-to-prevent-flicker |
{ | |
// Colors | |
"theme": "Spacegray.sublime-theme", | |
"color_scheme": "Packages/Theme - Spacegray/base16-ocean.dark.tmTheme", | |
// Font | |
"font_face": "Menlo", | |
"font_size": 13.0, | |
"font_options": ["subpixel_antialias", "no_bold"], | |
"line_padding_bottom": 0, |
{ | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
"fade_fold_buttons": false, | |
"highlight_line": true, | |
"ignored_packages": | |
[ | |
"Vintage", | |
"AAAPackageDev", |
#pragma rtGlobals=1 // Use modern global access method. | |
Function UserOutAndTrigger() | |
//UserOutAndTrigger function is automatically called right before an image is started | |
Variable pulseWidth = 10/50000 //in seconds min is 1/50000, max is slightly over 1.7 secs | |
Variable pulseHeight = 5 //in Voltage min -10 max 10 | |
#pragma rtGlobals=1 // Use modern global access method. | |
function AttoTask(s) | |
STRUCT WMBackgroundStruct &s | |
attocubegetdata(100,20000) | |
end | |
function StartTestTask() | |
CtrlNamedBackground Atto,proc=AttoTask |
#pragma pack(2) // All Igor structures are two-byte-aligned. | |
struct NameToWaveParams { | |
Handle nameH; // Name of wave in the current data folder. | |
waveHndl result; | |
}; | |
typedef struct NameToWaveParams NameToWaveParams; | |
#pragma pack() // Reset structure alignment. | |
extern "C" int | |
NameToWave(NameToWaveParams* p) |