데비안 계열 중 우분투 서버
여기서 접근하는 모든 디렉토리는 권한이 있어야함.
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
const reduce = (f) => (acc, iter) => { | |
if (!iter) acc = (iter = acc[Symbol.iterator]()).next().value; | |
for (const a of iter) acc = f(acc, a); | |
return acc; | |
} | |
const go = (arg, ...fs) => reduce((arg, f) => f(arg))(arg, fs); | |
const Pair = (left, right) => (destructurePair) => destructurePair(left, right); |
댕글링 포인터란 이미 해제된 메모리를 가리키고 있는 포인터를 뜻한다.
#include <stdio.h>
int main() {
int *p = (int*)malloc(sizeof(int));
free(p); // p는 댕글링 포인터
p = 1; // 이미 해제했기 때문에 에러가 발생
}
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
import UIKit | |
import RxSwift | |
import RxAlamofire | |
import ObjectMapper | |
class Post: Mappable { | |
var id: Int = 0 | |
var title: String = "" | |
required init?(_ map: Map) { |
- https://github.com/kciter/awesome-style-guide // 스타일 가이드
- https://github.com/getify/You-Dont-Know-JS // 자바스크립트 팁
- https://github.com/you-dont-need/You-Dont-Need-Javascript // CSS만으로 프론트엔드 작성
- https://github.com/una/YouMightNotNeedJS // CSS만으로 프론트엔드 작성
- https://github.com/sorrycc/awesome-javascript // 자바스크립트 관련 라이브러리, 문서
- https://github.com/enaqx/awesome-react // 리엑트 관련 라이브러리, 문서
- https://github.com/brillout/awesome-react-components // 리엑트 컴포넌트 라이브러리
- https://github.com/loverajoel/jstips // 자바스크립트 팁
- https://github.com/nhnent/fe.javascript // 자바스크립트 팁
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
import gulp from 'gulp'; | |
import sass from 'gulp-sass'; | |
import autoprefixer from 'gulp-autoprefixer'; | |
import sourcemaps from 'gulp-sourcemaps'; | |
import uglify from 'gulp-uglify'; | |
import rename from 'gulp-rename'; | |
import cleanCSS from 'gulp-clean-css'; | |
import browserify from 'browserify'; | |
import babelify from 'babelify'; | |
import source from 'vinyl-source-stream'; |
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
'use strict'; | |
var gulp = require('gulp'), | |
gutil = require('gulp-util'), | |
rename = require('gulp-rename'), | |
glob = require('glob'), | |
sass = require('gulp-sass'), | |
cleanCSS = require('gulp-clean-css'), | |
babelify = require('babelify'), | |
browserify = require('browserify'), |
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
/** | |
* Definition for singly-linked list. | |
* struct ListNode { | |
* int val; | |
* ListNode *next; | |
* ListNode(int x) : val(x), next(NULL) {} | |
* }; | |
*/ | |
#include <map> |
NewerOlder