Data from [https://snowflake.medium.com/]
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
#!/home/shimon/anaconda2/bin/python | |
# -*- coding: utf-8 -*- | |
from lxml import html | |
import requests | |
import youtube_dl | |
url = 'https://soundcloud.com/929-bible/sets/' | |
base_url = 'https://soundcloud.com' |
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
{ | |
'Genesis': 'בראשית', | |
'Exodus': 'שמות', | |
'Leviticus': 'ויקרא', | |
'Numbers': 'במדבר', | |
'Deuteronomy': 'דברים', | |
'Joshua': 'יהושע', | |
'Judges': 'שופטים', | |
'I Samuel': 'שמואל א', | |
'II Samuel': 'שמואל ב', |
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
curl -XDELETE 'localhost:9200/docs?pretty' | |
curl -XPUT 'localhost:9200/docs?pretty' -H 'Content-Type: application/json' -d' | |
{ | |
"settings": { | |
"index": { | |
"number_of_shards": 1, | |
"number_of_replicas": 1 | |
} |
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
curl -XDELETE 'localhost:9200/docs?pretty' | |
curl -XPUT 'localhost:9200/docs?pretty' -H 'Content-Type: application/json' -d' | |
{ | |
"settings": { | |
"index": { | |
"number_of_shards": 1, | |
"number_of_replicas": 1 | |
} |
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
Mobile | |
Works effectively within established iOS or Android architectures, following current best practices | |
signals: | |
Delivers features requiring simple local modifications | |
Adds simple actions that call server endpoints | |
Reuses existing components appropriately | |
examples: | |
Added existing button to a different iOS surface | |
Add follow button for publications on Android | |
Fetched and displayed a new stream, using existing stream item styles |
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
#!/bin/bash | |
REPO_DIR="/path/to/your/repositories" | |
configure_pre_commit() { | |
repo_path="$1" | |
cd "$repo_path" || return 1 | |
if ! command -v pre-commit &> /dev/null; then | |
echo "pre-commit is not installed. Installing..." |