일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- 코딩
- 디스트 용량
- 공차 슈가크럼블
- 1일1알고리즘
- 라라벨
- df -h
- 존맛
- postman오류
- 알고리즘문제
- 공차 주문하는법
- 스타벅스
- 419 Page Expired
- 솔직후기
- PHP문법
- laravel
- php implode
- 세션저장
- 라라벨문법
- 프로그래밍
- 남은용량 확인
- 맛집
- 알고리즘
- php join 함수
- 해커랭크
- 배열
- Post Method
- php
- 신메뉴
- 공차 추천메뉴
- 스벅 여름
- Today
- Total
목록코딩 (4)
야근안하기 위한 개린이 블로그
[PHP문법] array_push 배열에 값넣기 배열의 끝에 하나 이상의 원소를 넣는것. function arr(){ $arr = array(); array_push($arr, 1, 2, 3, 4); return $arr // [1,2,3,4] }
1. sql데이터 타입도 datetime인대 포맷이 안된다. 2. 또는 커스텀한 쿼리 안에 생성자가 date타입 인대 포맷이 필요할 때. 1번 라라벨은 기본적으로 엘로퀀트에 created_at과 updated_at을 가지고 있다. 만약 추가적으로 date를 추가하고 싶다면 아래와 같이 모델에 추가를 해주면 carbon클래스의 인스턴스로 변환해준다. class User extends Model { /** * The attributes that should be mutated to dates. * * @var array */ protected $dates = [ 'deleted_at', ]; } 만약 date를 사용하고 싶지 않다면 아래와 같이 타임스탬프 속성은 false로 바꿔주면 된다. class tab..
[1일1알고리즘] 3일 차 배열 안에 값 모두 더하기 Given an array of integers, find the sum of its elements. For example, if the array,, so return. Function Description Complete thesimpleArraySumfunction in the editor below. It must return the sum of the array elements as an integer. simpleArraySum has the following parameter(s): ar: an array of integers Input Format The first line contains an integer, , denoting th..
코딩 연습 다양한 언어를 컴파일 해 볼수 있는 사이트 http://codepad.org/ 알고리즘 연습 백준: https://www.acmicpc.net/ 한국어로 되어있고 가장 많이 사용하는것 같음. 단계별 문제도 풀수 있고 문제유형도 다양해서 좋음정올: http://www.jungol.co.kr/프로그래머스: https://programmers.co.kr/코딩도장: http://codingdojang.com/오일러 프로젝트: http://euler.synap.co.kr/삼성- SW Expert Academy: https://swexpertacademy.com/main/main.doCodeGround: https://www.codeground.org/구름 edu: https://edu.goorm.io/..