> .gitignore fb1c63a477 Ignore all JSON files, not just the stars преди 11 години Makefile d767e2d6e8 Add Makefiles for unpaginate and stars преди 11 години README.md e977e4e9ca Add an example for reading repos from a file преди 11 години stars.go 7cc4dec177 Make the usage message prettier преди 11 години

README.md

stars

stars fetches your GitHub stars and updates them as necessary. It is not necessarily limited to just GitHub, as it will accept any git url that's publicely accessible.

Usage

stars accepts the input from various GitHub API endpoints that return lists of repositories.

# Fetch starred repositories
$ curl https://api.github.com/users/heyLu/starred | ./stars
...

# Fetch public repos
$ curl https://api.github.com/users/heyLu/repos | ./stars
...

# Fetch all repos (public, private, org member)
$ token=<personal access token>
$ curl -u heyLu:$token https://api.github.com/user/repos | ./stars

# Fetch repos from a file
$ ./stars < repos.json
...

However, note that GitHub's API uses pagination, so ensure you set the per_page query parameter appropriately, or use a tool such as unpaginate which collects the results from the pages into one JSON document:

$ unpaginate https://api.github.com/users/heyLu/starred | ./stars
...

Input format

stars reads an array of JSON objects from stdin. It must have full_name and git_url fields, should have a pushed_at field and also an optional description field.

For example:

[
  {
    "full_name": "ProseMirror/prosemirror",
    "description": "The ProseMirror WYSIWYM editor",
    "pushed_at": "2015-08-06T21:37:16Z",
    "git_url": "git://github.com/ProseMirror/prosemirror.git",
  },
  ...
]
confidence - git.papill0n.org

No Description

Luna Stadler a4d7a9ae2f ~/.bin/work-summary: Summarize what happened on a day easily 5 years ago
..
Makefile 9676637505 ~/.bin/Makefile: Use whatever compiler is around 5 years ago
README.md 7cbd81fd35 ~/.bin/README.md: A Gentle Introduction to Various Utitility Tools. 14 years ago
archive-monthly.sh b107574c48 ~/.bin/archive-monthly.sh: Describe what the thing does 8 years ago
capture fb2cb77de3 ~/.bin/capture: take screenshots by selecting the area/window. 12 years ago
check-papill0n.sh 7c2de4874c ~/.bin/check-papill0n.sh: Fail if request takes longer than 2 seconds 9 years ago
collect-working-time.sh ef2e4f3050 ~/.config/dwm,~/.bin: Collect working time stats as csv 8 years ago
deadlines.rb 341d0affef ~/.bin/deadlines{,.rb}: move, fix duration support. 12 years ago
entropy.rb 0dc31cbe3b ~/.bin/entropy: Calculate entropy per input line 10 years ago
events 1fc2d5936b ~/.bin/events: A script that aggregates window-manager events. 14 years ago
ff 439206ba7a ~/.bin/ff: Escape ampersands to make pango syntax work 8 years ago
git-ln be3f128b40 ~/.bin/git-ln: A `git log` bealike that reverse numbers the commits. 14 years ago
l 797275ee3d ~/.bin/l: Allow viewing http(s) urls 7 years ago
notes 4964133a11 ~/.xmonad: add a shortcut for not.es 11 years ago
paper 24870f5477 ~/.bin/ff: Generalize and introduce the "find file" command 9 years ago
rn.go ed4435261d ~/.bin/rn.go: Always notify, regardless of duration 8 years ago
rt d13c057673 ~/.bin/rt: Recognize bb as shortcut for bitbucket. 13 years ago
run bd2ec8ecf6 ~/.bin/run: Run and observe commands in the background 9 years ago
run-and-notify bd2ec8ecf6 ~/.bin/run: Run and observe commands in the background 9 years ago
s 42be22efca ~/.bin/s: Search for things easily 9 years ago
select-display f108e52220 ~/.bin/select-display: Always use --primary 8 years ago
shot 4f167cd2cf ~/.bin/shot: Take a screenshot and maybe name it 8 years ago
since.go 69b02fd8ba ~/.zshrc,~/.bin/since.go: Display exit code if command fails 6 years ago
suggest 1410dabbe9 ~/.bin/suggest: Quickfind links/info out of a file 8 years ago
sweet-dreams 05ecd91460 ~/.bin/sweet-dreams: Suspend and lock easily 8 years ago
tasks d3466066d5 ~/.config/{sway,waybar}: Switch to waybar 5 years ago
timely.go 71c01c14cf ~/.bin/timely.go: Measure human-friendly cmd runtime 8 years ago
toggle-fan 73d1c17ab2 ~/.config/sway: Add a shortcut to toggle (think)fan 6 years ago
up.c 5925a98667 ~/.bin/up.c: Fix lint errors 8 years ago
up.rs ed2084a113 ~/.bin/up.rs: Rewrite for Rust 2018/nightly 8 years ago
update-planet.sh 6ed9bc59af ~/.bin/update-planet.sh: A script that updates the planet. 14 years ago
video 24870f5477 ~/.bin/ff: Generalize and introduce the "find file" command 9 years ago
warn-if-low.sh 636f93fca6 ~/.bin/warn-if-low.sh: Report battery level. 13 years ago
wn e8361fc3ff ~/.bin/wn: Collect work notes (experimental, but fun so far) 7 years ago
work-summary a4d7a9ae2f ~/.bin/work-summary: Summarize what happened on a day easily 5 years ago
working-time.go a455d660b3 ~/.bin/working-time.go: Write initial file if none is present 8 years ago
xkbswap 558caa48b0 ~/.bin/xkbswap: Swap around the current keymap (de, us). 14 years ago
ydl.go 85ae2ff7b0 ~/.bin/ydl.go: Fix youtube detection 7 years ago

README.md

lu's little tools (and unfancy symlinks)

If you have this directory in your PATH then you'll have all of the following at your disposal.

rt

rt (*r*epository *t*ool) is a nice little utility script for [VCS][]s such as git or hg. It detects the type of repository it operates on and chooses the appropriate command. I mostly use it for cloning repositories, but it should be able to do other VCS tasks aswell.

lu ~$ rt
Usage: /home/lu/.bin/rt <cmd> <repo> [<args>]
  executes <cmd> for <repo> (passing <args> through)

lu ~$ rt c hub:anapple/confidence
# Clones a repository from GitHub (see <../.gitconfig> for the `hub` alias)

events

events is a logs window manager events to various services (currently ~/.eventstream and [statsd][]). Someday I might live out my statistical fetish and get carried away by years of weird logs to analyze.

git-ln

git-ln (use as git ln) is a git command that displays a numbered (descending) log of commits in a git repository. Use it as you'd use git log itself.

update-planet.sh

update-planet.sh does what it's name says: It delivers a new planet (usually called "earth") with updated parameters using a template file called ~/t/venus/config.ini.

In a boring parallel universe it updates my planet of RSS/ATOM feeds and creates ~/t/venus/www/planet/index.html in which the titles of the various posts are displayed, waiting for me to click them and enjoy what's behind them.

It gets invoked every two hours by the venerable cron.

warn-if-low.sh

warn-if-low.sh constantly nudges me when my battery runs low. It spawns up windows everytime it is called and thinks that my battery is a little bit neglected. I then get annoyed by it and plug the AC adapter in. Mission accomplished! (No, any other solution that doesn't create a big annoying window right in front of my eyes doesn't work.)

It's called periodically (every minute) by cron.

xkbswap

xkbswap swaps the current keyboard layout (from de to us and the other way around).

lp - git.papill0n.org

Geen omschrijving

datomic-transactor.properties 1.4KB

    ################################################################ protocol=free host=localhost port=4334 ################################################################ # See http://docs.datomic.com/capacity.html # Recommended settings for -Xmx4g, ongoing usage. # memory-index-threshold=32m # memory-index-max=128m # object-cache-max=1g # Recommended settings for -Xmx4g import jobs. # memory-index-threshold=512m # memory-index-max=1g # object-cache-max=1g # Recommended settings for -Xmx1g usage, e.g. dev laptops. memory-index-threshold=32m memory-index-max=128m object-cache-max=128m ## OPTIONAL #################################################### # Set to false to disable SSL between the peers and the transactor. # Default: true # encrypt-channel=true # Data directory is used for dev: and free: storage, and # as a temporary directory for all storages. data-dir=/home/lu/k/lp/clj/datomic/data # Transactor will log here, see bin/logback.xml to configure logging. # log-dir=log # Transactor will write process pid here on startup # pid-file=transactor.pid ## OPTIONAL #################################################### # See http://docs.datomic.com/capacity.html # Soft limit on the number of concurrent writes to storage. # Default: 4, Miniumum: 2 # write-concurrency=4 # Soft limit on the number of concurrent reads to storage. # Default: 2 times write-concurrency, Miniumum: 2 # read-concurrency=8