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
{ config, pkgs, ... }: | |
{ | |
documentation.nixos.enable = false; | |
nix.settings.experimental-features = [ "nix-command" "flakes" ]; | |
networking.hostName = "nixos"; # Define your hostname. | |
networking.nameservers = [ "192.168.0.243" ]; | |
nixpkgs.config.allowUnfree = true; | |
# Enable OpenGL | |
hardware.opengl = { |
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 | |
export DEBIAN_FRONTEND=noninteractive | |
sudo apt update && sudo apt upgrade; | |
sudo hostnamectl set-hostname ds9.exceptionerror.io | |
curl -sfL https://get.k3s.io | sh - | |
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
package worker | |
import ( | |
"crypto/md5" | |
"encoding/hex" | |
"fmt" | |
"image" | |
"image/jpeg" | |
"log" | |
"os" |
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 | |
version="${VERSION:-0.15.2}" | |
arch="${ARCH:-linux-amd64}" | |
bin_dir="${BIN_DIR:-/usr/local/bin}" | |
wget "https://github.com/prometheus/node_exporter/releases/download/v$version/node_exporter-$version.$arch.tar.gz" \ | |
-O /tmp/node_exporter.tar.gz | |
mkdir -p /tmp/node_exporter |
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
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: nginx-ingress-controller | |
labels: | |
k8s-app: nginx-ingress-controller | |
namespace: default | |
spec: | |
replicas: 1 | |
template: |
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
<?php | |
/** | |
* Created by PhpStorm. | |
* User: robert | |
* Date: 07/06/2015 | |
* Time: 18:55 | |
*/ | |
namespace ParseApp; | |
ini_set('display_errors',1); | |
ini_set('display_startup_errors',1); |
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
my-nova: | |
identity_url: 'http://controller:35357/v3' | |
compute_region: nova | |
user: admin | |
password: pass | |
project-user: default | |
project-domain: default | |
tenant: default | |
driver: nova |
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
buildscript { | |
repositories { | |
mavenCentral() | |
maven { | |
name = "forge" | |
url = "http://files.minecraftforge.net/maven" | |
} | |
maven { | |
name = "sonatype" | |
url = "https://oss.sonatype.org/content/repositories/snapshots/" |
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
<?php | |
// Configs for phpbb database | |
$servername = "localhost"; | |
$username = "username"; | |
$password = "password"; | |
$dbname = "phpbbDatabase"; | |
$fileName = "flaurm.sql"; | |
$phpprefix = "phpbb_"; | |
//Sets the inital id for the new users posts and discussions set if you know you have more then 1000 users change. | |
$id = 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
<?php | |
// Configs for phpbb database | |
$servername = "localhost"; | |
$username = "<>"; | |
$password = "<>"; | |
$dbname = "<>"; | |
$fileName = "flaurm.sql"; | |
$phpprefix = "phpbb_"; | |
//Sets the inital id for the new users posts and discussions set if you know you have more then 1000 users change. |
NewerOlder