Skip to content

Instantly share code, notes, and snippets.

Wanna work abroad

Yuki Hirai yukihirai0505

Wanna work abroad
View GitHub Profile
victornpb / deleteDiscordMessages.js
Last active Jul 20, 2021
Delete all your messages from DM or Channel in Discord
View deleteDiscordMessages.js
This file is now hosted here:
simov /
Last active Jun 23, 2021
Run `node` scripts using `nvm` and `crontab` without hardcoding the node version

Run node scripts using nvm and crontab without hardcoding the node version


# NVM needs the ability to modify your current shell session's env vars,
# which is why it's a sourced function
a7madgamal /
Last active May 11, 2021
Dark mode for Slack on MacOS
carlos8f / gist:b09a734cf626ffb9bb3bcb1ca35f3db4
Last active Dec 26, 2020
zenbot sim result, BTC-USD, 90 days, 195.45% profit, 61.06% over buy/hold
View gist:b09a734cf626ffb9bb3bcb1ca35f3db4
2017-05-11 16:00:00 1832.97 USD -0.06% 619.75 + 0.0447 null 1.91% 0.031060 BTC 2897.41 USD 195.43% +61.48%
{ days: 90,
profit_stop_enable_pct: 10,
profit_stop_pct: 1,
sell_rate: -0.006,
trend_ema: 36,
period: '1h',
strategy: 'trend_ema_rate',
sell_stop_pct: 4,
buy_stop_pct: 0,
<style> pre { font-size: 30px;
kenjiskywalker /
Last active Feb 5, 2021
mariussoutier / Mail.scala
Created Aug 23, 2012
Sending mails fluently in Scala
View Mail.scala
package object mail {
implicit def stringToSeq(single: String): Seq[String] = Seq(single)
implicit def liftToOption[T](t: T): Option[T] = Some(t)
sealed abstract class MailType
case object Plain extends MailType
case object Rich extends MailType
case object MultiPart extends MailType