Skip to content

Instantly share code, notes, and snippets.

Avatar

Emre Kağan Akkaya emrekgn

View GitHub Profile
@emrekgn
emrekgn / AhenkPlugin.cs
Last active Nov 4, 2016
Sample Implementation for Ahenk pGina Plugin
View AhenkPlugin.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using pGina.Shared.Types;
using log4net;
/*
* See https://github.com/pgina/pgina/wiki/Plugin-Tutorial
@emrekgn
emrekgn / checkstyle.xml
Created Feb 22, 2016
Checkstyle configuration for Google coding conventions
View checkstyle.xml
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<!--
Source = https://github.com/checkstyle/checkstyle/tree/master/src/main/resources
Checkstyle configurartion that checks the Google coding conventions from:
- Google Java Style
@emrekgn
emrekgn / soyisimler
Created Dec 4, 2015
Türkçe Soyisim Listesi
View soyisimler
ŞEN
KANDEMİR
ÇEVİK
ERKURAN
TÜTEN
ÖZTÜRK
YÜZBAŞIOĞLU
VURAL
YÜCEL
SÖNMEZ
@emrekgn
emrekgn / isimler
Last active Jul 17, 2021
Türkçe İsim Listesi
View isimler
JALE
ALİ
MAHMUT
MANSUR KÜRŞAD
GAMZE
MİRAÇ
YÜCEL
KUBİLAY
HAYATİ
BEDRİYE MÜGE
@emrekgn
emrekgn / RepoSourcesListParser.java
Last active Dec 1, 2015
sources.list URL Parser - Prints out packages defined by repository URL
View RepoSourcesListParser.java
package tr.org.sources.list.parser;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Serializable;
import java.lang.reflect.Method;
import java.util.HashSet;
import java.util.Set;
@emrekgn
emrekgn / XmppClient.java
Created Nov 29, 2015
Smack API example (uses Smack v4.1.5)
View XmppClient.java
package xmpp.client.example;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Collection;
import org.jivesoftware.smack.AbstractXMPPConnection;
import org.jivesoftware.smack.XMPPException;
import org.jivesoftware.smack.ConnectionConfiguration.SecurityMode;
import org.jivesoftware.smack.SmackException.NotConnectedException;