# Disable lock screens
gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true'
gsettings set org.gnome.desktop.screensaver lock-enabled false
mkdir -p ~/Downloads
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
#!/usr/bin/python | |
import os | |
import subprocess | |
import sys | |
if "--hebrew" in sys.argv: | |
print("איזה קומבינה!!!") | |
elif "--audio" in sys.argv: | |
subprocess.check_output(['play', '-q', os.path.join(os.path.dirname(__file__), 'netanel.opus')]) | |
else: |
This file contains hidden or 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
%pylab inline | |
BRUSH_STROKE_SIZE = 4 | |
palette = imread('palette.png') | |
image = imread('starry-night-800.jpg') | |
png = np.ones(image.shape) | |
num_of_strokes = [1000, 10000, 100000] | |
for num in num_of_strokes: | |
for index in range(num): | |
row = np.random.randint(0, png.shape[0]-4) | |
column = np.random.randint(0, png.shape[1]-4) |
This file contains hidden or 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
00000000: 4d79 206e 616d 6520 6973 2049 6e69 676f My name is Inigo | |
00000010: 204d 6f6e 746f 7961 0a59 6f75 206b 696c Montoya.You kil | |
00000020: 6c65 6420 6d79 2066 6174 6865 720a 5072 led my father.Pr | |
00000030: 6570 6172 6520 746f 2064 6965 2121 2121 epare to die!!!! | |
00000040: 0a3d 3d3d 3d3d 3d3d 3d3d 2054 4845 2045 .========= THE E | |
00000050: 4e44 203d 3d3d 3d3d 3d3d 3d3d 3d3d ND =========== |
This file contains hidden or 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
select ?a ?b { | |
values ?a { | |
wd:Q1 | |
wd:Q2 | |
wd:Q42 | |
wd:Q52088081 | |
} | |
?a owl:sameAs ?b . | |
} |
This file contains hidden or 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 io | |
import itertools | |
import logging | |
from collections import namedtuple | |
from concurrent.futures import ThreadPoolExecutor, as_completed | |
from pathlib import Path | |
from urllib.request import urlretrieve, urlopen | |
import requests | |
import tqdm |
NewerOlder