- add this script to your
.bashrc
- adjust
$NOTES_HOME
path to your preferred location of the notes
$NOTES_EDITOR
to your preferred editor in which the notes should be edited
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
local wezterm = require("wezterm") | |
local config = wezterm.config_builder() | |
local act = wezterm.action | |
local mux = wezterm.mux | |
local isWin = wezterm.target_triple == "x86_64-pc-windows-msvc" | |
local CMD = isWin and "CTRL" or "CMD" | |
config.default_workspace = "main" | |
config.font_size = isWin and 11 or 12 |
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
#!/bin/sh | |
NOW=$(date +"%Y-%m-%d-%H-%M-%S") | |
COMMAND='pnpm cypress run --spec file.spec.js'; | |
OUTPUT_PATH="output/${NOW}"; | |
OUTPUT_FILENAME="${OUTPUT_PATH}/ run"; | |
RUN_COUNTER=1; | |
RUN_LOOP=true; | |
beep() { |
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
[DEBUG][2022-05-24 19:55:51] .../lua/vim/lsp.lua:1095 "LSP[tsserver]" "client.request" 1 "textDocument/definition" { | |
position = { | |
character = 64, | |
line = 12 | |
}, | |
textDocument = { | |
uri = "file:///home/dan/workspace/.../camera-event-group-filter.js" | |
} | |
} <function 1> 13 | |
[DEBUG][2022-05-24 19:55:51] .../vim/lsp/rpc.lua:355 "rpc.send" { |
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("packer_compiled") | |
require("packer").startup({ | |
function(use) | |
use("lewis6991/impatient.nvim") | |
-- package management | |
use("wbthomason/packer.nvim") | |
-- colorscheme |
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
import React from 'react'; | |
import PropTypes from 'prop-types'; | |
const PreloadImages = ({ urls }) => urls.map(url => ( | |
<span key={url} style={{ backgroundImage: `url(${url})` }} /> | |
)); | |
PreloadImages.propTypes = { | |
urls: PropTypes.arrayOf(PropTypes.string).isRequired, | |
}; |
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
:root{--bgColor:#fff;--textColor:#333;--brandColor:#ac3;--headerFontFamily:"Julius Sans One",sans-serif}body{background-color:var(--bgColor);color:var(--textColor);font-size:2.5em}.container{padding:0 1em}h1,h2{font-family:var(--headerFontFamily)}h1{color:var(--brandColor)}[type=checkbox]{height:1em;margin:0 .5em .3em;vertical-align:middle;width:1em} |
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
import React from 'react'; | |
import { View } from 'react-native'; | |
import PinGroupItem from './groupItem'; | |
import PinDetail from './detail'; | |
import { Tiles, Tile, H3, } from '../../components'; | |
import { pins } from '../../helper'; | |
export default class PinGroup extends React.Component { | |
constructor (props) { |
NewerOlder