This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(add-hook 'term-mode-hook | |
(lambda () (setq truncate-lines t))) | |
(eval-after-load "multi-term" | |
'(progn | |
(add-to-list 'term-bind-key-alist '("C-c C-j" . term-line-mode)) | |
(add-to-list 'term-bind-key-alist '("M-DEL" . term-send-backward-kill-word)) | |
(add-to-list 'term-bind-key-alist '("M-h" . term-send-backward-kill-word)) | |
(add-to-list 'term-bind-key-alist '("C-h" . term-send-backspace)) | |
)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(fn fun-times | |
([fun xs] (fun-times fun (first xs) (rest xs))) | |
([fun init xs] (lazy-seq | |
(if (seq xs) | |
(let [reduction (fun init (first xs))] | |
(cons init (fun-times fun reduction (rest xs)))) | |
[init] | |
)))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn totient [num] | |
(if (= 1 num) 1 | |
(let [gcd (fn [a b] | |
(if (= b 0) | |
a | |
(recur b (rem a b))))] | |
(count (filter #(= 1 (gcd % num)) (range 1 num)))))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am bmorphism on github. | |
* I am bmorphism (https://keybase.io/bmorphism) on keybase. | |
* I have a public key ASDkNkLrJjJ8RjMjYZBWog7OAR5-rk-AM9bM0tbP1Vmycgo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Document: | |
def __init__(self, source_doc, dest_doc): | |
'''Instantiate the document object with Google Docs id and Destination Name''' | |
self.source_doc = source_doc | |
self.dest_doc = dest_doc | |
self.content = [""] | |
self.processed = "" | |
def get_document(self): | |
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"apiVersion": "v1", | |
"kind": "Pod", | |
"metadata": { | |
"annotations": { | |
"kubernetes.io/psp": "eks.privileged" | |
}, | |
"creationTimestamp": "2021-10-11T23:33:51Z", | |
"labels": { | |
"run": "interview-example" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Synthesizing 10/10 solutions | |
======= | |
) internal virtual { | |
uint256 senderBalance = _balances[sender]; | |
require(senderBalance >= amount, "ERC20: insufficient balance"); | |
_balances[sender] = senderBalance - amount; | |
_balances[recipient] = _balances[recipient] + amount; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2077 securityDAO | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// https://www.apache.org/licenses/LICENSE-2.0 | |
// | |
// Unless required by applicable law or agreed to in writing, software | |
// distributed under the License is distributed on an "AS IS" BASIS, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat ~/.ssh/id_rsa.pub | |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDXB6r75qnPnsjQZmxV0g0zl1stJNfOYwKTEU3KOn6WwIjI1P99KO+BDavLjVNgvOaL2BNh7b+OcKvf4lkDIyGmQp61ozDpS5m7irvbnm0bm08oeVv7quggv7D65RJiGZYw/QEvM0va4zadYk9CvQ6KWQB++C1CT7azmhnqqvfJI2yd70sdNvf0dc+OmNncXQ+gl2/zg/1Q4XmdQ/hPB0dr5fTuor8j+ZTUV1I2tSa8Ar+pDO3yuzssdlUsE6Zk01WkdiAfyTuvsII9tFN1tM74ygbhLKE3f0c3ijaQLYSHHoSPtqeQjxY7ebN5R59WSrlKFFfxQW+RWnDtGAcuzhv5uXakcf9RnsDUqdeyuU1DU9D0XZwXI9Yo8zMLL7Aoo5KSTs5MISJ5GpZpFXrlUmj8XK1wUYg47ZM01jnvbIxiZYh+Iv4EdkBvGqnbEiXOmhJ7MsU+nG/g2bYUvQ5oueCBGpkW2G+hokbwJsHFDftrTaBXzN6z9WOcHkQIQbsB/pM= barton@binah |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"button": { | |
"acceptTerms": "Я погоджуюсь з Правилами проекту", | |
"addAnAction": "Додати Дію", | |
"addMember": "Додати Осіб", | |
"addPayment": "Додати Платіж", | |
"addTier": "Додати Курінь", | |
"addToKeplr": "Додати Акцію до Гаманця", | |
"back": "Назад", | |
"castYourVote": "Проголосувати", |
OlderNewer