Skip to content

Instantly share code, notes, and snippets.

Myles Daniel Baker mydpy

Block or report user

Report or block mydpy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mydpy
mydpy / gz.scala
Created May 21, 2019 — forked from pauca/gz.scala
scala read / write from compressed gz
View gz.scala
import java.io._
import java.util.zip._
import scala.io.Source
var in = new GZIPInputStream(new FileInputStream("test.gz"))
// write setup in different objects to close later properly (important for big files )
var fos = new FileOutputStream("test2.gz")
var gzos = new GZIPOutputStream( fos )
var w = new PrintWriter(gzos)
@mydpy
mydpy / SMSSpamCollection.csv
Last active Oct 18, 2016
SMSSpamCollection.csv
View SMSSpamCollection.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 2 columns, instead of 3. in line 1.
label,text
0.0,Go until jurong point, crazy.. Available only in bugis n great world la e buffet... Cine there got amore wat...
0.0,Ok lar... Joking wif u oni...
1.0,Free entry in 2 a wkly comp to win FA Cup final tkts 21st May 2005. Text FA to 87121 to receive entry questionstd txt rateTCs apply 08452810075over18s
0.0,U dun say so early hor... U c already then say...
0.0,Nah I dont think he goes to usf, he lives around here though
1.0,FreeMsg Hey there darling its been 3 weeks now and no word back Id like some fun you up for it still Tb ok XxX std chgs to send, 1.50 to rcv
0.0,Even my brother is not like to speak with me. They treat me like aids patent.
0.0,As per your request Melle Melle Oru Minnaminunginte Nurungu Vettam has been set as your callertune for all Callers. Press 9 to copy your friends Callertune
1.0,WINNER As a valued network customer you have been selected to receivea 900 prize reward To claim call 09061701461. Claim code KL341. Valid 12 hours only.
@mydpy
mydpy / gist:15ed1f97545db36dc270
Created May 5, 2015
ownCloud 1062 Internal Server Error
View gist:15ed1f97545db36dc270
04-18 06:19:16:841 0x7fe0c942a800 OCC::AbstractNetworkJob::start: !!! OCC::CheckServerJob created for QUrl( "https://services.captechventures.com/owncloud" ) querying "status.php"
04-18 06:19:17:131 0x7fe0c942a800 OCC::CheckServerJob::finished: status.php returns: QMap(("edition", QVariant(QString, "") ) ( "installed" , QVariant(QString, "true") ) ( "version" , QVariant(QString, "7.0.4.2") ) ( "versionstring" , QVariant(QString, "7.0.4") ) ) 0 Reply: QNetworkReplyHttpImpl(0x7fe0c94ebef0)
04-18 06:19:17:132 0x7fe0c942a800 OCC::ConnectionValidator::slotStatusFound: ** Application: ownCloud found: QUrl( "https://services.captechventures.com/owncloud/status.php" ) with version "7.0.4" ( "7.0.4.2" )
04-18 06:19:19:810 0x7fe0c942a800 OCC::AbstractNetworkJob::start: !!! OCC::CheckServerJob created for QUrl( "https://services.captechventures.com/owncloud" ) querying "status.php"
04-18 06:19:19:823 0x7fe0c942a800 OCC::FolderMan::slotStartScheduledFolderSync: FolderMan: Syncing is disabled, no schedul
You can’t perform that action at this time.