sudo apt update
sudo apt install xrdp
sudo apt install xfce4
#!/bin/bash | |
# This script cleans all cache for Microsoft Teams on Linux | |
# Tested on Ubuntu-like and Debian by @necrifede. Feel free to test/use in other distributions. | |
# Tested with Teams via snap package. | |
# | |
# How to use in terminal: | |
# ./clear_cache_MS_Teams.sh ( deb-stable | deb-insider | snap ) | |
# or | |
# bash clear_cache_MS_Teams.sh ( deb-stable | deb-insider | snap ) |
/** | |
* @param SymfonyStyle $io | |
* @param $remotePath | |
* | |
* @return string | |
*/ | |
public function download(SymfonyStyle $io, $remotePath) | |
{ | |
$io->section("Download " . $remotePath); | |
$parts = parse_url($remotePath); |
#!/home/drspock/scripts/FBInvite/bin/python | |
import argparse | |
import requests | |
import pyquery | |
def login(session, email, password): | |
''' | |
Attempt to login to Facebook. Returns user ID, xs token and |
#!/usr/local/bin/python3 | |
''' | |
Convert a pkl file into json file | |
''' | |
import sys | |
import os | |
import _pickle as pickle | |
import json | |
/* MODELS */ | |
var ProjectCollection = function(projects){ | |
var self = this; | |
var projects = projects; | |
this.create = function(attrs){ | |
projects.push(attrs) | |
// might want to a bit of ajax here |
Reference:
sudo fdisk -l
FROM ubuntu:16.04 | |
ENV TZ=Australia/Melbourne | |
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | |
RUN dpkg-reconfigure --frontend noninteractive tzdata |
# ~/.profile: executed by the command interpreter for login shells. | |
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login | |
# exists. | |
# see /usr/share/doc/bash/examples/startup-files for examples. | |
# the files are located in the bash-doc package. | |
# the default umask is set in /etc/profile; for setting the umask | |
# for ssh logins, install and configure the libpam-umask package. | |
#umask 022 |