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 / thin-scrollbars.css
Last active Sep 10, 2019
User Style for Firefox that replaces all scrollbards with their thin equivalent. To be used with Stylus or similar extention.
View thin-scrollbars.css
* {
scrollbar-color: rebeccapurple transparent; /* ← use a color that matches your Firefox of Windows 10 color-scheme */
scrollbar-width: thin;
}
@Arty2
Arty2 / airtable-dark-theme.css
Created Aug 29, 2019
User Style for airtable.com that introduces a Dark theme and other visual tweaks. To be used with Stylus or similar extention
View airtable-dark-theme.css
/*
Makes text a bit blurry due to ClearType being disabled when CSS Filters are used. Should probably use a less *naive* way.
*/
#hyperbaseContainer {
filter: invert(100%);
}
#hyperbaseContainer img,
#hyperbaseContainer button { /* revert images back to normal */
@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%);
}
You can’t perform that action at this time.