Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
find ./ -type f -exec chmod 644 {} \; | |
find ./ -type d -exec chmod 755 {} \; | |
chown www-data:www-data * -R |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
I hereby claim:
To claim this, I am signing this object:
<!-- Add htis to the <head> of the page --> | |
<script src='https://www.google.com/recaptcha/api.js'></script> | |
<!-- Add this to the location of wher eyou want the recaptcha to go --> | |
<div class="g-recaptcha" data-sitekey="SITEKKEY"></div> |
SELECT ?item ?dt ?date (COUNT(distinct ?sitelink) as ?count) | |
WHERE { values ?offsetmin { "1920-02-27T00:00:00"^^xsd:dateTime }. values ?offset0 { "1920-02-17T00:00:00"^^xsd:dateTime }. values ?offsetmax { "1920-02-07T00:00:00"^^xsd:dateTime }. | |
VALUES ?filmtype {wd:Q11424 wd:Q24862 wd:Q506240 wd:Q336144} . | |
Bind((NOW() - ?offsetmin) as ?mintime). | |
Bind((NOW() - ?offsetmax) as ?maxtime). | |
?item wdt:P31 ?filmtype . | |
?item p:P577/psv:P577 ?date node . | |
?date node wikibase:timeValue ?date . | |
FILTER (?date > "2015-12-31T00:00:00Z"^^xsd:dateTime) ?date node wikibase:timePrecision "11"^^xsd:integer . Bind((?date - ?offset0) as ?datetime ). FILTER ( ?datetime > ?mintime ) . FILTER ( ?datetime < ?maxtime ) . BIND (SUBSTR(Str(?date),1,10) as ?dt) . OPTIONAL { ?sitelink <http://schema.org/about> ?item . } } | |
GROUP BY ?item ?dt ?date |
``` | |
[...] | |
Cloning into 'teensy_loader_cli'... | |
done. | |
Switched to a new branch 'makepkg' | |
-> Extracting arduino-1.8.2-linux64.tar.xz with bsdtar | |
==> Starting build()... | |
-> Running Teensyduino installer (takes around 50 seconds) | |
==> ERROR: A failure occurred in build(). | |
Aborting... |
<div itemscope itemtype="http://schema.org/LocalBusiness"> | |
<h1 itemprop="name">Beach Bunny Swimwear</h1> | |
Phone: <span itemprop="telephone"><a href="tel:+18506484200"> | |
850-648-4200</a></span> | |
</div> |
# This isn't a script but a list of commands | |
# for helping to fix bluetooth issues | |
yaourt -S bluez bluez-libs bluez-utils # these are essential | |
sudo rfkill list # lists the hci devices and their states | |
sudo rfkill unblock bluetooth # unblocks bluetooth re-enabling you to use it | |
bluetoothctl #use "help" for command list |