Skip to content

Instantly share code, notes, and snippets.

chillin around

Tom dunklesToast

chillin around
  • Hanover
Block or report user

Report or block dunklesToast

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
dunklesToast / cloudflaredyndns.js
Created May 6, 2019
Cloudflare DynDNS Script
View cloudflaredyndns.js
const cf = require('cloudflare')({
email: '<email address>',
key: '<api key>'
const request = require('request');
const fs = require('fs');
const zoneID = '<zoneID>';
const recordID = '<recordid>';
const recordName = '<your (sub)domain name>'
dunklesToast /
Last active Feb 1, 2020
Dell R710 Scripts for changing fan speed

Dell PowerEdge R710 Fan Control

start the script like this:

./ idrac ip idrac user - you will be prompted for the password!

./ idrac ip idrac user you will be prompted for the password!

dunklesToast /
Last active Jan 31, 2019
Awesome script to be lazy af
#!/usr/bin/env bash
# Use it like this: "file"
nest generate module $1
nest generate service $1
nest generate controller $1
cd src/$1
rm *.spec.*
dunklesToast / getCurrentFormattedTime.js
Last active Sep 9, 2017
Simple function which returns time in a nice formatted way
View getCurrentFormattedTime.js
function getDate() {
const d = new Date();
return `[${('0'+d.getDate()).toString().substr(-2)}.${('0'+(d.getMonth()+1)).toString().substr(-2)}.${d.getFullYear()} / ${('0'+d.getHours()).toString().substr(-2)}:${('0'+d.getMinutes()).toString().substr(-2)}:${('0'+d.getSeconds()).toString().substr(-2)}]`
dunklesToast /
Last active Jun 25, 2016
Devintia Money API Snippet
class DBMoney implements ConfigurationSerializable{
int money;
public DBMoney( int value ){
money = value;
public DBMoney( Map<String, Object> data){
money = (int)data.get( "money" );
You can’t perform that action at this time.