Giter Club home page Giter Club logo

fling's Introduction

About Me

Hi, I'm Ben Kane! See my personal website and blog or browse through my projects (active and abandoned) here on GitHub :)

Selected Projects

Configs for apps I care about - see the zsh config especially :)

Store project environmental files in a central database.

demo.gif

fling computes and creates/removes the minimal amount of symlinks needed in a directory to refer to files and directories in another directory, similar to GNU Stow. I use fling to manage my dotfiles.

demo.gif

A tiny cross-platform cross-platform terminal color library that supports enabling and disabling colors.

screenshot

A small single-binary CLI to grab images from Reddit - I've been surprised how much I enjoy seeing beautiful wallpapers when I lock/unlock my computer.

example

Logging + Printing + Compromising

demo

Make a lot of DNS requests and count the results! Useful for testing complex dynamic DNS records.

demo

Save information about your GitHub starred repos into Google Sheets, Zinc, and SQLite!

$ sqlite3 starghaze.db '
SELECT
    l.Name ,
    COUNT(lr.Language_id) as Repo_Count
FROM
    Language_Repo lr JOIN Language l ON lr.Language_id = l.id
GROUP BY Language_id
ORDER BY Repo_Count DESC
LIMIT 10
'
-- Loading resources from /Users/bbkane/.sqliterc
┌────────────┬────────────┐
│    Name    │ Repo_Count │
├────────────┼────────────┤
│ Shell      │ 939        │
│ JavaScript │ 617        │
│ HTML       │ 598        │
│ Python     │ 540        │
│ Makefile   │ 519        │
│ CSS        │ 432        │
│ Dockerfile │ 403        │
│ Go         │ 367        │
│ C          │ 305        │
│ C++        │ 230        │
└────────────┴────────────┘

Declarative and Intuitive Command Line Apps with Go

demo

fling's People

Contributors

aerickson avatar bbkane avatar dependabot[bot] 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

Watchers

 avatar  avatar

fling's Issues

Add a command to "import" a file into a context

It would be great to have something like:

fling --src-dir grabbit import filename

This would be a shortcut for:

# move the file to the specified src-dir
mv $HOME/filename grabbit/filename

# link the file
fling --src-dir grabbit link

At the moment, I have a makefile that sorta lets me automate this, but having it be a fling-native command would be amazing :)

adjust to Windows better

Now that I'm on windows more, I'm finding that I can't really assume the same folder locations and maybe other things.

Ideas:

  • analyze apps in dotfiles for what symlinks I'd like on which platforms/hostnames/etc
  • research whether anything like this exists in other dotfile managers
  • try to turn that into a config file format I can use- maybe prototype the whole thing with a hardcoded python script so I can evolve relevant data structures
  • add subsection to use this new format
  • move current link/unlink functionality to subsection (breaking change)

Ideas:

Make a group of symlinks the basic unit of work and identity it by tags (name == nvim and auto filled in properties (hostname/os/???)

Have the user retrieve the units of work (symlimk groups) via boolean search query and then execute them

The issue is going to be setting defaults per platform per unit of work and how to structure that

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.