One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
using System; | |
using System.Collections.Generic; | |
using System.Web.UI.WebControls; | |
using umbraco.cms.businesslogic.datatype; | |
namespace Our.Umbraco.DataTypes | |
{ | |
public class USStates : AbstractDataEditor | |
{ | |
private DropDownList m_Control = new DropDownList(); |
// 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 elements = document.body.getElementsByTagName('*'); | |
var items = []; | |
for (var i = 0; i < elements.length; i++) { | |
if (elements[i].innerHTML.indexOf('* { background:#000!important;color:#0f0!important;outline:solid #f00 1px!important; background-color: rgba(255,0,0,.2) !important; }') != -1) { | |
items.push(elements[i]); | |
} | |
} |
The ex command g
is very useful for acting on lines that match a pattern. You can use it with the d
command, to delete all lines that contain a particular pattern, or all lines that do not contain a pattern.
For example, to delete all lines containing "profile" (the first command is optional; it shows the lines that the second command will delete):
:g/profile :g/profile/d
More complex patterns can be used, such as deleting all lines that are empty or that contain only whitespace:
(Based on the Contract Killer 3 by Andy Clarke at Stuff and Nonsense) See: https://gist.github.com/malarkey/4031110
I always do my best to fulfill your needs and meet your expectations, but it's still important to have things written down so that we both know what's what, who should do what and when, and what will happen if something goes terribly wrong. You won't find any complicated legal terms or long, unreadable text here. I have no desire to trick you into signing something you might later regret. I want us to do what is best for both of us, now and in the future. This is the start of a great relationship!