Notes on software and the ideas behind it
Find the meaning
behind the code.
I’m Fred Yang. I write about software—how it works, why it behaves the way it does, and the ideas that make code easier to reason about.
Open the notebookWorking notes / 2026
Recently mapped
Architecture, reactivity, and the hidden relationships that shape frontend systems.
config
encrypt configuration file
<p>
aspnet_regiis -pe "appSettings" -app "/gbsa" -prov "DataProtectionConfigurationProvider"
</p>
Follow the thread
SharePoint
Data View Part
<p> Form web Part can connect datavew web part. Here are the rules. </p> <p> If dataview web part define a filter using input parameter, form web part connect dataview webpart to modify view...
Follow the thread
javascript
submit only once
<pre data-sub="prettyprint:_">
<input type="button" value="Submit" onclick="this.disabled='true';">
</pre>
Follow the thread
javascript
select all text when focus in a text box
<pre data-sub="prettyprint:_">
FormUtil.setTextboxes = function() {
var colInputs = document.getElementsByTagName("input");
var colTextAreas = document.getElementsByTagName("textarea");
Follow the thread
javascript
maxlength for text box
<pre data-sub="prettyprint:_">
<textarea rows="10" cols="25" maxlength="25" onkeypress="return TextUtil.isNotMax(this)"></textarea>
Follow the thread