Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Taha Doğan Güneş tdgunes

View GitHub Profile
View KagansGuide.md
@tdgunes
tdgunes / HTTPServer.uno
Last active Mar 29, 2019
Controlling Arcelik Invertech AC with ESP8266 NodeCMU v2 for Homebridge (HomeKit)
View HTTPServer.uno
/*********
Rui Santos
Complete project details at http://randomnerdtutorials.com
*********/
// Load Wi-Fi library
#include <ESP8266WiFi.h>
#include <IRremoteESP8266.h>
#include <IRsend.h>
@tdgunes
tdgunes / Control.uno
Last active Mar 28, 2019
TRUST AC3-1000R Arduino Control
View Control.uno
#include <NewRemoteTransmitter.h>
static unsigned long ADDRESS = 17503242; // TRUST AC3-1000R
static unsigned short DATA_PIN = 11; // Arduino 443Mhz transmitter's Data pin
static unsigned int PULSE_RATE = 250; // Pulse rate of the protocol
// Receives input switch_id: 0,1,2 state: 0,1 for (on-off)
void setup() {
Serial.begin(9600);
View gist:e5bbe98ecce0bb4180bdcb7bd3f36a97
**Taha Doğan Güneş** _PhD Student in Computer Science_ _University of Southampton, UK_ _tdgunes [at] gmail.com_

![ ](./me.jpg width="150px" align=left) I am a PhD student in University of Southampton within Agents, Interaction and Complexity group (AIC). My current interests are in the field of Artificial Intelligence, specifically: sequential decision making under uncertainty, trust and reputation systems, probabilistic modelling and machine learning.

Recent News:

View gist:e198bbe40d912ff71797b1fde2c3c15b
import java.util.List;
import genius.core.AgentID;
import genius.core.Bid;
import genius.core.actions.Accept;
import genius.core.actions.Action;
import genius.core.actions.Offer;
import genius.core.parties.AbstractNegotiationParty;
import genius.core.parties.NegotiationInfo;
@tdgunes
tdgunes / Info.md
Last active Oct 25, 2017
ExampleAgent for Genius 7.1.6
View gist:de6f8c2e18ad1e4a3ba5e739983ac469
23:44:04.261 [main] INFO o.t.world.biomes.BiomeManager - Restored biome Core:snow with short id 2 from save game.
23:44:04.261 [main] INFO o.t.world.biomes.BiomeManager - Restored biome Core:plains with short id 7 from save game.
23:44:04.302 [main] INFO o.t.e.prefab.internal.PrefabFormat - Attempting to deserialize prefab engine:clientInfo with inputs [/engine/assets/prefabs/player/clientInfo.prefab]
23:44:04.303 [main] INFO o.t.e.prefab.internal.PrefabFormat - Attempting to deserialize prefab Core:fuseLong with inputs [/Core/assets/prefabs/fuseLong.prefab]
23:44:04.303 [main] INFO o.t.e.prefab.internal.PrefabFormat - Attempting to deserialize prefab engine:iconItem with inputs [/engine/assets/prefabs/iconItem.prefab]
23:44:04.304 [main] INFO o.t.e.prefab.internal.PrefabFormat - Attempting to deserialize prefab engine:itemBase with inputs [/engine/assets/prefabs/itemBase.prefab]
23:44:04.305 [main] INFO o.t.e.prefab.internal.PrefabFormat - Attempting to deserialize prefab engine:physicalDamage with in
View gist:64e1d7f97774164fd88d
1. Run Windows o Linux, on Windows go to Device Management, open your wifi card (atheros 9287), so "Details" > "ID hardware". (I have windows in Italian, I do not know if English is really so named; With Linux I don't know lol)
2. Copy on paper (or take a photo) the characters XXXX --> "VEN_168C&DEV_XXXX".
3. Run OS X and take the file IO80211Family.kext from Hard Disk>System>Library>Extension (U need to enable "hidden files" from terminal; search how with google), copy it on the desk (and make it a backup copy).
4. Right button on it > Show package contents.
5. Go to "Contents>PlugIns>AirPortAtheros40.kext", open with "Show package contents". Now go to "Contents>Info.plist", open it with the TextEdit.
6. So look in it, and replace as I did:
My ID Hardware: ....VEN_168C&DEV_002E... (XXXX = 002E)
Our id : VEN
I replace the first <string>pci168c,XXXX</string> with my ID Hardware: <string>pci168c,2e</string>
Note: the 0 is not reported; the "E" becomes "e".
@tdgunes
tdgunes / README.sh
Last active Nov 10, 2018
Installing Spatialite for Django on Ubuntu/Debian
View README.sh
#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
@tdgunes
tdgunes / demo.cpp
Created Mar 20, 2015
g++ demo.cpp -g -lSDL2 -lSDL2_ttf -framework OpenGL -lGLEW -o demo
View demo.cpp
//From here but switched to 3.3 http://stackoverflow.com/questions/19748147/sdl-ttf-draws-garbage
#include <GL/glew.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_opengl.h>
#include <SDL2/SDL_ttf.h>
#include <string>
#include <iostream>
You can’t perform that action at this time.