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
@echo off | |
set ARG=-load %1 | |
if "%1" == "" set ARG= | |
start putty %ARG% |
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
bin/*.class | |
*.swp | |
RECOVER_*.fla | |
test | |
*.swc | |
*.swf |
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
#!/bin/sh | |
[ -z "$1" ] && { | |
echo "What to copy?" | |
exit 1 | |
} | |
[ -z "$2" ] && { | |
echo "Where to copy?" | |
exit 2 |
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
object Main extends App { | |
println("Press any key") | |
System.in.read() | |
println("Thank you") | |
} |
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
target | |
.idea* |
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
.idea* | |
project | |
target |
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
find . -name "*.as" | xargs -I FILE perl -pi -e 's/\r(\n)?/\n/g' FILE |
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
import io.Source | |
import java.io.{File, Reader} | |
import scala.Left | |
import scala.Predef._ | |
import scala.Right | |
import util.parsing.combinator.RegexParsers | |
class CSVParser(source:Reader) extends RegexParsers { | |
lazy val result:Either[String, CSVArray] = parse(root, source) match { | |
case Success(result, _) => Right(result) |
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
import java.io.{UnsupportedEncodingException, InputStreamReader, IOException} | |
import java.net.{ProtocolException, MalformedURLException, HttpURLConnection, URL} | |
import util.control.Exception._ | |
object URLPrinter extends App { | |
val defaultEncoding = "CP1251" | |
val targetURL = "http://google.com" | |
var readerOpt = Option.empty[InputStreamReader] | |
val catchingErrors = Seq( |
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
<?xml version="1.0"?> | |
<settings> | |
<console change_refresh="10" refresh="100" rows="40" columns="120" buffer_rows="1000" buffer_columns="0" shell="" init_dir="" start_hidden="0" save_size="0"> | |
<colors> | |
<color id="0" r="238" g="232" b="213"/> | |
<color id="1" r="38" g="139" b="210"/> | |
<color id="2" r="133" g="153" b="0"/> | |
<color id="3" r="42" g="161" b="152"/> | |
<color id="4" r="220" g="50" b="47"/> | |
<color id="5" r="211" g="54" b="130"/> |
OlderNewer