A Pen by Daniel Jordan Osborn on CodePen.
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
<!------------------------------- NAVBAR--------------> | |
<div class="topnav" id="navbar" > | |
<a href="#home" class="fade btns" onclick="changePage(1)">home</a> | |
<a href="#works" class="fade btns" onclick="changePage(2)">works</a> | |
<a href="#contact" class="fade btns" onclick="changePage(3)">contact</a> | |
<a href="javascript:void(0);" class="icon" onclick="navOut()" >☰</a> | |
</div> | |
<!--==============----------- PAGE ONE ------------------==========--> | |
<div class="box page fade" id="one"> | |
<h1 class="header" id="p">Welcome to me page</h1> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
Live Version http://close-modal-by-click-off-of-it.surge.sh/
I hope this helps someone
A Pen by Daniel Jordan Osborn on CodePen.
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 ajax(url, options) { | |
options.url = url; | |
var xhr = new XMLHttpRequest() | |
xhr.open((!options.type ? 'GET': options.type), options.url, true) | |
xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded") | |
xhr.onreadystatechange = function () { | |
if (this.readyState == 4) { | |
options.success(this.response) |
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
<!DOCTYPE html> | |
html(lang="en") | |
head | |
meta(charset="UTF-8") | |
meta(name="viewport", content="width=device-width, initial-scale=1.0") | |
meta(http-equiv="X-UA-Compatible", content="ie=edge") | |
title Pug Vue Play | |
script(src="js/vue.js") | |
body | |
h1 Pug Vuejs Play |
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
/* get-battery - print battery status and percent to stdout | |
* | |
* Orignal Source from http://dwm.suckless.org/status_monitor/batterystatus.c | |
* edited by djorborn at gmail dot com | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. | |
* This program is distributed in the hope that it will be useful, |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<manifest> | |
<!-- Device --> | |
<project name="trinket-common/device_motorola_sofiap" path="device/motorola/sofiap" remote="github" revision="staging/lineage-18.1" /> | |
<project name="trinket-common/device_motorola_sm6125-common" path="device/motorola/sm6125-common" remote="github" revision="staging/lineage-18.1" /> | |
<!-- Vendor --> | |
<project name="trinket-common/vendor_motorola" path="vendor/motorola" remote="github" revision="staging/lineage-18.1" /> | |
<!-- Kernel --> |
This is a guide for installing Klipper and Octoprint on Void Linux
I am assuming you have a printer.cfg
file in your home directory, your printer is connted via USB and you know kinda how to use a terminal.
I have made a new user pi
, to keep things as close to the raspberry-pi setup as I can. I recommend you do this as well.
To make a new user