Skip to content

Instantly share code, notes, and snippets.

Avatar
🦊
showing all them bitches

chee chee

🦊
showing all them bitches
View GitHub Profile
View yakuake-meta-copy-paste.patch
diff -ruN yakuake-20.04.3/app/mainwindow.cpp ../yakuake-20.04.3/app/mainwindow.cpp
--- yakuake-20.04.3/app/mainwindow.cpp 2020-06-24 16:34:00.000000000 +0100
+++ ../yakuake-20.04.3/app/mainwindow.cpp 2020-08-05 15:14:33.607164071 +0100
@@ -280,6 +280,16 @@
connect(action, SIGNAL(triggered()), this, SLOT(handleContextDependentAction()));
m_contextDependentActions << action;
+ action = actionCollection()->addAction(QStringLiteral("terminal-copy"));
+ action->setText(QStringLiteral("Copy"));
+ actionCollection()->setDefaultShortcut(action, QKeySequence(Qt::META + Qt::Key_C));
View gist:890d122f3ef708e3d1dbea003d1856b4
This file has been truncated, but you can view the full file.
diff -ruN yakuake-20.04.3/app/CMakeLists.txt ../../yakuake-20.04.3/app/CMakeLists.txt
--- yakuake-20.04.3/app/CMakeLists.txt 2020-06-24 16:34:00.000000000 +0100
+++ ../../yakuake-20.04.3/app/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,62 +0,0 @@
-configure_file(config-yakuake.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-yakuake.h)
-
-set(yakuake_SRCS
- main.cpp
- mainwindow.cpp
View yakuake-meta-copy-paste.patch
This file has been truncated, but you can view the full file.
diff -ruN yakuake-20.04.3/app/CMakeLists.txt ../../yakuake-20.04.3/app/CMakeLists.txt
--- yakuake-20.04.3/app/CMakeLists.txt 2020-06-24 16:34:00.000000000 +0100
+++ ../../yakuake-20.04.3/app/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,62 +0,0 @@
-configure_file(config-yakuake.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-yakuake.h)
-
-set(yakuake_SRCS
- main.cpp
- mainwindow.cpp
View make-recipe.el
(defun get-recipe-alist-from-url (url)
(require 'cl)
(require 'w3m)
(with-temp-buffer
(w3m-retrieve url)
(json-read-from-string
(nth 2 (car
(remove-if-not
(lambda (script) (rassoc "application/ld+json" (nth 1 script)))
@chee
chee / get-origami.sh
Last active Sep 8, 2020
Install all active origami projects
View get-origami.sh
#!/bin/bash
# dependencies: npm, jq, git
origami_root="$HOME/projects/origami"
echo "Making origami directory at $origami_root"
mkdir -p $origami_root/components
clone() {
dirname="$1"
View index.js
"use strict";
var error = require("./error");
var fs = require("fs");
var HttpsProxyAgent = require('https-proxy-agent');
var mime = require("mime");
var netrc = require("netrc");
var Util = require("./util");
var Url = require("url");
var Promise = require("./promise");
View keybase.md

Keybase proof

I hereby claim:

  • I am chee on github.
  • I am snootgirl (https://keybase.io/snootgirl) on keybase.
  • I have a public key whose fingerprint is 1742 C56C E224 1856 DDE1 127C 189A D605 5473 DAFA

To claim this, I am signing this object:

@chee
chee / components.json
Created Feb 12, 2019
convert bower manifest to npm manifest
View components.json
[
"fticons",
"o-assets",
"o-autoinit",
"o-banner",
"o-brand",
"o-buttons",
"o-colors",
"o-cookie-message",
"o-date",
@chee
chee / index.js
Created Jan 28, 2019
abe's library
View index.js
module.exports.squonge = function squonge (squimple) {
return `squonge squonge squonge squonge squonge ${squimple}`
}
View goomba.js
#!/usr/bin/env node
function big (str) {
return Array.from(str, letter => letter == ' ' ? ':blank:' : ':b' + letter + ':').join('')
}
function goomba(str) {
const goomba = ':goomba:';
return goomba.repeat(str.length+2) + '\n' + goomba + big(str) + goomba + '\n' + goomba.repeat(str.length+2);
}