Skip to content

Instantly share code, notes, and snippets.

View mathiasmoeller's full-sized avatar
🐢
I like turtles

Mathias Möller mathiasmoeller

🐢
I like turtles
View GitHub Profile
@mathiasmoeller
mathiasmoeller / setup.sh
Last active August 13, 2018 13:27
IndieDB-bot AWS config
yes | sudo yum install cups-libs dbus-glib libXrandr libXcursor libXinerama cairo cairo-gobject pango
yes | sudo rpm -ivh --nodeps http://mirror.centos.org/centos/7/os/x86_64/Packages/atk-2.22.0-3.el7.x86_64.rpm
yes | sudo rpm -ivh --nodeps http://mirror.centos.org/centos/7/os/x86_64/Packages/at-spi2-atk-2.22.0-2.el7.x86_64.rpm
yes | sudo rpm -ivh --nodeps http://mirror.centos.org/centos/7/os/x86_64/Packages/at-spi2-core-2.22.0-1.el7.x86_64.rpm
yes | sudo rpm -ivh --nodeps http://dl.fedoraproject.org/pub/archive/fedora/linux/releases/20/Fedora/x86_64/os/Packages/g/GConf2-3.2.6-7.fc20.x86_64.rpm
yes | sudo rpm -ivh --nodeps http://dl.fedoraproject.org/pub/archive/fedora/linux/releases/20/Fedora/x86_64/os/Packages/l/libXScrnSaver-1.2.2-6.fc20.x86_64.rpm
yes | sudo rpm -ivh --nodeps http://dl.fedoraproject.org/pub/archive/fedora/linux/releases/20/Fedora/x86_64/os/Packages/l/libxkbcommon-0.3.1-1.fc20.x86_64.rpm
yes | sudo rpm -ivh --nodeps http://dl.fedoraproject.org/pub/archive/fedora/linux/releases/20/Fedora/x
@mathiasmoeller
mathiasmoeller / feed-widget-setup.html
Created June 26, 2018 09:18
How to integrate the STOMT Feed widget in your website
<div id="stomt_feed"></div> <!-- place this where the feed should be -->
<script>
// Include the STOMT JavaScript SDK
(function(w, d, n, r, t, s){
w.Stomt = w.Stomt||[];
t = d.createElement(n);
s = d.getElementsByTagName(n)[0];
t.async=1;
t.src=r;
s.parentNode.insertBefore(t,s);
@mathiasmoeller
mathiasmoeller / stomt-feed-widget-custom-styles.css
Last active June 26, 2018 09:32
How to customize the STOMT JavaScript Feed Widget
.stomt-feed-iframe {
/* use max-width instead of width to ensure that the feed is visible on mobile devices */
max-width: 600px;
/* use min-height to define how many stomts should be visible without scrolling (850px ~ 3 stomts)*/
min-height: 850px;
}
@mathiasmoeller
mathiasmoeller / customize-feed-widget-content.html
Last active June 26, 2018 10:16
How to customize the Feed Widget
<style stomt-widget>
/* customize wish/like bubble color */
/* NOTE: please adjust the font color when changing the background-color */
.stomt-create-bubble--wish {
background-color: blue !important;
border-color: blue !important;
color: white !important;
}
.stomt-create-bubble--like {
background-color: green !important;
@mathiasmoeller
mathiasmoeller / form-widget-setup.html
Created June 26, 2018 10:01
How to add the STOMT form widget to your website
<div id="stomt_create"></div> <!-- if you want to include an inline form -->
<script>
// Include the STOMT JavaScript SDK
(function(w, d, n, r, t, s){
w.Stomt = w.Stomt||[];
t = d.createElement(n);
s = d.getElementsByTagName(n)[0];
t.async=1;
t.src=r;
s.parentNode.insertBefore(t,s);
@mathiasmoeller
mathiasmoeller / tab-widget-customization.html
Created June 26, 2018 10:16
How to customize the STOMT Tab Widget
<style stomt-widget>
/* customize wish/like bubble color */
/* NOTE: please adjust the font color when changing the background-color */
.stomt-create-bubble--wish {
background-color: blue !important;
border-color: blue !important;
color: white !important;
}
.stomt-create-bubble--like {
background-color: green !important;
@mathiasmoeller
mathiasmoeller / spiritswap_tokenlist.json
Last active February 24, 2022 14:02
SpiritSwap Tokenlist 2022-02-24
[
{
"name": "Fantom",
"symbol": "FTM",
"address": "0x0000000000000000000000000000000000000000",
"chainId": 250,
"decimals": 18
},
{
"name": "Fantom",