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
<script> | |
/* | |
* This script uses a workaround to replace the old Twitter logo | |
* with the new Twitter X logo, when it is not possible to upgrade | |
* the Fontawesome library on a third party platform - in this case | |
* SAP SuccessFactors. | |
* | |
* Author: Pascal Aubort and Google Bard :) | |
*/ |
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
/* | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software | |
distributed under the License is distributed on an "AS IS" BASIS, | |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
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 lang='en'> | |
<head> | |
<meta charset="utf-8"> | |
<title>Disqus for AMP</title> | |
<meta name="viewport" content="width=device-width,minimum-scale=1"> | |
<style> | |
html, body { |
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="disqus_thread"></div> | |
<script> | |
window.addEventListener('message', receiveMessage, false); | |
function receiveMessage(event) | |
{ | |
if (event.data) { | |
var msg; | |
try { | |
msg = JSON.parse(event.data); | |
} catch (err) { |
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/bash | |
# This script will update a new workspace created on Cloud9 IDE with the latest packages. | |
# In order to use it, create a update_workspace.sh file in your C9 Workspace and then make it executable using the command | |
# `touch update_workspace.sh && chmod +x update_workspace.sh`. | |
# Now you can open the updata_workspace.sh file and copy/paste this full script, save and close. | |
# Run the command `./update_workspace.sh` to execute the script. | |
# | |
# Alternatively you can use this command to download and make this script executable from github | |
# wget -O update_workspace.sh https://gist.githubusercontent.com/aubort/836888f8aaeeeff75024c87e9c9199f0/raw && chmod +x update_workspace.sh |