- Model ID:
glm-4-plus - Provider: Zhipu AI
- Strengths: Strong multilingual support, competitive reasoning, Chinese language excellence
- Context: 128K tokens
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
| #!/bin/bash | |
| set -e | |
| shopt -s expand_aliases | |
| XARGS_MAX_CMD_LENGTH=`echo | xargs --show-limits 2>&1 | awk '/POSIX upper limit on argument length/ {print $NF}'` | |
| echo "Checking paths under '$PWD' for case related problems..." | |
| alias sort_case_insensitive='sort -f' | |
| alias uniq_show_grouped_duplicates='uniq -i --all-repeated=separate' |
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
| // SPDX-License-Identifier: MIT | |
| pragma solidity ^0.8.4; | |
| import "@openzeppelin/contracts/utils/Counters.sol"; | |
| import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; | |
| import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; | |
| import "hardhat/console.sol"; | |
| contract NFTMarketplace is ERC721URIStorage { |
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
| #!/bin/bash | |
| install_destination=/opt/epicyon-onion | |
| username='epicyon-onion' | |
| if [[ "$1" == 'remove' ]]; then | |
| echo 'Removing Epicyon onion instance' | |
| systemctl stop tor | |
| rm /etc/torrc.d/epicyon | |
| rm -rf /var/lib/tor/hidden_service_epicyon | |
| systemctl restart tor |
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 { ethers } from 'ethers' | |
| import Web3Modal from 'web3modal' | |
| import WalletConnectProvider from '@walletconnect/web3-provider' | |
| async function getWeb3Modal() { | |
| const web3Modal = new Web3Modal({ | |
| network: 'mainnet', | |
| cacheProvider: false, | |
| providerOptions: { | |
| walletconnect: { |
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 {MDXProvider} from '@mdx-js/react'; | |
| import {MDXComponents} from 'components/MDX/MDXComponents'; | |
| import {Toc} from 'components/Toc/Toc'; | |
| import * as React from 'react'; | |
| export interface MarkdownProps<Frontmatter> { | |
| meta: Frontmatter; | |
| children?: React.ReactNode; | |
| } |
- Update
package.jsonby runningyarn version --prerelease --preid=canary - Run
npm publish --tag canaryto publish the package under thecanarytag - Run
yarn add @artsy/reaction@canaryto install canary package
Running npm dist-tag ls can be helpful to see what tagged packages are available
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
| #!/usr/bin/env python | |
| import sys, os, time | |
| import tweepy | |
| keys = dict( | |
| consumer_key='_YOUR_CONSUMER_KEY', | |
| consumer_secret='_YOUR_SECRET_KEY', | |
| access_token='_YOUR_ACCESS_TOKEN', | |
| access_token_secret='_YOUR_ACCESS_TOKEN_SECRET' | |
| ) |
NewerOlder