본문 바로가기

내블로그

검색하기
내블로그
프로필사진 잡동사니보관

  • 분류 전체보기 (24)
    • 리눅스 (9)
    • 프로그래밍 (4)
      • Perl (3)
      • Java (0)
      • SpringBoot (0)
      • PHP (1)
    • DataBase (9)
      • PostgreSQL (1)
      • Oracle (0)
      • MySQL&MariaDB (8)
    • OpenWRT (1)
    • 인증서 (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
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
Tags
  • zabbix
  • CentOS7
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록프로그래밍 (4)

내블로그

모바일 브라우저 체크(PHP, JavaScript)

#PHP $isMobile = 0; if (preg_match("/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i", $_SERVER['HTTP_USER_AGENT'])) { $isMobile = 1; } #JavaScript var isMobile = { Android: function() { return navigator.userAgent.match(/Android/i); }, BlackBerry: function() { return navigator.userAgent.match(/BlackBerry/i); }, iOS: function() { return navigator.userAgent.match(/iPhone|iPad|iPod/i); },..

프로그래밍/PHP 2020. 3. 9. 13:43
파일 수정시간

use File::stat; $timestamp = stat(파일명)->mtime;

프로그래밍/Perl 2019. 10. 8. 10:53
Timer

#!/usr/bin/perluse strict;use warnings;use Time::HiRes qw(ITIMER_REAL setitimer); $SIG{ALRM} = sub {};setitimer(ITIMER_REAL, 0.1, 3);while (1) { sleep ; print time()." : Main Loop\n";}

프로그래밍/Perl 2017. 4. 12. 13:49
perl MCPAN

perl -MCPAN -e 'command'

프로그래밍/Perl 2012. 2. 28. 14:27
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바