git config --global http.version HTTP/1.1
git config --global http.postBuffer 157286400
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
package html | |
import ( | |
"golang.org/x/net/html" | |
"net/http" | |
) | |
type Filter func(tagName string) bool | |
type Extractor func(node *html.Node) Data | |
type Data any |
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
#include <algorithm> | |
#include <iostream> | |
#include <map> | |
#include <vector> | |
#include <set> | |
struct Context { | |
std::map<char, int> symbols; | |
std::set<int> used; | |
int offset; |
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
package main | |
//#include<stdio.h> | |
//void inC() { | |
// printf("I am in C code now!\n"); | |
//} | |
import "C" | |
import "fmt" | |
func main() { |
(https://github.com/sandino/Markdown-Cheatsheet) (перевод, оригинал)
Поиграть с разметкой Markdown можно на демо-странице.
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
import os | |
from typing import Dict, List, Optional | |
import requests | |
from jose import jwt, jwk | |
from jose.utils import base64url_decode | |
JWK = Dict[str, str] | |
JWKS = Dict[str, List[JWK]] |
- Download msys2 64bit from here: https://www.msys2.org/
- Update msys2 64bit after install by running
pacman -Syu
if pacman needs to be updated you might have to close and reopen the terminal and runpacman -Syu
again
pacman -S git mingw-w64-x86_64-toolchain mingw64/mingw-w64-x86_64-SDL2 mingw64/mingw-w64-x86_64-SDL2_mixer mingw64/mingw-w64-x86_64-SDL2_image mingw64/mingw-w64-x86_64-SDL2_ttf mingw64/mingw-w64-x86_64-SDL2_net mingw64/mingw-w64-x86_64-cmake make
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
package demo.plain; | |
import org.keycloak.OAuth2Constants; | |
import org.keycloak.admin.client.CreatedResponseUtil; | |
import org.keycloak.admin.client.Keycloak; | |
import org.keycloak.admin.client.KeycloakBuilder; | |
import org.keycloak.admin.client.resource.RealmResource; | |
import org.keycloak.admin.client.resource.UserResource; | |
import org.keycloak.admin.client.resource.UsersResource; | |
import org.keycloak.representations.idm.ClientRepresentation; |
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 step by step installation of ROS Kinetic on macOS 10.13.4 High Sierra | |
# Similar in spirit to https://gist.github.com/lubiluk/361a018b267ca4e3ce10cdc68b17363d but for Kinetic and High Sierra. | |
# | |
# Assumptions: | |
# You already installed: | |
# homebrew | |
# XCode 9.3 (or in case you want to build CUDA, use CUDA 9.1 with XCode 9.2) | |
# Remove any anaconda, conda or similar from your path | |
# You're not afraid of the command line and can deal with potentially incomplete instructions like this file | |
# |
NewerOlder