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 File | |
for line in File('/dev/ttys0') : | |
bla lba bla | |
ser.close() |
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 dbus | |
# get connman's dbus interface | |
bus = dbus.SystemBus() | |
manager = dbus.Interface(bus.get_object("org.moblin.connman", "/"), | |
"org.moblin.connman.Manager") | |
manager.ConnectService(({ "Type": "wifi", "Mode": "managed", | |
"SSID": ssid, |
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
--- | |
layout: post | |
title: Sample Post | |
tags: | |
- Ruby on Rails | |
- Jekyll | |
- development | |
redirects: | |
- old_url | |
image: http://farm1.static.flickr.com/67/173574384_8b29083ef0_z.jpg?zz=1 |
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
var toto = function(){} |
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
ss |
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
ss |
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
sdfsd |
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
class IndexView extends Backbone.View | |
template: JST['index'] | |
render: => | |
$(@el).html( @template() ) | |
this | |
this.IndexView = IndexView |
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
package com.jcheype.codeStory.enonce2 | |
import org.scalatest.FunSuite | |
import util.Random | |
import collection.mutable | |
import java.util.UUID | |
import org.slf4j.LoggerFactory | |
import org.scalatest.matchers.ShouldMatchers | |
/** |
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
package com.jcheype.codeStory | |
import scala.util.DynamicVariable | |
import com.jcheype.webServer._ | |
import org.scalatra._ | |
import org.jboss.netty.bootstrap.ServerBootstrap | |
import org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory | |
import java.util.concurrent.Executors | |
import com.jcheype.webServer.Route | |
import java.net.InetSocketAddress |
OlderNewer