This file contains hidden or 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
taskkill /f /im nPStarterSVC.exe | |
taskkill /f /im npnj5Agent.exe | |
taskkill /f /im npmonz.exe | |
taskkill /f /im CKAgent.exe | |
taskkill /f /im I3GEX.exe | |
taskkill /f /im npenkMain5.npn | |
taskkill /f /im npkcmsvc.exe | |
taskkill /f /im npenksvc5.exe | |
sc config nPStarterSVC start= disabled | |
sc config npkcsvc start= disabled |
This file contains hidden or 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
#-*- coding: utf-8 -*- | |
import os | |
import os.path | |
import shutil | |
for dirpath, dirnames, filenames in os.walk('.'): | |
for filename in filenames: | |
if filename == "extract.py" or filename.startswith('.'): | |
continue |
This file contains hidden or 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
<?php | |
if( $_POST["key"] ){ | |
var_dump($_POST["key"]); | |
header("Location: " . $_SERVER['REQUEST_URI']); | |
exit(); | |
} | |
?> | |
<form method="post" action=""> |
This file contains hidden or 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 gulp = require('gulp'); | |
var minifycss = require('gulp-minify-css'); | |
var concat = require('gulp-concat'); | |
var rename = require('gulp-rename'); | |
var uglify = require('gulp-uglify'); | |
gulp.task('css-compress', function(){ | |
gulp.src( | |
[ | |
'assets/stylesheets/vendor/colorbox.css', |
This file contains hidden or 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
for file in /vagrant/*.conf; do sudo ln -s $file $(basename $file); done | |
for file in ../sites-available/*.conf; do sudo ln -s $file $(basename $file); done |
This file contains hidden or 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
@echo off | |
@echo "### Dynamic(DHCP) IP 설정 중.." | |
netsh -c int ip set address name="유선" source=dhcp | |
@echo "### Auto DNS 설정 중.." | |
netsh -c int ip set dns name="유선" source=dhcp register=PRIMARY |
This file contains hidden or 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
# .bashrc | |
# User specific aliases and functions | |
alias rm='rm -i' | |
alias cp='cp -i' | |
alias mv='mv -i' | |
alias vi='vim' | |
SVN_EDITOR="vim" |
This file contains hidden or 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
0 3 * * * /root/remote_sql_backup.sh >& /root/log_db.log | |
30 3 * * * /root/remote_rawdb_backup.sh >& /root/log_raw.log | |
00 4 * * 0,2,4,6 /root/remote_home_backup.sh >& /root/log_home.log | |
This file contains hidden or 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
#!/bin/bash | |
eval `ssh-agent` | |
keychain id_dsa | |
. /root/.keychain/localhost-sh | |
remote_dir="/backup/mysql_sql_backup" | |
local_dir="/backup/mysql_sql_backup" |
This file contains hidden or 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
#!/bin/bash | |
eval `ssh-agent` | |
keychain id_dsa | |
. /root/.keychain/localhost-sh | |
remote_dir="/backup/mysql_raw_backup/latest_mysql_raw_backup" | |
local_dir="/backup/mysql_raw_backup" |