Skip to content

Instantly share code, notes, and snippets.

View beeant's full-sized avatar
🎯
Focusing

₿ryant Teja beeant

🎯
Focusing
View GitHub Profile
export GPU_FORCE_64BIT_PTR=0
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100
/home/beeant/miner/claymore/ethdcrminer64 -epool stratum+ssl://asia1.ethermine.org:5555 -ewal 0x2883AeE99047933952Bd7BE1E76eB8b648A9A2A8.claymore-ubuntubn
@beeant
beeant / public.js
Created April 26, 2018 17:53
public.js
module.exports = {
siteName: "site name",
domain: 'domain.io',
protocolDOmain: "http://domain.io",
baseUrl: 'http://domain:5555',
publicDir: `${__PROJECTDIR__}/static`,
languages: {
en: "English",
ja: "日本語",
"zh-hk": "繁體中文",
@beeant
beeant / index.js
Created February 22, 2018 01:24
newartcoin.io language file
import React from "react";
module.exports = {
profile_saved: {
en: "The changes have been saved.",
ja: "変更内容が保存されました。",
},
edit: {
en: "Edit",
ja: "編集",
@beeant
beeant / webdriver startup script
Last active October 18, 2015 01:54
/etc/init.d/webdriver-manager
### BEGIN INIT INFO
# Provides: transparentproxy
# Required-Start: $local_fs $syslog $remote_fs dbus
# Required-Stop: $local_fs $syslog $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start transparentproxy
### END INIT INFO
#
# /etc/rc.d/init.d/webdriver
@beeant
beeant / webdriver.sh
Created August 5, 2015 10:53
webdriver startup script
### BEGIN INIT INFO
# Provides: transparentproxy
# Required-Start: $local_fs $syslog $remote_fs dbus
# Required-Stop: $local_fs $syslog $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start transparentproxy
### END INIT INFO
#
# /etc/rc.d/init.d/webdriver
@beeant
beeant / block.sh
Last active August 29, 2015 14:15 — forked from jtadeulopes/block.sh
# sudo sh block.sh
-I INPUT 1 -p tcp --dport 80 -m string --string "ads.yahoo.com" --algo kmp -j DROP
-I INPUT 1 -p tcp --dport 80 -m string --string "ads.fcmrktplace.com" --algo kmp -j DROP
-I INPUT 1 -p tcp --dport 80 -m string --string "ads.creafi-online-media.com" --algo kmp -j DROP
-I INPUT 1 -p tcp --dport 80 -m string --string "ib.reachjunction.com" --algo kmp -j DROP
-I INPUT 1 -p tcp --dport 80 -m string --string "www.indeed.com" --algo kmp -j DROP
-I INPUT 1 -p tcp --dport 80 -m string --string "ib.adnxs.com" --algo kmp -j DROP
-I INPUT 1 -p tcp --dport 80 -m string --string "ad.tagjunction.com" --algo kmp -j DROP
-I INPUT 1 -p tcp --dport 80 -m string --string "ad.globe7.com" --algo kmp -j DROP
-I INPUT 1 -p tcp --dport 80 -m string --string "ads.clicksor.com" --algo kmp -j DROP
/*var cluster = require('cluster');
var cpuCount = require('os').cpus().length;
if (cluster.isMaster) {
for (var i = 0; i < cpuCount; i += 1) {
cluster.fork();
}
} else {*/
var express = require('express'),
http = require('http'),
@beeant
beeant / package.json
Created April 27, 2014 03:53
JCJP package.json gist
{
"keywords": [],
"devDependencies": {
"async": "^0.7.0",
"body-parser": "^1.0.2",
"canvas": "~1.1.3",
"cheerio": "^0.12.4",
"colors": "~0.6.2",
"compression": "^1.0.1",
"connect-flash": "^0.1.1",
sudo port install php55 +fastcgi fcgi apache-ant php55-cgi php55-mbstring php55-curl php55-mcrypt php55-imagick php55-xdebug php55-iconv php55-mongo php55-oauth php55-openssl php55-esmtp php55-pop3 php55-tidy php55-uploadprogress php55-pcntl php55-sockets php55-soap php55-ssh2 php55-big_int php55-gd php55-svm php55-html_parse php55-http php55-mysql php55-pdflib php55-pear php55-peb php55-posix php55-pspell php55-rar php55-redis php55-snmp php55-stomp php55-svn php55-wddx php55-xmlrpc php55-yaml php55-zip php55-dbase php55-excel php55-gdchart php55-imap php55-xsl php55-redis
sudo port install postgresql92 postgresql92-server postgresql92-doc postgresql_autodoc php55-postgresql phppgadmin postgresql-jdbc mysql5-server phpmyadmin maven3 maven-ant-tasks
sudo port install nginx +flv +geoip +gzip_static +mail +mp4 +ssl +status +substitution +upload +upload_progress +xslt +zip
You may need to update your php.ini for any changes that have been made in this version of php55. Compare /opt/local/etc/php55/php.ini wit
@beeant
beeant / gist:7199853
Created October 28, 2013 16:16
grepall
alias grepall='find . | xargs grep -s -n --color -E'