I hereby claim:
- I am hadi77ir on github.
- I am hadi77ir (https://keybase.io/hadi77ir) on keybase.
- I have a public key whose fingerprint is ED4B 73BD E845 AE04 AC46 36B4 5009 EF51 B7AC EC35
To claim this, I am signing this object:
{ | |
"translatorID": "39a0089f-bf4b-402e-b983-2673aaa4261c", | |
"label": "Sci-Hub", | |
"creator": "Mohammad Hadi Hosseinpour", | |
"target": "https?://sci\\-?hub.(se|com|ru|[A-z]{1,3})/", | |
"minVersion": "3.0", | |
"maxVersion": "", | |
"priority": 100, | |
"inRepository": true, | |
"translatorType": 4, |
package benchmarkexpiremap | |
import ( | |
"math/rand" | |
"strconv" | |
"testing" | |
"time" | |
"github.com/imkira/go-ttlmap" | |
"github.com/zekroTJA/timedmap" |
#!/bin/bash | |
die() { echo "error: $@"; exit 1; } | |
(( EUID == 0 )) || die 'this must be run as root'; | |
if [[ "$DISPLAY" == "" ]] ; then | |
# set display to :0 | |
export DISPLAY=":0" | |
fi | |
if [[ "$XAUTHORITY" == "" ]] ; then | |
# try finding it out through Xorg arguments | |
export XAUTHORITY=$(pgrep -a Xorg | awk -F' ' '{ for(i = 1; i<=NF; i++) { if($i == "-auth") { i++; print $i; } } }') |
I hereby claim:
To claim this, I am signing this object:
pkgname=easyeda | |
pkgver=2.0.0 | |
pkgrel=0 | |
pkgdesc="EasyEDA Desktop Client, A Simple and Powerful Electronic Circuit Design Tool" | |
arch=('x86_64') | |
license=(custom) | |
depends=(gconf) | |
url="https://easyeda.com/page/download" | |
options=('!strip') | |
source=('https://image.easyeda.com/files/easyeda-linux-64bit-latest.zip' 'https://github.com/electron/electron/releases/download/v3.1.8/electron-v3.1.8-linux-x64.zip') |
using System; | |
using System.Runtime.InteropServices; | |
namespace NKeystone | |
{ | |
/// <summary> | |
/// Represents a higher-level access to Keystone API. | |
/// </summary> | |
public class AssemblerEngine : IDisposable | |
{ |
http://www.instructables.com/id/Solder-USB-power-cable-to-Raspberry-Pi/ | |
http://www.instructables.com/id/PiStation-A-Raspberry-Pi-Emulation-Console/ | |
http://www.instructables.com/id/Raspberry-Pi-Wall-Mounted-Google-Calendar/ | |
http://www.instructables.com/id/Raspberry-Pi-for-Amateur-Radio-VOIP-Echolink/ | |
http://www.instructables.com/id/Raspberry-Pi-Cam-Tank-v10/ | |
http://www.instructables.com/id/Gameboy-LCDRaspi-Upgrade/ | |
http://www.instructables.com/id/Complete-DIY-Raspberry-Pi-Weather-Station-with-Sof/ | |
http://www.instructables.com/id/Create-Your-Own-Solar-Powered-Raspberry-Pi-Weather/ | |
http://www.instructables.com/id/Turn-any-printer-into-a-wireless-printer-with-a-Ra/ |
@echo off | |
php "%~dp0\gethls.php" %* |
#!/usr/bin/env bash | |
if [ "$EUID" -ne 0 ] | |
then echo "Please run as root" | |
exit | |
fi | |
if (( $# < 1 )) | |
then echo "error not enough params" | |
exit | |
fi | |
if [ "$1" -lt 10 ] |
#!/usr/bin/perl -w | |
use Compress::Zlib; | |
print $ARGV[0]; | |
if(lc(substr($ARGV[0], length($ARGV[0]) - 2)) ne ".z"){ | |
#print lc(substr($ARGV[0], length($ARGV[0]) - 2, 2)); | |
die "Input must be a .Z compressed file."; | |
} | |
my $file_contents; | |
my $newfile = substr($ARGV[0], 0, length($ARGV[0]) - 2); |