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/sh | |
DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker} | |
mkdir -p $DOCKER_CONFIG/cli-plugins | |
curl -SL https://github.com/docker/compose/releases/download/v2.29.2/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose | |
chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose |
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
version: '3.3' | |
services: | |
cbt-agent-container: | |
container_name: cbt-agent-container | |
command: ldap-agent | |
environment: | |
- LOG_DIR=/var/log/cbt-ldap-agent | |
- CONFIG_DIR=/etc/cbt-ldap-agent | |
volumes: | |
- '/var/log/cbt-ldap-agent:/var/log/cbt-ldap-agent' |
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
/* | |
Monitor ticket availability at Fifa.com Ticketing System site | |
Run this code at https://fwctickets.fifa.com/ticketingsystem.aspx?l=en#Tck2 | |
(use the console available in any browser developer inspector) | |
- configure the timeout between refreshes and the matches you want to monitor | |
- when any available ticket is found a beep sound is played and the refresh stops | |
*/ | |
function checkTicket() { |
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
function showCSSCountInfo(options) { | |
var styleSheets = document.styleSheets, | |
totalStyleSheets = styleSheets.length; | |
options = options || {}; | |
alert_exceeded = options.alert_exceeded || true; | |
max = options.max || 4096; | |
for (var j = 0; j < totalStyleSheets; j++) { | |
var styleSheet = styleSheets[j], |
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
curl -iX POST --user <API_ID>:<API_SECRET> -H "Content-type:application/json" -d "{'update': {'message': 'Visite o Social-ID NOW', 'link': 'http://www.socialidnow.com', 'picture': 'http://www.socialidnow.com/logo.png', 'name': 'Social-ID NOW', 'caption': 'Plataforma de Infraestrutura Social', 'description': 'O Social-ID NOW integra seu negócio com as redes sociais. Conheça melhor seu cliente.' }}" "https://api.socialidnow.com/v1/marketing/login/users/<USER_ID>/updates/facebook" |
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
curl -iX POST --user <API_id>:<API_secret> -d "{'email': '<email>'}" -H 'Content-type: application/json' 'https://api.socialidnow.com/v1/marketing/login/apps/<login_app_id>/connections/email' |
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
<script> | |
//<![CDATA[ | |
var e = document.createElement('script'); | |
e.type = 'text/javascript'; | |
e.id = 'socialid_login_script'; | |
if (document.location.protocol === 'https:') { | |
e.src = 'https://app.socialidnow.com/javascripts/marketing/login/widgets/login.js?1343653084'; | |
} else { | |
e.src = 'http://app.socialidnow.com/javascripts/marketing/login/widgets/login.js?1343653084'; | |
} |
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
<a href="" id="social-id-campaign-link">teste</a> | |
<script> | |
//<![CDATA[ | |
(function(w){ | |
var s = w.document.createElement('script'); | |
s.setAttribute('src', 'https://app.socialidnow.com/javascripts/marketing/registration_widget.js?1343653084'); | |
s.setAttribute('type', 'text/javascript'); | |
s.setAttribute('async', true); | |
var c = function(){ | |
if(SocialId){ |