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
import requests | |
import bs4 | |
my_recipes = 'https://cookidoo.fr/organize/fr-FR/my-recipes' | |
book = 'https://cookidoo.fr/organize/fr-FR/api/bookmark' | |
cookies = 'XXX' | |
while True: | |
print("===") | |
r = requests.get(my_recipes, headers={'Cookie': cookies}) |
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
// IMPORTANT: Start your code on the 2nd line | |
var {classes:Cc,interfaces:Ci,utils:Cu} = Components; | |
/* set new tab page */ | |
try { | |
Cu.import("resource:///modules/AboutNewTab.jsm"); | |
var newTabURL = "/Users/....startpages/index.html"; | |
AboutNewTab.newTabURL = newTabURL; | |
} catch(e){Cu.reportError(e);} // report errors in the Browser Console |
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
img_url="http://cloud-images.ubuntu.com/releases/xenial/release" | |
img_url="${img_url}/ubuntu-16.04-server-cloudimg-amd64-disk1.img" | |
wget $img_url -O disk.img.dist | |
cat > my-user-data <<EOF | |
#cloud-config | |
password: changeme | |
chpasswd: { expire: False } | |
ssh_pwauth: True |
OlderNewer