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
ammo_grenade_limit_total 5 | |
bot_quota 0 | |
mp_autoteambalance 0 | |
mp_buy_anywhere 1 | |
mp_buytime 120 | |
mp_buytime 9999 | |
mp_freezetime 0 | |
mp_limitteams 0 | |
mp_maxmoney 60000 |
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
Array.prototype.forEach.call(document.querySelectorAll('img[src$="../tsk/soldout.gif"], img[src$="soldout.gif"]'), function (el, i) { | |
el.closest('tr').remove(); | |
}); |
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
The following NEW packages will be installed: | |
td-agent | |
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
Need to get 0 B/59.2 MB of archives. | |
After this operation, 211 MB of additional disk space will be used. | |
Selecting previously unselected package td-agent. | |
(Reading database ... 94733 files and directories currently installed.) | |
Preparing to unpack .../td-agent_2.2.1-0_amd64.deb ... | |
Unpacking td-agent (2.2.1-0) ... | |
Setting up td-agent (2.2.1-0) ... |
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
[Unit] | |
Description=7 Days to Die | |
After=network.target | |
[Service] | |
User=steam | |
Group=steam | |
Type=simple | |
WorkingDirectory=/home/steam/7dtd | |
ExecStart=/home/steam/7dtd/startserver.sh -configfile=serverconfig.xml |
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
[Unit] | |
Description=mackerel | |
After=network.target | |
[Service] | |
User=root | |
Group=root | |
Type=simple | |
ExecStart=/usr/bin/mackerel-agent |
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/env python | |
# coding=utf-8 | |
import cv2 | |
import numpy as np | |
img = cv2.imread('./images/s01.png') | |
height, width, channels = img.shape | |
g_img = cv2.bilateralFilter(img, 9, 75, 75) |
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
#!/bin/sh | |
echo "Uninstall VMware Fusion 4.x, 5.x, 6.x, 7.x, 8.x" | |
rm -r \ | |
"/Library/Application Support/VMware" \ | |
"/Library/Application Support/VMware Fusion" \ | |
"/Library/Preferences/VMware Fusion" \ | |
"~/Library/Application Support/VMware Fusion" \ | |
"~/Library/Caches/com.vmware.fusion" \ |
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
from bs4 import BeautifulSoup | |
soup = BeautifulSoup(open('products.html'), 'html5lib') | |
for product in soup.select('#sec-02 > ul.col-5.heightLineParent > li'): | |
name = product.select_one('.ttl').string | |
try: | |
price = product.select('p.price > span')[0].string | |
except IndexError: |
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
worker_processes 1; | |
events { | |
worker_connections 1024; | |
} | |
rtmp { | |
server { | |
listen 1935; | |
chunk_size 8192; |
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
/^[-a-z0-9~!$%\^&*_=+}{\'?]+(\.[-a-z0-9~!$%\^&*_=+}{\'?]+)*@([a-z0-9_][-a-z0-9_]*(\.[-a-z0-9_]+)*\.(aero|arpa|asia|biz|cat|com|coop|edu|gov|info|int|jobs|mil|mobi|museum|name|net|org|post|pro|tel|travel|xxx|[a-z][a-z])|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/i |
OlderNewer