Skip to content

Instantly share code, notes, and snippets.

library(mapboxapi)
library(mapview)
mb_access_token("YOUR TOKEN GOES HERE")
isos <- mb_isochrone("2500 Victory Ave, Dallas TX",
time = c(5, 10, 15),
profile = "driving-traffic")
mapview(isos, zcol = "time",
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active April 19, 2024 23:35
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@halls7588
halls7588 / Twitter-Auto-Liker.js
Last active April 19, 2024 23:32
Simple Auto Like script for twitter
// Auto like everything on current page
// Scroll every 1 seconds and repeat
setInterval(function () {
window.scrollTo(0, document.body.scrollHeight);
$('.ProfileTweet-actionButton.js-actionButton.js-actionFavorite:visible').click();
}, 1000);
@tigerhawkvok
tigerhawkvok / poetry-convert.py
Last active April 19, 2024 23:31
Convert a requirements.txt file to a Poetry project
#!python3
"""
Convert a requirements.txt file to a Poetry project.
Just place in the root of your working directory and run!
"""
sourceFile = "./requirements.txt"
import re
import os
@nasrulhazim
nasrulhazim / ci.yml
Created November 20, 2020 15:32
GitHub Action - MySQL Service for Laravel with Multiple Databases
name: Unit Test
on:
push:
branches: [develop]
pull_request:
branches: [master, develop]
jobs:
PHPUnit:
@owainlewis
owainlewis / Cassandra CLI.md
Created July 13, 2012 12:18
Cassandra CLI

Basics

Create a keyspace

create keyspace store with replication_factor=1 and placement_strategy='org.apache.cassandra.locator.SimpleStrategy';

List keyspaces

show keyspaces;
@debakarr
debakarr / kodekloud_course_decks.md
Last active April 19, 2024 23:17
Course decks for KodeKloud
@dsample
dsample / README.md
Last active April 19, 2024 23:16
ASCII art diagrams

ASCI art characters for creating diagrams

Characters:

Single line

  • ASCII code 191 = ┐ ( Box drawing character single line upper right corner )
  • ASCII code 192 = └ ( Box drawing character single line lower left corner )
  • ASCII code 193 = ┴ ( Box drawing character single line horizontal and up )
  • ASCII code 194 = ┬ ( Box drawing character single line horizontal down )
@Cube707
Cube707 / cheatsheet.md
Last active April 19, 2024 23:15
GiHub Markdown cheatsheet

A GitHub Markdown Cheatsheet

This show usable Markdown features on GitHub as a side by side comparison. This focuses on Markdown files, while most of also works in comments etc., there are some differences, so keep that in mind.

Table of Contents

Headings
Line Breaks
Inline text formatting
Links

@jotredev
jotredev / countries.json
Last active April 19, 2024 23:15
JSON de países con sus banderas
[
{
"country": "Afganistán",
"countryCode": 93,
"code": "AF",
"flag": "https://flagcdn.com/af.svg",
"emoji": "🇦🇫",
"latinAmerica": false,
"phoneLength": 9,
},