Skip to content

Instantly share code, notes, and snippets.

@CharlyJazz
CharlyJazz / Argentina_Provincias_Ciudades.sql
Last active May 21, 2024 12:37
Argentina Ciudades Provincias Localidades SQL
--
-- Estructura de tabla para la tabla `provincias`
--
DROP TABLE IF EXISTS `provincias`;
CREATE TABLE IF NOT EXISTS `provincias` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`provincia` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
@parmentf
parmentf / GitCommitEmoji.md
Last active May 21, 2024 12:34
Git Commit message Emoji
@DanPuzey
DanPuzey / Log.cs
Last active May 21, 2024 12:34
Unity logging wrapper, for better performance and usage.
using UnityEngine;
namespace Assets.Phunk.Core
{
public static class Log
{
#region Error
public static void ErrorFormat(UnityEngine.Object context, string template, params object[] args)
{
var message = string.Format(template, args);
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active May 21, 2024 12:32
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

@javifm86
javifm86 / vscode-default-color-theme.json
Last active May 21, 2024 12:30
Default colors used in VSCode, useful if you want to create your own theme using your color palette and want to provide similar colors to the defaults ones.
{
"name": "Default colors dark",
"type": "dark",
"colors": {
// Base colors
"focusBorder": "#007fd4",
"foreground": "#cccccc",
"widget.shadow": "#0000005c",
// "selection.background": // null
const uploader = new S3UploadStream(s3, {
Bucket: bucketName,
ContentType: contentType,
Key: key,
})
stream.pipe(uploader)
return new Promise((resolve, reject) => {
uploader.on('uploadFinished', (result: CompleteMultipartUploadCommandOutput, fileSizeBytes: number) => {
@voluntas
voluntas / learning-webrtc_2024-02.md
Last active May 21, 2024 12:28
時雨堂 WebRTC 入門 (講師資料) v2024-02

時雨堂 WebRTC 入門 (講師資料) v2024-02

これは時雨堂が 2024 年 2 月 8 日 (木) 14:00-18:00 で開催を予定しているオンラインイベント WebRTC 入門 v2024-02 の 講師用 の資料であり、 参加者用の資料ではありません。

時雨堂 WebRTC 入門 オンラインイベント v2024-02

概要

ChatGPT がある今、学ぼうと思えば好きなだけ学べる時代がきています。

@zayigo
zayigo / wanway_tracker_unlocking.md
Last active May 21, 2024 12:25
How to unlock the WanWay S20 GPS Tracker

Unlocking the WanWay S20 GPS Tracker

Introduction

The WanWay S20 is a popular GPS tracker frequently sold on Amazon at a great discount (sometimes even less than €10).

It comes with a SIM card already installed, which seems to be provided by Vodafone NL and uses 'internet4gd.gdsp' as the default APN. Unfortunately, to use this SIM card, you have to purchase a subscription plan and use the "TrackerOne" app, essentially giving your live GPS location to a Chinese server.

Luckily, with some tricks, you can fully unlock this device and use it with your own SIM card and Traccar server by following these steps.

@JakubOboza
JakubOboza / private-docker-regs-with-free-tiers.markdown
Created May 30, 2019 07:15
Private Docker registry with free tiers for Developers.

List of sites with free tier limits

  • Docker Hub - One private repo/image spot for free
  • Three Scale - Very generous free tier 50GB of space, 500 Pulls a month etc..
  • Canister - 20 private repos with almost no limits on free tier
  • Code Fresh - Free tier for developers

Setup your own private registry