Skip to content

Instantly share code, notes, and snippets.

@luizomf
luizomf / settings.json
Created October 24, 2022 13:01
Configuração inicial do VS Code
{
"window.zoomLevel": 2,
"workbench.startupEditor": "none",
"explorer.compactFolders": false,
"workbench.iconTheme": "material-icon-theme",
"editor.fontSize": 18,
"workbench.colorTheme": "OM Theme (Default Dracula Italic)",
"code-runner.executorMap": {
"python": "clear ; python -u",
},
@philcampbell-qhr
philcampbell-qhr / cities.txt
Created January 8, 2020 22:51
list of cities/towns in Canada
100 Mile House, British Columbia
108 Mile House, British Columbia
108 Mile Ranch, British Columbia
150 Mile House, British Columbia
Abbey, Saskatchewan
Abbotsford, British Columbia
Aberarder, Ontario
Abercorn, Quebec
Aberdeen, Saskatchewan
Abernethy, Saskatchewan
@BSVArchie
BSVArchie / leaflet.html
Created May 6, 2024 13:47 — forked from afomi/leaflet.html
Simple Leaflet.js Map Example
<html>
<head>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"
integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY="
crossorigin=""/>
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"
integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo="
crossorigin=""></script>
<style>
#map { height: 500px; }
@lukebrandonfarrell
lukebrandonfarrell / ExifData.swift
Created June 8, 2022 16:10
A Swift class for extracting exif data from URL, UIImage or Data types 🔭
//
// ExifData.swift
// Qeepsake
//
// Created by Luke Farrell on 26/05/2022.
//
import Foundation
import ImageIO
version: '3'
services:
traefik:
image: traefik:v2.0
container_name: traefik
restart: unless-stopped
security_opt:
- no-new-privileges:true
networks:
@dragonfire1119
dragonfire1119 / TTS HomeAssistant
Last active May 6, 2024 13:45
Home Assistant TTS to homepods
service: tts.cloud_say
data:
entity_id: media_player.christophers_homepod
cache: true
language: en-US
message: This is Christopher's HomePod Playing on Nabacasa
enabled: true
@willurd
willurd / web-servers.md
Last active May 6, 2024 13:43
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@bryc
bryc / YamahaFM.md
Last active May 6, 2024 13:43
Collecting info on Yamaha FM soundchips
@eutobias
eutobias / index.lua
Last active May 6, 2024 13:42
Hammerspoon config for horizontal scroll on mouse middle button click
-- Bases in some codes i found on internet
-- but i din't find the links again
-- HANDLE SCROLLING
local scrollmultHorizontal = 2
local scrollmultVertical = 2 -- not used if use only horizontal scroll
local middleMouseEventButtonNumber = 2
hs.eventtap.new(
{"all"},
@FilipaBarros
FilipaBarros / Sysadmin_Interview_Questions.md
Last active May 6, 2024 13:42
Sysadmin Interview Questions

Top Questions for Sysadmin Interview:

Disclaimer: These questions and answers aren't at all mine. These were scavanged around in the web. I hope it helps.

Basic:
  1. What is Linux and also explain the basic components of Linux?

    Answer: Linux is the most commonly used operating system that is open source and free. For any computer, the operating system acts as the backbone, and it is most important software that is required for any computer.