A vanilla JS fork of Lettering.js. Follow along in the tutorial video at https://gomakethings.com/converting-a-jquery-plugin-to-vanilla-js-lettering.js/.
Pass in a selector for the elements you want to run Vanilla Lettering.js on.
A vanilla JS fork of Lettering.js. Follow along in the tutorial video at https://gomakethings.com/converting-a-jquery-plugin-to-vanilla-js-lettering.js/.
Pass in a selector for the elements you want to run Vanilla Lettering.js on.
| // | |
| // | ̄ ̄ ̄ ̄ ̄ ̄| | |
| // | this is | | |
| // | your | | |
| // | spot | | |
| // |__________| | |
| // (\__/) || | |
| // (•ㅅ•) || | |
| // / づ | |
| // |
| using UnityEngine; | |
| using System.Collections; | |
| public static class Vibration | |
| { | |
| #if UNITY_ANDROID && !UNITY_EDITOR | |
| public static AndroidJavaClass unityPlayer = new AndroidJavaClass("com.unity3d.player.UnityPlayer"); | |
| public static AndroidJavaObject currentActivity = unityPlayer.GetStatic<AndroidJavaObject>("currentActivity"); | |
| public static AndroidJavaObject vibrator = currentActivity.Call<AndroidJavaObject>("getSystemService", "vibrator"); | |
| public static AndroidJavaClass vibrationEffectClass = new AndroidJavaClass("android.os.VibrationEffect"); |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| <?php | |
| $fp = @fopen( $file_path, 'rb' ); | |
| $size = filesize( $file_path ); | |
| $length = $size; | |
| $start = 0; | |
| $end = $size - 1; | |
| header( "Accept-Ranges: 0-$length" ); |
| <?php | |
| // front-end form example with multiple images upload | |
| // add new page created on the fly and adding images | |
| $message = ''; | |
| if($input->post->submit){ | |
| // tmp upload folder for additional security |
| <?php | |
| $out = ''; | |
| // create a new form field (also field wrapper) | |
| $form = $modules->get("InputfieldForm"); | |
| $form->action = "./"; | |
| $form->method = "post"; | |
| $form->attr("id+name",'subscribe-form'); |
| img.grayscale.disabled { | |
| filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale"); | |
| -webkit-filter: grayscale(0%); | |
| } |
| /* | |
| * This work is free. You can redistribute it and/or modify it under the | |
| * terms of the Do What The Fuck You Want To Public License, Version 2, | |
| * as published by Sam Hocevar. See the COPYING file for more details. | |
| */ | |
| /* | |
| * Easing Functions - inspired from http://gizma.com/easing/ | |
| * only considering the t value for the range [0, 1] => [0, 1] | |
| */ | |
| EasingFunctions = { |
| <?php | |
| /** | |
| * This is free and unencumbered software released into the public domain. | |
| * | |
| * Anyone is free to copy, modify, publish, use, compile, sell, or | |
| * distribute this software, either in source code form or as a compiled | |
| * binary, for any purpose, commercial or non-commercial, and by any | |
| * means. | |
| * |