This file contains hidden or 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 | |
# Forticlient SSL VPN Client launching script utilizing expect. | |
# -------------------------------------------- | |
# CONFIGURATION | |
# If empty - script will take some simple logic to locate appropriate binary. | |
FORTICLIENT_PATH="" |
This file contains hidden or 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
ALTER TABLE `#__componentbuilder_joomla_component` ENGINE = InnoDB; | |
ALTER TABLE `#__componentbuilder_joomla_component` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; | |
ALTER TABLE `#__componentbuilder_admin_view` ENGINE = InnoDB; | |
ALTER TABLE `#__componentbuilder_admin_view` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; | |
ALTER TABLE `#__componentbuilder_custom_admin_view` ENGINE = InnoDB; | |
ALTER TABLE `#__componentbuilder_custom_admin_view` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; | |
ALTER TABLE `#__componentbuilder_site_view` ENGINE = InnoDB; |
This file contains hidden or 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
--============================================================================== | |
-- conky_orange.lua | |
-- | |
-- author : SLK | |
-- version : v2011062101 | |
-- license : Distributed under the terms of GNU GPL version 2 or later | |
-- | |
-- modified: me | |
-- version : v20171027 | |
-- notes : works on 4k screen. uses conky conf newer >v1.1 |
This file contains hidden or 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
/** | |
* The array of dynamic content | |
* | |
* @var array | |
*/ | |
protected static $dynamicContent = array( | |
// The banners by size (width - height) | |
'banner' => array( | |
'728-90' => array( |
This file contains hidden or 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
#!/usr/bin/python3 | |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | |
# Caesar Cypher Hack | |
# | |
# @author Llewellyn van der Merwe <https://www.vdm.io/> | |
# @copyright Copyright (C) 2019 Vast Development Method. All rights reserved. | |
# @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html | |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | |
This file contains hidden or 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 | |
$surnames = array( | |
"SMITH", | |
"JOHNSON", | |
"WILLIAMS", | |
"BROWN", | |
"JONES", | |
"GARCIA", | |
"MILLER", |
This file contains hidden or 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
// load the helper class | |
JLoader::register('[[[Component]]]Helper', JPATH_ADMINISTRATOR . '/components/com_[[[component]]]/helpers/[[[component]]].php'); | |
// check the version of JCB | |
$manifest = [[[Component]]]Helper::manifest(); | |
if (isset($manifest->version) && strpos($manifest->version, '.') !== false) | |
{ | |
// get the version | |
$this->JCBversion = explode('.', $manifest->version); | |
// Get a db connection. | |
$db = JFactory::getDbo(); |
This file contains hidden or 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
USE [CollegeSystem] | |
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
SET ANSI_PADDING ON | |
GO | |
CREATE TABLE [dbo].[Students]( | |
[ID] [int] IDENTITY(1,1) NOT NULL, |
This file contains hidden or 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 | |
/** | |
* @package VDM Install Extension (via CLI) | |
* | |
* @author Llewellyn van der Merwe <https://www.vdm.io> | |
* @gitHub https://gist.github.com/Llewellynvdm/fb2a8bcd24c42a955b67ec3154aa7b54 | |
* @copyright Copyright (C) 2020 Vast Development Method. All rights reserved. | |
* @license GNU General Public License version 2 or later | |
*/ |
This file contains hidden or 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 | |
# | |
# DESCRIPTION: | |
# | |
# Set the bash prompt according to: | |
# * the active virtualenv | |
# * the branch/status of the current git repository | |
# * the return value of the previous command | |
# * the fact you just came from Windows and are used to having newlines in | |
# your prompts. |