This file contains 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
#include <SoftwareSerial.h> | |
// Blueduino comunicate with BLE module through pin11, pin12 as soft serial. | |
SoftwareSerial mySerial(11, 12); //RX,TX | |
String tmp; | |
void setup() { | |
// Start soft serial | |
mySerial.begin(9600); |
This file contains 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 id="menu"> | |
<div id="top"> <!-- "viewport" for menu --> | |
<div class="swipecontainer"> <!-- Moving part for menu items --> | |
<ul class="swipemenu"> | |
<li>One</li> | |
<li>Two</li> | |
<li>Three</li> | |
<li>Four</li> | |
<li>Five</li> | |
<li>Very long Six</li> |
This file contains 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
int pins[] = {3,5,9,10,11}; | |
int nr = 5; | |
// the setup routine runs once when you press reset: | |
void setup() { | |
Serial.begin(9600); | |
// declare pins[] to be an output: | |
for (int i =0; i<nr; i++) { | |
pinMode(pins[i],OUTPUT); | |
analogWrite(pins[i],0); |
This file contains 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/sh | |
# Provide the canonicalize filename (physical filename with out any symlinks) | |
# like the GNU version readlink with the -f option regardless of the version of | |
# readlink (GNU or BSD). | |
# This file is part of a set of unofficial pre-commit hooks available | |
# at github. | |
# Link: https://github.com/githubbrowser/Pre-commit-hooks | |
# Contact: David Martin, david.martin.mailbox@googlemail.com |
This file contains 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 | |
//encoding a fancy emoji to ascii | |
$a = json_encode("💩"); //json_encode casts emoji string to readable ascii | |
var_dump($a); | |
//other way around | |
echo "\n\n<br/><br/>"; | |
//based on the encoded variable |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
diff --git a/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/notification/PushNotification.java b/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/notification/PushNotification.java | |
index 54a5fb8..d617dcf 100644 | |
--- a/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/notification/PushNotification.java | |
+++ b/node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/notification/PushNotification.java | |
@@ -8,6 +8,7 @@ import android.content.Context; | |
import android.content.Intent; | |
import android.os.Build; | |
import android.os.Bundle; | |
+import android.util.Log; | |
This file contains 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
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: wordpress-mysql | |
spec: | |
selector: | |
app: wordpress-mysql | |
type: LoadBalancer | |
ports: | |
- name: postgres |