- Backup your iOS device to your computer (not iCloud) through iTunes
- Download iPhone / iPod Touch Backup Extractor from http://supercrazyawesome.com/
- Run the app, and click "Read Backups"
- Find the backup you just made
- Make an empty directory
- Scroll all the way down and highlight "iOS Files"
- Extract the iOS files to the directory you made
- Visit https://www.dcode.fr/cpbitmap-format
- Click "Choose File"
- Inside the directory you created, find the iOS Files/Library/Springboard directory.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # At the top of the hour, start a timer (sleep) every two hours | |
| # between 8 AM and 6 PM. That timer lasts for a random duration of | |
| # up to two hours. When that timer runs out, run a script that | |
| # sends a notification to my iPhone or Android device to remind me | |
| # to drink a glass of water. (And only on weekdays.) | |
| 0 8,10,12,14,16,18 * * 1,2,3,4,5 root sleep `/usr/bin/expr $RANDOM \% 7200`; python /full/path/here/water.py |
Git workflow for Drupal.org issues
Inspired by chx's workflow http://drupal4hu.com/node/374, this is the workflow I used when working on multiple issues at the same time to rename Views functions.
This workflow worked for me. YMMV.
Starting out:
git clone --branch 8.x http://git.drupal.org/project/drupal.git 8# checkout all of Drupal into a directory called 8- Start working on an issue. Make commits on your work. Since you likely don't have commit access to the Drupal project, you won't break anything for anybody else.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| setInterval(checkNewStellarRefresh, 5000); | |
| function checkNewStellarRefresh() { | |
| if(document.readyState != 'interactive') { | |
| var notify_top = document.getElementsByClassName('notify-top'); | |
| var length = notify_top.length; | |
| for (var i = 0; i < length; i++) { | |
| if (notify_top[i].getElementsByTagName('a')[0].text == 'You have new items to read!') { | |
| notify_top[i].getElementsByTagName('a')[0].click(); | |
| return; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Assumptions: | |
| # | |
| # - used with Pythonista on iOS | |
| # - successful install of the Extraction module https://pypi.python.org/pypi/extraction | |
| # through pipista and yak shaving with shellista | |
| # Initially based on http://blog.ouseful.info/2010/10/26/more-python-floundering-stripping-google-analytics-tracking-codes-out-of-urls/ | |
| import cgi, urllib, urlparse, webbrowser, sys, console, clipboard, requests, extraction |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # The following code goes in your ~/.profile | |
| # | |
| # This propmpt shows a beer when you launch a Terminal window on a Fridays. | |
| # It checks every time you get a new prompt. A minute after 11:59M on a | |
| # Thursday, if you press enter, it will add beer to the prompt. A minute | |
| # after 11:59 PM on a Friday, no more beer. | |
| # | |
| # This is for terminals that use the Bash shell, which was the default for | |
| # MacOS previous to Catalina. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ git clone https://github.com/jazzido/tabula | |
| [Worked.] | |
| $ sudo brew install rbenv | |
| [] | |
| rbenv install 1.9.3-p392 | |
| rbenv: no such command `install' | |
| $ rvm install 1.9.3-p392 | |
| [Worked?] | |
| $ rvm install jruby-1.7.3 | |
| [...] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link rel="alternate" type="application/atom+xml" href="/feed" title="{{ site.name }}" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ sudo brew install tmux | |
| [...] | |
| configure: error: "libevent not found" | |
| $ sudo brew install -v tmux | |
| Error: You must `brew link libevent' before tmux can be installed | |
| $ sudo brew link libevent | |
| Linking /usr/local/Cellar/libevent/2.0.21... Warning: Could not link libevent. Unlinking... | |
| Error: Could not symlink file: /usr/local/Cellar/libevent/2.0.21/include/event.h | |
| Target /usr/local/include/event.h already exists. You may need to delete it. |