Install MySQL
$ sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
{ | |
"off": 60, | |
"on": 90, | |
"size": 150 | |
} |
To prevent networksetup
from asking for password in the terminal, add the following line to the bottom of /etc/sudoers
, where <username>
is the actual username that you are using on your mac.
<username> ALL=(root) NOPASSWD: /usr/sbin/networksetup
Or, if you wish to enter your password each time you need to turn on/off the proxy, just skip this step.
$('head').append($('<style>@media print{a[href]:after{content:none !important;}}</style>')); // hide href values in links
$('head').append($('<style>@media print{a{color:rgb(0, 122, 151) !important;}}</style>')); // enforce link color
$(function() { | |
let titleDOM = $('th.reactable-th-question_title').children('strong'); | |
let statusDOM = $('th.reactable-th-status'); | |
let tableDOM = $('tbody.reactable-data'); | |
let filtersDOM = $('div.filter-tag-bar'); | |
let refresh = function(){ | |
let count = $('tbody.reactable-data').children().length; | |
let acCount = $('tbody.reactable-data').find('td[value="ac"]').length; |
// Anonymous "self-invoking" function | |
(function() { | |
// Load the script | |
var script = document.createElement("SCRIPT"); | |
script.src = 'https://code.jquery.com/jquery-3.3.1.min.js'; | |
script.type = 'text/javascript'; | |
script.onload = function() { | |
var $ = window.jQuery; | |
// Use $ here... | |
}; |