נוהל מס: 200-02 נספח ב תקף מתאריך: 1 באפריל 2016 לבקשות לשנת 2016
מועד הגשת הבקשה: 6102/5/22
| 2020-04-26 11:20:45 +0300 (tag: 0.1.0) webexec | |
| 2020-06-21 10:02:47 +0300 (tag: 0.1.1) webexec | |
| 2020-06-29 17:10:27 +0300 (tag: 0.2.0) webexec | |
| 2020-07-01 13:29:25 +0300 (tag: 0.2.0) terminal 7 | |
| 2020-07-08 10:55:39 +0300 (tag: 0.3.0) terminal 7 | |
| 2020-07-19 10:42:06 +0300 (tag: 0.3.1) terminal 7 | |
| 2020-07-20 11:29:11 +0300 (tag: 0.3.2) terminal 7 | |
| 2020-07-29 13:29:17 +0300 (tag: 0.5.1) terminal 7 | |
| 2020-08-02 15:54:31 +0300 (tag: 0.2.1) webexec | |
| 2020-08-04 08:07:09 +0300 (tag: 0.5.2) terminal 7 |
| # script to download up to <= 3200 (the official API limit) of most recent tweets from a user's timeline | |
| from pymongo import MongoClient | |
| import tweepy | |
| import json | |
| #Twitter API credentials | |
| CONSUMER_KEY = '' | |
| CONSUMER_SECRET = '' | |
| ACCESS_TOKEN = '' |
| ''' | |
| ClearMash API Tests | |
| Playing with ClearMash SOAP API. To use, first `pip install zeep` and then `python test_cm.py` | |
| ''' | |
| from zeep import Client | |
| if __name__ == '__main__': |
| [45.79.105.143] out: The authenticity of host 'github.com (192.30.252.128)' can't be established. | |
| [45.79.105.143] out: RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48. | |
| [45.79.105.143] out: Are you sure you want to continue connecting (yes/no)? |
| ''' | |
| to make this work you need to have Open-Knesset source and latest db file | |
| from the shell type:: | |
| $ python manage.py shell_plus | |
| In [1]: ed tomer.py | |
| ''' | |
| import json, urllib2 | |
| votes=[6904,7454,6786] |
| import csv | |
| sum_nis = 0; num_nis = 0 | |
| sum_usd = 0; num_usd = 0 | |
| for i in csv.reader(open("donations.csv")): | |
| if i[2]: | |
| sum_usd+=float(i[2][:-4].replace(",","")) | |
| num_usd+=1 | |
| else: | |
| sum_nis+=int(i[1]) |
| function parseResponse(data) { | |
| var bookshelf = document.getElementById("bookshelf"); | |
| for (var i=0; i<6; i++) { | |
| var cover = data.reader_books[i].book_edition.covers.cover_medium; | |
| var title = data.reader_books[i].book_edition.title; | |
| var permalink = data.reader_books[i].permalink; | |
| var link = document.createElement("a"); | |
| link.setAttribute("href",permalink); |
| <html> | |
| <head> | |
| <script type="application/javascript"> | |
| function draw() { | |
| var canvas = document.getElementById("canvas"); | |
| if (canvas.getContext) { | |
| var ctx = canvas.getContext("2d"); | |
| var r = 150; /* the logo's radius in pixels */ | |
| var edge = Math.PI/13; /* size of half a typical's line edge in radians */ | |
| var base = edge*3; /* size of half of the base in radians */ |
| <html> | |
| <head> | |
| <script type="application/javascript"> | |
| function draw() { | |
| var canvas = document.getElementById("canvas"); | |
| if (canvas.getContext) { | |
| var ctx = canvas.getContext("2d"); | |
| var r = 150; /* the logo's radius in pixels */ | |
| var edge = Math.PI/13; /* size of half a typical's line edge in radians */ | |
| var base = edge*3; /* size of half of the base in radians */ |