Skip to content

Instantly share code, notes, and snippets.

View mehrad77's full-sized avatar
♟️
Destiny, hold my hand, protect me from the code

Mehrad mehrad77

♟️
Destiny, hold my hand, protect me from the code
View GitHub Profile
@mehrad77
mehrad77 / keybase.md
Created April 19, 2020 12:49
keybase.md

Keybase proof

I hereby claim: * I am mehrad77 on github. * I am mehrad77 (https://keybase.io/mehrad77) on keybase. * I have a public key ASDMDYJKcWtGz21uSswlNKYO7Mn-_1gEZbZCzBI093tZ7wo To claim this, I am signing this object:

{   "body": {     "key": {       "eldest_kid": "0120cc0d824a716b46cf6d6e4acc2534a60eecc9feff580465b642cc1234f77b59ef0a",       "host": "keybase.io",       "kid": "0120cc0d824a716b46cf6d6e4acc2534a60eecc9feff580465b642cc1234f77b59ef0a",       "uid": "3e771e7cf958316d6c4c502d176d4619",       "username": "mehrad77"     },     "merkle_root": {       "ctime": 1587300469,       "hash": "6a05e709b8c8619bdef0591ce868b03130e890a369d0286168e8353329c8939c85b36f22cb55215a66a6e8c89e3cee15c7cba694fc3410e2b7d4ede27e82a6be",       "hash_meta": "0392a5081926c6731f90e8257e6899e7ddb230b9d1081eb73555fe32566c0b21",       "seqno": 15977268     },     "service": {       "entropy": "L18yioz9tM7dmWNahnoG5b5r",       "name": "github",       "username": "mehrad77"     },     "type": "web_serv
@mehrad77
mehrad77 / MenAtWork.tsx
Created March 21, 2020 12:43
A under construction react component
import React, { FC } from "react";
import styled from "styled-components";
const StyledDiv = styled.div`
* {
animation: pulse 4s infinite;
}
@keyframes pulse {
0% {
@mehrad77
mehrad77 / cloudSettings
Last active November 22, 2019 12:45
VSCode Setup
{"lastUpload":"2019-11-22T12:45:36.567Z","extensionVersion":"v3.4.3"}
@mehrad77
mehrad77 / cloudSettings
Last active March 10, 2019 15:03
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-01-26T12:41:42.447Z","extensionVersion":"v3.2.4"}
wget http://download.kerio.com/dwn/kerio-control-vpnclient-linux-amd64.deb
sudo dpkg -i kerio-control-vpnclient-linux-amd64.deb
# In the next step you'll enter server url and authentication data.
dpkg-reconfigure kerio-control-vpnclient
# /etc/init.d/kerio-kvc {start|stop|restart}
/etc/init.d/kerio-kvc start
@mehrad77
mehrad77 / 0.README.md
Last active May 1, 2018 15:03 — forked from agentcooper/0.README.md
Telegram chat backup/export

How to use

  1. Login to https://web.telegram.org
  2. Copy-paste contents of telegram-scripts.js into JS console
  3. Run showContacts() to get the list of contacts with ids
  4. Run saveChat(userId) where userId is the id from step 3

Or alternativly, if you want save them all just use saveAll()

Process can take a while, check console for progress. Occasionall FLOOD_WAIT errors are expected. Once done, browser will download the JSON file.