A dynamic, expressive, powerful language compiling to CSS.
SLIDE:
tj holowaychuk
[Desktop Entry] | |
Type=Application | |
Name=mpv Media Player (Single-instance mode) | |
GenericName=Multimedia player | |
Comment=Play movies and songs without starting new instance of multimedia player | |
Icon=mpv | |
TryExec=mpvctl | |
Exec=mpvctl add -- %U | |
Terminal=false | |
Categories=AudioVideo;Audio;Video;Player;TV; |
#!/usr/bin/env python | |
# | |
# Looks up a Mac's friendly model name. | |
# | |
# Based on http://apple.stackexchange.com/a/98089/21050 | |
# | |
from subprocess import check_output | |
from urllib import urlopen | |
import xml.etree.ElementTree as ET |
# -*- coding: utf-8 -*- | |
from __future__ import print_function, unicode_literals | |
import os | |
import socket | |
from datetime import datetime | |
from urllib import parse | |
from klein import Klein | |
from twisted.web.static import File | |
from twisted.python.filepath import FilePath |
// ==UserScript== | |
// @name TwitterLiveFeed | |
// @author disk0 | |
// @description Force Twitter feed to display latest tweets | |
// @version 0.1.1 | |
// @run-at document-idle | |
// @namespace disk0/twitter | |
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAEHWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS41LWMwMTEgNzkuMTQ5NTk4LCAyMDEyLzEwLzEwLTEyOjA5OjU2ICAgICAgICAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6bnMxPSJodHRwOi8vd3d3LmRheS5jb20vZGFtLzEuMCIKICAgIHhtbG5zOnRpZmY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vdGlmZi8xLjAvIgogICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICBuczE6UGh5c2ljYWxoZWlnaHRpbmluY2hlcz0iLTEuMCIKICAgbnMxOlBoeXNpY2Fsd2lkdGhpbmluY2hlcz0iLTEuMCIKICAgbnMxOkZpbGVmb3JtYXQ9IlBORyIKICAgbnMxOlByb2dyZ |
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts, | |
that detects and handles AJAXed content. | |
Usage example: | |
waitForKeyElements ( | |
"div.comments" | |
, commentCallbackFunction | |
); |
#when we create new function or install new bin , the default zsh cant get the new completion for us,so we | |
#can add a new function for this problem,you can add the blow content in your .zshrc file | |
function reload() { | |
if [[ "$#*" -eq 0 ]]; then | |
test -r /etc/zsh/zsh-oli && . /etc/zsh/zsh-oli | |
test -r ~/.zshrc && . ~/.zshrc | |
return 0 | |
else | |
local fn | |
for fn in $*; do |
# see https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/ | |
# core | |
brew install coreutils | |
# key commands | |
brew install binutils | |
brew install diffutils | |
brew install ed --default-names | |
brew install findutils --with-default-names |
Credit: Mark Kraus
Website: https://get-powershellblog.blogspot.com