| Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Days: | 20 | 21 | 21 | 21 | 20 | 22 | 21 | 23 | 22 | 20 | 22 | 21 |
| Hours: | 150 | 157,5 | 157,5 | 157,5 | 150 | 165 | 157,5 | 172,5 | 165 | 150 | 165 | 157,5 |
(Hours calculations are based on 7.5 hour days.)
| // create a bookmark and use this code as the URL, you can now toggle the css on/off | |
| // thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3 | |
| javascript: (function() { | |
| var domStyle = document.createElement("style"); | |
| domStyle.append( | |
| '* { color:#0f0!important;outline:solid #f00 1px!important; background-color: rgba(255,0,0,.2) !important; }\ | |
| * * { background-color: rgba(0,255,0,.2) !important; }\ | |
| * * * { background-color: rgba(0,0,255,.2) !important; }\ | |
| * * * * { background-color: rgba(255,0,255,.2) !important; }\ | |
| * * * * * { background-color: rgba(0,255,255,.2) !important; }\ |
| tell application "System Events" to tell process "Mail" | |
| set mainWindow to a reference to the first window | |
| set rootSplitter to a reference to the first splitter group of the mainWindow | |
| set firstSplitter to a reference to the last splitter group of the rootSplitter | |
| set scrollArea to a reference to the last scroll area of the firstSplitter | |
| set scrollGroup to a reference to the first group of the scrollArea | |
| if number of groups of the scrollGroup is greater than 1 then | |
| set maybeRemoteContentGroup to a reference to the first group of the scrollGroup | |
| Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Days: | 20 | 21 | 21 | 21 | 20 | 22 | 21 | 23 | 22 | 20 | 22 | 21 |
| Hours: | 150 | 157,5 | 157,5 | 157,5 | 150 | 165 | 157,5 | 172,5 | 165 | 150 | 165 | 157,5 |
(Hours calculations are based on 7.5 hour days.)
| #!/usr/bin/env ruby | |
| # | |
| # Mac fix 1 - Install the Nokogiri gem on Mac OS 10.9 Mavericks | |
| # | |
| # Usage: to configure and install using Bundler, pass in 'bundle' as an argument to the script. | |
| # | |
| # Nokogiri works at a very low level, so it has many issues on various platforms. | |
| # As a result, the command `install gem nokogiri` often will fail. This fix is for | |
| # errors involving 'libiconv', such as the following one I encountered: | |
| # |
This is how I debug SystemStackError when there is no stack trace.
My first attempt was:
begin
a_method_that_causes_infinite_recursion_in_a_not_obvious_way
rescue SystemStackError
puts caller
end| #!/bin/bash | |
| # | |
| # Open folder in ForkLift.app from console | |
| # Author: Adam Strzelecki nanoant.com | |
| # | |
| # Usage: | |
| # fl [<folder>] | |
| # | |
| # Opens specified directory or current working directory in ForkLift.app | |
| # |
This allows you to use the following video streaming services outside of the US from your Mac without having to use a proxy or VPN, so no big bandwidth issues:
| require 'net/http' | |
| require 'uri' | |
| require 'cgi' | |
| text = "<html><head><title>Delicious2Google</title></head><body>" + | |
| "<h1>Upload</h1>" + | |
| "<form action='https://www.google.com/bookmarks/mark?op=upload&zx=#{rand(65535)}' method='POST'>" + | |
| "<input type='submit'/><input type='hidden' id='data'></form>" + | |
| "<textarea id='xml' style='display:none'>\n<bookmarks>" |