p/f expr: evaluate & Print expr, where
-
f is the display format,
-
expr is the expression to evaluate.
| hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x7000000E6,"HIDKeyboardModifierMappingDst":0x700000068}]}' |
| #!/bin/sh | |
| REPO_URI="https://github.com/puilp0502/react-ts-boilerplate" | |
| mkdir "$1" 2> /dev/null | |
| VALID_DIRNAME=$? | |
| if [ 0 -eq $VALID_DIRNAME ]; then | |
| rmdir "$1" | |
| else | |
| echo "Invalid target directory: " "$1" |
| #!/usr/bin/env python3 | |
| """ | |
| Very simple HTTP server in python for logging requests | |
| Usage:: | |
| ./server.py [<port>] | |
| """ | |
| from http.server import BaseHTTPRequestHandler, HTTPServer | |
| from urllib import parse | |
| import pprint | |
| import logging |
| #!/bin/bash | |
| # install_kakaotalk.sh: Installs KakaoTalk using wine and winetricks | |
| # Created at 2019-05-14 by Frank Yang ([email protected]) | |
| # Tested on Ubuntu 18.04 (bionic beaver) | |
| # Ubuntu older than 16.04, or any other distribution is not supported | |
| export WINEPREFIX=~/.kakao_a | |
| export WINEARCH=win32 | |
| source /etc/os-release |
| version: '2.1' | |
| services: | |
| db: | |
| image: postgres:9.6.1 | |
| volumes: | |
| - db:/var/lib/postgresql/data | |
| environment: | |
| - POSTGRES_DB=sampledb | |
| - POSTGRES_USER=sampleuser |
| #!/bin/sh | |
| # Docker CE Installation Script | |
| # Based on https://docs.docker.com/install/linux/docker-ce/ubuntu | |
| # Uninstall old versions | |
| sudo apt-get remove docker docker-engine docker.io containerd runc | |
| # Setup the repositories | |
| sudo apt-get update | |
| sudo apt-get install -y \ |
| pragma solidity ^0.4.0; | |
| contract KVStore { | |
| mapping(uint64 => string) public map; | |
| function set(uint64 key, string value) public { | |
| map[key] = value; | |
| } | |
| function get(uint64 key) public view returns (string) { | |
| return map[key]; |
I hereby claim:
To claim this, I am signing this object:
| 0x56e292a201c0cfFC3c7b008cc4d572D7F82AA733 |