Skip to content

Instantly share code, notes, and snippets.

View artuaa's full-sized avatar
🤟

Artur Sharipov artuaa

🤟
View GitHub Profile
@artuaa
artuaa / gist:86b5d396c6f9e5116ea954743100540d
Created September 8, 2022 16:42 — forked from jstewart/gist:7664823
Org-pomodoro notifications for OS X.
;; Needs terminal-notifier (brew install terminal-notifier)
(defun notify-osx (title message)
(call-process "terminal-notifier"
nil 0 nil
"-group" "Emacs"
"-title" title
"-sender" "org.gnu.Emacs"
"-message" message))
;; org-pomodoro mode hooks
@artuaa
artuaa / gist:1771c2c5440b6836310991ea7e7bdee0
Created January 12, 2022 15:52
Aidbox-ops controller k8s configuration
apiVersion: v1
kind: Namespace
metadata: {name: aidbox-ops}
---
kind: Deployment
apiVersion: apps/v1
metadata: {name: aidbox-ops, namespace: aidbox-ops}
spec:
replicas: 1
selector:
@artuaa
artuaa / vimeo-downloader.js
Created June 12, 2021 11:50 — forked from mistic100/vimeo-downloader.js
Download video from Vimeo (chopped m4s files)
// 1. Open the browser developper console on the network tab
// 2. Start the video
// 3. In the dev tab, locate the load of the "master.json" file, copy its full URL
// 4. Run: node vimeo-downloader.js "<URL>"
// 5. Combine the m4v and m4a files with mkvmerge
const fs = require('fs');
const url = require('url');
const https = require('https');
@artuaa
artuaa / doom.txt
Created October 4, 2020 17:19 — forked from hjertnes/doom.txt
Doom Emacs Cheatsheet
SPC
SPC: find file
, switch buffer
. browse files
: MX
; EX
< switch buffer
` eval
u universal arg
x pop up scratch
@artuaa
artuaa / spacemacs-keybindings.md
Created October 4, 2020 14:17 — forked from rnwolf/spacemacs-keybindings.md
spacemacs keybindings that i need to learn
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required