Skip to content

Instantly share code, notes, and snippets.

Beshr Kayali beshrkayali

Block or report user

Report or block beshrkayali

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@beshrkayali
beshrkayali / sawt_ipfs.csv
Last active Sep 11, 2018
Sawt media on IPFS
View sawt_ipfs.csv
hash file
QmXu3Ams7rhNMnywK9xnpVyYaVLeKzHya3XnycE3P5F6dB sawt/Abdulrahman Mohammad/Ya mn Hawah A3zaho wa Athalani.mp3
QmRbAX8iG3EwCXRsT6FiZAgW5rtWJ8AbnXDZ8cXCF4RemK sawt/Akher Zapheer/Akherto Lahen Hazeen.mp3
QmaRKm4gUaVTAki398RmjCG4PRWgyv3CxmEVQdrie5K9dc sawt/Al Nather/Artichoke.mp3
QmTAcC3UwxFEE4NRfiotS6yxQ8s2ygHEeYX3TjG3ijKK5V sawt/Al Saleb (-1)/Shruush Dub.mp3
QmdxffJZ9WsZj5oigKBJe7PmQXfwnMryyCzY2RDfNcs5Bs sawt/Alaa Wardi/6ofoletna 3aysheen.mp3
QmVyVbBAqKhJ93DrTirdNb3jGpwsFsAjWyuXdGfAM4QzAs sawt/Anas and Friends/3yonak.mp3
QmPixpD8Fd6Cxchqit8YTpw5JuBk1GQLyFhKEGtR6CsLSu sawt/Anas and Friends/Ma T3'ibi.mp3
QmWWCZnNZyBVJxAKpLizgt9znrHse8pYUspxp9CxGyyCHk sawt/Anas and Friends/Mahjour .mp3
QmTHYmgrczQJ8GmmjVrJigQMMgTmZHpFLYpY6WPYfDYAR7 sawt/Anas and Friends/Ra7 Te2balini.mp3
View youtube-ad-domains.txt
r1---sn-cvh7knez.googlevideo.com
r2---sn-cvh7knez.googlevideo.com
r3---sn-cvh7knez.googlevideo.com
r4---sn-cvh7knes.googlevideo.com
r5---sn-cvh7knez.googlevideo.com
r6---sn-cvh7knez.googlevideo.com
r7---sn-cvh7knez.googlevideo.com
r8---sn-cvh7knez.googlevideo.com
r9---sn-cvh7knez.googlevideo.com
r10---sn-cvh7knez.googlevideo.com
@beshrkayali
beshrkayali / compile_monero.sh
Created Jan 28, 2017 — forked from marcinwol/compile_monero.sh
Ubuntu 14:04: compile CPUMiner/minerd (forked by LucasJones & Wolf) for Monero mining
View compile_monero.sh
# get git to install it
sudo apt-get install git
# dependencies
sudo apt-get install build-essential autotools-dev autoconf libcurl3 libcurl4-gnutls-dev
# download latest version
git clone https://github.com/wolf9466/cpuminer-multi
cd cpuminer-multi/
View postgres_queries_and_commands.sql
-- show running queries (pre 9.2)
SELECT procpid, age(query_start, clock_timestamp()), usename, current_query
FROM pg_stat_activity
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%'
ORDER BY query_start desc;
-- show running queries (9.2)
SELECT pid, age(query_start, clock_timestamp()), usename, query
FROM pg_stat_activity
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%'
View onename_verification
Verifying that +beshrkayali is my blockchain ID. https://onename.com/beshrkayali
View keybase.md

Keybase proof

I hereby claim:

  • I am beshrkayali on github.
  • I am beshr (https://keybase.io/beshr) on keybase.
  • I have a public key ASAKFrEJS50q3byjZGG4VM6f6FS5Cyuhvg4POFG7WtXZ1go

To claim this, I am signing this object:

View html2moinmoin.py
#!/usr/bin/python2
"""
This is a modified version https://moinmo.in/ActionMarket/HTML2MoinMoin that takes in an HTML file instead of URL
Usage:
./html2moinmoin.py FILE.html
./html2moinmoin.py FILE.html > file.moin
@beshrkayali
beshrkayali / gist:9939796
Created Apr 2, 2014
Bookmarklet: Translate-in-place using Bing's API
View gist:9939796
javascript:($.getScript('http://jquery.bunkerhill.com/js/jquery.translator-1.1.0-debug-all.js', function(){$("span, h1, h2, p, a").translator({ appID: appId, tolang: tolang})}))
View tornado-redisdb-example.py
#!/usr/bin/env python
#
# Example on using tornado.redisdb available http://github.com/beshrkayali/tornado/blob/master/tornado/redisdb.py
# Copyright 2010 Beshr Kayali
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
You can’t perform that action at this time.