Skip to content

Instantly share code, notes, and snippets.

/// For dart 2:
///
/// ```
/// import 'package:tuple/tuple.dart';
///
/// Future<Tuple2<T1, T2>> zipAsync<T1, T2>(
/// Future<T1> future1, Future<T2> future2) async {
/// late T1 result1;
/// late T2 result2;
///
@wilbit
wilbit / sonarqube-remove-branch-name.yml
Last active May 13, 2024 10:28
It removes sonar.branch.name property in Azure Pipeline. Put it somewhere between your SonarQubePrepare and SonarQubeAnalyze tasks.
- powershell: |
$params = "$env:SONARQUBE_SCANNER_PARAMS" -replace '"sonar.branch.name":"[\w/,-.]*"\,?'
Write-Host "##vso[task.setvariable variable=SONARQUBE_SCANNER_PARAMS]$params"
Column Name:
VM22281:21 Employee Name:
VM22281:20 Column Name:
VM22281:21 Employee Name:
VM22281:20 Column Name: Emp Id
VM22281:21 Employee Name:
VM22281:20 Column Name: Emp Name
VM22281:21 Employee Name:
VM22281:20 Column Name: Pay Cycle
VM22281:21 Employee Name:
@masudcsesust04
masudcsesust04 / sdk-command-not-found.md
Created January 22, 2018 12:32
Fix sdk command not found after installing SDKMAN

Fix sdk command not found after installing SDKMAN.

You need to install following packages before installing sdkman:

sudo apt-get install unzip
sudo apt-get install zip
sudo apt-get install sed

Uninstall skdman if you installed already:

@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created May 13, 2024 09:56
Rimworld output log published using HugsLib
Log uploaded on Monday, May 13, 2024, 5:56:24 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies)
HugsLib(UnlimitedHugs.HugsLib)[ov:11.0.3]: 0Harmony(av:2.3.3,fv:1.2.0.1), HugsLib(av:1.0.0,fv:11.0.3)
Dynamic Diplomacy - Continued(nilchei.dynamicdiplomacycontinued): DynamicDiplomacy(1.0.0)
@gabonator
gabonator / camera.md
Created June 4, 2016 13:48
Cheap chinese IP camera with H264 encoding based on Hisilicon 8M (Hi3518E) chip

Cheap chinese IP camera with H264 encoding based on Hisilicon 8M (Hi3518E) chip

Video stream url for VLC/DVR:

  • rtsp://192.168.1.93:554/user=admin&password=&channel=&stream=.sdp?real_stream--rtp-caching=100

Telnet access

  • telnet 192.168.1.10 23
  • Localhost login: root
  • Password: xmhdipc
@nikhita
nikhita / minikube-upgrade.md
Created February 12, 2020 17:22
How to upgrade minikube to the latest version in Linux.

Find the current version

$ minikube version
minikube version: v1.7.1

Check if there are newer versions available

@cigumo
cigumo / texture_atlas.py
Created September 7, 2012 18:56
Texture atlas generator - kalio.net
'''
Texture atlas generator / Kalio.net
klibs commit: 709551bcf617976a19e6105165eda9524007fc08
Copyright 2012 Kalio Ltda.
Requirements:
- PIL: http://www.pythonware.com/products/pil/
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@mathix420
mathix420 / medium.user.js
Last active May 13, 2024 10:07
Bypass Medium Paywall - Working late 2023 - Greasy Fork, Violentmonkey, Tampermonkey - Click the RAW button to install
// ==UserScript==
// @name Medium Paywall Bypass
// @namespace Violentmonkey Scripts
// @run-at document-start
// @match *://*.medium.com/*
// @match *://medium.com/*
// @match *://*/*
// @grant none
// @version 2.3
// @inject-into content

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.


Effective Engineer - Notes

What's an Effective Engineer?