Skip to content

Instantly share code, notes, and snippets.

@conholdate-gists
conholdate-gists / Delete-PDF-Page.cs
Created May 13, 2024 10:30
Add or Delete Pages in PDF using C# | Insert Remove Pages in PDF
// Load the input PDF document
Document document = new Document("Sample.pdf");
// Delete the Page Number Two - The 2nd Page
document.Pages.Delete(1);
// Save output PDF file
document.Save("Page_Deleted.pdf");
index
home
top
help
about
security
contact
connect
support
faq
@ChenyangGao
ChenyangGao / qrcode_cookie_115
Last active May 13, 2024 10:28
115扫码登录,可选择 app,获取 cookie
/// 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