Skip to content

Instantly share code, notes, and snippets.

View fran-diaz's full-sized avatar
🎯
Focusing

Fran Díaz fran-diaz

🎯
Focusing
View GitHub Profile
@fran-diaz
fran-diaz / AdbCommands
Created March 29, 2022 13:34 — forked from ernestkamara/AdbCommands
Adb useful commands list
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
== Shell
@fran-diaz
fran-diaz / compile-php.cmd
Created March 29, 2022 05:35 — forked from mlocati/compile-php.cmd
Script to compile PHP
@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
@fran-diaz
fran-diaz / win10colors.cmd
Created March 29, 2022 05:34 — forked from mlocati/win10colors.cmd
ANSI Colors in standard Windows 10 shell
@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
@fran-diaz
fran-diaz / 0_reuse_code.js
Created April 6, 2016 08:44
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@fran-diaz
fran-diaz / material_design_colors.css
Last active August 29, 2015 14:09
Material Design Color Classes for CSS, usefull to play with material design color scheme in your projects.
/**
* 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}
@fran-diaz
fran-diaz / material_design_colors.php
Last active November 4, 2021 08:16
Material Design Colors for PHP, usefull to play with material design color scheme in your projects.
<?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(