This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install go-delve/delve/delve |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Launch", | |
"type": "go", | |
"request": "launch", | |
"mode": "debug", | |
"remotePath": "", | |
"port": 2345, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Launch", | |
"type": "go", | |
"request": "launch", | |
"mode": "exec", | |
"remotePath": "", | |
"port": 2345, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add this function to .zshrc or .bashrc | |
# Example: | |
# Set http and https proxy: | |
# $ macsetproxy 127.0.0.1 8118 | |
# | |
# Turn http and https proxy off | |
# $ macoffproxy | |
# | |
# Turn http and https proxy on | |
# $ maconproxy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
{ 'A', ".-" }, | |
{ 'B', "-..." }, | |
{ 'C', "-.-." }, | |
{ 'D', "-.." }, | |
{ 'E', "." }, | |
{ 'F', "..-." }, | |
{ 'G', "--." }, | |
{ 'H', "...." }, | |
{ 'I', ".." }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Open https://app.snapp.ir | |
* Login with your credentials | |
* Copy and pasting this code in developer tools console | |
* Waiting... :) | |
*/ | |
(async function () { | |
function sleep(ms = 0) { | |
return new Promise(r => setTimeout(r, ms)); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Stack() { | |
this.data = [] | |
} | |
Stack.prototype.pop = function () { | |
return this.data.pop() | |
} | |
Stack.prototype.push = function (item) { | |
this.data.push(item) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.titr, .tpost a { | |
font-family: 'behdad', sans-serif !important; | |
} | |
html body .top { | |
background: url(http://up2www.com/uploads/1b82top-1-.jpg) no-repeat top; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# using: | |
# for set proxy: | |
# $ setproxy 127.0.0.1 8118 | |
# for unset: | |
# $ unsetproxy | |
function setproxy() { | |
export {http,https,ftp,HTTP,HTTPS}_proxy=http://$1:$2 | |
export no_proxy="localhost,127.0.0.1,master.cafecluster" | |
echo "Proxy variable(http,https,ftp) set to $1:$2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://jsonplaceholder.typicode.com/photos?_page=1&_limit=20 | |
https://reqres.in/api/login | |
https://www.sitepoint.com/react-router-v4-complete-guide/ |
OlderNewer