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 | |
// 2019-01-28: Tested with PHP 7.0.32 (AR) | |
// tested with PHP 7.1.7 | |
$start = microtime(true); | |
const LOGIN_KEY_LEN = 20; | |
const MY_LOGIN_HEADER_LEN = 24; | |
const MAX_CIPHER_STORE_LEN = 4; |
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
<# | |
================================================================================ | |
===== WordPress Installation Script for Windows Server 2016 and Windows 10 ===== | |
================================================================================ | |
#> | |
"`r`nWordPress Installation Script for Windows Server 2016 and Windows 10" | |
"====================================================================" | |
cd ~\Downloads |
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
$TriggerParams = @{ | |
Daily = $true | |
At = '12am' | |
ErrorAction = 'Stop' | |
} | |
$SettingsParams = @{ | |
ExecutionTimeLimit = [TimeSpan]::FromHours(2) | |
ErrorAction = 'Stop' | |
} | |
$TaskParams = @{ |
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
# -*- coding:utf-8 -*- | |
# Bot2Human | |
# | |
# Replaces messages from bots to humans | |
# typically used in channels that are connected with other IMs using bots | |
# | |
# For example, if a bot send messages from XMPP is like `[nick] content`, | |
# weechat would show `bot | [nick] content` which looks bad; this script | |
# make weecaht display `nick | content` so that the messages looks like | |
# normal IRC message |
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
@echo off | |
cls | |
echo [101;93m STYLES [0m | |
echo ^<ESC^>[0m [0mReset[0m | |
echo ^<ESC^>[1m [1mBold[0m | |
echo ^<ESC^>[4m [4mUnderline[0m | |
echo ^<ESC^>[7m [7mInverse[0m | |
echo. | |
echo [101;93m NORMAL FOREGROUND COLORS [0m | |
echo ^<ESC^>[30m [30mBlack[0m (black) |
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/sh | |
echo "This script updates your moodle installation." | |
echo "You will need a few pieces of information to complete this process." | |
echo "" | |
echo "Warning: This will disable Web-Access to the moodle installation!" | |
echo "Make sure nobody is logged in at the moment or activate maintenance mode manually so no data is lost." | |
echo "" | |
echo "" |
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
// Filename: TcpChatMessenger.cs | |
// Author: Benjamin N. Summerton <define-private-public> | |
// License: Unlicense (http://unlicense.org/) | |
using System; | |
using System.Text; | |
using System.Net; | |
using System.Net.Sockets; | |
using System.Threading; |
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
{% comment %} | |
* | |
* Counter: This include counts the your jekyll posts | |
* | |
{% endcomment %}{% assign counter = 1 %}{% for item in site.posts %}{% unless item.published == false %}{% assign counter=counter | plus:1 %}{% endunless %}{% endfor %}{{ counter }} |