Skip to content

Instantly share code, notes, and snippets.

View tdgunes's full-sized avatar
🎯
Focusing

Taha Doğan Güneş tdgunes

🎯
Focusing
View GitHub Profile
@tdgunes
tdgunes / HTTPServer.uno
Last active March 29, 2019 01:58
Controlling Arcelik Invertech AC with ESP8266 NodeCMU v2 for Homebridge (HomeKit)
/*********
Rui Santos
Complete project details at http://randomnerdtutorials.com
*********/
// Load Wi-Fi library
#include <ESP8266WiFi.h>
#include <IRremoteESP8266.h>
#include <IRsend.h>
@tdgunes
tdgunes / KagansGuide.md
Created April 2, 2019 20:21
Homebridge Guide
<!DOCTYPE html>
<html>
<body>
<div id="header">Welcome, Prof. Dr. Taner Güneş</div>
<div id="container">
<form>
<input type="text" name="firstname">
</form>
@tdgunes
tdgunes / GraverBasisReadMe.txt
Last active September 19, 2019 18:24
Grover basis - generic algorithm
19 September 2019 - A day with an attempt to generate Graver basis vectors
- https://ie.technion.ac.il/~onn/Nachdiplom/3.pdf (Followed this lecture notes, and replicated the example)
- https://ie.technion.ac.il/~onn/Book/NDO.pdf (Also followed the book)
@tdgunes
tdgunes / test.py
Created February 3, 2020 16:29
Replaces dots in a json for preprocessing data for MongoDB
import re
if __name__ == '__main__':
TEST = """
[
{
"_id": "5e1d995f08f9e94ea4c67e31",
"data.Attack_Pattern_Catalog.Attack_Patterns.Attack_Pattern": [
{
"_attributes": {
"ID": "1",
@tdgunes
tdgunes / Example.java
Created November 24, 2021 12:59
org-tweetyproject-arg-peaf
// TODO: Make sure the aif RA and CA nodes have `probability` field assigned to 1.0.
// TODO: For an example, check `resources/aif/5.json`.
public class Example {
public static void main(String[] args) {
AIFReader reader = new AIFReader("changethepath.json");
AIFTheory theory = reader.read();
AIFtoPEEAFConverter converter = new AIFtoPEEAFConverter();
PEEAFTheory peeafTheory = converter.convert(theory);
@tdgunes
tdgunes / Info.md
Last active September 11, 2023 10:51
ExampleAgent for Genius 7.1.6
@tdgunes
tdgunes / README.sh
Last active October 23, 2023 19:23
Installing Spatialite for Django on Ubuntu/Debian
#On Debian 7.0
#Install build essentials
sudo apt-get install build-essential
#Install dependencies
sudo apt-get install binutils libproj-dev gdal-bin
sudo apt-get install libgeos-dev
sudo apt-get install libexpat1 libexpat1-dev
sudo apt-get install pkg-config