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
#============================================================================= | |
# dark_powered.toml --- dark powered configuration example for SpaceVim | |
# Copyright (c) 2016-2017 Wang Shidong & Contributors | |
# Author: Wang Shidong < wsdjeg at 163.com > | |
# URL: https://spacevim.org | |
# License: GPLv3 | |
#============================================================================= | |
# All SpaceVim option below [option] section | |
[options] |
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
const puppeteer = require('puppeteer-extra') | |
const request = require('request') | |
const cheerio = require('cheerio') | |
const GET_NICE_TEXT_JS = function() { | |
var s = window.getSelection() | |
s.removeAllRanges() | |
var r = document.createRange() | |
r.selectNode(document.body) | |
s.addRange(r) |
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
const pool = require('./proxies.js') | |
const useProxy = require('puppeteer-page-proxy') | |
const fs = require('fs') | |
const sh = require('shelljs') | |
const regex = /.*@[a-z]*\.[a-z]{2,3}:\S*/gim | |
const Counts = require('./.count.json') | |
const argv = require('yargs') | |
.option('source', { | |
alias: 's', | |
describe: 'combo list file to check', |
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
# If you come from bash you might have to change your $PATH. | |
export PATH=$HOME/bin:/usr/local/bin:/snap/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/home/lifeofcoding/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes |
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
pactl -- set-sink-volume @DEFAULT_SINK@ +10% # raise volume by each 10% (more than 100% possible, might distort the sound) | |
pactl -- set-sink-volume @DEFAULT_SINK@ -10% # reduce volume by each 10% | |
pactl -- set-sink-mute @DEFAULT_SINK@ toggle # mute/unmutes audio |
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
# If you come from bash you might have to change your $PATH. | |
export PATH=$HOME/bin:/usr/local/bin:/snap/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/root/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes |
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
apt install arc-theme adapta-gtk-theme papirus-icon-theme sugar-themes sugar-icon-theme xfwm4-theme-breeze zsh-theme-powerlevel9k screenfetch shiki-brave-theme s5 psi-plus-webkit node-xterm moka-icon-theme materia-gtk-theme libjs-xterm libjs-prettify gtk2-engines gtk2-engines-aurora gtk2-engines-cleanice gtk2-engines-murrine gtk2-engines-nodoka gtk2-engines-oxygen gtk2-engines-sugar gtk-theme-switch greybird-gtk-theme faba-icon-theme faenza-icon-theme elementary-xfce-icon-theme darkmint-gtk-theme darkcold-gtk-theme crystalcursors breeze-gtk-theme breeze-icon-theme blackbird-gtk-theme adapta-gtk-theme |
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
// use the 'request' module from npm | |
var request = require('request'); | |
request.post({ | |
url: 'https://APITOKEN@api.appetize.io/v1/apps', | |
json: { | |
url: 'FILE URL', | |
platform: 'ios' | |
} | |
}, function(err, response, body) { | |
if (err) { |
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
exports.createHandler = function (method) { | |
return new Handler(method); | |
} | |
Handler = function(method) { | |
this.process = function(req, res) { | |
params = null; | |
return method.apply(this, [req, res, params]); | |
} | |
} |
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
const os = require('os'); | |
const ifaces = os.networkInterfaces(); | |
const localtunnel = require('localtunnel'); | |
const argv = require('argv'); | |
const args = argv.option({ | |
name: 'domain', | |
short: 'd', | |
type: 'string', | |
description: 'Set subdomain of heroku app', |