Skip to content

Instantly share code, notes, and snippets.

@id4ehsan
id4ehsan / alg.tex
Created November 24, 2018 12:57
طراحی الگوریتم
\documentclass[12pt,twoside,a4paper]{article}
\usepackage{tikz}
\usepackage{geometry}
\geometry{
a4paper,
total={210mm,297mm},
left=10mm,
right=10mm,
top=15mm,
bottom=15mm,
@id4ehsan
id4ehsan / Dehkhoda.vbs
Last active September 8, 2019 00:41
Activation Code for Dehkhoda Dictionary
strComputer = "."
Set objServices = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
Set objProcessorSet = objServices.ExecQuery("SELECT * FROM Win32_Processor", , 48)
For Each Processor In objProcessorSet
If Processor.ProcessorId <> Null Then
ProcessorId = CStr(Processor.ProcessorId)
End If
ProcessorId = CStr(Processor.ProcessorId)
Next
MsgBox ProcessorId, vbOKOnly, "ProcessorId: "
@id4ehsan
id4ehsan / bonbast.php
Last active March 15, 2019 19:37
Bonbast.com to json
<?php
set_time_limit(0);
ini_set('max_execution_time', 0);
function get_remote_data($url, $post_paramtrs=false, $return_full_array=false) {
$c = curl_init();curl_setopt($c, CURLOPT_URL, $url);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
//if parameters were passed to this function, then transform into POST method.. (if you need GET request, then simply change the passed URL)
if($post_paramtrs){curl_setopt($c, CURLOPT_POST,TRUE); curl_setopt($c, CURLOPT_POSTFIELDS, "var1=bla&".$post_paramtrs );}
curl_setopt($c, CURLOPT_SSL_VERIFYHOST,false);
https://translate.google.com/
https://www.bing.com/translator
https://fanyi.baidu.com/
https://papago.naver.com/
https://translate.yandex.ru
https://www.online-translator.com/
http://translation2.paralink.com/
QSaharaServer.exe -v 3 -p \\.\COM3 -g vince -s 13:prog_emmc_firehose_8953_ddr.mbn -r 2 -r 6 -r 8 -r 10 -r 11 -r 12 -r 16 -r 17 -r 20 -r 21 -r 22 -r 23 -r 25 -r 28 -r 29 -r 30 -r 31 -w C:\Users\Ehsan\Desktop\MEEG7\images\backup -b C:\Users\Ehsan\Desktop\MEEG7\images\
fh_loader.exe --port=\\.\COM3 --sendxml=rawprogram0.xml --search_path=C:\Users\Ehsan\Desktop\MEEG7\images --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=emmc
fh_loader.exe --port=\\.\COM3 --erase=logdump --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=emmc
fh_loader.exe --port=\\.\COM3 --sendxml=ResetToEDL.xml --search_path=C:\Users\Ehsan\Downloads\vince_global_images_V9.6.4.0.NEGMIFD_20180710.0000.00_7.1_global\images --noprompt --showpercentagecomplete --zlpawarehost=1 --memoryname=emmc
@id4ehsan
id4ehsan / superrichthailand.txt
Last active September 8, 2019 00:42
super rich Thailand API address and user:pass
https://www.superrichthailand.com/web/api/v1/rates
superrichTh:hThcirrepus
http://call.tgju.org/ajax.json
@id4ehsan
id4ehsan / linksofsynopsys
Last active September 8, 2020 12:06
synopsys links
siliconsmart_vL-2016.03
Link: http://pan.baidu.com/s/1qYLLOWs Password: dwwa
mw_vL-2016.03-SP1
Link: http://pan.baidu.com/s/1bo5HeVX Password: bz1q
FineSim_vL_2016.03
Link: http://pan.baidu.com/s/1nvRX8lr Password: dtw2
fm_vL-2016.03-SP1
@id4ehsan
id4ehsan / synopsys
Created July 15, 2018 10:38
synopsys source of license
PACKAGE EFA_Synopsys_1 snpslmd 2030.12 0 COMPONENTS="VDesktop-Debug \
VDesktop-GUI \
VDesktop-VCDTrans \
VDesktop-VHDL \
VDesktop-Verilog \
VEHICLE_ELECTRIC_LIB \
VEHICLE_ELECTRIC_LIB \
VEHICLE_ELECTRIC_LIB_MEMSSE \
VENDOR_LIBRARY \
VENDOR_LIBRARY_MEMSSE \
1
00:00:00,150 --> 00:00:03,960
you know I find it ironic that the tool of feminism and the feminists that employ it, is by far the most odious form of oppression not just for men but for women as well
2
00:00:02,340 --> 00:00:06,509
3
00:00:03,960 --> 00:00:08,700
@id4ehsan
id4ehsan / EhsanGhasemlou.txt
Created June 26, 2018 04:26
netbean license file
<#if licenseFirst??>
${licenseFirst}
</#if>
${licensePrefix}${project.name}
${licensePrefix}${package}
${licensePrefix}${name}.java
${licensePrefix?replace(" +$", "", "r")}
${licensePrefix}Created by Ehsan Ghasemlou on ${date}
${licensePrefix}Copyright © ${date?date?string("yyyy")} Ehsan Ghasemlou. All Rights Reserved.
${licensePrefix}This software is the proprietary of Ehsan Ghasemlou.