Getting started:
Related tutorials:
# [General/Initial Section] | |
# Update system | |
yum update | |
# Set your timezone | |
timedatectl set-timezone UTC | |
# Check date is set correct | |
date |
Getting started:
Related tutorials:
I work as a full-stack developer at work. We are a Windows & Azure shop, so we are using Windows as our development platform, hence this customization.
For my console needs, I am using Cmder which is based on ConEmu with PowerShell as my shell of choice.
Yes, yes, I know nowadays you can use the Linux subsystem on Windows 10 which allow you to run Ubuntu on Windows. If you are looking for customization of the Ubuntu bash shell, check out this article by Scott Hanselman.
My main development workstation is a Windows 10 machine, so we'll approach this from that viewpoint.
Recently, Google Chrome started giving me a warning when I open a site that uses https and self-signed certificate on my local development machine due to some SSL certificate issues like the one below:
<?php | |
/** | |
* Run it as root/administrator, just php cleanPhotoscrMalware.php | |
* Clean to target the stupid Photo.scr miner, for it to work, note that its searching for CRLF | |
* | |
* The real infectious code look like this as below: | |
* | |
* <iframe src=Photo.scr width=1 height=1 frameborder=0> | |
* <\/iframe> | |
* |
<?php | |
function ibenic_get_all_zones() { | |
if( class_exists( 'WC_Shipping_Zones' ) ) { | |
$all_zones = WC_Shipping_Zones::get_zones(); | |
return $all_zones; | |
} | |
return false; | |
} |
$objPHPExcel->disconnectWorksheets(); | |
unset($objPHPExcel); |
import Reactotron from 'reactotron-react-native' | |
import { reactotronRedux } from 'reactotron-redux' | |
var store; | |
if (__DEV__) { | |
Reactotron | |
.configure({ name: 'VTX-sharepoint' }) | |
.use(reactotronRedux()) | |
.connect() |
{ | |
// The command to execute for the terminal, leave blank for the OS default | |
// See https://github.com/wbond/sublime_terminal#examples for examples | |
"terminal": "C:\\ProgramData\\cmder\\Cmder.exe", | |
// A list of default parameters to pass to the terminal, this can be | |
// overridden by passing the "parameters" key with a list value to the args | |
// dict when calling the "open_terminal" or "open_terminal_project_folder" | |
// commands | |
"parameters": ["/START", "%CWD%"], |
IPTables is the Firewall service that is available in a lot of different Linux Distributions. While modifiying it might seem daunting at first, this Cheat Sheet should be able to show you just how easy it is to use and how quickly you can be on your way mucking around with your firewall.
The following list is a great set of documentation for iptables
. I used them to compile this documentation.