Skip to content

Instantly share code, notes, and snippets.

View tangjeff0's full-sized avatar
🏛️

jeff tangjeff0

🏛️
View GitHub Profile
@tangjeff0
tangjeff0 / wsl.txt
Created March 22, 2022 10:15
windows, wsl2, ubuntu, emacs
- wsl2
- ubuntu20
- x410
- doom-emacs
resources
- https://emacsredux.com/blog/2020/09/23/using-emacs-on-windows-with-wsl2/
- https://github.com/hubisan/emacs-wsl
- https://github.com/hlissner/doom-emacs#install
@tangjeff0
tangjeff0 / Athens_Research_CLA
Last active December 30, 2020 23:49 — forked from CLAassistant/SAP_CLA
Athens Research Individual Contributor License Agreement
### Athens Research Individual Contributor License Agreement
Thank you for your interest in contributing to open source software projects (“Projects”) made available by Athens Research or its affiliates (“Athens Research”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to Athens Research in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact [email protected].
You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.
**Copyright License.** You hereby grant, and agree to grant, to Athens
@tangjeff0
tangjeff0 / dropdown.cljs
Last active September 23, 2020 18:27
WIP: generic dropdown for close on click outside
(defn dropdown
[display-name component-fn handle-click-outside]
(let [ref (atom nil)]
(r/create-class
{:display-name display-name
:component-did-mount (fn [_this] (listen js/document "mousedown" handle-click-outside))
:component-will-unmount (fn [_this] (unlisten js/document "mousedown" handle-click-outside))
:reagent-render (component-fn ref)})))
(defn menu-dropdown-component
set ideajoin
set surround
set commentary
let mapleader=" "
set easymotion
map <leader>f <Plug>(easymotion-s)
map <leader>t <Plug>(easymotion-t)
This file has been truncated, but you can view the full file.
var $jscomp = {};
var shadow$provide = {};
if (typeof Math.imul == "undefined" || Math.imul(0xffffffff, 5) == 0) {
Math.imul = function (a, b) {
var ah = (a >>> 16) & 0xffff;
var al = a & 0xffff;
var bh = (b >>> 16) & 0xffff;
var bl = b & 0xffff;
// the shift by 0 fixes the sign on the high part
// the final |0 converts the unsigned value into a signed value
(defn ignore
[expr] ;; expression evaluated
nil)
(ignore (pr "hello world"))
(defmacro ignore
[expr] ;; expression never evaluated
nil)
@tangjeff0
tangjeff0 / roam-styles.css
Last active April 3, 2020 14:13
roam-styles
.rm-page-ref {
font-weight: bold;
}
a:hover, .rm-page-ref:hover {
font-style: italic;
}
.rm-page-ref-link-color {
color: #1aae9f; /* teal */
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tangjeff0
tangjeff0 / random_notion.py
Last active June 4, 2024 19:02
get random notion notes to resurface your old ideas!
'''
author:
@tangjeff0
https://www.notion.so/tangjeff0/Public-Home-0e2636bd409b454ea64079ad8213491f
inspired by: https://praxis.fortelabs.co/p-a-r-a-iii-building-an-idea-generator-400347ef3bb6/
with help from: https://medium.com/@jamiealexandre/introducing-notion-py-an-unofficial-python-api-wrapper-for-notion-so-603700f92369
credits:
@jamiealexandre
'''
class signatures
'''
'''
everything is an object in ruby
everything is a system in the universe. when emergent properties emerge is the
line for a system
'''
class System: