Skip to content

Instantly share code, notes, and snippets.

@megawertz
megawertz / bashsnippets.sh
Created October 17, 2013 01:27
Some basic bash snippets I use to introduce shell scripting to my Linux class.
#!/bin/bash
# viewing environment variables
echo "The value of the home variable is: "
echo $HOME
# issue a command
echo "The output of the pwd command is: "
pwd
@paulrougieux
paulrougieux / scraplinks.R
Last active October 3, 2021 06:29
Extract link texts and urls from a web page into an R data frame
@kurzweil777
kurzweil777 / Telegram Bots
Created August 13, 2020 18:35
SlangerBot
from telebot import types
from telebot.apihelper import ApiException
import config
import telebot
import requests
from bs4 import BeautifulSoup
from googletrans import Translator
bot = telebot.TeleBot(config.TOKEN, parse_mode="html")