I hereby claim:
- I am d3cline on github.
- I am d3cline (https://keybase.io/d3cline) on keybase.
- I have a public key ASCIp9AdfD_bbe7BF4ygqib0tpAC2X3VkLZhlUERkEGv-go
To claim this, I am signing this object:
| function changeColorOfSuggestedForYou(parentLevels = 0) { | |
| let spans = document.querySelectorAll('span[dir="auto"]'); | |
| for (let span of spans) { | |
| if (span.textContent.trim() === 'Suggested for you') { | |
| span.style.color = 'red'; | |
| let parent = span; | |
| for (let i = 0; i < parentLevels; i++) { | |
| parent = parent.parentElement; | |
| if (parent && parent.tagName.toLowerCase() === 'div') { |
| Prefece: BookStack is seemingly a normal laravel app. | |
| This means you need to check it out to a directory someplace, | |
| install its deps, config the DB, and point a symlink apache app to the 'public' sub directory. | |
| Create a new OSUser for this app to live in, it makes deployment a little easier. | |
| Shell commands, | |
| mkdir ~/src | |
| cd ~/src |
| <a href="//dobbs.town/@Homoevolutis0">Mastodon</a>"><a rel="me" href="https://dobbs.town/@Homoevolutis0">Mastodon</a></a></p><p> </p><p><a rel="me" href="https://dobbs.town/@Homoevolutis0">Mastodon</a></p></div> |
| import requests | |
| # What you want to search, lower case | |
| SEARCH_TERM = "birdsite" | |
| # Your home instance URL | |
| INSTANCE_URL="https://opalstack.social" | |
| # Number of accounts to search before stop | |
| MAX_OFFSET = 10000 | |
| def grab_instance_domains(): |
| import requests | |
| # What you want to search, lower case | |
| SEARCH_TERM = "anthropology" | |
| # Your home instance URL | |
| INSTANCE_URL="https://opalstack.social" | |
| # Number of accounts to search before stop | |
| MAX_OFFSET = 10000 | |
| def spider(): |
| curl -X POST --header "Content-Type:application/json" --header "Authorization: Token YOURAPITOKENHERE" -d'[{"osuser": "OSUSER-UUID", "name": "fastapi", "type": "CUS", "installer_url": "https://raw.githubusercontent.com/opalstack/installers/master/core/fastapi/install.py"}]' https://my.opalstack.com/api/v1/app/create/ |
| #include <Wire.h> | |
| #include "SparkFunBME280.h" | |
| BME280 mySensor; | |
| #include <LiquidCrystal.h> | |
| //LCD pin to Arduino | |
| const int pin_RS = 8; | |
| const int pin_EN = 9; | |
| const int pin_d4 = 4; | |
| const int pin_d5 = 5; |
| # A simple 'hello world' application with python uwsgi and nginx | |
| # Make directory and files | |
| # The directory structure: | |
| # ./ | |
| # |-- app/ | |
| # | |-- hello.py | |
| # | |-- hello_nginx.conf | |
| if [ -d app ]; then | |
| rm -rf app |
| from django.core.exceptions import ValidationError | |
| from django.core.validators import validate_ipv46_address | |
| from django.utils.deconstruct import deconstructible | |
| from django.utils.encoding import force_text | |
| from django.utils.translation import ugettext_lazy as _ | |
| import re | |
| @deconstructible | |
| class DomainNameValidator(object): |
I hereby claim:
To claim this, I am signing this object: