Giter Club home page Giter Club logo

gti's People

Contributors

carlwgeorge avatar ced42 avatar coladict avatar coryalder avatar dokutan avatar expipiplus1 avatar fd00 avatar felixc avatar felixoid avatar green-green-avk avatar gsamokovarov avatar joker-vd avatar kusma avatar mamantoha avatar mxcl avatar padawin avatar qiang-bi avatar rwos avatar ryandesign avatar schoonologyrrl avatar sobering avatar sspanak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gti's Issues

Add more car models

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 "

Installation on Windows-based Bash?

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?

`gti push --force` using The Force

Hey, I just wanted to say everything works fantastically.

Not sure why I even opened this issue.

I'm using gti on

  • HP-UX running on a 68k
  • NetBSD, with output piped to a slice of toast
  • an unreleased beta version of Windows NT 4.0 with a cmd.exe replacement from ReactOS

and it

  • set fire to my line printer
  • hard-linked /bin/emacs to/bin/vi
  • crashes when run backwards in my home-grown CPU emulator
  • opened a wormhole to the nearsest Wendy's which is quite a trip since I'm in Europe

It would be very nice for gti push --force would push the car using The Force.

Make gti ignore signals

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

  • HP-UX running on a 68k
  • NetBSD, with output piped to a slice of toast
  • an unreleased beta version of Windows NT 4.0 with a cmd.exe replacement from ReactOS
  • a hobby to build some free operating system for 386 AT clones that won't be big and professional like GNU

and it

  • set fire to my line printer
  • hard-linked /bin/emacs to/bin/vi
  • crashes when run backwards in my home-grown CPU emulator
  • hardly resembled it's decendents like Minix

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.

Ubuntu PPA is missing Release file

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.

How to activate bash_completion ?

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 !

Add gti tag command to show available branches as licence plates

Hey, I just wanted to say everything works fantastically.

Not sure why I even opened this issue.

I'm using gti on

  • HP-UX running on a 68k
  • NetBSD, with output piped to a slice of toast
  • an unreleased beta version of Windows NT 4.0 with a cmd.exe replacement from ReactOS
  • something entirely different based on Linux

and it

  • set fire to my line printer
  • hard-linked /bin/emacs to/bin/vi
  • crashes when run backwards in my home-grown CPU emulator
  • reliably produces output on my terminal.

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.

Add multi-threading support

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.

Add "gti fetch" command with someone catching up to a rolling GTI

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

  • HP-UX running on a 68k
  • NetBSD, with output piped to a slice of toast
  • an unreleased beta version of Windows NT 4.0 with a cmd.exe replacement from ReactOS
  • some out-of-the-box default Linux

and it

  • set fire to my line printer
  • hard-linked /bin/emacs to/bin/vi (which is a totally valid replacement IMHO)
  • crashes when run backwards in my home-grown CPU emulator

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.

error: invalid token at start of a preprocessor expression

Hey, I just wanted to say everything works fantastically.

Not sure why I even opened this issue.

I'm using gti on

  • HP-UX running on a 68k
  • NetBSD, with output piped to a slice of toast
  • an unreleased beta version of Windows NT 4.0 with a cmd.exe replacement from ReactOS

and it

  • set fire to my line printer
  • hard-linked /bin/emacs to/bin/vi
  • crashes when run backwards in my home-grown CPU emulator

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

Add bionic package to PPA

Would be nice 🙂

Workaround for people encountering this issue:

  • Edit /etc/apt/sources.list.d/mamantoha-ubuntu-gti-bionic.list as root
  • Change bionic to artful
  • Save
  • Optionally, rename the file as well
  • apt update
  • apt install gti
  • gti pull

Makefile/build cleanup

  • clean up Makefile (#54 (comment))
  • make make targets work on mac, linux (let's say debian + arch at least), and windows(?)
  • build binaries via GH-actions, add to GH releases (maybe statically link against musl or something)
  • update README

Does not build on OSX

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

OS X iTerm 2

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

Animation really slow and sluggish

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

aliases

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.

Fails to compile on z/OS

I'm using gti on

  • HP-UX running on a 68k
  • NetBSD, with output piped to a slice of toast
  • an unreleased beta version of Windows NT 4.0 with a cmd.exe replacement from ReactOS
  • z/OS

and it

  • set fire to my line printer
  • hard-linked /bin/emacs to/bin/vi
  • crashes when run backwards in my home-grown CPU emulator
  • doesn't compile

Compiling on z/OS is broken, see #63 for details and a fix.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.