Skip to content

Instantly share code, notes, and snippets.

Oscar S Kolsrud OscarKolsrud

View GitHub Profile
@OscarKolsrud
OscarKolsrud / install_elasticsearch_in_centos.sh
Last active Nov 2, 2019 — forked from fevangelou/install_elasticsearch_in_centos.sh
Install ElasticSearch with the Cerebro UI on CentOS 6 & 7 (with or without cPanel)
View install_elasticsearch_in_centos.sh
#!/bin/bash
# /**
# * @version 1.0
# * @package Install ElasticSearch with the Cerebro UI on CentOS 6 & 7 (with or without cPanel)
# * @author Fotis Evangelou (https://kodeka.io)
# * @url https://engintron.com
# * @copyright Copyright (c) 2018 - 2019 Kodeka OÜ. All rights reserved.
# * @license GNU/GPL license: https://www.gnu.org/copyleft/gpl.html
# */
@OscarKolsrud
OscarKolsrud / index.html
Created Jul 21, 2019
Postnummer autofill - Henter postnummer fra bring og autofiller en form input med det
View index.html
<input type="text" pattern="\d*" class="form-control" id="postal" placeholder="0000" maxlength="4" required onkeyup="autofillCity(this.value)">
@OscarKolsrud
OscarKolsrud / countdown-redirect.html
Created Jun 16, 2019 — forked from Joel-James/countdown-redirect.html
Count Down Redirect Uisng JavaScript
View countdown-redirect.html
<!-- Modify this according to your requirement -->
<h3>
Redirecting to duckdev.com after <span id="countdown">10</span> seconds
</h3>
<!-- JavaScript part -->
<script type="text/javascript">
// Total seconds to wait
var seconds = 10;
You can’t perform that action at this time.