This file contains 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
// ==UserScript== | |
// @name Remove Facebook UP NEXT Popup | |
// @description Removes the annoying UP NEXT popup from Facebook videos and cancels the next video play automatically. | |
// @version 0.1.5.2 | |
// @author Ariel Jannai | |
// @namespace https://github.com/arieljannai/tampermonkey-scripts | |
// @supportURL https://github.com/arieljannai/tampermonkey-scripts/issues | |
// @updateURL https://github.com/arieljannai/tampermonkey-scripts/raw/master/facebook/remove-upnext-popup-cancel-next.user.js | |
// @downloadURL https://github.com/arieljannai/tampermonkey-scripts/raw/master/facebook/remove-upnext-popup-cancel-next.user.js | |
// @match https://www.facebook.com/* |
This file contains 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
# MariaDB 10.3 CentOS repository list - created 2018-09-02 15:45 UTC | |
# http://downloads.mariadb.org/mariadb/repositories/ | |
[mariadb] | |
name = MariaDB | |
baseurl = http://yum.mariadb.org/10.3/centos7-amd64 | |
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB | |
gpgcheck=1 |
This file contains 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
curl https://get.acme.sh | sh | |
wget -O - https://get.acme.sh | sh |
This file contains 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
void setup() { | |
// put your setup code here, to run once: | |
pinMode(13,OUTPUT); | |
} | |
void loop() { | |
// put your main code here, to run repeatedly: | |
digitalWrite(13,HIGH); | |
delay(1000); | |
digitalWrite(13,LOW); |
This file contains 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
export CF_Key="1234567abcdefg" | |
export CF_Email="admin@example.com" | |
DOMAIN="example.com" | |
.acme.sh/acme.sh --issue -d $DOMAIN -d *.$DOMAIN -w /var/www/html --dns dns_cf \ | |
--cert-file /etc/pki/tls/certs/wildcard.$DOMAIN.crt \ | |
--key-file /etc/pki/tls/private/wildcard.$DOMAIN.key \ | |
--fullchain-file /etc/pki/tls/certs/wildcard.$DOMAIN-chain.crt \ | |
--ca-file /etc/pki/tls/certs/wildcard.$DOMAIN-ca.crt \ |
This file contains 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
cd "%ProgramFiles%\Microsoft Office\Office16" | |
cscript ospp.vbs /sethst:kms.becoder.org | |
cscript ospp.vbs /act |
This file contains 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
'-------------- | |
'Start of UAC workaround code | |
If WScript.Arguments.length =0 Then | |
Set objShell = CreateObject("Shell.Application") | |
objShell.ShellExecute "wscript.exe", Chr(34) & _ | |
WScript.ScriptFullName & Chr(34) & " uac", "", "runas", 1 | |
Else | |
'-------------- |
This file contains 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
echo $(ifconfig vmbr0 | grep 'inet' | cut -d: -f2 | awk '{print $2}') |
This file contains 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
// 來源:http://www.chinaz.com/web/2012/0619/258280.shtml | |
<?php | |
remove_filter('get_the_excerpt', 'wp_trim_excerpt'); | |
add_filter('get_the_excerpt', 'improved_trim_excerpt'); | |
function improved_trim_excerpt($text) { | |
global $post; | |
if ( '' == $text ) { | |
$text = get_the_content(''); | |
$text = apply_filters('the_content', $text); | |
$text = str_replace('\]\]\>', ']]>', $text); |
This file contains 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/python | |
import subprocess | |
import time | |
print "Welcome to Using CentOS7 LAMP7 Script !" | |
print "Author : FuYuan" | |
print "Date : 20170401" | |
print "=======================================" | |
try: |