This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ "$EUID" -ne 0 ] | |
then echo "Must be root" | |
exit | |
fi | |
# set the access point password | |
PWD=e2c5Fg_X0o!xne33 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
pecl download mailparse | |
tar -xvf mailparse-3.0.2.tgz | |
cd mailparse-3.0.2/ | |
phpize | |
./configure | |
sed -i 's/#if\s!HAVE_MBSTRING/#ifndef MBFL_MBFILTER_H/' ./mailparse.c | |
make | |
make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(username) { | |
const repos_css_Selector = '[itemprop*="codeRepository"]'; | |
const git_clone_command_string = 'git clone git@github.com:'; | |
return [].slice.call( | |
document.querySelectorAll(repos_css_Selector) | |
).map(function(val, idx) { | |
return git_clone_command_string+username+'/'+val.innerText; | |
}).join('\n'); | |
})(document.querySelector( |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=OctoPrint | |
After=network.target | |
[Service] | |
ExecStart=/opt/OctoPrint/venv/bin/octoprint | |
Restart=always | |
[Install] | |
WantedBy=default.target |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Fix Kernel updates in Xenial breaking Virtualbox DKMS... | |
# | |
if [ "$EUID" -ne 0 ] | |
then echo "Must be root" | |
exit | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setInterval(function(){ | |
[].slice.call(document.querySelectorAll('iframe, .fc-dialog-overlay, .fc-root.fc-dialog-container')).forEach(function(elem){ | |
elem.remove(); | |
document.body.className = document.body.style = ""; | |
}); | |
}, 1000); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Uses MySQL SQL Syntax | |
*/ | |
SELECT | |
YEAR(O.`when`) as `year`, | |
MONTH(O.`when`) as `month`, | |
COUNT(O.id) as `Orders Passed`, CONCAT('$',(COUNT(O.id) * 2)) as `earned` | |
FROM middleware.order_link O | |
GROUP BY `year`, `month` | |
UNION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:16.04 | |
MAINTAINER CD2 Team <codesign2@icloud.com> | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN useradd -m libreoffice | |
ENV LIBREOFFICEPREFERREDMIRROR http://download.documentfoundation.org/libreoffice/stable/5.4.1/deb/x86_64/ | |
ENV LIBREOFFICEPACKAGE LibreOffice_5.4.1_Linux_x86-64_deb.tar.gz |