Commit Graph

299 Commits

Author SHA1 Message Date
2559f7b69e Add command to gist something
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2015-06-08 16:08:54 +02:00
1ef3690fbc Install apps when reinstalling OS.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2015-06-08 16:07:57 +02:00
Jacob Kiers
2cdb12a071 Remove includes/bash_ssh.bash
The automatic SSH agent functionality did not work correctly. Therefore,
it is removed.

Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-05-12 12:09:35 +02:00
Jacob Kiers
116fcc44c4 Use new update script for dotfiles
This script will also install composer, set up the git hooks and install
some global dependencies.

Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-05-12 12:08:20 +02:00
Jacob Kiers
ebddd9bb7f Add git pre-commit hook
The pre-commit hook will lint-check the added PHP files and also check
their CS.

Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-05-12 12:07:08 +02:00
Jacob Kiers
38a0a2fa3d Update jq
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-05-12 11:59:36 +02:00
b21c4e4d12 Add some more gitconfig shortcuts
These just make some things a little easier when a repository is
directly cloned.

Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2015-04-10 13:53:10 +00:00
3cbff4da78 Improve setup-server
The order of parameters is now changed to make it easier when deploying
to a lot of servers.

Also, it introduces the concept of a friendly name, which is useful when
DNS is not available for a specific host. Instead of being forced to
have the alias be the same as the IP address, it can now be named.

Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2015-04-10 13:51:06 +00:00
Jacob Kiers
1415dec58b Add SSH Agent startup.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-04-07 11:38:01 +02:00
Jacob Kiers
9a9d1beb88 Make sure server exists in ~/.ssh/config
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-02-02 15:44:56 +01:00
Jacob Kiers
b3e4231ae0 Change order of $PATH
First use ./vendor/bin, then $COMPOSER_HOME/vendor/bin and only then
$HOME/dotfiles/bin, so that local commands are executed first.

Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-01-27 12:27:49 +01:00
Jacob Kiers
79074be926 Improve bin/xdebug to use command from path.
It uses the `which` command to find the command that you actually want
to run, and runs that.

This makes it possible to run any php binary (like phpunit or phing)
with xdebug.

Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-01-27 12:25:03 +01:00
Jacob Kiers
ba33a48144 Update composer to the latest version.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-01-27 12:24:34 +01:00
Jacob Kiers
882d2087cc Add alias 'gitclean'
It removes all branches that are already merged into the master branch.

Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-01-27 12:23:55 +01:00
Jacob Kiers
5c5efbe77d Added script to setup environment on a new server.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-01-14 18:21:04 +01:00
Jacob Kiers
9eaea22b9f Add <pwd>/vendor/bin to $PATH.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-01-14 15:47:39 +01:00
Jacob Kiers
f3c4c0275a Add XDebug launcher.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-01-14 15:42:43 +01:00
Jacob Kiers
bb4576886d Update composer to latest version.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2015-01-14 15:42:22 +01:00
Jacob Kiers
0e4fd52450 Fix the clone URL for installation.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-12-23 11:24:55 +01:00
eb61134f29 First make sure that a battery is present.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-09-25 10:07:51 +02:00
e194d43baa Update composer to the latest version.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-09-25 09:59:37 +02:00
1aa504dda8 Add script to test a git sequence of commits.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-09-25 09:59:19 +02:00
43585e1519 Add script to show battery status.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-09-25 09:58:48 +02:00
5da5ecef49 Ignore the Atlassian configs by default.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-09-25 09:57:54 +02:00
2c4229696e Add the Go language on OS X.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-09-25 09:57:20 +02:00
bdc6a5856b Add global composer vendors to bin path.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-09-25 09:56:55 +02:00
56a65c36c5 Improve aliases and autocompletion.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-09-25 09:55:13 +02:00
5e9e061e4f Make sure the repo is clean before releasing.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-09-25 09:47:21 +02:00
8e3b0a28e9 Update composer.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-06-25 18:11:25 +02:00
fd237f2e62 Fix terminal title for paths with spaces.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-06-25 18:10:54 +02:00
fb10240506 Split off bash completion.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-06-25 18:10:23 +02:00
646138bb6b Use local jq if available on Mac.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-06-25 18:09:27 +02:00
Jacob Kiers
f91e0e90ab Changed git shortcuts.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-05-13 13:41:37 +02:00
Jacob Kiers
e534a8de0e Automatically autocorrect misspelled git commands. 2014-05-08 11:52:48 +02:00
Jacob Kiers
b36abc6f30 Add jq for linux.
jq is a JSON parser. It is used by the release script.

Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-05-08 08:36:08 +02:00
Jacob Kiers
8358cb6759 git: Change push.default to upstream.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-05-08 08:35:56 +02:00
Jacob Kiers
bfa37857c6 Added bin/wav2alaw
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-05-07 07:53:02 +02:00
Jacob Kiers
3d9e4513a3 Force vim in foreground mode when using git.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-05-06 21:35:45 +02:00
Jacob Kiers
7d4c9b54e7 bin/release: also check git tags for current version.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-05-05 16:16:51 +02:00
Jacob Kiers
cfd3316811 Automatically prune when fetching.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-05-05 16:15:49 +02:00
Jacob Kiers
604b094cea Force a default path, and prepend the rest.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-05-03 00:45:04 +02:00
ae3b45b0ab Update paths.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-04-30 14:19:29 +02:00
Jacob Kiers
bba2f8edac Remove aliases and functions that I don't use.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-04-30 11:09:05 +02:00
Jacob Kiers
035dad86c6 Update username for github and bitbucket.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-04-30 11:08:49 +02:00
Jacob Kiers
4ec08fcd76 Update all bin-scripts to include a description.
The description will always be on the third line.

Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-04-30 11:06:35 +02:00
Jacob Kiers
4fc8d0f296 Remove all stuff that I won't use.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-04-30 11:04:52 +02:00
Jacob Kiers
2596046140 Also add homebrew sbin and texbin to path.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-04-17 21:53:30 +02:00
Jacob Kiers
9af37b3d9f Update composer.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-04-17 21:53:09 +02:00
Jacob Kiers
921f2f5f4b Use spaces instead of tabs in gitconfig.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-03-07 10:48:10 +01:00
Jacob Kiers
73413fd74a Use the editor for opening the changelog.
Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
2014-03-07 10:48:10 +01:00