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
uint8_t trigPin=12; | |
uint8_t echoPin=11; | |
uint8_t relayPin=10; | |
long duration; | |
float distance; | |
void setup() { | |
Serial.begin(9600); | |
Serial.println("Uno level detector started"); | |
pinMode(LED_BUILTIN, OUTPUT); | |
pinMode(trigPin, OUTPUT); |
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 subprocess | |
import warnings | |
# Suppress the deprecation warning from the cryptography module. | |
with warnings.catch_warnings(): | |
warnings.simplefilter("ignore") | |
import cryptography | |
import sys | |
import pysftp | |
import paramiko | |
import os |
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
<?php | |
/* | |
* This file is part of Composer. | |
* | |
* (c) Nils Adermann <[email protected]> | |
* Jordi Boggiano <[email protected]> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. |
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
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------< org.apache.zeppelin:zeppelin-web >------------------ | |
[INFO] Building Zeppelin: web Application 0.9.0-SNAPSHOT | |
[INFO] --------------------------------[ war ]--------------------------------- | |
[INFO] | |
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-fail-build) @ zeppelin-web --- | |
[INFO] | |
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce) @ zeppelin-web --- | |
[INFO] |
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
set $exglobal = (long *)&executor_globals | |
set $currentExecute = (long*)($exglobal[60]) | |
if ($currentExecute != 0) | |
while ($currentExecute != 0) | |
set $currentFunc = (long*)$currentExecute[3] | |
set $currentScope = (long *)$currentFunc[2] | |
if ($currentScope ==0) | |
printf "" | |
else | |
set $currentScopeN = (long*)$currentScope[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
set $exglobal = (long *)&executor_globals | |
set $currentExecute = (long*)($exglobal[61]) | |
if ($currentExecute != 0) | |
while ($currentExecute != 0) | |
set $currentFunc = (long*)$currentExecute[3] | |
set $currentScope = (long *)$currentFunc[2] | |
if ($currentScope ==0) | |
printf "" | |
else | |
set $currentScopeN = (long*)$currentScope[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
set $exglobal = (long *)&executor_globals | |
set $currentExecute = (long*)($exglobal[60]) | |
if ($currentExecute != 0) | |
while ($currentExecute != 0) | |
set $currentFunc = (long*)$currentExecute[3] | |
set $currentScope = (long *)$currentFunc[2] | |
if ($currentScope ==0) | |
printf "" | |
else | |
set $currentScopeN = (long*)$currentScope[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
require "yaml" | |
hosts = ["infra1","infra2","infra3"] | |
WORKDIR="/home/telegram/ALERT_TELEGRAM" | |
WORKDIR2="/root/ALERT_TELEGRAM" | |
TELEGRAM_USER="OPENSHIFT_ALERT" | |
TELEGRAM_BASE2="#{WORKDIR2}/telegram_send.sh #{TELEGRAM_USER}" | |
hostsFull = [] | |
hosts.each { | |
| h| | |
hostsFull.push(h + ".paas.telkom.co.id") |
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 java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.io.PrintStream; | |
import java.io.UnsupportedEncodingException; | |
import java.net.InetSocketAddress; | |
import java.net.Proxy; | |
import java.net.URL; | |
import java.net.URLConnection; | |
import java.net.URLEncoder; |
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
<%@ Page Language="C#" AutoEventWireup="true" %> | |
<%@ Import Namespace="System.Web.Configuration" %> | |
<%@ Import Namespace="System.Reflection" %> | |
<%@ Import Namespace="System.Text" %> | |
<%@ Import Namespace="System.Drawing" %> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" > | |
<head runat="server"> | |
<title>Untitled Page</title> |
NewerOlder