Skip to content

Instantly share code, notes, and snippets.

View wemakefuture's full-sized avatar
💭
Coding for Automation

wemakefuture wemakefuture

💭
Coding for Automation
View GitHub Profile
@wemakefuture
wemakefuture / wpa2-wifi-connect.sh
Created March 11, 2018 23:24 — forked from rjcorwin/wpa2-wifi-connect.sh
A simple `wifi` command for Debian that will connect you to a WPA2 WiFi network
#!/bin/sh
## A simple `wifi` command for Debian that will connect you to a WPA2 WiFi network
## usage:
## sudo ./wpa2-wifi-connect.sh <ssid> <pass>
ifdown wlan0
# build the interfaces file that will point to the file that holds our configuration
rm /etc/network/interfaces
touch /etc/network/interfaces
#!/bin/bash
echo "checking for folder"
if [ -d root/UpdateInstaPy/ ]
then
now=$(date +\%m_\%d_\%Y)
mkdir /root/UpdateInstaPy/$now
echo "created new Folder with name: $now"
cd /root/UpdateInstaPy/$now && git clone https://github.com/timgrossmann/InstaPy.git
latest_version=$(wget https://chromedriver.storage.googleapis.com/LATEST_RELEASE -O -)
wget https://chromedriver.storage.googleapis.com/${latest_version}/chromedriver_linux64.zip
@wemakefuture
wemakefuture / ops
Last active January 3, 2019 15:50
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
from bs4 import BeautifulSoup
import re
import requests
import pandas as pd
@wemakefuture
wemakefuture / BBB CONF
Last active December 30, 2021 04:16
BigBlueButton Install Conf
get BBB on Server running
wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v xenial-220 -a
remove demo
sudo apt-get remove bbb-demo
sudo bbb-conf --restart
sudo bbb-conf --check
sethostname
sudo bbb-conf --setip bigbluebutton.example.com
@wemakefuture
wemakefuture / 00_Run_Your_JS_Examples
Last active April 22, 2021 09:15
Examples for Integromat "Run your JS" module
Here you can find some basic examples for the Module "Run Your JS".
Keep in mind that you can insert integromat variables into the textarea.
{
"AF": "Afghanistan",
"AX": "Aland Islands",
"AL": "Albania",
"DZ": "Algeria",
"AS": "American Samoa",
"AD": "Andorra",
"AO": "Angola",
"AI": "Anguilla",
"AQ": "Antarctica",
{
"Afghanistan": "AF",
"Aland Islands": "AX",
"Albania": "AL",
"Algeria": "DZ",
"American Samoa": "AS",
"Andorra": "AD",
"Angola": "AO",
"Anguilla": "AI",
"Antarctica": "AQ",
@wemakefuture
wemakefuture / magento_cfs
Last active April 26, 2021 16:13
magento_cfs
{
"manufacturer":{
"213":"PM CARE SYSTEMS",
"214":"Duresta",
"215":"Ercol",
"216":"G Plan",
"217":"Parker Knoll",
"218":"Consequat mel",
"219":"Epicuri petentium"
},
[
{
"id": 6454,
"sku": "aw-r",
"name": "Keratin Cream Rinse",
"attribute_set_id": 19,
"price": 23.1,
"status": 1,
"visibility": 4,
"type_id": "simple",
{
"AF": 4,
"AX": 248,
"AL": 8,
"DZ": 12,
"AS": 16,
"AD": 20,
"AO": 24,
"AI": 660,
"AQ": 10,