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
| class ShellColorize(object): | |
| """ | |
| Get back message that will contain constants to colorize message inside of shell response | |
| """ | |
| INFO = '\033[94m' | |
| OK = '\033[92m' | |
| WARNING = '\033[93m' | |
| ERROR = '\033[91m' | |
| ENDCOLOR = '\033[0m' |
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 operator | |
| from pyfiglet import figlet_format | |
| print figlet_format(reduce(operator.add, map( | |
| lambda word: chr(int(word, 2)), ( | |
| '01001000', '01100001', '01110000', '01110000', '01111001', '00100000', '01001110', '01100101', '01110111', | |
| '00100000', '01011001', '01100101', '01100001', '01110010', '00100001' | |
| ) | |
| ))) |
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
| xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync | |
| xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync | |
| xrandr --addmode DVI-1 1920x1080_60.00 | |
| xrandr --addmode DisplayPort-0 1680x1050_60.00 | |
| xrandr --addmode DisplayPort-1 1680x1050_60.00 | |
| xrandr --output DVI-1 --auto --mode 1920x1080_60.00 --pos 0x0 --rotate normal --primary | |
| xrandr --output DisplayPort-1 --auto --mode 1680x1050_60.00 --right-of DVI-1 --rotate normal | |
| xrandr --output DisplayPort-0 --auto --mode 1680x1050_60.00 --right-of DisplayPort-1 --rotate normal |
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
| manage n delete - drop ip from manage ip addresses |
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
| [error_logger:error,2014-11-03T23:44:55.997,[email protected]:error_logger<0.6.0>:ale_error_logger_handler:log_report:72] | |
| =========================CRASH REPORT========================= | |
| crasher: | |
| initial call: ns_memcached:init/1 | |
| pid: <0.13122.1> | |
| registered_name: [] | |
| exception exit: {bad_return_value, | |
| {stop,{error,couldnt_connect_to_memcached}}} | |
| in function gen_server:init_it/6 | |
| ancestors: ['single_bucket_sup-default',<0.6549.0>] |
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 | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "time" | |
| redis "gopkg.in/redis.v6" | |
| ) |
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 | |
| import ( | |
| "fmt" | |
| "strings" | |
| "testing" | |
| "golang.org/x/crypto/sha3" | |
| ) | |
| // IsEIP55 checks if the given Ethereum address is EIP-55 compliant. |
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
| 60a06040526040518060400160405280600a81526020017f4c4153544f465045504500000000000000000000000000000000000000000000815250600290816200004a919062001161565b506040518060400160405280600381526020017f4c4f5000000000000000000000000000000000000000000000000000000000008152506003908162000091919062001161565b506009600460006101000a81548160ff021916908360ff1602179055507367587c1c9724c82e69d7aa7a876d38fd51d469d5600460016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507367587c1c9724c82e69d7aa7a876d38fd51d469d5600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061dead73ffffffffffffffffffffffffffffffffffffffff1660809073ffffffffffffffffffffffffffffffffffffffff168152506001600c556003600d556000600e556003600f5560056010556000601155600460125560086013556023601455604160155560006016556064601755600460009054906101000a900460ff16600a620001e79190620013d8565b62989680620001f7919062001429565b6018556004600090 |
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
| /** | |
| *Submitted for verification at BscScan.com on 2023-07-10 | |
| */ | |
| /** | |
| *Telegram: https://t.me/ | |
| */ | |
| // SPDX-License-Identifier: MIT |
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 eip provides structures and functions related to Ethereum Improvement Proposals (EIPs). | |
| package eip | |
| // Erc20 represents the ERC-20 token standard. | |
| type Erc20 struct { | |
| // Standard holds the details of the ERC-20 contract standard. | |
| Standard ContractStandard | |
| } | |
| // GetName returns the name of the ERC-20 standard. |
OlderNewer