scph5500.bin 26-Aug-2018 20:47 512.0K
scph5501.bin 26-Aug-2018 20:47 512.0K
scph5502.bin 26-Aug-2018 20:47 512.0K
scph5500.bin 26-Aug-2018 20:47 512.0K
scph5501.bin 26-Aug-2018 20:47 512.0K
scph5502.bin 26-Aug-2018 20:47 512.0K
// To ensure cross-browser support even without a proper SubtleCrypto | |
// impelmentation (or without access to the impelmentation, as is the case with | |
// Chrome loaded over HTTP instead of HTTPS), this library can create SHA-256 | |
// HMAC signatures using nothing but raw JavaScript | |
/* eslint-disable no-magic-numbers, id-length, no-param-reassign, new-cap */ | |
// By giving internal functions names that we can mangle, future calls to | |
// them are reduced to a single byte (minor space savings in minified file) | |
var uint8Array = Uint8Array; |
// ==UserScript== | |
// @name Recaptcha Solver (Automatically solves Recaptcha in browser) | |
// @namespace Recaptcha Solver | |
// @version 2.1 | |
// @description Recaptcha Solver in Browser | Automatically solves Recaptcha in browser | |
// @author engageub | |
// @match *://*/recaptcha/* | |
// @connect engageub.pythonanywhere.com | |
// @connect engageub1.pythonanywhere.com | |
// @grant GM_xmlhttpRequest |
<?php | |
/** | |
* Display a Stats counter at the top of every post, with a "Views:" heading. | |
* @see https://wordpress.org/support/topic/page-views-off/ | |
* | |
* @param string $content Post content. | |
*/ | |
function jeherve_custom_display_post_views( $content ) { | |
$post_views = sprintf( | |
'<div class="stats_counter sd-content"><h3 class="sd-title">%1$s</h3><div class="sd-content">%2$s</div></div>', |
_
(underscore) to move the cursor at the beginning of line (doesn't switch to insert mode)
0
(zero) moves the cursor to the zeroth position of the line (doesn't switch to insert mode)$
(dollar) to move the cursor at the end of line (doesn't switch to insert mode)d$
will delete from wherever your cursor is till the end of the linef<character>
to move cursor to the first occurrence of <character>
f(
to move cursor to first occurence of (
t<character>
to move cursor to upto but not on the first occurrence of <character>
t(
to move cursor to first occurence of (
laptop ssh -> laptop stunnel -> evil network -> internet -> your server -> your server ssh
Sets up a stunnel process listening externally on port 2443/tcp, forwards to localhost 22/tcp
yum install stunnel
/etc/stunnel/stunnel.conf
/* Copyright (c) 2018 Arvid Gerstmann. */ | |
/* This code is licensed under MIT license. */ | |
#ifndef AG_RANDOM_H | |
#define AG_RANDOM_H | |
class splitmix | |
{ | |
public: | |
using result_type = uint32_t; | |
static constexpr result_type (min)() { return 0; } |
// Firestore | |
export function writableFirestoreStore<T>() { | |
let unsubscribe: () => void = () => {} | |
let docRef: any | |
const store = writable<T | null>(null) | |
let storeSet = store.set | |
return { | |
subscribe: store.subscribe, |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
<?php | |
//CSSとして使うPHPファイルの一番上に記述 | |
header('Content-Type: text/css;', 'charset=utf-8'); ?> | |
@charset "utf-8"; | |
<?php | |
//後はCSSを書く! | |
$bgcolor = 'pink'; | |
?> |