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
package main | |
import ( | |
"log" | |
"net/http" | |
"github.com/googollee/go-socket.io" | |
) | |
func SayHelloWorld(w http.ResponseWriter, r *http.Request) { | |
w.Write([]byte("Hello, World!")) |
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
package main | |
import ( | |
"log" | |
"net/http" | |
"github.com/googollee/go-socket.io" | |
) | |
func SayHelloWorld(w http.ResponseWriter, r *http.Request) { | |
w.Write([]byte("Hello, World!")) |
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
/* | |
****** A normal Facebook retargeting pixel looks like this: | |
__________________________________________________________________________ | |
__________________________________________________________________________ | |
<script>(function() { | |
var _fbq = window._fbq || (window._fbq = []); | |
if (!_fbq.loaded) { |
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
'use strict'; | |
(function() { | |
/* | |
1. Depending on how this file is called, it does a different thing. | |
2. "auth"=url | |
3. all/single page option | |
4. total/active option | |
<script page="all" cat="total" label="You are visitor number:" href="" src="//ex.io/js.js"></script> |
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
'use strict'; | |
(function() { | |
var Firebase = require('firebase'), | |
Database = new Firebase('https://sendgrowth-counter.firebaseio.com/'), | |
pageURL = document.URL.split('.').join('_'), | |
pageURL = pageURL.split('/').join('*'), | |
domain = window.location.host, | |
rootRef = null, | |
pagePref='one', | |
labelPref, |
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
var webpack = require("../node_modules/webpack"); | |
module.exports = { | |
context: __dirname, | |
entry: './entry.js', | |
output:{ | |
path: __dirname + '/assets/js', | |
filename: 'counter.js' | |
}, | |
plugins: [ |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Redirecting To Your Product...</title> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<!-- Facebook Pixel Code --> | |
<script> | |
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? | |
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; |

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
document.querySelectorAll('div.ProfileCard-actions > div > div > div > button').forEach(function(btn){ | |
var style = window.getComputedStyle(btn.querySelector('span.button-text.follow-text')); | |
if(style.display === 'block'){ | |
btn.click(); | |
}; | |
}); |
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
{ | |
"Version":"2012-10-17", | |
"Statement":[ | |
{ | |
"Sid":"AddPerm", | |
"Effect":"Allow", | |
"Principal": "*", | |
"Action":["s3:GetObject"], | |
"Resource":["arn:aws:s3:::examplebucket/*"] | |
} |
OlderNewer