Skip to content

Instantly share code, notes, and snippets.

@shm-sl
shm-sl / activate-window.sh
Created July 3, 2020 10:56
2nd Keyboard for Macros
#!/bin/bash
# Syntax: ./activate-window.sh <Window Title> <Window Command to Run>
wmctrl -a "$1"
if [ $? != 0 ]
then
$? = 0
$2
wmctrl -a "$1"
@shm-sl
shm-sl / styles.less
Created May 12, 2020 12:02
Smooth Scroll for Atom.io Text Editor
// ~/.atom/styles.less
// smooth scroll
atom-text-editor.editor > div > .scroll-view > div,
atom-text-editor.editor > div > .gutter-container > div {
transition: -webkit-transform .1s ease-out;
}
@shm-sl
shm-sl / AlphabeticIndex.html
Last active January 21, 2020 14:39
Fluid Typo3 Content Element: Alphabetic Index
<div xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
xmlns:flux="http://typo3.org/ns/FluidTYPO3/Flux/ViewHelpers"
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers">
<f:layout name="Content" />
<f:section name="Configuration">
<flux:form id="azIndex" options="{group: 'FCE'}">