-
Understanding version control
- Local
- centralized
- distributed version control systems
-
Understanding Git
- diff with other version control
- the three states
-
Setup Git - Windows / Linux
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
Show hidden characters
{ | |
"auto_complete_selector": "source, text", | |
"color_scheme": "Packages/Colorsublime-Themes/themes/Facebook.tmTheme", | |
"font_size": 11, | |
"highlight_line": true, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"line_ending": "unix", |
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
FORFILES [/p Path] [/m SrchMask] [/s] [/c Command] [/d [+ | -] {date | dd}] | |
Example 1: | |
forfiles /m "*.mp3" /c "cmd /c adb push @file /sdcard/mp3/" | |
Example 2: | |
forfiles /m "02*. *.mp4" /c "cmd /c adb push @file /sdcard/mp4/" |
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 | |
/******************************************************************************* | |
* Title: HESK Reminderd | |
* Description: Send and email reminder to staff/operator when there are out standing ticket after 2 days | |
* Version: 2.5.2 from 14th June 2014 | |
* Author: Hariadi Hinta | |
* Website: http://hariadi.org | |
*******************************************************************************/ | |
define('IN_SCRIPT',1); | |
define('HESK_PATH', __DIR__ . '/'); |
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 | |
# List of databases to be backed up separated by space | |
dblist="database1 database2 database3" | |
# Directory for backups | |
backupdir=/DIR/mysql_dumps | |
# Number of versions to keep | |
numversions=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
SSLHonorCipherOrder On | |
SSLCipherSuite "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH EDH+aRSA RC4 !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS" | |
SSLProtocol all -SSLv2 -SSLv3 |
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
#!/usr/bin/perl -w | |
# | |
# Test for OpenSSL CVE-2014-0224 | |
# | |
# This sends Change Cipher Spec record too early and observes server reply to | |
# see if it responds with alert (i.e. if it's patched) | |
# | |
#flow for a full handshake | |
# | |
# Client->Server: ClientHello |
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 namespace System\Traits; | |
use HTML; | |
use File; | |
use Request; | |
use System\Models\Parameters; | |
use System\Models\PluginVersion; | |
use System\Classes\SystemException; | |
/** |
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
(function(arg1,arg2,arg3,arg4,arg5,arg6,arg7){arg1['GoogleAnalyticsObject']=arg5;arg1[arg5]=arg1[arg5]||function(){ | |
(arg1[arg5].q=arg1[arg5].q||[]).push(arguments)},arg1[arg5].l=1*new Date();arg6=arg2.createElement(arg3), | |
arg7=arg2.getElementsByTagName(arg3)[0];arg6.async=1;arg6.src=arg4;arg7.parentNode.insertBefore(arg6,arg7) | |
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | |
ga('create', 'UA-XXXXXX-X', 'example.com'); | |
ga('send', 'pageview'); |