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
# Install required packages in CentOS 6 | |
# This should be run as root | |
yum install gcc make zlib zlib-devel readline-devel openssl-devel git | |
# Install rbenv | |
# This should be run as a non-root user | |
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile | |
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile | |
source ~/.bash_profile |
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
createuser -P dbadmin | |
createuser -P dbuser | |
createdb -O dbadmin db |
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
11:00:58.899 [INFO] [org.gradle.BuildLogger] Starting Build | |
11:00:58.906 [DEBUG] [org.gradle.BuildLogger] Gradle user home: /Users/ealden/.gradle | |
11:00:58.907 [DEBUG] [org.gradle.BuildLogger] Current dir: /Users/ealden/code/springsource/spring-android-samples/spring-android-showcase/client | |
11:00:58.907 [DEBUG] [org.gradle.BuildLogger] Settings file: null | |
11:00:58.908 [DEBUG] [org.gradle.BuildLogger] Build file: null | |
11:00:58.910 [DEBUG] [org.gradle.BuildLogger] Select default project: with project directory '/Users/ealden/code/springsource/spring-android-samples/spring-android-showcase/client' | |
11:00:58.920 [DEBUG] [org.gradle.initialization.BuildSourceBuilder] Starting to build the build sources. | |
11:00:58.921 [DEBUG] [org.gradle.initialization.BuildSourceBuilder] Gradle source dir does not exist. We leave. | |
11:00:58.923 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found env project properties: [] | |
11:00:58.923 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found system pr |
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
(let ((buffer (url-retrieve-synchronously | |
"https://raw.github.com/gist/1526242/2cefe97bfb0e60d475f158c6c114193c88b7e08c/package-install.el"))) | |
(save-excursion | |
(set-buffer buffer) | |
(goto-char (point-min)) | |
(re-search-forward "^$" nil 'move) | |
(eval-region (point) (point-max)) | |
(kill-buffer (current-buffer)))) |
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
find . -depth -print0 | cpio --null --sparse -pvd /mnt/new_partition |
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
aptitude install zlib1g-dev openssl libopenssl-ruby1.9.1 libssl-dev libruby1.9.1 libreadline-dev |
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
aptitude install libfontconfig libxext6 |
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
diff --git a/src/nsterm.m b/src/nsterm.m | |
--- a/src/nsterm.m | |
+++ b/src/nsterm.m | |
@@ -5507,6 +5507,7 @@ ns_term_shutdown (int sig) | |
[win setAcceptsMouseMovedEvents: YES]; | |
[win setDelegate: self]; | |
[win useOptimizedDrawing: YES]; | |
+ [win setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary]; | |
sz.width = FRAME_COLUMN_WIDTH (f); |
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
public void handleError(ClientHttpResponse response) throws IOException { | |
HttpStatus statusCode = response.getStatusCode(); | |
byte[] body = getResponseBody(response); | |
if ((statusCode.series() == CLIENT_ERROR) && (body.length == 0)) { | |
super.handleError(response); | |
} | |
} |
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 s.inst_id, | |
s.sid, | |
s.serial#, | |
p.spid, | |
s.username, | |
s.program | |
FROM gv$session s | |
JOIN gv$process p ON p.addr = s.paddr AND p.inst_id = s.inst_id | |
WHERE s.type != 'BACKGROUND'; |
OlderNewer