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
| @echo off | |
| setlocal enabledelayedexpansion | |
| rem Reference: https://wiki.php.net/internals/windows/stepbystepbuild | |
| set MY_VSDIR=C:\Path\To\Microsoft Visual Studio 14.0 | |
| set PATH=%SystemRoot%\System32 | |
| echo # Compiling PHP |
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
| <div class="capture" contenteditable> | |
| <p>Capture with right click</p> | |
| </div> | |
| <script src="https://html2canvas.hertzen.com/dist/html2canvas.min.js"></script> | |
| <script> | |
| const elementToSave = document.querySelector(".capture"); | |
| // Download with right click | |
| document.addEventListener("contextmenu", () => { | |
| html2canvas(elementToSave).then(canvas => { |
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
| Hi All! | |
| I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future. | |
| Feel free to request any features you'd like to see, and I'll prioritize them accordingly. | |
| One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it. | |
| Here's the link to the repository: https://github.com/Pulimet/ADBugger | |
| App Description: | |
| ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups. |
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
| @echo off | |
| setlocal enabledelayedexpansion | |
| rem Reference: https://wiki.php.net/internals/windows/stepbystepbuild | |
| set MY_VSDIR=C:\Path\To\Microsoft Visual Studio 14.0 | |
| set PATH=%SystemRoot%\System32 | |
| echo # Compiling PHP |
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
| /** | |
| * animOnScroll.js v1.0.0 | |
| * http://www.codrops.com | |
| * | |
| * Licensed under the MIT license. | |
| * http://www.opensource.org/licenses/mit-license.php | |
| * | |
| * Copyright 2013, Codrops | |
| * http://www.codrops.com | |
| */ |
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
| @echo off | |
| setlocal | |
| call :setESC | |
| cls | |
| echo %ESC%[101;93m STYLES %ESC%[0m | |
| echo ^<ESC^>[0m %ESC%[0mReset%ESC%[0m | |
| echo ^<ESC^>[1m %ESC%[1mBold%ESC%[0m | |
| echo ^<ESC^>[4m %ESC%[4mUnderline%ESC%[0m |
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
| <!doctype html> | |
| <!-- Adapted from https://gist.github.com/tfausak/2222823 --> | |
| <html> | |
| <head> | |
| <title>Mobile-ready web app</title> | |
| <!-- CONFIGURATION --> |
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
| /** | |
| * Material Design Color Classes for CSS, usefull to play with material design color scheme in your projects. | |
| * | |
| * @author Fran Díaz <fran.diaz.gonzalez@gmail.com> | |
| * @github https://github.com/fran-diaz | |
| */ | |
| /* Text colors: */ | |
| .red {color:#f44336} | |
| .red50 {color:#ffebee} |
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 | |
| /** | |
| * Material Design Colors for PHP, usefull to play with material design color scheme in your projects. | |
| * | |
| * @author Fran Díaz <fran.diaz.gonzalez@gmail.com> | |
| * @github https://github.com/fran-diaz | |
| */ | |
| $material_design_colors = array( | |
| 'red' => 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
| <?php | |
| abstract class TestCase extends \PHPUnit_Framework_TestCase | |
| { | |
| protected function assertException(callable $callback, $expectedException = 'Exception', $expectedCode = null, $expectedMessage = null) | |
| { | |
| $expectedException = ltrim((string) $expectedException, '\\'); | |
| if (!class_exists($expectedException) && !interface_exists($expectedException)) { | |
| $this->fail(sprintf('An exception of type "%s" does not exist.', $expectedException)); | |
| } |
NewerOlder