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
using System; | |
using System.IO.Ports; | |
using System.Threading; | |
using System.ComponentModel; | |
class Program | |
{ | |
public static void Main() | |
{ | |
SerialPort mySerialPort = new SerialPort("/dev/tty.usbmodem621", 9600, Parity.None, 8, StopBits.One); |
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
/* | |
_____ _ _ _ ____ _____ | |
/ ____| (_) | | | | / __ \ / ____| | |
| | _ __ _ ___| | _____| |_| | | | (___ | |
| | | '__| |/ __| |/ / _ \ __| | | |\___ \ | |
| |____| | | | (__| < __/ |_| |__| |____) | | |
\_____|_| |_|\___|_|\_\___|\__|\____/|_____/ 2.0 | |
CricketOS chirps at configured day/night/day transitions for a certain amount of songs, then waits until | |
the next transistion. Prank your firends, they will have a hard time locating it. |
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.hazelcast.cluster; | |
import static com.amazonaws.regions.RegionUtils.getRegion; | |
import static org.apache.commons.lang3.StringUtils.isBlank; | |
import static org.apache.commons.lang3.StringUtils.isNotBlank; | |
import java.util.ArrayList; | |
import java.util.Collection; | |
import java.util.List; |
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
/* | |
Standalone Sketch to use with a Arduino Fio and a | |
Sharp Optical Dust Sensor GP2Y1010AU0F | |
Blog: http://arduinodev.woofex.net/2012/12/01/standalone-sharp-dust-sensor/ | |
Code: https://github.com/Trefex/arduino-airquality/ | |
For Pin connections, please check the Blog or the github project page | |
Authors: Cyrille Médard de Chardon (serialC), Christophe Trefois (Trefex) | |
Changelog: |
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
/* global angular:false,console:false */ | |
(function () { | |
'use strict'; | |
angular.module('app', ['ng', 'knalli.angular-vertxbus']) | |
.config(function(vertxEventBusProvider) { | |
vertxEventBusProvider | |
.useDebug(true) | |
.useUrlServer('http://localhost:8080'); | |
}) |
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.deblox.clustering; | |
import com.deblox.Boot; | |
import io.vertx.core.AbstractVerticle; | |
import io.vertx.core.Future; | |
import io.vertx.core.Handler; | |
import io.vertx.core.eventbus.DeliveryOptions; | |
import io.vertx.core.eventbus.EventBus; | |
import io.vertx.core.eventbus.Message; | |
import io.vertx.core.eventbus.MessageConsumer; |
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.deblox.clustering; | |
import io.vertx.core.Handler; | |
import io.vertx.core.eventbus.Message; | |
import io.vertx.core.http.HttpServerRequest; | |
import io.vertx.core.json.JsonArray; | |
import io.vertx.core.json.JsonObject; | |
/** |
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.deblox.greatsnipe.git.impl; | |
import com.deblox.greatsnipe.git.GitServerProvider; | |
import io.netty.handler.codec.http.HttpHeaders; | |
import io.vertx.core.Handler; | |
import io.vertx.core.Vertx; | |
import io.vertx.core.http.HttpClient; | |
import io.vertx.core.http.HttpClientRequest; | |
import io.vertx.core.json.JsonObject; | |
import io.vertx.core.logging.Logger; |
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.deblox.greatsnipe.git; | |
import io.vertx.core.Handler; | |
import io.vertx.core.Vertx; | |
import java.io.IOException; | |
import java.net.MalformedURLException; | |
/** | |
* provider to be extended / implemented in specific supported API's |
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.deblox.greatsnipe.git.impl; | |
import com.deblox.greatsnipe.git.GitServerProvider; | |
import io.vertx.core.Handler; | |
import io.vertx.core.Vertx; | |
import io.vertx.core.json.JsonObject; | |
import io.vertx.core.logging.Logger; | |
import io.vertx.core.logging.LoggerFactory; | |
import org.gitlab.api.GitlabAPI; | |
import org.gitlab.api.models.GitlabProject; |
OlderNewer