mkdir osm
wget -O osm/planet.mbtiles https://hidrive.ionos.com/api/sharelink/download?id=SYEgScrRe
podman run -ti --rm -p 9000:9000 --name sms -v $(pwd)/osm/:/data/ registry.gitlab.com/markuman/sms:latest
firefox http://localhost:9000
Facebook works with advertisers to target you. These instructions are one of the many ways to begin crippling that relationship. When AI targeting is crippled, your psychosecurity improves :)
- On your desktop machine, goto https://accountscenter.facebook.com/ads/audience_based_advertising
- Maximize the browser window
- Press F12 and click on the Console tab
- Select the code below, copy it, paste it upon the Console line (The area next to the > character in the Console window), and press enter:
| # 每日任务 | |
| name: bilibili-daily-task | |
| on: | |
| workflow_dispatch: # 手动触发 | |
| schedule: # 计划任务触发 | |
| - cron: '0 0 * * *' |
| # Work around for issue described here: | |
| # https://community.sonarsource.com/t/sonarqube-scanner-fails-to-analyze-vue-files-failed-to-parse-file-vue/17751/2 | |
| # https://jira.sonarsource.com/browse/MMF-1441 | |
| # This is for use in a GitHub Actions script using the SonarCloud GitHub Action which runs the scanner in Docker. | |
| # If you're running Sonar scanner outside of GitHub Actions this hack certainly requires changes to make | |
| # it work - I wish you luck! | |
| # | |
| # The basic idea in the hack is to run an Nginx docker container, alongside the Sonar scanner container, | |
| # as a proxy for sonarcloud.io. Nginx intercepts the request to download the javascript scanning plugin |
Only add the xdebug.remote_log line if you need to troubleshoot.
FROM php:7.1-apache
RUN yes | pecl install xdebug \
&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
&& echo "xdebug.remote_enable=1" >> /usr/local/etc/php/conf.d/xdebug.ini \
&& echo "xdebug.remote_autostart=1" >> /usr/local/etc/php/conf.d/xdebug.ini \
| // Package main is a sample macOS-app-bundling program to demonstrate how to | |
| // automate the process described in this tutorial: | |
| // | |
| // https://medium.com/@mattholt/packaging-a-go-application-for-macos-f7084b00f6b5 | |
| // | |
| // Bundling the .app is the first thing it does, and creating the DMG is the | |
| // second. Making the DMG is optional, and is only done if you provide | |
| // the template DMG file, which you have to create beforehand. | |
| // | |
| // Example use: |
| /** | |
| * Google Drive | |
| * created by [email protected] | |
| */ | |
| import React, { Component } from 'react'; | |
| import { | |
| Platform, | |
| StyleSheet, | |
| Text, |
| //using statements | |
| use std::os::raw::c_char; | |
| use std::ffi::CString; | |
| //static var | |
| static mut STRING_POINTER: *mut c_char = 0 as *mut c_char; | |
| ///structs | |
| #[repr(C)] | |
| pub struct SampleStruct { | |
| pub field_one: i16, |
⚠ This post is fairly old. I don't keep it up to date. Be sure to see comments where some people have posted updates
What this will cover
- Host a static website at S3
- Redirect
www.website.comtowebsite.com - Website can be an SPA (requiring all requests to return
index.html) - Free AWS SSL certs
- Deployment with CDN invalidation
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/