A collection of color palettes supporting various terminals & editors
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
require('lspconfig.configs').solidity = { | |
default_config = { | |
cmd = {'nomicfoundation-solidity-language-server', '--stdio'}, | |
filetypes = { 'solidity' }, | |
name = 'solidity', | |
root_dir = require('lspconfig.util').find_git_ancestor, | |
single_file_support = true, | |
} | |
} | |
require('lspconfig').solidity.setup({}) |
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
enum Either | |
Ok | |
Err | |
end | |
struct Result(T) | |
getter value : T | |
getter type : Either | |
def initialize(@value, @type); end |
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
module DAG | |
record Tip, | |
vertex : DAG::Vertex, | |
distance : Int32, | |
branch_root : (DAG::Vertex | Nil) | |
class Vertex | |
alias Name = String | |
getter name : Name |
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
pg_dump --no-owner --no-acl blah > blah.psql |
I hereby claim:
- I am cserb on github.
- I am cserb (https://keybase.io/cserb) on keybase.
- I have a public key ASBnSNeutFF_rhmogd2VHaMOuRzCDkprwfBLkeBc6cWgcwo
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
namespace :qc do | |
desc "start queue classic" | |
task :start do | |
run "nohup sh #{current_path}/qc_worker start > /dev/null 2>&1 &" | |
end | |
desc "stop queue classic" | |
task :stop do | |
run "sh #{current_path}/qc_worker stop" | |
end |