// types.ts - GSDState becomes extensible
export interface GSDState {
activeMilestone: ActiveRef | null;
activeSlice: ActiveRef | null;
activeTask: ActiveRef | null;
This file contains hidden or 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
| use std::collections::{HashMap, VecDeque}; | |
| use std::future::Future; | |
| use std::pin::Pin; | |
| use std::sync::{Arc, Mutex}; | |
| use std::task::{Context, Poll}; | |
| use futures::channel::oneshot::{channel, Receiver, Sender}; | |
| // === Simulated HTTP Future Token === |
This file contains hidden or 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
| (require 'json) | |
| (defconst continue-core-host "127.0.0.1") | |
| (defconst continue-core-port 3000) | |
| (defvar continue-core-socket nil) | |
| (defvar continue-core-response-queue '() | |
| "Queue for storing responses from Continue Core server.") |
I hereby claim:
- I am gtrak on github.
- I am gtrak (https://keybase.io/gtrak) on keybase.
- I have a public key ASD9Y8nFoqgxhXrlFDg8RTtSXgT2p2z0WuWZQZNx9hvRqgo
To claim this, I am signing this object:
This file contains hidden or 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
| (defun sql-switch-sqli-buffer () | |
| (interactive) | |
| (unless (and sql-buffer (buffer-live-p (get-buffer sql-buffer)) | |
| (get-buffer-process sql-buffer)) | |
| (sql-set-sqli-buffer)) | |
| (setq last-sql-buffer (current-buffer)) | |
| (pop-to-buffer sql-buffer)) | |
| (defun sqli-switch-sql-buffer () | |
| (interactive) |
This file contains hidden or 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
| gary@gary-macbook:~/dev$ lein new expo expotest | |
| Retrieving expo/lein-template/0.17.1/lein-template-0.17.1.pom from clojars | |
| Retrieving expo/lein-template/0.17.1/lein-template-0.17.1.jar from clojars | |
| Generating fresh Expo project. | |
| README.md contains instructions to get you started. | |
| If you have any questions, you can ask us on Expo slack #clojurescript channel. https://slack.expo.io/ | |
| gary@gary-macbook:~/dev$ cd expotest/ | |
| gary@gary-macbook:~/dev/expotest$ cat project.clj | |
| (defproject expotest "0.1.0-SNAPSHOT" | |
| :description "FIXME: write description" |
This file contains hidden or 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
| ;; I need this often enough, a lightweight introspectable fn+data | |
| ;; container with a default operation - GT | |
| (defrecord _DerefMap [deref-fn] | |
| clojure.lang.IDeref | |
| (deref [me] (deref-fn me))) | |
| (prefer-method print-method clojure.lang.IRecord clojure.lang.IDeref) | |
| (prefer-method clojure.pprint/simple-dispatch clojure.lang.IRecord clojure.lang.IDeref) | |
| (prefer-method clojure.pprint/simple-dispatch clojure.lang.IPersistentMap clojure.lang.IDeref) |
This file contains hidden or 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
| Traditional latkes (pareve) | |
| This recipe is from one of my favorite cookbooks, “Jewish Cooking in America,” by Joan Nathan. These are thin “pancakes” with no flour or matzo meal. | |
| 2 pounds russet (baking) or Yukon Gold potatoes | |
| 1 medium onion | |
| 1-1/2 cups chopped scallions, including the green part |
This file contains hidden or 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
| out_to_x no | |
| own_window no | |
| out_to_console yes | |
| background no | |
| max_text_width 0 | |
| # Update interval in seconds | |
| update_interval 0.5 | |
| # This is the number of times Conky will update before quitting. |
This file contains hidden or 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
| # This file has been auto-generated by i3-config-wizard(1). | |
| # It will not be overwritten, so edit it as you like. | |
| # | |
| # Should you change your keyboard layout somewhen, delete | |
| # this file and re-run i3-config-wizard(1). | |
| # | |
| # i3 config file (v4) | |
| # | |
| # Please see http://i3wm.org/docs/userguide.html for a complete reference! |
NewerOlder