I hereby claim:
- I am maleficarum on github.
- I am maleficarum (https://keybase.io/maleficarum) on keybase.
- I have a public key ASD9moKTMQaI2QshyT_MnJ9A7cseeVFdvbAijIQFJyXa7wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
0xacE3fFEb698769360D03c35431e00D3727aBf866 |
#include <Adafruit_NeoPixel.h> | |
#define PIN 6 | |
// Parameter 1 = number of pixels in strip | |
// Parameter 2 = pin number (most are valid) | |
// Parameter 3 = pixel type flags, add together as needed: | |
// NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LEDs) | |
// NEO_KHZ400 400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers) | |
// NEO_GRB Pixels are wired for GRB bitstream (most NeoPixel products) |
import org.apache.commons.net.telnet.TelnetClient; | |
import org.apache.log4j.Logger; | |
import java.io.IOException; | |
import java.net.ConnectException; | |
import java.net.UnknownHostException; | |
/** | |
* Execute a telnet connection to determine if the server and port are accessible. | |
* |
Socket socket = new Socket("192.168.1.1", 23); | |
socket.setKeepAlive(true); | |
BufferedReader r = new BufferedReader(new InputStreamReader(socket.getInputStream())); | |
PrintWriter w = new PrintWriter(socket.getOutputStream(),true); | |
int c=0; | |
while ((c = r.read()) != -1) | |
System.out.print((char)c); | |
w.print("1234\r\n"); // also tried simply \n or \r |
/usr/sbin/setsebool -P httpd_can_network_connect 1 |
keytool -import -alias DocsKey -trustcacerts -file ~/docs.com -keystore /u01/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/security/DemoIdentity.jks |
sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Yosemite.app --nointeraction |
hwf:getTaskAttachmentContents(bpmn:getDataObject('attachmentExecutionData')/ns:attachment[1]/ns:taskId, bpmn:getDataObject('attachmentExecutionData')/ns:attachment[1]/ns:name) |
// This is the Android version of the Tweetie-like pull to refresh table: | |
// http://developer.appcelerator.com/blog/2010/05/how-to-create-a-tweetie-like-pull-to-refresh-table.html | |
var win = Ti.UI.currentWindow; | |
var alertDialog = Titanium.UI.createAlertDialog({ | |
title: 'System Message', | |
buttonNames: ['OK'] | |
}); | |
var scrollView = Ti.UI.createScrollView({ |