wget
is installedtar
is installed
If you really don't want to install Nix under /nix
(or you can't) then you can install Nix
#!/bin/bash | |
# https://bit.ly/chrome-os-install-sh | |
# Script to deploy Chrome OS (using Brunch Framework) | |
# Author renatofrota: https://github.com/renatofrota/ | |
# Brunch Framework: https://github.com/sebanc/brunch/ | |
deployed() { | |
echo "Deployment complete. Install script by Renato Frota. Donate:" | |
echo "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=R58RLRMM8YM6U" | |
xdg-open "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=R58RLRMM8YM6U" | |
} |
# This Dockerfile creates a very small AppImage using static | |
# linking and LTO. It is 100% portable for all x86_64 *OR* | |
# aarch64 systems. | |
# | |
# The general idea is to create a single file you can `scp` | |
# into all of your system and have a Lua based self contained | |
# config "just working". | |
FROM debian:buster-slim as bootstrap | |
MAINTAINER Emmanuel Lepage Vallee <[email protected]> |
import urllib.request | |
import scraperwiki | |
import lxml.html | |
import codecs | |
import urllib | |
import requests | |
import urllib.request | |
import datetime | |
import os | |
import time |
#!/bin/sh | |
# SPDX-FileCopyrightText: 2017-2024 SanderTheDragon <[email protected]> | |
# | |
# SPDX-License-Identifier: MIT | |
arch=$(dpkg --print-architecture) | |
echo "Detected architecture: $arch" | |
case "$arch" in |
from requests import get | |
from lxml import html | |
from operator import itemgetter | |
citycodes = {'skane' : '23', 'lund': '23_10', 'eslov' : '23_2'} | |
result = [] | |
def list(city, keyword, limit): | |
url = 'http://www.blocket.se/' + city + '?q=' + keyword + \ | |
'&cg=0&w=0&st=s&ca=' + citycodes[city] + '&is=1&l=0&md=th' |
github recently switched to an https scheme as the default for cloning repos. as a side effect you may suddenly be prompted for a 'Username' and 'Password' when you push where, previously, you were able to do so without typing in credentials. the solution is to cause git to cache https credentials which is easy, since git uses curl under the covers
in your home directory create a file called '.netrc', for example
/Users/ahoward/.netrc
in it put these contents