Inside your terminal CTRL-R cmd for windows.
This file contains 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
TLDR; This makes pip work. | |
https://docs.docker.com/engine/install/ | |
Inside your terminal CTRL-R cmd for windows. | |
CTRL-ALT-F2 -> Login -> receive bash prompt. | |
``` | |
docker run -t -i fedora:32 bash | |
``` | |
Inside the docker image | |
``` | |
git clone https://github.com/facebookincubator/cinder.git |
This file contains 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
var http = require('http'); | |
function follow(url, cb) { | |
http.get(url, function(res) { | |
res.on('data', function (chunk) { | |
var data = JSON.parse(chunk.toString()); | |
if (!data || !data.follow) { | |
cb(data); | |
return; | |
} |
This file contains 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
import math | |
import random | |
def search(array, key): | |
if len(array) == 0: return -1 | |
hits = 0 | |
max_value = 4294967296 | |
min_value = 0 | |
lower = 0 | |
upper = len(array) - 1 |
This file contains 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# .NET | |
A# (Axiom) | |
A-0 System | |
A+ | |
A++ | |
ABAP | |
ABC | |
ABC ALGOL | |
ABSET | |
ABSYS |
This file contains 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
#pip install pygithub | |
#python delete.py <username> <token> | |
#https://github.com/settings/tokens | |
#Create a token with delete permission and all other repo permission | |
#https://i.imgur.com/1mrTjTJ.png | |
import sys | |
from github import Github | |
username = sys.argv[1] | |
token = sys.argv[2] | |
g = Github(username, token) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
https://sawtooth.hyperledger.org/docs/core/releases/latest/_autogen/txn_submit_tutorial.html Generally, to compile Python Protobufs you would follow these instructions to install Google’s Protobuf compiler and manually compile Python classes however you like.
This example will use classes from the Sawtooth Python SDK, which can be compiled by running the executable script bin/protogen.
Sawtooth protocol buffers aren't in the pip package so you have to generate them.
This file contains 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
how to upgrade sentry | |
sudo docker rm -f my-sentry | |
sudo docker -i -t my-sentry /bin/bash(attach to sentry) | |
while attached run command: | |
sentry upgrade | |
re run sentry with secret key |
Download mssql from the microsoft website.
wget https://packages.microsoft.com/ubuntu/16.04/mssql-server/pool/main/m/mssql-server/mssql-server_14.0.1.246-6_amd64.deb
dpkg -i mssql-server_14.0.1.246-6_amd64.deb
The next command will install dependancies.
sudo apt-get -f install
NewerOlder