Skip to content

Instantly share code, notes, and snippets.

View rfum's full-sized avatar
🐱
Focusing

Furkan M rfum

🐱
Focusing
View GitHub Profile
@rfum
rfum / after-delete-leader-pod-job-manager-1.log
Created September 8, 2018 13:10
Flink + Minio Error creating file system
Starting standalonesession as a console application on host flink-job-manager-1.
2018-09-08 11:56:26,025 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - --------------------------------------------------------------------------------
2018-09-08 11:56:26,027 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - Starting StandaloneSessionClusterEntrypoint (Version: 1.6.0, Rev:ff472b4, Date:07.08.2018 @ 13:31:13 UTC)
2018-09-08 11:56:26,027 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - OS current user: flink
2018-09-08 11:56:26,028 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - Current Hadoop/Kerberos user: <no hadoop dependency found>
2018-09-08 11:56:26,028 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - JVM: OpenJDK 64-Bit Server VM - Oracle Corporation - 1.8/25.181-b13
2018-09-08 11:56:26,028 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint - Maximum heap size: 981 MiBytes
2018-0
package com.byteslounge.websockets;
import java.io.IOException;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import javax.websocket.OnClose;
import javax.websocket.OnMessage;
import javax.websocket.OnOpen;
package com.byteslounge.websockets;
import java.io.IOException;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import javax.websocket.OnClose;
import javax.websocket.OnMessage;
import javax.websocket.OnOpen;
@rfum
rfum / Dockerfile
Created February 2, 2018 10:16
.net core 2.0 basic installation ubuntu 16.04
FROM ubuntu
MAINTAINER R.Furkan MATARACI <[email protected]>
RUN apt-get update
RUN apt-get install curl -y
RUN curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
RUN mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
RUN bash -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-artful-prod artful main" > /etc/apt/sources.list.d/dotnetdev.list'
RUN bash -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
@rfum
rfum / Program.cs
Created January 11, 2018 22:50
StackTrace C# Örnek
using System;
namespace StackTrace
{
class Program
{
static void Main(string [] args)
{
A();
}
/home/rfm/jdk1.8.0_144/bin/java -javaagent:/home/rfm/Downloads/idea-IU-172.3968.16/lib/idea_rt.jar=39553:/home/rfm/Downloads/idea-IU-172.3968.16/bin -Dfile.encoding=UTF-8 -classpath /home/rfm/jdk1.8.0_144/jre/lib/charsets.jar:/home/rfm/jdk1.8.0_144/jre/lib/deploy.jar:/home/rfm/jdk1.8.0_144/jre/lib/ext/cldrdata.jar:/home/rfm/jdk1.8.0_144/jre/lib/ext/dnsns.jar:/home/rfm/jdk1.8.0_144/jre/lib/ext/jaccess.jar:/home/rfm/jdk1.8.0_144/jre/lib/ext/jfxrt.jar:/home/rfm/jdk1.8.0_144/jre/lib/ext/localedata.jar:/home/rfm/jdk1.8.0_144/jre/lib/ext/nashorn.jar:/home/rfm/jdk1.8.0_144/jre/lib/ext/sunec.jar:/home/rfm/jdk1.8.0_144/jre/lib/ext/sunjce_provider.jar:/home/rfm/jdk1.8.0_144/jre/lib/ext/sunpkcs11.jar:/home/rfm/jdk1.8.0_144/jre/lib/ext/zipfs.jar:/home/rfm/jdk1.8.0_144/jre/lib/javaws.jar:/home/rfm/jdk1.8.0_144/jre/lib/jce.jar:/home/rfm/jdk1.8.0_144/jre/lib/jfr.jar:/home/rfm/jdk1.8.0_144/jre/lib/jfxswt.jar:/home/rfm/jdk1.8.0_144/jre/lib/jsse.jar:/home/rfm/jdk1.8.0_144/jre/lib/management-agent.jar:/home/rfm/jdk1.8.0_144/jre
@rfum
rfum / Logging.java
Created September 21, 2017 14:35
Logging.java
package aspect;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
@Aspect
@rfum
rfum / SystemArchitecture.java
Created September 21, 2017 14:31
SystemArchitecture.java
package aspect;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
@Aspect
public class SystemArchitecture
{
@Pointcut("execution(* set*(..))")
public static void allSetterPointcut()
{