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
# draft, needs to be tested | |
# homebrew + caskroom | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew install caskroom/cask/brew-cask | |
# emacs | |
brew install emacs | |
# clojure |
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
;; proxy settings | |
;;(setq url-proxy-services '(("no_proxy" . "work\\.com") | |
;; ("http" . "proxy:8080"))) | |
(add-to-list 'exec-path "/usr/local/bin") | |
(custom-set-variables | |
;; custom-set-variables was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. |
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/bash | |
# A script I use to update all my wordpress sites at once. | |
# | |
# # e*f*m.ru | |
# n******-o*****.ru | |
# pri*.ru | |
# s*-l.ru | |
# | |
# TODO: add database back up |
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 java.util.Collections; | |
import java.util.Map; | |
import java.util.Properties; | |
import javax.sql.DataSource; | |
import org.apache.commons.dbcp.BasicDataSourceFactory; | |
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate; | |
public class Main { |
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
<!-- Delegate execution to PDE/Build via ant --> | |
<plugin> | |
<artifactId>maven-antrun-plugin</artifactId> | |
<version>1.7</version> | |
<executions> | |
<execution> | |
<phase>compile</phase> | |
<configuration> | |
<target> | |
<ant antfile="${pdebuild.antDelegateBuildfile}"> |