I hereby claim:
- I am jimmac on github.
- I am jimmac (https://keybase.io/jimmac) on keybase.
- I have a public key whose fingerprint is 8AF0 74B1 3299 463B 5D24 0A8E FDF3 7AD6 E4CB 7E7A
To claim this, I am signing this object:
| import bpy | |
| from pathlib import Path | |
| import numpy as np | |
| import os | |
| p = Path('/var/home/jimmac/SparkleShare/wallpaper-assets/43/experiments/svg-icons') | |
| scene = bpy.context.scene | |
| collections = set(scene.collection.children) |
| #access my extra partitions in toolbox | |
| if [ -f /run/.toolboxenv ]; then | |
| sudo mount --rbind /run/host/var/homedata /var/homedata | |
| sudo mount --rbind /run/host/var/work /var/work | |
| fi | |
| #ad hoc aliases | |
| alias www='python -m http.server' | |
| #flatpak apps |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env ruby | |
| require "rexml/document" | |
| include REXML | |
| def rebrand(fname, brand) | |
| svg = Document.new(File.new(fname, 'r')) | |
| temp = | |
| svg.root.each_element("/svg/g/rect[@id='background']") do |e| | |
| e.attributes["style"] = "fill:url(##{brand});" |
| • Simple glyphs | |
| • Monochrome, colored based on text color (gtk/qt) (possibly defining named colors like @critical to be taken from gtkrc but I'd rather avoid that). Inject the style as CSS into an SVG. | |
| • One size, designed at 32x32px - 2px grid/stroke | |
| • Naming - suffix '-symbolic' to an existing icon name - allows fallback for theme not having this specific style. | |
| • Symbol theme installs to hicolor. | |
| All of the icons go into the 'status' context, except those explicitly stated otherwise. Any icon in the naming spec can have its -symbolic counterpart, but we'll need to extend the set with a few. | |
| In the name spec already: | |
| ========================= |
| YAST = {}; //the one global object | |
| YAST.modules = { | |
| // data will be pulled from JSON: | |
| // group | |
| // | | |
| // - section | |
| // | | |
| // - item | |
| YAST = {}; //the one global object | |
| YAST.modules = { | |
| // data will be pulled from JSON: | |
| // group | |
| // | | |
| // - section | |
| // | | |
| // - item | |
| #!/usr/bin/env ruby | |
| # the source svg needs to have a 'plate' layer with all the crop | |
| # rects having a label with the output filename | |
| require "rexml/document" | |
| require "ftools" | |
| include REXML | |
| INKSCAPE = '/usr/bin/env inkscape' | |
| SRC = "#{Dir.pwd}/svg/gpm-batteries.svg" |
| #!/usr/bin/env ruby | |
| require 'optparse' | |
| require 'ostruct' | |
| def ffmpegit(infile,outfile,twopass,title) | |
| title = title.nil? ? infile.gsub(/\.[^.]+$/,'').capitalize : title | |
| if twopass | |
| cmd = "ffmpeg -i #{infile} -y -an -pass 1 -vcodec libx264 -b 1024k -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -subq 1 -trellis 0 -refs 1 -bf 16 -b_strategy 1 -threads 2 -level 31 -coder 1 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 200k -rc_eq blurCplx^\\(1-qComp\\) -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 #{outfile}" |