Skip to content

Instantly share code, notes, and snippets.

View chee's full-sized avatar
🍕
partying

chee chee

🍕
partying
View GitHub Profile
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));
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
- skin.cpp
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
- skin.cpp
(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 September 8, 2020 11:32
Install all active origami projects
#!/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"
@chee
chee / index.js
Created February 17, 2020 10:46
github@9
"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");

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 February 12, 2019 09:43
convert bower manifest to npm manifest
[
"fticons",
"o-assets",
"o-autoinit",
"o-banner",
"o-brand",
"o-buttons",
"o-colors",
"o-cookie-message",
"o-date",
@chee
chee / index.js
Created January 28, 2019 21:35
abe's library
module.exports.squonge = function squonge (squimple) {
return `squonge squonge squonge squonge squonge ${squimple}`
}
@chee
chee / goomba.js
Created January 21, 2019 16:19
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);
}