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
/************************************************************* | |
Download latest Blynk library here: | |
https://github.com/blynkkk/blynk-library/releases/latest | |
Blynk is a platform with iOS and Android apps to control | |
Arduino, Raspberry Pi and the likes over the Internet. | |
You can easily build graphic interfaces for all your | |
projects by simply dragging and dropping widgets. | |
Downloads, docs, tutorials: http://www.blynk.cc |
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
#cloud-config | |
coreos: | |
units: | |
- name: 00-eth0.network | |
runtime: true | |
content: | | |
[Match] | |
Name=ens32 |
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
DECLARE UserCursor CURSOR LOCAL FAST_FORWARD FOR | |
SELECT | |
spid | |
FROM | |
master.dbo.sysprocesses | |
WHERE DB_NAME(dbid) = 'dbname'--replace the dbname with your database | |
DECLARE @spid SMALLINT | |
DECLARE @SQLCommand VARCHAR(300) | |
OPEN UserCursor | |
FETCH NEXT FROM UserCursor INTO |
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
apply plugin: 'java' | |
apply plugin: 'war' | |
apply plugin: 'eclipse' | |
apply plugin: 'tomcat' | |
tomcatRun.httpPort=12000 | |
springVersion="4.0.1.RELEASE" | |
springSecurityVersion="3.2.0.RELEASE" |
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.cassandra.main; | |
import org.apache.cassandra.thrift.Cassandra; | |
import org.apache.cassandra.thrift.KsDef; | |
import org.apache.cassandra.thrift.TBinaryProtocol; | |
import org.apache.thrift.protocol.TProtocol; | |
import org.apache.thrift.transport.TFramedTransport; | |
import org.apache.thrift.transport.TSocket; | |
import org.apache.thrift.transport.TTransport; |