Patriotic Things

I put these on Facebook once and as they age they get harder to find. Re-posting them here.

“God who gave us life gave us liberty. And can the liberties of a nation be thought secure when we have removed their only firm basis, a conviction in the minds of the people that these liberties are of the Gift of God? That they are not to be violated but with His wrath? Indeed, I tremble for my country when I reflect that God is just, that His justice cannot sleep forever.” – Thomas Jefferson

“It cannot be emphasized too strongly or too often that this great nation was founded, not by religionists, but by Christians; not on religions, but on the Gospel of Jesus Christ. For this very reason peoples of other faiths have been afforded asylum, prosperity, and freedom of worship here.” – Patrick Henry

“I am sure that never was a people, who had more reason to acknowledge a Divine interposition in their affairs, than those of the United States: and I should be pained to believe that they have forgotten that agency, that was so often manifested during our Revolution, or that they failed to consider the omnipotence of that God who is alone able to protect them.” – George Washington, March 11, 1792.

“Why is it that, next to the birthday of the Savior of the world, your most joyous and most venerated festival returns on this day [July 4]? Is it not that, in the chain of human events, the birthday of the nation is indissolubly linked with the birthday of the Savior? That it forms a leading event in the progress of the Gospel dispensation? Is it not that the Declaration of Independence first organized the social compact on the foundation of the Redeemer’s mission upon earth? That it laid the cornerstone of human government upon the first precepts of Christianity?” – John Quincy Adams, July 4 1837.

“I have lived, Sir, a long time, and the longer I live, the more convincing proofs I see of this truth–that God Governs the affairs of men. And if a sparrow cannot fall to the ground without His notice, is it probable that an empire can rise without His aid?” – Benjamin Franklin

“The [fourth] day of July, 1776, will be the most memorable epoch in the history of America. I am apt to believe that it will be celebrated by succeeding generations as the great anniversary Festival. It ought to be commemorated, as the Day of Deliverance, by solemn acts of devotion to God Almighty. It ought to be solemnized with pomp and parade, with shows, games, sports, guns, bells, bonfires and illuminations, from one end of this continent to the other, from this time forward forever.” – John Adams

“A general dissolution of principles and manners will more surely overthrow the liberties of America than the whole force of the common enemy. While the people are virtuous they cannot be subdued; but when once they lose their virtue then will be ready to surrender their liberties to the first external or internal invader.” – Samuel Adams, 1779

“We have been the recipients of the choicest bounties of Heaven. We have been preserved, these many years, in peace and prosperity. We have grown in numbers, wealth and power, as no other nation has ever grown. But we have forgotten God. We have forgotten the gracious hand which preserved us in peace, and multiplied and enriched and strengthened us; and we have vainly imagined, in the deceitfulness of our hearts, that all these blessings were produced by some superior wisdom and virtue of our own. Intoxicated with unbroken success, we have become too self-sufficient to feel the necessity of redeeming and preserving grace, too proud to pray to the God that made us!” – Abraham Lincoln, upon proclaiming a National Fast Day (30 March 1863)

“I have been driven many times to my knees by the overwhelming conviction that I had nowhere else to go. My own wisdom, and that of all about me seemed insufficient for the day.” – Abraham Lincoln

“The fundamental basis of this nation’s law was given to Moses on the Mount. The fundamental basis of our Bill of Rights comes from the teaching we get from Exodus and St. Matthew, from Isaiah and St. Paul. I don’t think we emphasize that enough these days. If we don’t have the proper fundamental moral background, we will finally end up with a totalitarian government which does not believe in the right for anybody except the state.” – Harry S. Truman, February 15, 1950

Needed: Automatic screenshots on window changes

I can’t find windows software anywhere that will attach to a window/process, and automatically take a screenshot of that window (or child windows) every x seconds or whenever a change is detected. If the attached-to app is running and a progress bar in it updates, or a confirmation popup appears, or the text in that window changes, or an error occurs… I want an app to tell me when that change occurred (from the time I started recording) and what it looked like (screenshot).

Bonus points if I don’t have to have the attached-to app visible/on screen… like I can have other windows on top of it, and the “on change” detection & screenshots still work.

If the “on change” part just isn’t possible, then “every x seconds” would be ok, I guess. Can’t find this anywhere. Anybody know of an app for this?

Words at the Center of a Horizontal Line

Neat CSS trick I hammered out today when I needed to create an “Or” between two sections of a web page:

Bla bla bla

Or

bleh bleh bleh

Minimal markup, works in IE8 (ugh, work), Chrome & Firefox.

Code…

<p class="hrtext">Or</p>

<style>
.hrtext {
  display: block;
  overflow: hidden;
  text-align: center;
}
.hrtext:before,
.hrtext:after {
  background-color: #ccc;
  content: "";
  display: inline-block;
  height: 1px;
  position: relative;
  vertical-align: middle;
  width: 20%;
}
.hrtext:before {
  right: 0.5em;
  margin-left: -50%;
}
.hrtext:after {
  left: 0.5em;
  margin-right: -50%;
}
</style>

Inspired by (er, largely copied from) http://stackoverflow.com/questions/5214127/css-technique-for-a-horizontal-line-with-words-in-the-middle