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
angular | |
.module("stepManager") | |
.factory("stepManagerService", ["$resource", "$q", "$filter", "stepTypeService", "stepValidationService", | |
function ($resource, $q, $filter, stepTypeService, stepValidationService) { | |
"use strict"; | |
var internalResource = $resource("/steps/:id", {id: "@id"}, { | |
"delete": {method: "DELETE", params: {id: "@id"}}, | |
"new": {method: "POST"} | |
}); |
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
// | |
// FILE: dht11.cpp | |
// VERSION: 0.4.1 | |
// PURPOSE: DHT11 Temperature & Humidity Sensor library for Arduino | |
// LICENSE: GPL v3 (http://www.gnu.org/licenses/gpl.html) | |
// | |
// DATASHEET: http://www.micro4you.com/files/sensor/DHT11.pdf | |
// | |
// HISTORY: | |
// George Hadjikyriacou - Original version (??) |
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
char[] inputString = "abcdefghijklmnopqrstuvwxyz ".toCharArray(); | |
char[] row = new char[16]; | |
int inputStringCursor = 0; | |
int rowCursor = 15; | |
row[15] = inputString[inputStringCursor]; | |
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
--old version works | |
<HttpGet> | |
Public Function Find(ByVal planId As Integer, ByVal id As Integer) As StepModel | |
Dim results As StepModel = stepsDAL.GetStep(id) | |
Return results | |
End Function | |
--new version doesn't work | |
<HttpGet> | |
Public Function Find(ByVal planId As Integer, ByVal id As Integer) As StepModel |
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
day | hour | value | |
---|---|---|---|
1 | 1 | 16 | |
1 | 2 | 20 | |
1 | 3 | 0 | |
1 | 4 | 0 | |
1 | 5 | 0 | |
1 | 6 | 2 | |
1 | 7 | 0 | |
1 | 8 | 9 | |
1 | 9 | 25 |
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
day | hour | value | |
---|---|---|---|
1 | 1 | 100 | |
1 | 2 | 100 | |
1 | 3 | 100 | |
1 | 4 | 100 | |
1 | 5 | 0 | |
1 | 6 | 2 | |
1 | 7 | 0 | |
1 | 8 | 9 | |
1 | 9 | 25 |
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 makeTestData(args){ | |
let newObject = {} | |
if(args.type === 'public'){ | |
newObject.public = dosomeThing(); | |
} | |
newObject.name = CreateRandomName(); | |
} |
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
"Beginners .vimrc | |
" v0.1 2012-10-22 Philip Thrasher | |
" | |
" Important things for beginners: | |
" * Start out small... Don't jam your vimrc full of things you're not ready to | |
" immediately use. | |
" * Read other people's vimrc's. | |
" * Use a plugin manager for christ's sake! (I highly recommend vundle) | |
" * Spend time configuring your editor... It's important. Its the tool you | |
" spend 8 hours a day crafting your reputation. |
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
"Beginners .vimrc | |
" v0.1 2012-10-22 Philip Thrasher | |
" | |
" Important things for beginners: | |
" * Start out small... Don't jam your vimrc full of things you're not ready to | |
" immediately use. | |
" * Read other people's vimrc's. | |
" * Use a plugin manager for christ's sake! (I highly recommend vundle) | |
" * Spend time configuring your editor... It's important. Its the tool you | |
" spend 8 hours a day crafting your reputation. |