Vue.js main site
Vue.js on GitHub
Curated list of Vue.js resources
Vue.js comparison with other frameworks
Vue.js is faster than React
Comparing React to Vue for dynamic tabular data
Laracast series on Vue.js
Vue.js on Reddit
REJECT_RULE_NO=$(iptables -L INPUT --line-numbers | grep 'REJECT' | awk '{print $1}'); if ! (iptables-save | grep -q -- "-A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT"); then iptables -I INPUT $REJECT_RULE_NO -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT; fi |
// Based on http://eli.eliandlyndi.com/2011/06/28/turntable-fm-mute-until-next-track-starts/ | |
// To use this make a bookmark then save this as the url and click it when needed. | |
javascript: | |
(function() { | |
function toggleMute() { | |
$(".volume-icon").click(); | |
} | |
toggleMute(); |
function qme() { | |
if ($(".subject:last").text() == "realfunny") { | |
if ($(".text:last").text() == " was kindly escorted off the stage by Beavis bot.") { | |
$('.message-input').val('q+'); | |
$('.message-input').submit(); | |
} | |
} | |
} | |
$('.messages').unbind("DOMNodeInserted", qme).bind("DOMNodeInserted", qme); |
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 | |
print "1. Update WordPress password." | |
print "2. Update WordPress site and home URLs." | |
print "3. Disable plugins." | |
print "4. Reset theme." | |
choice = raw_input("What would you like to do? ") | |
import re | |
f = open("wp-config.php") |
// QUnit tests. | |
// test("datatables parser", function() { | |
// equal(datatablesParser("austin"), "austin"); | |
// equal(datatablesParser("houston or austin"), "houston|austin"); | |
// equal(datatablesParser("houston and austin or dallas"), "^(?=.*?\\bhouston\\b)(?=.*?\\baustin\\b).*$|^(?=.*?\\bdallas\\b).*$"); | |
// equal(datatablesParser("houston and austin or dallas and austin"), "^(?=.*?\\bhouston\\b)(?=.*?\\baustin\\b).*$|^(?=.*?\\bdallas\\b)(?=.*?\\baustin\\b).*$"); | |
// equal(datatablesParser("houston or austin or dallas"), "houston|austin|dallas"); | |
// }); | |
# This script was written to facilitate listing files | |
# for easy removal. It parses the output of find so | |
# that the files are all listed in date sorted order. | |
# from http://stackoverflow.com/questions/1094841/reusable-library-to-get-human-readable-version-of-file-size | |
def sizeof_fmt(num): | |
for x in ['bytes','KB','MB','GB']: | |
if num < 1024.0 and num > -1024.0: | |
return "%3.1f%s" % (num, x) | |
num /= 1024.0 |
public static string[] GetLinesFromClipboard() | |
{ | |
return Clipboard.GetText().Split(new string[] { Environment.NewLine }, StringSplitOptions.None); | |
} |
To provide a modern web experience to our users, we need to adopt a JavaScript library. I am currently trying to decide between Vue.js and React. Both are libraries rather than frameworks, which can easily be integrated into existing pages. Vue.js is easy to pick up, uses a familiar CSS/HTML/JS structure, and does not lean towards newer JavaScript variations, but it is very new, maintained by one person, and still relatively unknown. React has a difficult learning curve, leans towards EcmaScript 2016, and encourages users to put everything, including CSS and HTML, into their JavaScript code, but it is the current leader, has a robust ecosystem and tool kit, and is backed by Facebook.
Angular (and Ember) are frameworks that are intended more for websites that are built as Single Page Applications. Meteor is a complete web stack that uses NodeJS for its backend. Thus, neither of these are applicable for our needs.
<?xml version="1.0" encoding="utf-8"?> | |
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<soap:Body> | |
<ValidateStudentResponse xmlns="http://www.trec.state.tx.us/ProcessRoster"> | |
<ValidateStudentResult> | |
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop"> | |
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true"> | |
<xs:complexType> | |
<xs:choice minOccurs="0" maxOccurs="unbounded"> | |
<xs:element name="Table"> |