This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
<?php | |
/* | |
Original version: | |
written by Jarrod Oberto | |
taken from http://net.tutsplus.com/tutorials/php/image-resizing-made-easy-with-php/ | |
Modified From: |
I've shared this contact for use by Creative, Digital and Marketing Agencies (or any company for that matter) to use when contracting a Freelance Web Developer on digital projects. Feel free to fork, amend and use for your own projects however please be nice and credit where credit is due and take a note of the disclaimer on this document.
My aim is to create a realistic, agreeable contract with as little unreadable jargon as possible. Hopefully this example contract achieves that and is useful to you, feel free to comment so I can amend.
PS: feel free to remove this section (of course) when using in your final docs.
This is a very simply routing system that makes it easy to test requests to different paths. This is very limited so do not use for your applications - it's just for fun.
require('route.php');
// A user profile
route('/(\w+)/profile', function($path, $user)
{
print "Hello " . $user;
touch ~/.android/repositories.cfg | |
brew cask install caskroom/versions/java8 | |
brew cask install android-sdk | |
brew cask install intel-haxm | |
brew install qt | |
export ANDROID_SDK_ROOT="/usr/local/share/android-sdk" | |
sdkmanager "platform-tools" "platforms;android-27" "extras;intel;Hardware_Accelerated_Execution_Manager" "build-tools;27.0.0" "system-images;android-27;google_apis;x86" "emulator" | |
avdmanager create avd -n test -k "system-images;android-27;google_apis;x86" | |
/usr/local/share/android-sdk/tools/emulator -avd test |
Handy helpers for controlling visibility of elements until Vue has compiled.
Use like:
<div v-cloak>
<h1>
<span class="v-cloak--inline">Loading...</span> <!-- Only displayed before compiling -->
<span class="v-cloak--hidden">{{ post.title }}</span> <!-- Hidden until compiling is finished -->
/* | |
* Basic implementation of methods needed to receive swiped credit card data with javascript. | |
* | |
* NOTE: PCI compliance specifies that card data must never be stored in an unencrypted manner, and | |
* only certain pieces of card data can be stored persistently. Ensure that output logging is NOT | |
* stored persistently when using this file, as it contains console.log messages that are intended | |
* to educate the user, and these messages contain data that may compromise your PCI compliance posture. | |
* | |
* If you choose to use any of this code with real credit card data, it is your responsibility | |
* to remove all log statements, output, or other code that may serve to persist offending information. |
# This is a sample build configuration for PHP. | |
# Check our guides at https://confluence.atlassian.com/x/e8YWN for more examples. | |
# Only use spaces to indent your .yml configuration. | |
# You can specify a custom docker image from Docker Hub as your build environment. | |
# run composer check-platform-reqs for a list of required extensions. | |
image: php:7.2-fpm | |
pipelines: | |
default: | |
# Not needed unless you're doing feature tests. | |
# - step: |