Skip to content

Instantly share code, notes, and snippets.

<Version>1.0.0.0</Version>
<BASIC>http://drive.google.com/uc?export=download&id=1WgqkqKV9Gz_C4a2b8FL1nmzo1c2GqY1K</BASIC>
<STANDARD>http://drive.google.com/uc?export=download&id=1qEv2dOgRbcS_8UG59wNCuZ5TF_lCJS6k</STANDARD>
<PLUS>http://drive.google.com/uc?export=download&id=1V-2H-PBEQCo6oySslpu8jxPt4MmCs-cU</PLUS>
<KAV>http://drive.google.com/uc?export=download&id=1S9HomQ9RNGb13fdpD748hsUnfDtqLMm_</KAV>
<KIS>http://drive.google.com/uc?export=download&id=1sWMncG8KkZI6msKkzqLC12SAefWiQJBR</KIS>
<KTS>http://drive.google.com/uc?export=download&id=1ZE3WqqJDAuPFbKbmpqgMJ8Z1qfGZmEVb</KTS>
<KSOS>http://drive.google.com/uc?export=download&id=1bz96C1Np7FMGiwHixI8N4XiTKbgbV8Ii</KSOS>
<KES>http://drive.google.com/uc?export=download&id=1MvF-Uo_7IE2GtiJRkrXOFUtdkTQsQuGt</KES>
<Trial>http://drive.google.com/uc?export=download&id=1y-7qzLZxBvCXZ3zFUJycgCY63CtFFu1I</Trial>
package com.github.leosilvadev.detectorapp;
import jakarta.jms.Connection;
import jakarta.jms.QueueConnection;
import jakarta.jms.QueueSession;
import jakarta.jms.TopicConnection;
import jakarta.jms.TopicSession;
import org.apache.activemq.artemis.api.core.client.loadbalance.RoundRobinConnectionLoadBalancingPolicy;
import org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnectorFactory;
import org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory;
@noghartt
noghartt / cc.md
Last active May 2, 2024 21:33
Resources to learn more about Computer Science and related stuffs
@0xjac
0xjac / private_fork.md
Last active May 2, 2024 21:33
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git

@arvindpdmn
arvindpdmn / JS.Done.Right.2.md
Last active May 2, 2024 21:33
JavaScript Done Right! (DOM, Events, Best Practices)

JavaScript Done Right!
Devopedia, Oct 2018

0. Introduction

In this meetup, we'll talk about DOM access and manipulation. This can be done in plain JavaScript using the new APIs introduced in ES6. It can also be done using jQuery. We will look at both approaches. We leave it to developers to choose what suits them.

As a study reference, look at the following cheat sheets:

@henriquemenezes
henriquemenezes / android-generate-keystores.md
Last active May 2, 2024 21:33
Android: Generate Release/Debug Keystores

Android: Generate Release/Debug Keystores

Generate Keystores

Debug Keystore

$ keytool -genkey -v -keystore debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000 -dname "C=US, O=Android, CN=Android Debug"
@albatrocity
albatrocity / git-version-control.markdown
Created September 7, 2011 17:28
Some basic Git instructions for Github for Mac and the command line

Using Git version control for code projects

Creating a new code repo from a local working copy

  1. From the repositories view in the app, drag the project folder to the bottom of the left sidebar.
  2. Hit "Yes" when it asks if you want to create a local git repository
  3. Go to "Changes" view (⌘2)
  4. Select the files that you want to commit their current state to the repository. You can view the changes of the file by clicking on the double up arrow on the file name bar.
@SheldonWangRJT
SheldonWangRJT / Convert .mov or .MP4 to .gif.md
Last active May 2, 2024 21:29
Convert Movie(.mov) file to Gif(.gif) file in one command line in Mac Terminal

This notes is written by Sheldon. You can find me with #iOSBySheldon in Github, Youtube, Facebook, etc.

Need

Convert .mov/.MP4 to .gif

Reason

As a developer, I feel better to upload a short video when I create the pull request to show other viewers what I did in this PR. I tried .mov format directly got after finishing recording screen using Quicktime, however, gif offers preview in most web pages, and has smaller file size.

This is not limited to developer, anyone has this need can use this method to convert the files.

@krisbolton
krisbolton / fix-USB-showing-up-as-two-partitions.md
Last active May 2, 2024 21:29
How to fix a USB drive showing up as two drives (fragmented into multiple partitions) on Windows

How to fix a USB drive showing up as two drives (fragmented into multiple partitions) on Windows:

  1. Hold the Windows key and press X, select PowerShell (Admin), select Yes to the pop-up. You can also use Command Prompt.
  2. In the Powershell interface type diskpart to enter the disk partition tool.
  3. Type list disk to see all disks listed.
  4. Select the USB drive by typing select disk [NUMBER]. Be careful to select the correct drive.
  5. Type clean. An error will occur if you have the drive folder open, close the window and repeat the command if this happens.
  6. Type create partition primary.
  7. Type format fs=ntfs quick to format the drive (you can also choose to set fs=fat32).
  8. Type active.
@mcastelino
mcastelino / iptables-cheatsheet.md
Last active May 2, 2024 21:27
iptables-cheatsheet

The netfilter hooks in the kernel and where they hook in the packet flow

The figure below calls out

  • The netfilter hooks
  • The order of table traversal