Skip to content

Instantly share code, notes, and snippets.

@mondain
mondain / public-stun-list.txt
Last active May 2, 2024 21:46
Public STUN server list
23.21.150.121:3478
iphone-stun.strato-iphone.de:3478
numb.viagenie.ca:3478
s1.taraba.net:3478
s2.taraba.net:3478
stun.12connect.com:3478
stun.12voip.com:3478
stun.1und1.de:3478
stun.2talk.co.nz:3478
stun.2talk.com:3478
@chrisdone
chrisdone / README.md
Last active May 2, 2024 21:40
Indexed fields exploration

Exploring possibilities with simple indexed fields

Database records and formlets and optionally populated records can be neatly all represented with the same data type when the fields are all indexed.

class Indexed i a where
  type Index i (a :: *)
<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.