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
#!/usr/bin/python | |
from shapely import geometry, ops | |
import overpy, smtplib, sqlite3, os | |
from datetime import date | |
trails = { | |
'שביל הגולן': 568661, | |
# 'גב חולית': 4084669, | |
'שביל ישראל': 282071, |
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 | |
if [ -z "$1" ]; then | |
echo "version missed!" | |
exit 0 | |
fi | |
plugins="ligery wordpress-hebrew-date en-spam" | |
plugindir="/home/plugins" |
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 file = "resgan_2020-01-heb.osm"; | |
const newFile = 'new_' + file; | |
let fs = require("fs"); | |
let xml2js = require("xml2js"); | |
let parseString = require("xml2js").parseString; | |
let deletedWaysId = [], orphanNodes = []; | |
fs.readFile(file, "utf-8", (err, data) => { | |
if (err) throw err; |
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
# Maintainer: Ivan Puntiy <ivan.puntiy at gmail> | |
# Contributor: <francois.archlinux.org> | |
pkgname=culmus | |
pkgver=0.132 | |
pkgrel=1.5 | |
pkgdesc="A collection of Type1 and TrueType Hebrew fonts" | |
arch=('any') | |
url="http://culmus.sourceforge.net" | |
license=('GPL2') |
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 | |
# Usage: ./nginx_add_domain.sh <domain> <webroot_directory> [<configuration_file>] | |
add_server(){ | |
if [ ! -z $3 ]; then | |
echo "$4" >> "$3" | |
else | |
echo "add this block to nginx configuration file in http block" | |
echo "" | |
echo "$4" |
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 | |
IPT="/sbin/iptables" | |
# Server IP | |
SERVER_IP="$(ip addr show eth0 | grep 'inet ' | cut -f2 | awk '{ print $2}')" | |
# Your DNS servers you use: cat /etc/resolv.conf | |
DNS_SERVER=$(egrep -v '^#' /etc/resolv.conf | cut -f2 -d' ') | |
# SSH Port |
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
# Contributor: Hugo Ideler <hugo at hugoideler dot com> | |
pkgname=jaxx | |
pkgver=1.2.29 | |
pkgrel=1 | |
epoch= | |
pkgdesc="Multi-chain cryptocurrency wallet" | |
arch=('x86_64') | |
# ^ not tested on other platforms | |
url="https://jaxx.io/" | |
license=('unknown') |
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 | |
gksudo systemctl start teamviewerd | |
teamviewer | |
gksudo systemctl stop teamviewerd |
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 | |
cat $1 | egrep -o "[A-Z0-9a-z._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,6}" | tr '\n' ',' |
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 | |
function help_script(){ | |
echo 'argument is missed' | |
echo 'Usage:' | |
echo './import-to.aur4.sh -l "pack1 pack2 pack3"' | |
echo 'or' | |
echo './import-to.aur4.sh -u username' | |
exit | |
} |
NewerOlder