View ajfork2csv.php
<?php
/*
2017-09-10
A tool to convert AJ-Fork (Cutenews) data into a well-formated CSV for import into WordPress or other.
*/
$input = file('data.txt');
$output = fopen('data.csv','w+');
$entries = 0;
View keybase.md

Keybase proof

I hereby claim:

  • I am Arty2 on github.
  • I am heracles (https://keybase.io/heracles) on keybase.
  • I have a public key whose fingerprint is 3D2C 3A1E F678 41B3 CEE6 D4D8 EEEE A5F2 53A7 ACBE

To claim this, I am signing this object:

View mail.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#use the script as follows:
#
#python mail.py "subject" "message"
#
#or to email the contents of a file (e.g. a log file):
#
#message=`cat file.log`;python mail.py "subject" "$message"
View bettertypography.ahk
#KeyHistory 0
;BETTER TYPOGRAPHY
$^!-:: SendUnicode("2014") ;— em dash
$^!+-:: SendUnicode("2013") ;– en dash
$^!.:: SendUnicode("2026") ;
$^!+.:: SendUnicode("2022") ;
$^+.:: SendUnicode("2E0C") ;⸌ “list character” (left raised omission bracket)
$^!,:: SendUnicode("387") ;· ano teleia
$^+[:: SendUnicode("300C") ;
View scrollbars.css
/* AGENT_SHEET */
/*
scrollbars.css
based on https://userstyles.org/styles/128059/firefox-minimal-scrollbars
*/
scrollbar {
z-index: 2147483647 !important;
position: relative !important;
transition: all 0s !important;
View rotary_encoder.pde
/*
Reading one Rotary Encoder from a Raspberry Pi
Translated from C to Processing by Heracles Papatheodorou
via http://theatticlight.net/posts/Reading-a-Rotary-Encoder-from-a-Raspberry-Pi/
GND MIDDLE encoder leg
GPIO22 GPIO23 LEFT and RIGHT legs
3.3V LEFT and RIGHT, splits to two 10k resistors for pull-up
View knobs_to_serial.ino
int knob_0_pin = A0;
int knob_1_pin = A1;
int knob_2_pin = A2;
int knob_3_pin = A3;
int knob_4_pin = A4;
int knob_5_pin = A5;
void setup() {
Serial.begin(9600);
}
View speed-dial_dev.css
/*
speed-dial_dev.css
use with Speed Dial plugin: https://addons.mozilla.org/en-US/firefox/addon/speed-dial
modified from: https://userstyles.org/users/254374
*/
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
@-moz-document url("chrome://speeddial/content/speeddial.xul"){
.sd-tab {
View speed-dial.css
/*
speed-dial.css
use with Speed Dial plugin: https://addons.mozilla.org/en-US/firefox/addon/speed-dial
modified from: https://userstyles.org/users/254374
*/
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
@-moz-document url("chrome://speeddial/content/speeddial.xul"){
.sd-tab {
View private-tabs.css
/*
private-tabs.css
https://gist.github.com/Arty2/4658f49ca815980b0cb2
*/
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
#main-window[privatebrowsingmode=temporary] #urlbar {
border-color: #841ebe !important;
background-color: #841ebe !important;
color: #fff !important;