sudo apt-get install blueman build-essentials calcurse chromium-browser cpufrequtils gnupg2 gparted hfsprogs imagemagick linux-tools-common lxappearance mplayer rtorrent ruby skype ubuntu-restricted-essentials urlview vagrant vim xclip
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
| [plexmediaserver] | |
| title=Plex Media Server | |
| description=The Plex Media Server is smart software that makes playing Movies, TV Shows and other media on your computer simple | |
| ports=32400/tcp|1900/udp|32469/udp|5353/udp |
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
| sealed trait RegExp { | |
| def isFinal:Boolean | |
| def acceptsEmpty:Boolean | |
| def shift(prev:Boolean, character:Char):RegExp | |
| def matches(str:String) = | |
| if(str.isEmpty) this.acceptsEmpty | |
| else str.foldLeft(this.shift(true, str.head))(_.shift(false,_)).isFinal | |
| } | |
| object Epsilon extends RegExp { |
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
| -Xmx2048m | |
| -Xss256k | |
| -XX:+UseG1GC | |
| -XX:InitiatingHeapOccupancyPercent=65 | |
| -XX:G1HeapRegionSize=16m | |
| -XX:MaxGCPauseMillis=100 |
- Edit the file at
/Library/Backblaze.bzpkg/bzdata/bzexcluderules_editable.xml. - Add these rules inside the
bzexclusionstag:
<!-- Exclude node_modules. -->
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/node_modules/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/.git/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" />
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 zio.interop | |
| import com.raquo.laminar.api.L._ | |
| import zio._ | |
| import zio.internal.{Executor, Platform} | |
| import zio.stream.ZStream | |
| import scala.concurrent.ExecutionContext | |
| import scala.scalajs.js |
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
| """ | |
| The most atomic way to train and run inference for a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |