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
package osserver | |
import ( | |
"context" | |
"log" | |
"net" | |
"net/http" | |
) | |
// Listener |
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
package main | |
import ( | |
"fmt" | |
"math/rand" | |
) | |
type Tree struct { | |
Left *Tree | |
Value int |
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
# Instead of | |
print("Something") | |
# We should use | |
logger.info("Something") |
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
[[tool.poetry.source]] | |
name = "nexus" | |
url = "http://nexus:8081/repository/python/simple" | |
secondary = true | |
[tool.poetry] | |
name = "foo" | |
version = "0.6.0" | |
description = "" | |
authors = ["Your Name <[email protected]>"] |
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
Compiling fluent v0.1.0 (/Users/virviil/dev/elixir/fluent/native/fluent) | |
error[E0277]: the trait bound `unic_langid_impl::LanguageIdentifier: std::convert::From<unic_langid_impl::LanguageIdentifier>` is not satisfied | |
--> src/lib.rs:85:22 | |
| | |
85 | let mut bundle = FluentBundle::new(&[langid_en]); | |
| ^^^^^^^^^^^^^^^^^ the trait `std::convert::From<unic_langid_impl::LanguageIdentifier>` is not implemented for `unic_langid_impl::LanguageIdentifier` | |
| | |
= note: required because of the requirements on the impl of `std::convert::Into<unic_langid_impl::LanguageIdentifier>` for `unic_langid_impl::LanguageIdentifier` | |
= note: required by `fluent_bundle::bundle::FluentBundle::<R>::new` |
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
Dart | |
Rust (RLS) | |
Elixir LS | |
Dart | |
Gitlens | |
Github pull requests | |
Material theme | |
Material icon theme | |
plantUml | |
Yaml |
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
for b in $(git fsck --lost-found | grep blob | awk '{print $3}'); do git cat-file -p $b | grep -q ${UNIQUE_CODE} && echo $b; done |
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
def set_version(version) do | |
Agent.update(Mix.ProjectStack, fn state -> | |
%{stack: [%{config: config_keyword}]} = state | |
new_config_keyword = Keyword.put(config_keyword, :version, version) | |
Map.put(state, :stack, [%{config: new_config_keyword}]) | |
end) | |
end |