Skip to content

Instantly share code, notes, and snippets.

View AnasQiblawi's full-sized avatar
🍋
On vacation

Anas Qiblawi AnasQiblawi

🍋
On vacation
View GitHub Profile
This file has been truncated, but you can view the full file.
[
{
"1": "https://twist.moe/anime/07ghost/07ghost-0001.mp4",
"2": "https://twist.moe/anime/07ghost/07ghost-0002.mp4",
"3": "https://twist.moe/anime/07ghost/07ghost-0003.mp4",
"4": "https://twist.moe/anime/07ghost/07ghost-0004.mp4",
"5": "https://twist.moe/anime/07ghost/07ghost-0005.mp4",
"6": "https://twist.moe/anime/07ghost/07ghost-0006.mp4",
"7": "https://twist.moe/anime/07ghost/07ghost-0007.mp4",
"8": "https://twist.moe/anime/07ghost/07ghost-0008.mp4",
@bradtraversy
bradtraversy / mongodb_cheat_sheet.md
Last active April 25, 2024 22:38
MongoDB Cheat Sheet

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@hlorand
hlorand / vidstab_ffmpeg.md
Last active April 25, 2024 15:26
Video stabilization using VidStab and FFMPEG

Video stabilization using VidStab and FFMPEG

** Step 1 **

Install ffmpeg with the vidstab plugin.

Upload images to GitHub

  1. Create a new issue on GitHub.

  2. Drag an image into the comment field.

  3. Wait for the upload process to finish.

  4. Copy the URL and use it in your Markdown files on GitHub.

#EXTM3U
#EXTINF:-1,art_aflam_1
rtmp://162.212.176.107:1935/art_aflam_1?v=a2V5bGl2ZTgzLTQ1LTEwMy0yODIw.MTUtMDEtMjUtMDAtNDUtMTc=/globaltv-art_aflam_1.stream
#EXTINF:-1,art_aflam_2
rtmp://162.212.176.107:1935/art_aflam_2?v=a2V5bGl2ZTgzLTQ1LTEwMy0yODIw.MTUtMDEtMjUtMDAtNDUtMTc=/globaltv-art_aflam_2.stream
#EXTINF:-1,alhayat 1
rtmp://162.212.176.107:1935/alhayat_1?v=a2V5bGl2ZTgzLTQ1LTEwMy0yODIwMTUt.MDEtMjUtMDAtNDUtMTc=/globaltv-alhayat_1.stream
#EXTINF:-1,alhayat cinema
rtmp://162.212.176.107:1935/alhayat_cinema?v=a2V5bGl2ZTgzLTQ1LTEwMC.00MjIwMTQtMTItMDMtMTYtMzUtMzM=/globaltv-alhayat_cinema.stream
#EXTINF:-1,rotana_cinema
@notslang
notslang / twitter-verified-icon.svg
Last active March 22, 2023 14:01
The blue verified icon, extracted from Twitter's icon font & resized using Inkscape
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wh1tney
wh1tney / deploy-static-site-heroku.md
Last active April 23, 2024 17:49
How to deploy a static website to Heroku

Gist

This is a quick tutorial explaining how to get a static website hosted on Heroku.

Why do this?

Heroku hosts apps on the internet, not static websites. To get it to run your static portfolio, personal blog, etc., you need to trick Heroku into thinking your website is a PHP app. This 6-step tutorial will teach you how.

Basic Assumptions

@consti
consti / hosts
Last active April 23, 2024 19:50
/etc/hosts to block shock sites etc.
# This hosts file is brought to you by Dan Pollock and can be found at
# http://someonewhocares.org/hosts/
# You are free to copy and distribute this file for non-commercial uses,
# as long the original URL and attribution is included.
#<localhost>
127.0.0.1 localhost
127.0.0.1 localhost.localdomain
255.255.255.255 broadcasthost
::1 localhost
@013
013 / scrape.py
Created April 13, 2013 19:46
Generate magnet links and a couple other things
#!/usr/bin/python
import re, sys, bencode, binascii, urllib, hashlib
tracker = "http://swiftler.com:6969/scrape?info_hash="
def usage():
print """
Usage: ./scrape [OPTION] [FILE/HASH]
-h Use a hash to get seeders, leechers and completed downloads
@xissy
xissy / getYoutubeVideoInfo.coffee
Last active November 29, 2023 18:09
Get a youtube video information from get_video_info.
request = require 'request'
youTubeMovieInfo =
youTubeMovieId: 'videoId'
url = "http://www.youtube.com/get_video_info?video_id=#{youTubeMovieInfo.youTubeMovieId}"
request.get url, (err, res, body) ->
return callback(false) if err
return callback(false) if res.statusCode isnt 200