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
| <!-- https://www.facebook.com/NoelBautistaOfficial/ --> | |
| .videofix { | |
| position: relative; | |
| padding-bottom: 56.25%; | |
| margin:0px; | |
| } | |
| .videofix 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
| <div style="padding-bottom: 56.25%;"> | |
| // put your groove video embed code here | |
| </div> |
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
| //https://jennamolby.com/how-to-use-utm-parameters-to-capture-lead-source/ | |
| // Parse the URL | |
| function getParameterByName(name) { | |
| name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); | |
| var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), | |
| results = regex.exec(location.search); | |
| return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " ")); | |
| } | |
| // Give the URL parameters variable names | |
| var source = getParameterByName('utm_source'); |
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
| $now = time(); | |
| $nowstr = date('Y-m-d H:i:s',$now); | |
| $next_five = date('Y-m-d H:i:s',ceil($now/300)*300); | |
| $next_min = date('Y-m-d H:i:s',ceil($now/60)*60); |
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
| # Remove stopped containers | |
| docker rm `docker ps --no-trunc -aq` | |
| # Remove untagged images | |
| docker images -q --filter "dangling=true" | xargs docker rmi | |
| # Publish containers port to the host | |
| docker run -p 443:8888 image/name | |
| # Set environment variables |
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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| __author__ = "Deepak.G.R." | |
| __license__ = 'Public Domain' | |
| """ | |
| usage: | |
| Go to command line and type | |
| python ai-class.py "topic-name" |
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
| // -*- mode: c++ -*- | |
| /** | |
| Copyright: (c) SAEKI Yoshiyasu | |
| License : MIT-style license | |
| <http://www.opensource.org/licenses/mit-license.php> | |
| last updated: 2011/01/12 | |
| **/ | |
| #include <SPI.h> |
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
| // Arduino Sprinkler | |
| // Version: 0.4 (beta) | |
| // Updated: 03 Oct 2011 | |
| #include <LiquidCrystal.h> | |
| #include <EEPROM.h> | |
| // SWITCHES | |
| // Pin 1 (Learn/Auto) |
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
| // ----- C ------- | |
| /** | |
| * arduino Nikon IR remote | |
| * @license Creative commons: Attribution-Noncommercial-Share Alike 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/) | |
| * @author Aurelien ANTOINE | |
| * version 1 | |
| * date 20081217 | |
| * | |
| * | |
| * This version modified by Steve Hoefer September 12, 2011 |
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
| static const byte charlie_pins[] = {5, 6, 7}; | |
| static const byte charlie_led[][2] = { | |
| { 0, 1 }, | |
| { 1, 0 }, | |
| { 0, 2 }, | |
| { 2, 0 }, | |
| { 1, 2 }, | |
| { 2, 1 } | |
| }; |
NewerOlder