Skip to content

Instantly share code, notes, and snippets.

Heracles Arty2

Block or report user

Report or block Arty2

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
@Arty2
Arty2 / simplenote-dark-theme.css
Last active Apr 11, 2019
User Style for app.simplenote.com that introduces a Dark theme and other visual tweaks. To be used with Stylus or similar extention
View simplenote-dark-theme.css
::-moz-selection { background: #000; }
::selection { background: #000; }
:not(.published-wrap) > .wrapper > .app {
background: #222;
}
.wrapper {
height: 100vh;
}
@Arty2
Arty2 / directory-tree.bat
Created Nov 29, 2018
Createa txt file with the current directory (folder) tree-like structure of subdirectories - Windows executable script
View directory-tree.bat
@echo off
powershell -command "tree > directory-tree.txt"
@Arty2
Arty2 / pulsedetect_07.ino
Created Aug 8, 2018
Arduino sketch: Pulse sensor by means of a photoresistor • Breathing sensor by means of resistance sensor fabric
View pulsedetect_07.ino
//pins
const int led = 13; //calibration LED
const int vibrator = 12;
const int buzzer = 11;
const int pulseSensor = A0; //LDR
const int breathSensor = A1; //resistive fabric
//pulse sensor variables
int pulseMin = 1023;
int pulseMax = 0;
@Arty2
Arty2 / maxwell_render-folder.js
Last active May 13, 2018
Script for Maxwell Render: render all the MXS files located in the folder 'inputFolder', including its children
View maxwell_render-folder.js
// Script for Maxwell Render: render all the MXS files located in the folder 'inputFolder', including its children
var inputFolder = 'C:/_queue';
var outputFolder = 'C:/_output';
var engineVersion = Maxwell.getEngineVersion();
var mxsCount = FileManager.getNumberOfFilesInBranch( inputFolder, '*.mxs' );
var mxsList = FileManager.getFilesInBranch( inputFolder, '*.mxs' );
// Connect event
RenderEvents['renderFinished()'].connect(renderHasFinished);
var i = 0;
@Arty2
Arty2 / delete_backups_executable.bat
Created May 11, 2018
Cleanup utility to delete autosaves and backups by software commonly used in architecture.
View delete_backups_executable.bat
@echo off
setlocal
:PROMPT
SET /P CONFIRM=Do you want to delete all ^
Sketchup : .skb, AutoSave_, Backup*.layout ^
AutoCAD : .bak, .dwl, .dwl2, .log, .err ^
Photoshop : .tmp ^
@Arty2
Arty2 / dropbox-paper-dark.css
Last active Apr 11, 2019
User Style for Dropbox Paper that introduces a simple Dark theme. To be used with Stylus or similar extention.
View dropbox-paper-dark.css
::-moz-selection { background: #000; }
::selection { background: #000; }
body,
.ace-editor,
.hp-sidebar-container,
.folder-sidebar,
.main-header-right,
#main-header-container,
.hp-toc .hp-toc-entries {
View beep.html
<!DOCTYPE html>
<html>
<head>
<title>beep</title>
<meta charset="utf-8" />
<style>
body {
margin: 20px;
background: #0000FF;
@Arty2
Arty2 / dropbox-paper-dark.css
Last active Feb 22, 2018
Dark Theme for Dropbox Paper. Use with userChrome.css or Stylus.
View dropbox-paper-dark.css
html {
background-color: #fff;
filter: invert(100%);
}
img, a, button {
filter: invert(100%);
}
@Arty2
Arty2 / ajfork2csv.php
Created Sep 10, 2017
A tool to convert AJ-Fork (Cutenews) data into a well-formated CSV for import into WordPress or other.
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:

You can’t perform that action at this time.