Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block PsyChip

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
PsyChip / serialrelay.ino
Created Aug 23, 2015
Serial relay controller for arduino
View serialrelay.ino
Serial Relay Controller
Armagan Corlu aka PsyChip
April 2015
const byte NUMBER_OF_PINS = 4; // set number of relays
PsyChip / class.selenium.php
Created Aug 23, 2015
Minified php driver for selenium web automation framework (
View class.selenium.php
/* Minified Sellenium PHP Driver
* Requires original webdriver to run
* Coded By Armagan Corlu aka Psy_chip
* 2012
* + Macro Support
* + minified functions
PsyChip / class.psydb.php
Created Aug 23, 2015
Set of extra functions and utilities for medoo database framework (
View class.psydb.php
include_once "medoo.min.php"; // path to original medoo framework
class psydb extends medoo {
* usage:
* rquery($query): raw query. returns a simple mysql resource
* aquery($query): return a single line in one array
* mquery($query): return all results in a inception (array in array)
PsyChip / class.geolocation.php
Created Aug 23, 2015
Cross-version library for maxmind offline geolocation api. download depencies and databases from
View class.geolocation.php
# Maxmind Geolocation Database
# Portable library for cross-version readings
# Armagan Corlu aka Psy_Chip
# 30.08.2014
# sample usage:
PsyChip / wifi_sensor_station.ino
Last active Apr 17, 2016
wireless soil humidity, temperature and light measurement with esp8266. more info at
View wifi_sensor_station.ino
#include <SoftwareSerial.h>
#include <OneWire.h>
const String uniqid = "180316-003";
const String serveraddr = "";
const String serverport = "3535";
const String ssid = "your_ssid_here";
const String password = "your_ssid_pass";
int TMP = 13;
View class.twificonfig.php
* Wifi Configuration Library For Windows Vista/7/8/10
* Uses operating system's built in utilities
* Armagan Corlu aka PsyChip
* March 2016
View libraspi.js
Raspberry pi toolkit for node.js
depends on sync runner library (npm install sync-runner)
getThrm(): returns cpu temperature
getVcc(): returns total used voltage by soc unit
uptime(): system uptime in milliseconds
serviceStart(): starts a system daemon, call serviceStop() to do opposite
View app.js
/* global os */
var request = require('sync-request/index.js');
var raspi = require("raspi");
var conf = {
server: "",
port: "8484",
devid: "200616-004",
debug: true,
PsyChip / class.psyutil.php
Created Jul 2, 2016
my private php utilities which used in previously involved web projects. no documentation but it's worth to take a look.
View class.psyutil.php
# PsyUtils - Generic web toolkit for php 5.4+
# Armagan Corlu aka PsyChip
# March 2014
$psy_mimetypes = [
'cpt' => 'application/mac-compactpro',
'bin' => 'application/macbinary',

Keybase proof

I hereby claim:

  • I am psychip on github.
  • I am psychip ( on keybase.
  • I have a public key whose fingerprint is 1600 0ECF A507 E1E5 705E F4E2 3EC1 1897 E5E2 20CE

To claim this, I am signing this object:

You can’t perform that action at this time.