Skip to content

Instantly share code, notes, and snippets.

View veevee77's full-sized avatar
🎯
Focusing

Raye Iwamatsu veevee77

🎯
Focusing
View GitHub Profile
@veevee77
veevee77 / rust-command-line-utilities.markdown
Created November 20, 2022 06:41 — forked from sts10/rust-command-line-utilities.markdown
A curated list of command-line utilities written in Rust

A curated list of command-line utilities written in Rust

Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.

The ones I use regularly include: bat, dust, exa, fd, hyperfine, miniserve, ripgrep, just, zoxide and cargo-wipe.

  • atuin: "Magical shell history"
  • bandwhich: Terminal bandwidth utilization tool
  • bat: A replacement for cat that provides syntax highlighting and other features.
  • bottom: Yet another cross-platform graphical process/system monitor.
@veevee77
veevee77 / hide_linkedin_ads.txt
Created November 7, 2021 21:05 — forked from jhult/hide_linkedin_ads.txt
Hide LinkedIn Ads - Adblock Filters
! Title: Hide LinkedIn Ads
! Last modified: 19 Sep 2019
! Expires: 20 days (update frequency)
! Homepage: https://gist.github.com/jhult/802e89c64c4b6f27a3a9
! Source: https://gist.githubusercontent.com/jhult/802e89c64c4b6f27a3a9/raw/hide_linkedin_ads.txt
! Licence: https://opensource.org/licenses/MIT
! Ad Banner
linkedin.com##.ad-banner-container
@veevee77
veevee77 / ublock
Created September 22, 2021 02:07 — forked from jaydorsey/ublock
uBlock for LinkedIn
# Block things on LinkedIn with uBlock Origin that LinkedIn won't let you block
# Choose "Options" in uBlock Origin with a right-click, and add these to
# "My filters"
# Courses
linkedin.com##:xpath(.//div[contains(@data-id, 'urn:li:lyndaCourse')])
# Promoted posts 2021-02-24
linkedin.com##xpath(.//span[contains(@class, 'feed-shared-actor__sub-description') and text()[contains(.,'Promoted')]]/../../../..)
package com.example
// need to consider howto run all the issue through it like the other
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.bc.issue.search.SearchService
import com.atlassian.jira.issue.MutableIssue
import com.atlassian.jira.jql.parser.JqlQueryParser
import com.atlassian.jira.web.bean.PagerFilter
@veevee77
veevee77 / CloseIssues.groovy
Created July 16, 2021 07:13 — forked from jusuchin85/CloseIssues.groovy
A Groovy script to automatically close issues in Done status after 5 days
/**
* Name: close-issues.groovy
* @author jalex
* @version 1.0
*
* A Groovy script to automatically close issues in Done status after 5 days
*/
import com.atlassian.crowd.embedded.api.User;
import com.atlassian.jira.ComponentManager;
@veevee77
veevee77 / ValidateTwoDatesWorkflow.groovy
Created July 16, 2021 07:13 — forked from jusuchin85/ValidateTwoDatesWorkflow.groovy
A Groovy script to compare the Due Date field against the Resolved Date field. If the Resolved Date is after the Due Date, then the Target Met field would be set to "No". Otherwise, it would be set to "Yes"
/**
 * @author jalex
 * @version 1.0
 *
 * A Groovy script to compare the Due Date field against the Resolved Date field. If the Resolved Date is after the
 * Due Date, then the Target Met field would be set to "No". Otherwise, it would be set to "Yes"
 *
 */
import com.atlassian.jira.ComponentManager
@veevee77
veevee77 / displayCalculatedCustomFields.js
Created July 15, 2021 06:09
Display calculated custom fields on JIRA transition screens
<script type="text/javascript">
if(AJS.$('#issue-workflow-transition-submit').val() =='Send Next Steps Email'){
(function ($) {
// --------------------------------------- MANDATORY CONFIG ---------------------------------------
var fieldName = "Scripted Field" // display name - does not have to match the name of the field
var fieldId = "customfield_14013" // field Id
// --------------------------------------- END MANDATORY CONFIG -----------------------------------
@veevee77
veevee77 / gist-backup.py
Created July 15, 2021 05:56 — forked from mattmc3/gist-backup.py
Clone or update all user's gists #backup #github #gists #management
#!/usr/bin/env python
# Clone or update all a user's gists
# curl -LJO https://gist.githubusercontent.com/mattmc3/b9f314f29add32330b2ee359e2ad5aba/raw/0068945bf19bc50b9847d5938286c74953aa97e3/gist-backup.py
# chmod 755 ./gist-backup.py
# USER=mattmc3 python3 gist-backup.py
from __future__ import absolute_import, division, print_function, unicode_literals
import json
import urllib
from subprocess import call