Shortcut | Description |
---|---|
F5 |
Run debug, Resume |
Ctrl+F5 |
Run without debug |
F9 |
Set breakpoint, Remove point |
F10 |
Run step by step |
Ctrl+F10 |
Run by stopping at a cursol row |
F11 |
Stepin |
Discover gists
- Go to https://opendata.stib-mivb.be/store/subscriptions
- Click on "Generate keys"
- Encode
ConsumerKey:consumerSecret
in Base64 ; you can use https://codebeautify.org/base64-encode to encode it - Replace
BASE64KEY+:+SECRET
by the generated Base64 and run the following command :
curl -k -d "grant_type=client_credentials" -H "Authorization: Basic BASE64KEY+:+SECRET" https://opendata-api.stib-mivb.be/token
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title></title> | |
<link href="https://unpkg.com/video.js@8.10.0/dist/video-js.min.css" rel="stylesheet"> | |
<link href="https://unpkg.com/videojs-record/dist/css/videojs.record.min.css" rel="stylesheet"> | |
<script src="https://unpkg.com/video.js@8.10.0/dist/video.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [ "$EUID" -ne 0 ] && groups | grep -qwv 'i2c' && getent group i2c &> /dev/null | |
then | |
echo "Insuficient permissions, run as root ou join $USER to i2c group." | |
exit 1 | |
fi | |
case "$1" in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=============================================================================== | |
User Name-: pc-ISO | |
Registration code :- 212RP-86U3G-1F46L-6ZME3-WGV3W | |
=============================================================================== | |
User Name-: PC-ISO | |
Registration code :- I9YK2-P48AX-84FD8-KID8C-65WPL | |
================================================================================ | |
User Name-: PC-ISO2011 | |
Registration code :- 2148F-J8M9N-92IFC-G94M2-XS7JF | |
================================================================================ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Written by Frans Rosén (twitter.com/fransrosen) | |
_debug="$2" #turn on debug | |
_timeout="20" | |
#you need a valid key, since the errors happens after it validates that the key exist. we do not need the secret key, only access key | |
_aws_key="AKIA..." | |
H_ACCEPT="accept-language: en-US,en;q=0.9,sv;q=0.8,zh-TW;q=0.7,zh;q=0.6,fi;q=0.5,it;q=0.4,de;q=0.3" | |
H_AGENT="user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"mongod_log": { | |
"title": "MongoDB server log format", | |
"regex": { | |
"main": { | |
"pattern": "^(?<timestamp>\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}[,\\.]\\d+\\+\\d+)\\s+(?<level>\\w)\\s+(?<component>\\w+|-)\\s+\\[?(?<context>-?\\w+)?\\]\\s+(?<body>.*)$" | |
} | |
}, | |
"level": { | |
"critical": "F", |
In your command-line run the following commands:
brew doctor
brew update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// DarwinNotificationCenter.swift | |
// | |
// Created by Nonstrict on 2023-12-07. | |
// | |
import Foundation | |
import Combine | |
private let center = CFNotificationCenterGetDarwinNotifyCenter() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ABBY.NS.CLOUDFLARE.COM | |
ADEL.NS.CLOUDFLARE.COM | |
ADI.NS.CLOUDFLARE.COM | |
AHLIA.NS.CLOUDFLARE.COM | |
ALI.NS.CLOUDFLARE.COM | |
ALICE.NS.CLOUDFLARE.COM | |
ALINA.NS.CLOUDFLARE.COM | |
AMANDA.NS.CLOUDFLARE.COM | |
AMY.NS.CLOUDFLARE.COM | |
ANNA.NS.CLOUDFLARE.COM |
NewerOlder