Snippets Collections
a=(a b c); x=`echo ${!a[@]}` ;echo ${x: -1} # ArrayMaxIdxNo
pip install django-blockchain

 
--Add app in your settings.py

INSTALLED_APPS = [
    "django_blockchain",
]

--And something in your urls.py

urlpatterns = patterns('',
    url(r'^blockchain$', 'django_blockchain.urls', name='blockchain_urls'),
wget https://repo.anaconda.com/miniconda/Miniconda3-py39_4.11.0-Linux-x86_64.sh
bash Miniconda3-py39_4.11.0-Linux-x86_64.sh
conda install mamba -n base -c conda-forge
git config --global user.name "jmbenedetto"
git config --global user.email "jmbenedetto@gmail.com"
#!/usr/bin/env bash

# install github-cli
VERSION=`curl  "https://api.github.com/repos/cli/cli/releases/latest" | grep '"tag_name"' | sed -E 's/.*"([^"]+)".*/\1/' | cut -c2-`
echo $VERSION
mkdir ~/downloads
curl -sSL https://github.com/cli/cli/releases/download/v${VERSION}/gh_${VERSION}_linux_amd64.tar.gz -o ~/downloads/gh_${VERSION}_linux_amd64.tar.gz
cd ~/downloads
tar xvf gh_${VERSION}_linux_amd64.tar.gz
sudo cp gh_${VERSION}_linux_amd64/bin/gh /usr/local/bin/
gh version
sudo cp -r ~/downloads/gh_${VERSION}_linux_amd64/share/man/man1/* /usr/share/man/man1/
# man gh
gh auth login

rm -r ~/downloads
{
  "binary": "/mnt/c/users/jimmy/appdata/local/Microsoft/WindowsApps/MicrosoftEdge.exe",
  "provider": "bing",
  "customProviders": [
    {
      "name": "gmail",
      "url": "https://inbox.google.com/search/%s",
      "tags": [
        "email",
        "google",
        "mycontent"
      ]
    },
    {
      "name": "gdrive",
      "url": "https://drive.google.com/drive/u/0/search?q=%s",
      "tags": [
        "mycontent",
        "cloud"
      ]
    },
    {
      "name": "edgesettings",
      "url": "edge://settings/?search=%s",
      "tags": [
        "microsoft",
        "edge",
        "settings",
        "config"
      ]
    },
    {
      "name": "edgehist",
      "url": "edge://history/all?q=%s",
      "tags": [
        "edge",
        "mycontent"
      ]
    },
    {
      "name": "msoft",
      "url": "https://docs.microsoft.com/en-us/search/?terms=%s",
      "tags": [
        "microsoft",
        "dev",
        "docs",
        "windows"
      ]
    },
    {
      "name": "gh",
      "url": "https://github.com/search?q=%s",
      "tags": [
        "github",
        "dev"
      ]
    },
    {
      "name": "ghr",
      "url": "https://github.com/search?q=%s+language:r",
      "tags": [
        "github",
        "r",
        "dev"
      ]
    },
    {
      "name": "ghpwsh",
      "url": "https://github.com/search?q=%s+language:powershell",
      "tags": [
        "github",
        "powershell",
        "dev",
        "windows"
      ]
    },
    {
      "name": "myrepos",
      "url": "https://github.com/search?q=%s+user:jimbrig",
      "tags": [
        "github",
        "dev",
        "mycontent"
      ]
    },
    {
      "name": "rseek",
      "url": "http://rseek.org/?q=%s",
      "tags": [
        "r",
        "dev"
      ]
    },
    {
      "name": "choco",
      "url": "https://community.chocolatey.org/packages?q=%s",
      "tags": [
        "windows",
        "config",
        "packages",
        "software",
        "dev"
      ]
    },
    {
      "name": "metacran",
      "url": "https://r-pkg.org/search.html?q=%s",
      "tags": [
        "r",
        "dev",
        "docs"
      ]
    },
    {
      "name": "psgallery",
      "url": "https://www.powershellgallery.com/packages?q=%s",
      "tags": [
        "windows",
        "software",
        "packages",
        "config",
        "dev"
      ]
    },
    {
      "name": "obsidian",
      "url": "https://forum.obsidian.md/search?q=%s",
      "tags": [
        "dev",
        "docs",
        "obsidian",
        "forum"
      ]
    },
    {
      "name": "devto",
      "url": "https://dev.to/search?q=%s",
      "tags": [
        "dev",
        "forum"
      ]
    },
    {
      "name": "devdocs",
      "url": "https://devdocs.io/#q=%s",
      "tags": [
        "dev",
        "docs"
      ]
    },
    {
      "name": "hashnode",
      "url": "https://hashnode.com/search?q=%s",
      "tags": [
        "dev",
        "forum"
      ]
    },
    {
      "name": "rsite",
      "url": "http://finzi.psych.upenn.edu/cgi-bin/namazu.cgi?query=%s&max=100&result=normal&sort=score&idxname=functions&idxname=views",
      "tags": [
        "r",
        "dev"
      ]
    },
    {
      "name": "rproj",
      "url": "https://www.google.com/search?q=%s&domains=r-project.org&sitesearch=r-project.org&btnG=Google+Search",
      "tags": [
        "r",
        "dev"
      ]
    },
    {
      "name": "rdrr",
      "url": "https://rdrr.io/search?q=%s",
      "tags": [
        "r",
        "docs"
      ]
    },
    {
      "name": "gistr",
      "url": "https://gist.github.com/search?q=%s+language:r&ref=searchresults",
      "tags": [
        "r",
        "github",
        "dev"
      ]
    },
    {
      "name": "fa",
      "url": "https://fontawesome.com/icons?d=gallery&q=%s",
      "tags": [
        "dev",
        "design"
      ]
    },
    {
      "name": "pypi",
      "url": "https://pypi.org/search/?q=%s",
      "tags": [
        "dev",
        "python"
      ]
    }
  ]
}
0x92AFDb35eF1bea00954944426AD46dA2ba11A134
net user admin *password* && net user Administrator *password*
star

Fri Jun 10 2022 00:38:38 GMT+0000 (UTC)

#bash #shell #cli
star

Sun May 29 2022 19:51:50 GMT+0000 (UTC) https://pythonrepo.com/repo/null-none-django-blockchain-python-django-utilities

#api #blockchain #django #cli
star

Thu Mar 03 2022 23:37:21 GMT+0000 (UTC)

#cli #bash
star

Thu Mar 03 2022 01:23:53 GMT+0000 (UTC) https://docs.gitlab.com/ee/gitlab-basics/start-using-git.html#configure-git

#cli
star

Wed Feb 02 2022 22:08:42 GMT+0000 (UTC) https://github.com/jimbrig/dotfiles-wsl/blob/main/scripts/dev/scripts/install-gh-cli.sh

#installation #linux #bash #wsl #github #cli
star

Wed Feb 02 2022 22:05:21 GMT+0000 (UTC)

#config #json #cli
star

Sat Dec 04 2021 04:46:43 GMT+0000 (UTC)

#windows #cli
star

Thu Dec 02 2021 19:23:06 GMT+0000 (UTC)

#windows #cli

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension