REFERENCES FOR LEARNING & USING APPLESCRIPT Modified: 2018/06/19 18:47
AppleScript is a rather peculiar scripting language to learn.
alias airport='sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport' |
Top 3 daily driver weather apps:
Weather Underground Downloads for multiple platforms
Free, Universal on iOS. WU subscribers have ads removed ($10/ur or connect your weather station and get it for free)
"If I had to have only one weather app", it would have to be this one. Part of that is more heavily weighted because I operate a weather station at my house that updates to WU every 3 seconds, and this app allows me to keep watch on it. But beyond that, I've found this app, while not the prettiest weather app, has the best overall utility. Excellent radar, excellent written forecasts. They've recently added nice graphs to show forecasted trends from the next few hours to ten days out. A big deal here is that they don't rely upon the National Weather Service forecasts. Those forecasts don't translate to regular people very well because they cover what can happen within a large reporting area. So "30% chance of rain" is true if it h
find . -not \( -path '*node_module*' -o -path '*.git*' -o -path '*jasmine*' -o -path '*assets*' -o -type d \) | xargs grep -in -E '(\bhe\b)|(\bhis\b)|(\bher\b)|(\b\she\b)' |
# Get current song, album and artist from iTunes. | |
# | |
# Intended for use with Smile Software's TextExpander: | |
# http://www.smilesoftware.com/TextExpander/index.html | |
# | |
# Set up as a snippet to turn current track into text. A nice way to spin your wheels while writing/coding/contemplating the shape of the universe. | |
tell application "iTunes" | |
set current_song to the name of current track | |
set current_artist to the artist of current track |
/* ---------------------------------------------------------- */ | |
/* */ | |
/* A media query that captures: */ | |
/* */ | |
/* - Retina iOS devices */ | |
/* - Retina Macs running Safari */ | |
/* - High DPI Windows PCs running IE 8 and above */ | |
/* - Low DPI Windows PCs running IE, zoomed in */ | |
/* - Low DPI Windows PCs and Macs running Firefox, zoomed in */ | |
/* - Android hdpi devices and above */ |
I was inspired by Selena Deckelmann's list of Career Resources for Women (http://www.chesnok.com/daily/career-resources-for-women/), but couldn't think of much to contribute. So I thought maybe those of us already in the field and in a position to mentor could work on creating more. Please fork or comment and add your own!
Also: there is a wealth of info online and elsewhere dating back to the first time it occurred to our species to exchange labor for currency on these topics in general. What I hope we can provide here is our take as individuals. What we would say to someone if we were sitting across from her acting as a mentor. I don't think we should worry about being objectively "right", or about duplicating topics. I add this bit of anti-editorializing in hopes that women will contribute without feeling pressured to be experts, which I worry might prevent them from doing so. TY. :)
input { | |
height: 34px; | |
width: 100%; | |
border-radius: 3px; | |
border: 1px solid transparent; | |
border-top: none; | |
border-bottom: 1px solid #DDD; | |
box-shadow: inset 0 1px 2px rgba(0,0,0,.39), 0 -1px 1px #FFF, 0 1px 0 #FFF; | |
} |
net result: http://www.keyboard-layout-editor.com/#/layouts/a3e0e4ed3ba8062b1cfcf454436477f2
the red keys are ones I never press, the orange ones rarely press enable key remapping by pressing Progrm + F12, then sequences of keys: press they key you want it to be first, then the key you will press to get that
function paginateArray(arr,page_num,per_page) { | |
var i,r=[]; | |
if (arr.length < 1) { | |
return r; | |
} | |
if (per_page == undefined || per_page == null) { | |
per_page = 10; | |
} |