Skip to content

Instantly share code, notes, and snippets.

View rolltidehero's full-sized avatar
☠️
chemo & radiation treatments again... I hate cancer :(

Heath B rolltidehero

☠️
chemo & radiation treatments again... I hate cancer :(
View GitHub Profile
@rolltidehero
rolltidehero / Startup.cs
Created February 23, 2021 11:35 — forked from HelBorn/Startup.cs
Adding a program to startup in C#
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using Microsoft.Win32;
namespace RunOnStartup
{
/// <summary>
/// It attempts to write to HKEY_LOCAL_MACHINE first, which will run on startup on all user accounts.
@rolltidehero
rolltidehero / cloudSettings
Last active September 4, 2021 03:19
vscodesync
{"lastUpload":"2021-09-04T03:19:25.205Z","extensionVersion":"v3.4.3"}
<?php
/**
* Adding domains to DirectAdmin
*/
include 'httpsocket.php';
// domains comma seperated
$domains = 'domein1.nl,domein2.nl,domein3.nl';
@rolltidehero
rolltidehero / frenchie\frenchies
Created February 5, 2022 04:19
frenchie\frenchies
frenchie.monster
frenchie.digital
frenchie.vip
frenchie.sale
frenchie.co.in
frenchie.forsale
frenchie.technology
frenchie.exchange
frenchies.network
frenchies.monster
wget http://www.webmin.com/webmin/download/modules/neisysinfo.wbm.gz
wget http://www.webmin.com/webmin/download/modules/updown.wbm.gz
wget http://download.webmin.com/download/plugins/virtualmin-google-analytics.wbm.gz
wget http://www.webmin.com/download/plugins/virtualmin-init.wbm.gz
wget https://download.webmin.com/download/modules/bacula-backup.wbm.gz
wget https://download.webmin.com/download/modules/quota.wbm.gz
wget https://download.webmin.com/download/modules/mount.wbm.gz
wget https://download.webmin.com/download/modules/fsdump.wbm.gz
wget https://download.webmin.com/download/modules/file.wbm.gz
wget https://download.webmin.com/download/modules/net.wbm.gz
/*#############################################################################\
Shortcuts.xys
Library for creating shortcut files.
[ABOUT]
Author = TheQwerty
Version = 1.0
Date = 2014-11-11 22:00z
Requires = XYplorer v14.50.0000
function check_attempted_login( $user, $username, $password ) {
if ( get_transient( 'attempted_login' ) ) {
$datas = get_transient( 'attempted_login' );
if ( $datas['tried'] >= 3 ) {
$until = get_option( '_transient_timeout_' . 'attempted_login' );
$time = time_to_go( $until );
return new WP_Error( 'too_many_tried', sprintf( __( '<strong>ERROR</strong>: You have reached authentication limit, you will be able to try again in %1$s.' ) , $time ) );
}
# install docker
$ wget -nv -O - https://get.docker.com/ | sh
 # setup dokku apt repository
$ wget -nv -O - https://packagecloud.io/dokku/dokku/gpgkey | apt-key add -
$ export SOURCE="https://packagecloud.io/dokku/dokku/ubuntu/"
/*#############################################################################\
Shortcuts.xys
Library for creating shortcut files.
[ABOUT]
Author = TheQwerty
Version = 1.0
Date = 2014-11-11 22:00z
Requires = XYplorer v14.50.0000
/* multi-row extensions toolbar */.address-top .toolbar-extensions {position: absolute; top: 34px; left: unset !important; right: 3px !important; box-shadow: 4px 0 var(--colorBg); display: flex; flex-flow: row wrap; max-width: 100%; border-radius: 0 0 0 var(--radius); z-index:0; transition: visibility 0s .1s !important;}.address-top #header:not(:hover) ~ #main .UrlBar:not(:focus-within):not(:hover) .toolbar-extensions:not(:focus-within):not(:hover) {visibility: hidden; transition: visibility 0s .7s !important;}.address-top.color-behind-tabs-off .toolbar-extensions {box-shadow: 4px 0 var(--colorAccentBg);}.toolbar-extensions:not(:focus-within):not(:hover) {box-shadow: none; opacity: .5; background: transparent;}.toolbar-extensions .ExtensionIcon--Hidden {order:1; background: transparent;}.toolbar-extensions .ExtensionIcon--Hidden:hover {border-radius: 50%; background: transparent; transition: .3s ease-out !important;}.toolbar-extensions > .button-toolbar:not(.ExtensionIcon) {order:99;}.toolbar-extensions:after