Current version: 1.0.19 1.0.15 (as of 2018-12-10)
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
class Character { | |
constructor(name, strength, agility, criticalStrikeChance, criticalStrikeBonus, dodge) { | |
this.name = name; | |
this.strength = strength; | |
this.agility = agility; | |
this.criticalStrikeChance = criticalStrikeChance; | |
this.criticalStrikeBonus = criticalStrikeBonus; | |
this.dodge = dodge; | |
this.health = 100; // Starting health | |
} |
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
var Character = function(name, strength, agility, criticalStrikeChance, criticalStrikeBonus, dodge) { | |
this.name = name; | |
this.strength = strength; | |
this.agility = agility; | |
this.criticalStrikeChance = criticalStrikeChance; | |
this.criticalStrikeBonus = criticalStrikeBonus; | |
this.dodge = dodge; | |
this.health = 100; // Starting health | |
}; |
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
export function getDiffTimeBetweenCurrentDate (dateString = '', now = new Date()) { | |
const dayInMilliseconds = 86400000 | |
if ([null, undefined, false, true].includes(dateString)) { | |
return dateString | |
} | |
const date = new Date(dateString) | |
const isInvalidDate = isNaN(date.getTime()) | |
if (isInvalidDate) { | |
return dateString |
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
// check version | |
node -v || node --version | |
// list locally installed versions of node | |
nvm ls | |
// list remove available versions of node | |
nvm ls-remote | |
// install specific version of node |
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
package com.example.compose_debug | |
import androidx.compose.animation.EnterTransition | |
import androidx.compose.animation.ExitTransition | |
import androidx.compose.animation.core.CubicBezierEasing | |
import androidx.compose.animation.core.Easing | |
import androidx.compose.animation.core.FastOutLinearInEasing | |
import androidx.compose.animation.core.FastOutSlowInEasing | |
import androidx.compose.animation.core.LinearOutSlowInEasing | |
import androidx.compose.animation.core.PathEasing |
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 System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using Newtonsoft.Json.Serialization; | |
namespace MyNewtonsoftExtensions | |
{ | |
public class ReferenceResolverWithNames : IReferenceResolver | |
{ | |
private readonly ReferenceCollection _collection = new ReferenceCollection(); |
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
Install VMWare Workstation PRO 17 (Read it right. PRO!) | |
Also, these keys might also work with VMWare Fusion 13 PRO. Just tested it. | |
Sub to me on youtube pls - PurpleVibe32 | |
if you want more keys - call my bot on telegram. @purector_bot (THE BOT WONT REPLY ANYMORE) - Or: https://cdn.discordapp.com/attachments/1040615179894935645/1074016373228978277/keys.zip - the password in the zip is 102me. | |
--- | |
This gist can get off at any time. | |
PLEASE, DONT COPY THIS. IF YOU FORK IT, DONT EDIT IT. | |
*If you have a problem comment and people will try to help you! | |
*No virus |
NewerOlder