- open git terminal/cli
- git branch new-branch-name (make new branch)
- git checkout new-branch-name (switch to new branch)
- git push -u origin new-branch-name (make push/pull possible through Rstudio)
- make changes and save files
- add changes with Rstudio or git add
- commit changes with Rstudio or git commit -m “Commit message.”
- push changes with Rstudio or git push origin new-branch-name
I’m a minor nerd about fresh snow, so I have these Rainmeter skins running on my monitor right now (really just two versions of the same skin). I thought I had them in GitHub or GitLab, but apparently not yet. If you use them, enjoy!
;Shows the 48-hour snowfall map from Intellicast. ;To customize, go to http://www.intellicast.com/Travel/Weather/Snow/Forecast.aspx?region=brd, navigate to the right region, and get the url of the image. ;Paste that as URL, below. ; ;Help from http://rainmeter.net/forum/viewtopic.php?f=5&t=20018 and http://docs.rainmeter.net/manual/getting-started/creating-skins [Rainmeter] Update=3600 ;To make this to immediately show up, change value to 0 and refresh. [MeasureImage] Measure=Plugin Plugin=WebParser URL=http://images.intellicast.com/WxImages/48hrSnowForecast/brd.jpg Download=1 [MeterImage] Meter=Image MeasureName=MeasureImage H=375 W=500
;Shows the 3-day snow probability from NOAA. ;To customize, go to http://www.weather.gov/crh/outlooks?sid=fgf#.WF2NTdUrJaR ;Paste that as URL, below. ; ;Help from http://rainmeter.net/forum/viewtopic.php?f=5&t=20018 and http://docs.rainmeter.net/manual/getting-started/creating-skins [Rainmeter] Update=3600 ;To make this to immediately show up, change value to 0 and refresh. [MeasureImage] Measure=Plugin Plugin=WebParser URL=http://www.wpc.ncep.noaa.gov/wwd/day3_psnow_gt_04.gif Download=1 [MeterImage] Meter=Image MeasureName=MeasureImage H=375 W=500
a <- data.frame(name=old$NAME) a$status <- "old" b <- data.frame(name=allfields[allfields$StateAbbre=="ND",]$name) b$status <- "new" both<-merge(a,b,by="name",all=T)
Make two data frames, one for each list, create a column identifying each one (
old), then join on the common column (
See also: http://stackoverflow.com/questions/17598134/compare-two-lists-in-r/17599048#17599048
Every so often I want to test a new theme on a live Drupal installation, but don’t want to break the website for anyone else. You can use ThemeKey to do this, although it is probably the simplest thing you can do with this module.
Navigate to http://example.com/admin/config/user-interface/themekey.
Create a new rule:
your user name
theme you want to see
You’ll be the only one who sees it. If you want to try out another theme, edit the rule.
This has been bothering me since I upgraded to Yosemite earlier this summer. I finally found an answer: turn on iCloud syncing for email. I did not need do any if the file copying mentioned in the linked solution.
In case you’re wondering: No, I am not a rules fanatic, but one IMAP email account through my hosting company has an issue with spam. I turned on Spam Assassin, which tags the junk, and then I use a rule to put those messages in the junk folder, just in case there was a false positive.
You can convert a single well top set to a points object.
- Select (check the box) the well top you want to be points.
Right-click on an attribute for the tops layer (e.g., Z)
- Select “Convert to points (using filter)
- You will get a new points object.
This wasn’t documented anywhere (maybe it’s obvious?), but here is a short example using the included ‘bot’ dataset.
# Look at the existing factors, stored in bot@fac
# Add another arbitrary factor
# Put your new factors back into the object
# Look at your data based on the new factor
If you are just using zones as stratigraphic tops in Techlog and are manipulating data in Zone Editor, you can hit Ctrl-A to not show the zone bottoms (which will be -9999 if you aren’t using them). Hit it again to toggle back.
Just downloaded Petrel 2014 yesterday and loaded up a v2013 project I’ve been working on. For some reason, the stratigraphic tops are not visible in 2D or 3D windows (but the data are there, and can be exported). Has anyone else had this problem?