Discover gists
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
struct Node<T> { | |
} | |
struct DoublyLinkedList<T> { | |
} | |
impl<T> DoublyLinkedList<T> { | |
/// Removes the last element from a list and returns it, or None if it is empty. | |
/// This operation should compute in O(1) time. | |
fn pop_back(&mut self) -> Option<T> { |
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
using UnityEngine; | |
using Newtonsoft.Json; | |
using System; | |
public class Vec4Conv : JsonConverter | |
{ | |
public override bool CanConvert(Type objectType) | |
{ | |
if (objectType == typeof(Vector4)) |
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
TOP HALF FIRST ROLL ODD. BOTTOM HALF FIRST ROLL EVEN. FOR NEXT ROLLS IF USING REGULAR DICE 5 OR 6 IS ROLL AGAIN | |
1,1,1,1,1 abandon | |
1,1,1,1,2 ability | |
1,1,1,1,3 able | |
1,1,1,1,4 about | |
1,1,1,2,1 above | |
1,1,1,2,2 absent | |
1,1,1,2,3 absorb | |
1,1,1,2,4 abstract | |
1,1,1,3,1 absurd |
Общяя информация:
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
==> default: Running provisioner: shell... | |
[ERROR] An error occurred in the underlying SSH library that Vagrant uses. | |
[ERROR] The error message is shown below. In many cases, errors from this | |
[ERROR] library are caused by ssh-agent issues. Try disabling your SSH | |
[ERROR] agent or removing some keys and try again. | |
[ERROR] If the problem persists, please report a bug to the net-ssh project. | |
[ERROR] timeout during server version negotiating |
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
python examples/persona_chatbot/pytorch/train.py \ | |
--experiment-name persona-bot-6xMI100 \ | |
--num-dataloader-workers 2 \ | |
--use-mixed-precision \ | |
--batch-size 30 \ | |
--batch-chunk-size 10 \ | |
--num-choices 8 \ | |
--sequence-length-outlier-threshold 0.05 \ | |
--learning-rate 6.25e-5 \ | |
--lr-warmup-schedule \ |
NewerOlder