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
## Global install of the app generator | |
npm install -g create-react-app | |
## Setup the app (first-time only) | |
create-react-app my-app | |
cd my-app | |
git init | |
# Create the Heroku app; requires free account at https://www.heroku.com/ | |
heroku create -b https://github.com/heroku/heroku-buildpack-static.git |
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 localtunnel = require('localtunnel') | |
const tunels = [{ | |
subdomain: 'jewmachine', | |
local_host: '192.168.1.101', | |
port: 6080, | |
}] | |
const tlTunels = {} |
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
# ################################################################## | |
# Script Name : vnc-startup.sh | |
# Description : Perform an automated install of X11Vnc | |
# Configure it to run at startup of the machine | |
# Date : Feb 2016 | |
# Written by : Griffon | |
# Web Site :http://www.c-nergy.be - http://www.c-nergy.be/blog | |
# Version : 1.0 | |
# | |
# Disclaimer : Script provided AS IS. Use it at your own risk.... |
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
# -*- coding: utf-8 -*- | |
from multiprocessing import Pool | |
from multiprocessing.dummy import Pool as ThreadPool | |
import re, os | |
from urllib2 import urlopen | |
Path = os.path.dirname(os.path.realpath(__file__)) | |
with open(Path+'\\url.txt', 'r') as file: | |
urls = file.readlines() |
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
import random | |
import datetime | |
user_agent_list = [ | |
# Chrome | |
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36', | |
'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36', | |
'Mozilla/5.0 (Windows NT 5.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36', | |
'Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36', | |
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36', |
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
qemu-img convert -O raw source.vhd output.raw |
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', |
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
// 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
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 |