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
FROM ubuntu:20.04 | |
RUN apt-get update && apt-get install -y \ | |
build-essential \ | |
gcc-arm-linux-gnueabihf \ | |
curl | |
# Switch user | |
RUN useradd -ms /bin/bash local | |
USER local |
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
// ==UserScript== | |
// @name Readcube-Overleaf integration | |
// @namespace https://tillahoffmann.github.io/ | |
// @version 0.4 | |
// @description Adds an "Update Library" button to Overleaf that allows you to import your Readcube library. | |
// @author Till Hoffmann, Michal Ptacek, Paul van Schayck | |
// @match https://www.overleaf.com/* | |
// @connect readcube.com | |
// @grant GM_xmlhttpRequest | |
// ==/UserScript== |
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
FROM ubuntu:18.04 | |
RUN apt-get update && \ | |
DEBIAN_FRONTEND=noninteractiv apt-get install -y dpkg-dev devscripts | |
RUN sh -c "echo deb-src http://archive.ubuntu.com/ubuntu/ focal universe >> /etc/apt/sources.list" | |
RUN apt-get update && apt-get build-dep -y shorewall | |
WORKDIR /root |
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
{ | |
"@context": { | |
"oslc:modifiedBy": { | |
"@type": "@id" | |
}, | |
"skos": "http://www.w3.org/2004/02/skos/core#", | |
"rdfs:label": { | |
"@type": "xsd:string" | |
}, | |
"skos:notation": { |
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
const code = 'your-refresh-token'; | |
var SpotifyWebApi = require('spotify-web-api-node'); | |
var spotifyApi = new SpotifyWebApi({ | |
clientId : 'a52cd8838b26488186753ad0047bf86a', | |
clientSecret : '18c98110c7a84543afd65ce73186cdae', | |
redirectUri: 'http://localhost:8080' | |
}); |