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
@echo off | |
NET FILE 1>NUL 2>NUL | |
if '%errorlevel%' == '0' ( goto gotPrivileges | |
) | |
echo "Run this script as Administrator | |
pause | |
exit /b | |
:gotPrivileges |
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
#!/bin/sh | |
# Start JBoss Dev Studio with gtk2 | |
# based on https://developer.jboss.org/thread/269489 | |
SWT_GTK3=0 $(dirname "$0")/studio/jbdevstudio |
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
worker_processes 1; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
include mime.types; | |
default_type application/octet-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
extension=php_bz2.dll | |
extension=php_curl.dll | |
extension=php_fileinfo.dll | |
;extension=php_ftp.dll | |
extension=php_gd2.dll | |
extension=php_gettext.dll | |
;extension=php_gmp.dll | |
extension=php_intl.dll | |
extension=php_imap.dll | |
;extension=php_interbase.dll |
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, cut, copy, paste | |
select v+arrow | |
select line yy or Y | |
cut d | |
copy y | |
paste p | |
delete d | |
delete line dd or D | |
# undo redo |
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
# load http://<ip/host>:8080/jasperserver/ as /jasperserver/ | |
LoadModule proxy_module modules/mod_proxy.so | |
LoadModule proxy_http_module modules/mod_proxy_http.so | |
ProxyRequests Off | |
ProxyPreserveHost On | |
<Proxy *> | |
Order deny,allow |
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
# Fedora LVM shrink /home for root partition | |
df -h | |
lvdisplay /dev/fedora/home /dev/fedora/root | |
lvresize -L -100G /dev/fedora/home # broken after restart, maybe using -r option, lvresize -r -L -100G /dev/fedora/home | |
lvresize -r -L +100G /dev/fedora/root | |
lvdisplay /dev/fedora/home /dev/fedora/root | |
df -h |
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
[client] | |
password=your_pass |
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
# | |
# enable proxy and proxy http first, ubuntu using a2enmod proxy_http | |
# open with http://server_host/attached_app/ | |
ProxyRequests Off | |
ProxyPreserveHost On | |
<Proxy *> | |
Order deny,allow | |
Deny from all |
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 CONCAT (tempatLahir, ', ', DATE_FORMAT(tglLahir, '%d-%m-%Y')) as ttl FROM tbl; |