if($online_viewer == 'google') {
echo '<iframe src="https://docs.google.com/viewer?embedded=true&hl=en&url=' . fm_enc($file_url) . '" frameborder="no" style="width:100%;min-height:460px"></iframe>';
} else if($online_viewer == 'microsoft') {
echo '<iframe src="https://view.officeapps.live.com/op/embed.aspx?src=' . fm_enc($file_url) . '" frameborder="no" style="width:100%;min-height:460px"></iframe>';
}
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
| Open Terminal and type - leafpad /etc/resolv.conf | |
| add this - nameserver 8.8.8.8 | |
| nameserver 8.8.4.4 | |
| save and exit | |
| now open new terminal and type - leafpad /etc/apt/sources.list | |
| add this - #Repositories : | |
| deb http://kali.cs.nctu.edu.tw/kali kali-rolling main contrib non-free | |
| deb-src http://kali.cs.nctu.edu.tw/kali kali-rolling main contrib non-free | |
| now save and exit |
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
| { | |
| "red": { | |
| "50": "#ffebee", | |
| "100": "#ffcdd2", | |
| "200": "#ef9a9a", | |
| "300": "#e57373", | |
| "400": "#ef5350", | |
| "500": "#f44336", | |
| "600": "#e53935", | |
| "700": "#d32f2f", |
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 | |
| /** | |
| * ----------------------------------------------------------------------------------------- | |
| * Based on `https://github.com/mecha-cms/mecha-cms/blob/master/system/kernel/converter.php` | |
| * ----------------------------------------------------------------------------------------- | |
| */ | |
| // HTML Minifier | |
| function minify_html($input) { |
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
| stages: | |
| - test | |
| - deploy | |
| cache: | |
| paths: | |
| - vendor | |
| # test job | |
| test: |
- Install Kali linus from the Win10 store.
- Start Kali linux:
$ kali - Install [wget]:
apt-get install wget - Donwload the Kali installation script for [xfce4]:
$ wget https://kali.shxfce4.sh - Run the script:
$ sudo sh xfce4.sh
This will take some time.
- Start the remote desktop server:
$ sudo /etc/init.d/xrdp start
By default it will start on port 3390.
- Open a command prompt as Administrator
- In the command prompt, type the following:
-
Office 2016 (32-bit) on a 32-bit version of Windows
cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /dstatus -
Office 2016 (32-bit) on a 64-bit version of Windows
cscript "C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS" /dstatus -
Office 2016 (64-bit) on a 64-bit version of Windows
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
| Windows.10.and.Office.2016.gVLK | |
| ##################################################################### | |
| # Install/Uninstall keys # | |
| ##################################################################### | |
| 1.) Uninstall the current product by entering the “uninstall product key” extension: | |
| slmgr.vbs /upk | |
| 2.) Install the key that you obtained above for “Windows Srv 2012R2 DataCtr/Std KMS for Windows 10” |