aq
github
Link: github.com
github pages
create
Link: pages.github.com/
custom url
Link: help.github.com/articles/using-a-custom-domain-with-github-pages/
apex domain
Link: help.github.com/articles/setting-up-an-apex-domain/
www subdomain
Link: help.github.com/articles/setting-up-a-www-subdomain/
github pages
jonathan macglone
Link: jmcglone.com/guides/github-pages/
git
reset git to a previous commit
git log
to find the commit full number
then
git reset (full number) --hard
git push origin -f
add new files (or directories) to repository and push
(git init)
git add .
git commit -m "namethiscommit"
(git remote add origin (remote repository url))
git remote -v
git push origin master
working copy git client (ios)
Link: itunes.apple.com/gb/app/working-copy-enterprise/id965019520
url scheme documentation
Link: workingcopyapp.com/url-schemes.html
manual
workingcopyapp.com/manual
codehub github client (ios)
Link: codehub-app.com/
sublime text 3 (mac)
Link: sublimetext.com/3
|
---: | :---
cmd–r | (goto symbol) allows you to move between headers easily in a markdown document
cmd–p | (goto anything) then # then searchterm to jump to next occurrence in the current document
ctrl–minus | jump back to previous cursor location (sublime text 3–only)
cmd-ctrl-shift-f | fullscreen mode (I bind this to hyper2-return)
cmd–ctrl–p | switch project within window (make some projects to hold collections of files/folders that you use together) — though in practice am using two windows (often placed directly over each other) for two different projects and switching between them using cmd–`
cmd–d | select word, repeat to use multiple cursors to select subsequent words/phrases
cmd–u | unselect word/phrase
cmd–k–d | (sequential k then d) to skip to next candidate. left or right to move cursors within selected word
cmd–ctrl–g | select all occurrences of word/phrase
cmd–click | non–successive lines start multiple cursor, or
cmd–shift–L | highlight column with cursor then cmd–shift–L to start column–mode multiple cursor (useful if you want to edit multiple lines at specified places). you can move the cursors as you would a normal cursor e.g. cmd–left to go to the beginning of the line (if you have text running across multiple lines you might want to do cmd–left a few times to ensure it really is the beginning of the line rather than the beginning of the wrapped line)
tab | autocompletion — be careful with this!
cmd–number | switch to tab
modify by going into sublime text preferences — browse packages
my user preferences:
{
"caret_style": "solid",
"color_scheme": "Packages/User/makiaea.tmTheme",
"font_face": "AvenirNext-UltraLight",
"font_size": 11.0,
"gutter": false,
"line_numbers": false
}
my distraction free preferences; note the larger font size
{
"font_size": 24,
"wrap_width": 0
}
my VBScript.sublime-settings (lots of comments in the code, so word wrap is on…)
{
"gutter": true,
"line_numbers": true,
"wrap_width": 0,
"word_wrap": "true"
}
my 14 is based on a custom 15 with markdown highlighting and is stored in
/Users/maki/Library/Application Support/Sublime Text 3/Packages/User/makiaea.tmTheme
you can create your own shortcuts to projects or even open them from the command line e.g. for sublime text 3:
/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /Users/maki/Documents/Dropbox/datafiles/20130416maki.sublime-project
package for 18
16 sublime3 package for moving between and folding (markdown) headlines. install by downloading zip from github, renaming directory to "SmartMarkdown", then placing directory into
/Users/yourusername/Library/Application Support/Sublime Text 3/Packages/
NB assumes #(space)headers, not #header as we are using. shortcuts:
|
---: | :---
tab | toggle smart folding (when used within a header)
shift-tab | global toggle all folding (i use this often for navigation as i don't always remember the headings of all files)
cmd-shift-, | decrease header level
cmd-shift-. | increase header level
ctrl-c ctrl-n | move to next (any) headline
ctrl-c ctrl-p | move to previous (any) headline
ctrl-c ctrl-f | move to next same-or-higher-level headline
ctrl-c ctrl-b | move to previous same-or-higher-level headline
Set marked to open current (markdown) file, processed (uses build, shortcut cmd-b)
multiple cursors
smartmarkdown package
Link: github.com/demon386/SmartMarkdown#v02-support-for-sublime-text-3-added-by-unowen
typewriter package
text folding package
Link: macdrifter.com/2015/01/keyboard-shortcuts-for-2015-01-21-sublime-text-lines-and-folding.html
raw line edit - shows and can edit single lines between Windows and Unix style
Link: github.com/facelessuser/RawLineEdit/tree/ST3
need something like marked if need to print files
vscode
not yet tried
marked
firefox
for web programming
Link: mozilla.org/firefox
firebug extension
Link: getfirebug.com
print landscape
change margins
as of 20131009: go to address
about:config
in the Filter field, type "print", change the relevant values (these differ between versions of firefox)
print pdf css3 multiple column
fe webdev on ipad pro (2018)
craig morey 2018
fe-webdev-on-ipad-pro-2018
how to use digital ocean for web development on an ipad
curtis mchale 2018
https://thesweetsetup.com/how-to-use-digital-ocean-for-web-development-on-an-ipad/
use as base for trusted experiment app series
for collecting data from trusted subjects for trusted institutions
unconscious tracking of whether spouse or child has made it home for the night — I was expecting spouse home late one night but fell asleep before she came home. woke immediately at soft sound of approaching footsteps to door — had unconsciously interpreted the sound and pattern of the footfalls and woken at the right time.
nowadays phone location tracking can serve a similar purpose but the informational quality and aim of the results can be quite different — phone location tracking would not aim to alert me as they successfully approached home or give information on how well they approach (safety, state etc) but simply tracks location. possibly combining status from health monitoring (e.g. from watch) could do this — normal approach pattern could be recognisable and used to interpret state.
real-time interactive simulations of large-scale systems on personal computers and cell phones: toward patient-specific heart modeling and other applications
abouzar kaboudian et al. 2019
http://dx.doi.org/10.1126/sciadv.aav6019
"This opens up a lot of new research opportunities, including for RIT undergraduates," said Elizabeth Cherry, associate professor and director of RIT's mathematical modeling program and co-author of a new Science Advances article that introduces the new methodology. "I felt really restricted in what I could ask undergraduates to do in Research Experiences for Undergraduates programs or even our full-time students because the previous supercomputer simulations took so long. But now they can work with these complex models in real-time so it opens up a whole new world of opportunities to what they can study."
In hospital settings, the real-time models could allow doctors to have better discussions with their patients about life-threatening heart conditions.
"This visualization can be very useful for doctors to address a variety of cardiac problems," said Abouzar Kaboudian, a research scientist at Georgia Tech and co-author. "For example, a doctor can see what would happen if a pacemaker was placed on a particular location of the heart. Or, if the structure from CT scan data was available to a doctor, they could import the structural data for a particular patient and see what would cause an arrhythmia and what would be the course of action to eliminate the arrhythmia."
The novel approach relies on using WebGL code to repurpose graphics cards to perform calculations that speed up the scientific computing applications. The researchers developed a library that allows for high-performance computing of complex problems that require large-scale simulations to run them. Their streamlined methodology allows users to solve problems as fast as a supercomputer in web browsers that they are already familiar with.
"This opens the door to the possibility of doing patient-specific modeling in a reasonable way," said co-author Flavio Fenton, professor of physics at Georgia Tech. "There are many problems related to trying to solve these complex models for clinical use, but one of the big bottlenecks was performing these high-performance computing real-time simulations of complex models of the heart. Now they can be done."
abstract Cardiac dynamics modeling has been useful for studying and treating arrhythmias. However, it is a multiscale problem requiring the solution of billions of differential equations describing the complex electrophysiology of interconnected cells. Therefore, large-scale cardiac modeling has been limited to groups with access to supercomputers and clusters. Many areas of computational science face similar problems where computational costs are too high for personal computers so that supercomputers or clusters currently are necessary. Here, we introduce a new approach that makes high-performance simulation of cardiac dynamics and other large-scale systems like fluid flow and crystal growth accessible to virtually anyone with a modest computer. For cardiac dynamics, this approach will allow not only scientists and students but also physicians to use physiologically accurate modeling and simulation tools that are interactive in real time, thereby making diagnostics, research, and education available to a broader audience and pushing the boundaries of cardiac science.
an iphone application for blood pressure monitoring via the oscillometric finger pressing method
anand chandrasekhar et al. 2018
https://doi.org/10.1038/s41598-018-31632-x
jupyter
not yet tried
App that tracks with the sun, or any other user–chosen goal and can plot and predict the same conditions for next year given conditions for this year.
example, special reflections or lighting conditions occurring at certain time of day, that moves with seasons
e.g. light reflections in kitchen window for washing up at 1115 on 20160428
or painting conditions in garden etc