rwos / gti Goto Github PK
View Code? Open in Web Editor NEWa git launcher :-)
Home Page: http://r-wos.org/hacks/gti
License: Other
a git launcher :-)
Home Page: http://r-wos.org/hacks/gti
License: Other
I just typed gt iadd -p
instead of git add -p
. I have autocorrect enabled so the iadd
would properly go to add
but gt
didn't register. Since GT is a class of cars, maybe we can add another car model and I can add an alias it in my .bashrc
:
http://en.wikipedia.org/wiki/Grand_tourer
alias gt="gti --car gt "
I'm using Git Bash on Windows. I have access to basic bash commands and things like my bash_profile. How would I install this? Essentially gti
is just an alias to run code from the C file, right?
Hey, I just wanted to say everything works fantastically.
Not sure why I even opened this issue.
I'm using gti
on
and it
/bin/emacs
to/bin/vi
It would be very nice for gti push --force
would push the car using The Force.
The Arch Linux link goes to http://aur.archlinux.org/packages.php?ID=62059 which doesn't exist.
Hey, I just wanted to say everything works fantastically.
Not sure why I even opened this issue. Maybe it's just a hinch.
I'm using gti
on
and it
/bin/emacs
to/bin/vi
One particular difference is the sl command, which ignores interrupts to allow for additional user education. Optionally it might be possible to disable this behaviour turning the right command line nobs.
Love this program, always makes me sigh and brings a smile to my face at the same time.
Sadly, I can't add the ppa on Ubuntu 18.10, because it doesn't have a Release file:
$ sudo add-apt-repository ppa:mamantoha/gti
Just a silly git launcher, basically. Inspired by sl.
More info: https://launchpad.net/~mamantoha/+archive/ubuntu/gti
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Hit:1 http://at.archive.ubuntu.com/ubuntu cosmic InRelease
Hit:2 http://at.archive.ubuntu.com/ubuntu cosmic-updates InRelease
Hit:3 http://at.archive.ubuntu.com/ubuntu cosmic-backports InRelease
Hit:4 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu cosmic InRelease
Get:5 http://security.ubuntu.com/ubuntu cosmic-security InRelease [83,2 kB]
Hit:6 http://packages.microsoft.com/repos/vscode stable InRelease
Ign:7 http://ppa.launchpad.net/mamantoha/gti/ubuntu cosmic InRelease
Err:8 http://ppa.launchpad.net/mamantoha/gti/ubuntu cosmic Release
404 Not Found [IP: 91.189.95.83 80]
Get:9 https://mega.nz/linux/MEGAsync/xUbuntu_18.10 ./ InRelease [1.515 B]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/mamantoha/gti/ubuntu cosmic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Hey,
I wonder if it is possible to make bash_completion works ?
Someone already achieve that ?
BTW, I can't stand waiting for the next gti push master
👍 on that project
Thanks !
Hey, I just wanted to say everything works fantastically.
Not sure why I even opened this issue.
I'm using gti
on
and it
/bin/emacs
to/bin/vi
Further improvements were possible for the gti tag
command if it showed the list of available tags as a list of licence plates. The -v flag might add additional decorations, while the -l flag might show tags in large fidget font.
Hello,
I think it would be nice if the git command ran during the car animation, so that once the animation is over the git operation is already over/in progress.
While adding the license for the formula update, I realized that the license file did not get included in the source code, can you include the LICENSE file in the source code so that when the artifact got used in somewhere the license can be cross-referenced. Thanks!
I have a trouble to map the license of the repo, I wonder if we can use simpler licenses that is in https://spdx.org/licenses
Hey, I just wanted to say everything works fantastically. Yet I feel this tool might need some enhancement on command coverage.
Not sure why I even opened this issue. But I think this might be related to the gti fetch
command which is lacking some custom animation.
I'm using gti
on
and it
/bin/emacs
to/bin/vi
(which is a totally valid replacement IMHO)It would be even better if gti fetch
showed an animation where someone is running behind the GTI. If the --all flag is given, he might even fetch it at the end. Without the flag the figure might fetch the GTI at random.
Hey, I just wanted to say everything works fantastically.
Not sure why I even opened this issue.
I'm using gti
on
and it
/bin/emacs
to/bin/vi
1.5.0 fails to build on macOS. See https://bot.brew.sh/job/Homebrew%20Core/17805/
==> FAILED
==> Using the sandbox
/usr/bin/sandbox-exec -f /tmp/homebrew20170309-19779-1f3l91d.sb nice /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew -- /usr/local/Homebrew/Library/Homebrew/build.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gti.rb --build-bottle --verbose
==> Downloading https://github.com/rwos/gti/archive/v1.5.0.tar.gz
Already downloaded: /Users/brew/Library/Caches/Homebrew/gti-1.5.0.tar.gz
==> Verifying gti-1.5.0.tar.gz checksum
tar xzf /Users/brew/Library/Caches/Homebrew/gti-1.5.0.tar.gz
==> make CC=clang CFLAGS=
clang -o gti gti.c
In file included from gti.c:24:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/stdio.h:64:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/sys/cdefs.h:619:49: error: invalid token at start of a preprocessor expression
#if defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE == 1L
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/sys/cdefs.h:625:49: error: invalid token at start of a preprocessor expression
#if defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE == 2L
^
In file included from gti.c:24:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/stdio.h:64:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/sys/cdefs.h:653:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/sys/_posix_availability.h:32:79: error: invalid token at start of a preprocessor expression
#if !defined(_DARWIN_C_SOURCE) && defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 198808L
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/sys/_posix_availability.h:38:79: error: invalid token at start of a preprocessor expression
#if !defined(_DARWIN_C_SOURCE) && defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 199009L
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/sys/_posix_availability.h:44:79: error: invalid token at start of a preprocessor expression
#if !defined(_DARWIN_C_SOURCE) && defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 199209L
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/sys/_posix_availability.h:50:79: error: invalid token at start of a preprocessor expression
#if !defined(_DARWIN_C_SOURCE) && defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 199309L
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/sys/_posix_availability.h:56:79: error: invalid token at start of a preprocessor expression
#if !defined(_DARWIN_C_SOURCE) && defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 199506L
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/sys/_posix_availability.h:62:79: error: invalid token at start of a preprocessor expression
#if !defined(_DARWIN_C_SOURCE) && defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/sys/_posix_availability.h:68:79: error: invalid token at start of a preprocessor expression
#if !defined(_DARWIN_C_SOURCE) && defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200809L
^
In file included from gti.c:24:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/stdio.h:64:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/sys/cdefs.h:678:87: error: invalid token at start of a preprocessor expression
#if !defined(__STDC_WANT_LIB_EXT1__) && !defined(__STRICT_ANSI__) && __DARWIN_C_LEVEL >= __DARWIN_C_FULL
^
In file included from gti.c:24:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/stdio.h:75:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/sys/stdio.h:34:22: error: invalid token at start of a preprocessor expression
#if __DARWIN_C_LEVEL >= 200809L
^
In file included from gti.c:24:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/stdio.h:290:22: error: invalid token at start of a preprocessor expression
#if __DARWIN_C_LEVEL >= 198808L
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/stdio.h:319:22: error: invalid token at start of a preprocessor expression
#if __DARWIN_C_LEVEL >= 199209L
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/stdio.h:338:22: error: invalid token at start of a preprocessor expression
#if __DARWIN_C_LEVEL >= 199506L
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/stdio.h:416:22: error: invalid token at start of a preprocessor expression
#if __DARWIN_C_LEVEL >= 200112L
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/stdio.h:425:22: error: invalid token at start of a preprocessor expression
#if __DARWIN_C_LEVEL >= 200112L || defined(_C99_SOURCE) || defined(__cplusplus)
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/stdio.h:441:22: error: invalid token at start of a preprocessor expression
#if __DARWIN_C_LEVEL >= 200809L
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/stdio.h:456:22: error: invalid token at start of a preprocessor expression
#if __DARWIN_C_LEVEL >= __DARWIN_C_FULL
^
In file included from gti.c:24:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/stdio.h:498:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/secure/_stdio.h:50:22: error: invalid token at start of a preprocessor expression
#if __DARWIN_C_LEVEL >= 200112L
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [gti] Error 1
Hey, I just wanted to say that the Ubuntu PPA seems to have been deleted. I can’t find any related public opened PPA´s by mamantoha https://launchpad.net/~mamantoha/+ppa-packages
Not sure why I even opened this issue, instead of pull requesting a change in the README.md
Oh, yeah because I wasn’t sure if it was known or not.
Would be nice 🙂
Workaround for people encountering this issue:
/etc/apt/sources.list.d/mamantoha-ubuntu-gti-bionic.list
as rootbionic
to artful
apt update
apt install gti
gti pull
And I want an ASCII car so bad!
gcc -o gti -O2 -Wall -Wextra -static gti.c
gti.c: In function ‘main’:
gti.c:31: warning: unused parameter ‘argc’
ld: library not found for -lcrt0.o
collect2: ld returned 1 exit status
make: *** [gti] Error 1
Love the GTI, only problem is on OS X with iTerm2 and oh-my-zsh installed the car runs over the current path being displayed, and clears it. I don't know if this is a feature or a bug, but just gets a little annoying because I can't see where lines end/begin again
The animation goes fine the first third. The last two thirds take atleast 10 seconds.
Used the command "gti" without anything else.
Using it on:
macOS Sierra
Version 10.12
MacBook Pro (Retina, 15-inch, Mid 2015)
Processor 2,2 GHz Intel Core i7
Memory 16 GB 1600 MHz DDR3
Graphics Intel Iris Pro 1536 MB
iTerm2
zsh
My usual typo is "gir", not gti. Also steam locomotive adds some aliases such as "LS".
I propose to add two aliases: "gir" and "GIT"
This can be done in the Makefile, installing a couple of links. If you think it is ok I can work on it and add a PR.
I'm using gti
on
and it
/bin/emacs
to/bin/vi
Compiling on z/OS is broken, see #63 for details and a fix.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.