- Text Content Generator - http://www.lipsum.com
- Favicon Generator - http://tools.dynamicdrive.com/favicon
- Data Generator - https://mockaroo.com/
- Mobile Mockup Generator - https://mockuphone.com
- Logo Generator - https://www.logaster.com
- UUID Generator - https://www.uuidgenerator.net/
- Hash Generator - https://passwordsgenerator.net/sha256-hash-generator/
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
package com.company; | |
public class Room { | |
Floor floor; | |
RoomType roomType; | |
int roomNumber; | |
String guest = "EMPTY"; | |
boolean isSmoking; |
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
/usr/bin/cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" /tmp/test_cross_compile | |
-- The C compiler identification is GNU 8.3.0 | |
-- Check for working C compiler: /usr/bin/cc | |
-- Check for working C compiler: /usr/bin/cc -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Configuring done | |
-- Generating done |
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
select task0_.id as taskId, | |
task0_.color as taskColor, | |
task0_.created as created, | |
task0_.is_done as isDone, | |
task0_.task_id as subTask_id, | |
task0_.user_id as user_id | |
from task task0_ | |
where task0_.user_id=1 and (task0_.task_id is null) | |
group by task0_.id | |
order by task0_.id asc; |
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
List<TaskResponse> responseList = new ArrayList<>(); | |
List<Task> mainContentList = taskRepo.findAllByUserAndSubTaskNullOrderByIdAsc(currentUser); | |
for (Task task: mainContentList) { | |
responseList.add(new TaskResponse( | |
task.getId(), | |
task.getName(), | |
task.getColor(), | |
task.getImageUrl(), | |
task.getCreated(), | |
task.getExpiredDate(), |
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
@PostMapping(value = "image") | |
public void addImage(@RequestParam("file") MultipartFile file, | |
@RequestBody Workers workers) { | |
workers.setPhotoFile(utilService.createFileName(file)); | |
workersRepo.save(workers); | |
} |
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
@PostMapping(value = "image") | |
public void addImage(@RequestParam("file") MultipartFile file, | |
@RequestParam("firstName") String firstName, | |
@RequestParam("lastName") String lastName, | |
@RequestParam("unit") String unit, | |
@RequestParam("job") String job) { | |
Workers workers = new Workers(); | |
workers.setPhotoFile(utilService.createFileName(file)); | |
workers.setFirstName(firstName); | |
workers.setLastName(lastName); |
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
<script> | |
export default { | |
name: "main", | |
data() { | |
return { | |
test: [], | |
testJSPlaceHolder: [], | |
errors: [] | |
} | |
}, |
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
/*! | |
* Honcho | |
* | |
* Multiple PLC Manager | |
* | |
*/ | |
/** | |
* Module dependencies | |
*/ |
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
var bearsApi = Vue.resource('/blog/bears/'); | |
function findIndex(id, bears) { | |
let i = 0; | |
bears.forEach(function (element) { | |
if (element.id === id) { | |
console.log(i); | |
return i; | |
} |
NewerOlder