Skip to content

Instantly share code, notes, and snippets.

@netslow
netslow / sublime-text-3-windows-shortcuts.md
Created December 18, 2020 14:16 — forked from mrliptontea/sublime-text-3-windows-shortcuts.md
Sublime Text 3 - Useful Shortcuts (Windows)

Sublime Text 3 - Useful Shortcuts (Windows)

General

Shortcut Description
Ctrl+Shift+P command prompt
Ctrl+Alt+P switch project
Ctrl+P go to file
Ctrl+G go to line
@netslow
netslow / index.html
Created August 15, 2012 11:09
A web page created at CodePen.io.
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- IF PEN IS PRIVATE -->
<!-- <meta name="robots" content="noindex"> -->
<!-- END -->
@netslow
netslow / TestTailRec.scala
Created April 15, 2011 17:45
Compare tail recursion, list folding and classic approach
package org.halfcup.scala
import scala.annotation._
object TestTailRec {
def main(args: Array[String]): Unit = {
val list = List("one", "two", "three", "four", "five", "six", "seven", "eight", "nine","ten")
def maxWidth(s: List[String]) = {
@netslow
netslow / typeVary.scala
Created March 22, 2011 20:55
Type variance in Scala
package org.halfcup.scala.learn.vary
class Toy{
override def toString():String = {
"Toy"
}
}
class Ball extends Toy{
override def toString():String = {