This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Raspberry pi toolkit for node.js | |
depends on sync runner library (npm install sync-runner) | |
functions: | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Wifi Configuration Library For Windows Vista/7/8/10 | |
* Uses operating system's built in utilities | |
* | |
* Armagan Corlu aka PsyChip | |
* March 2016 | |
* | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SoftwareSerial.h> | |
#include <OneWire.h> | |
const String uniqid = "180316-003"; | |
const String serveraddr = "192.168.1.21"; | |
const String serverport = "3535"; | |
const String ssid = "your_ssid_here"; | |
const String password = "your_ssid_pass"; | |
int TMP = 13; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Serial Relay Controller | |
Armagan Corlu aka PsyChip | |
root@psychip.net | |
April 2015 | |
*/ | |
const byte NUMBER_OF_PINS = 4; // set number of relays |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# Maxmind Geolocation Database | |
# Portable library for cross-version readings | |
# | |
# Armagan Corlu aka Psy_Chip | |
# root@psychip.net | |
# 30.08.2014 | |
# | |
# sample usage: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Minified Sellenium PHP Driver | |
* Requires original webdriver to run | |
* | |
* Coded By Armagan Corlu aka Psy_chip | |
* root@psychip.net | |
* 2012 | |
* | |
* + Macro Support | |
* + minified functions |
NewerOlder