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
{ | |
"IsEncrypted": false, | |
"Values": { | |
"AzureWebJobsStorage": "DefaultEndpointsProtocol=https;AccountName=xxxxxxx;AccountKey=xxxxxxxxxxxxxx", | |
"AzureWebJobsDashboard": "" | |
} | |
} |
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.IO; | |
using Microsoft.Azure.WebJobs; | |
using Microsoft.Azure.WebJobs.Extensions.Http; | |
using Microsoft.AspNetCore.Http; | |
using Microsoft.Azure.WebJobs.Host; | |
using Newtonsoft.Json; | |
using System; | |
using Microsoft.WindowsAzure.Storage.Table; | |
using System.Collections.Generic; | |
using System.Net.Http; |
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
@if "%SCM_TRACE_LEVEL%" NEQ "4" @echo off | |
:: ---------------------- | |
:: KUDU Deployment Script | |
:: Version: 1.0.15 | |
:: ---------------------- | |
:: Prerequisites | |
:: ------------- |
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
C:. | |
| kositvalidator-api.war | |
| | |
+---lib | |
| kositvalidator-logic-0.0.1.0.jar | |
| validationtool-1.1.0.jar | |
| ...other jars omitted for brevity | |
| | |
\---META-INF | |
application.xml |
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
<rich:tabPanel width="50px"> | |
<c:forEach items=#{_myTabs}" var="_myTab" varStatus="currPos"> | |
<rich:tab switchType="client" label="Tab ${currPos.index}"> | |
. | |
. | |
. | |
</c:forEach> | |
</rich:tabPanel> |
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
% | |
% Ackermann function | |
% ackermann(X,Y,R) | |
%Base cases | |
ackermann(0,0,R) :- R is 1. | |
ackermann(0,Y,R) :- Y>0, !, R is Y+1. %Stop if Y=0 | |
%Cases leading to recursion | |
ackermann(X,0,R) :- | |
X>0, !, %Cut, if X=0 |
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.util.ArrayList; | |
class PermutationsFinder { | |
public static void main(String[] args) throws IOException { | |
String input; | |
ArrayList<String> permutations = new ArrayList<>(); |
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
application { | |
config { | |
baseName webStore | |
applicationType gateway | |
serverPort 9042 | |
authenticationType oauth2 | |
packageName de.maik.store.web | |
searchEngine elasticsearch | |
serviceDiscoveryType eureka | |
testFrameworks [protractor] |
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
FROM ubuntu:latest | |
ENV DEBIAN_FRONTEND=noninteractive | |
RUN apt update && apt install sudo vim inetutils-ping traceroute curl xbase-clients x11-apps openssh-server jxplorer ldapvi ldap-utils -y | |
RUN useradd -rm -d /home/ubuntu -s /bin/bash -g root -G sudo -u 1000 ldapuser | |
RUN echo 'ldapuser:ldappwd' | chpasswd | |
RUN echo 'X11UseLocalhost no' >> /etc/ssh/sshd_config | |
RUN echo 'AddressFamily inet' >> /etc/ssh/sshd_config | |
RUN service ssh start |
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 json | |
import urllib.parse | |
import boto3 | |
import requests | |
import time | |
import datetime | |
ALBUM_ID = "REPLACE_ME_ALBUM_ID" | |
S3_BUCKET = "REPLACE_ME_BUCKET_NAME" | |
S3_KEY = "REPLACE_ME_BUCKET_OBJECT_NAME" |
OlderNewer