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
| #ifndef __SHRGBLEDSNEOPIXELFASTLED_H__ | |
| #define __SHRGBLEDSNEOPIXELFASTLED_H__ | |
| #define FASTLED_ALLOW_INTERRUPTS 1 | |
| #include <Arduino.h> | |
| #include "SHRGBLedsBase.h" | |
| #include <FastLED.h> | |
| CRGB SHRGBLedsNeoPixelFastLeds_leds[WS2812B_RGBLEDCOUNT]; |
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 | |
| $template = ButtonTemplate::create($message->attachment->payload->text); | |
| Log::info('Inside the button template1'; | |
| $template->addButton( | |
| ElementButton::create($btn->title) | |
| ->url( | |
| $webview_url.'/adAudit/'.$this->optin->id.'/'.$delivery->fresh()->uuid | |
| ) | |
| ->heightRatio(ElementButton::RATIO_FULL) | |
| ->enableExtensions()); |
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 | |
| public function sendTypesAndWaits($seconds) { | |
| Log::info('Send typesAndWaits'); | |
| $response = $this->bot->sendRequest('me/messages', [ | |
| 'recipient' => $this->recipient, | |
| 'sender_action' => 'typing_on' | |
| ]); |
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 | |
| /* | |
| * Generic template | |
| */ | |
| public function buildMessageTemplateGeneric($message) { | |
| # WORKS | |
| $template = GenericTemplate::create() | |
| ->addElement( | |
| Element::create($message->attachment->title) | |
| ->image($message->attachment->payload->url) |
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
| client.println("POST /posts HTTP/1.1"); | |
| client.println("Host: jsonplaceholder.typicode.com"); | |
| client.println("Cache-Control: no-cache"); | |
| client.println("Content-Type: application/x-www-form-urlencoded"); | |
| client.print("Content-Length: "); | |
| client.println(PostData.length()); | |
| client.println(); | |
| client.println(PostData); | |
| long interval = 2000; |
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
| . | |
| ├── EFI | |
| │ ├── APPLE | |
| │ │ ├── EXTENSIONS | |
| │ │ │ └── Firmware.scap | |
| │ │ ├── FIRMWARE | |
| │ │ │ └── IM142_0118_B14_LOCKED.scap | |
| │ │ └── UPDATERS | |
| │ │ └── SMC | |
| │ │ ├── Mac-27ADBB7B4CEE8E61.epm |
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
| #!/bin/bash | |
| declare -A PACK | |
| # EDIT THESE | |
| # | |
| # choose which packs you want to get by uncommenting them | |
| PACK[afrf]=843425103 | |
| #PACK[usaf]=843577117 | |
| #PACK[gref]=843593391 | |
| #PACK[saf]=843632231 |
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
| /** | |
| * Append the form data from a HubSpot form automatically | |
| * to the redirect URL query parameters. These values can | |
| * then be used on the form to modify the user experience | |
| * of the Thank You page | |
| * | |
| * LICENSE | |
| * Form redirect | |
| * Written in 2015 by Mike Axiak <maxiak@hubspot.com> | |
| * Updated in 2016 by Seth Meranda <seth.meranda@cune.edu> |
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
| while ($charges['has_more']) { | |
| $charges = $stripe->getChargesByDate($start_date, $starting_after); | |
| foreach($charges["data"] as $charge) { | |
| // DEBUG | |
| Log::info($charges['has_more']); | |
| // Reset the data for the pager. Have to do this first in case we skip a dirty record. | |
| $starting_after = $charge['id']; |
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
| when HTTP_REQUEST { | |
| if { [string tolower [HTTP::host]] equals "leadpages.net"}{ | |
| HTTP::respond 301 Location "https://www.leadpages.net[HTTP::uri]" | |
| } | |
| if { [string tolower [HTTP::uri]] starts_with "/blog" }{ | |
| node 104.193.18.59 | |
| } |
NewerOlder