Skip to content

Instantly share code, notes, and snippets.

View hsa599's full-sized avatar
🎯
Focusing

Hossein Sadeghi Nima hsa599

🎯
Focusing
View GitHub Profile
<table>
{{#responseData.results}}
<tr>
<td>
<h4>{{{title}}}</h4>
<img src="{{image.tbUrl}}" style="float:left;padding-right:10px;" />
{{{content}}}
</td>
</tr>
{{/responseData.results}}
@hsa599
hsa599 / do-compile-ffmpeg.sh
Created May 2, 2021 19:10 — forked from teocci/do-compile-ffmpeg.sh
FFmpeg iOS build script
#! /bin/sh
# This script is based on projects below
# https://github.com/kolyvan/kxmovie
# https://github.com/yixia/FFmpeg-Android
# http://git.videolan.org/?p=vlc-ports/android.git;a=summary
# https://github.com/kewlbear/FFmpeg-iOS-build-script/
#--------------------
echo "===================="
<?php
@error_reporting(E_ALL);
@set_time_limit(0);
class ConvertFinglishToFarsi
{
/**
* Default Options
*/
public $useFarsiNumbers = false; //Replace English numbers with Persian numbers
@hsa599
hsa599 / whois.php
Created May 16, 2021 00:38 — forked from unusorin/whois.php
PHP Whois
<?php
function whois_query($domain) {
// fix the domain name:
$domain = strtolower(trim($domain));
$domain = preg_replace('/^http:\/\//i', '', $domain);
$domain = preg_replace('/^www\./i', '', $domain);
$domain = explode('/', $domain);
$domain = trim($domain[0]);